PersistentDiskSpec class final

Represents the spec of https://cloud.google.com/compute/docs/disks/persistent-disks options.

Inheritance
  • Object
  • ProtoMessage
  • PersistentDiskSpec

Constructors

PersistentDiskSpec({String diskType = '', int diskSizeGb = 0})
PersistentDiskSpec.fromJson(Map<String, dynamic> json)
factory

Properties

diskSizeGb int
Size in GB of the disk (default is 100GB).
final
diskType String
Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) "pd-standard" (Persistent Disk Hard Disk Drive) "pd-balanced" (Balanced Persistent Disk) "pd-extreme" (Extreme Persistent Disk)
final
hashCode int
The hash code for this object.
no setterinherited
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String