DiskSpec class final

Represents the spec of disk options.

Inheritance
  • Object
  • ProtoMessage
  • DiskSpec

Constructors

DiskSpec({String bootDiskType = '', int bootDiskSizeGb = 0})
DiskSpec.fromJson(Object? j)
factory

Properties

bootDiskSizeGb int
Size in GB of the boot disk (default is 100GB).
final
bootDiskType String
Type of the boot disk. For non-A3U machines, the default value is "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced". Valid values: "pd-ssd" (Persistent Disk Solid State Drive), "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
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