LocalDisk class

A Local attached disk resource.

Constructors

LocalDisk({bool? autoDelete, bool? boot, String? deviceName, List<RuntimeGuestOsFeature>? guestOsFeatures, int? index, LocalDiskInitializeParams? initializeParams, String? interface, String? kind, List<String>? licenses, String? mode, String? source, String? type})
LocalDisk.fromJson(Map json_)

Properties

autoDelete bool?
Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
getter/setter pair
boot bool?
Indicates that this is a boot disk.
getter/setter pair
deviceName String?
Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance.
getter/setter pair
guestOsFeatures List<RuntimeGuestOsFeature>?
Indicates a list of features to enable on the guest operating system.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
index int?
A zero-based index to this disk, where 0 is reserved for the boot disk.
getter/setter pair
initializeParams LocalDiskInitializeParams?
Input only.
getter/setter pair
interface String?
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
getter/setter pair
kind String?
Type of the resource.
getter/setter pair
licenses List<String>?
Any valid publicly visible licenses.
getter/setter pair
mode String?
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
Specifies a valid partial or full URL to an existing Persistent Disk resource.
getter/setter pair
type String?
Specifies the type of the disk, either SCRATCH or PERSISTENT.
getter/setter pair

Methods

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

Operators

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