Disk constructor
Disk({
- String? accessMode,
- String? architecture,
- DiskAsyncReplication? asyncPrimaryDisk,
- Map<
String, DiskAsyncReplicationList> asyncSecondaryDisks = const {}, - String? creationTimestamp,
- String? description,
- CustomerEncryptionKey? diskEncryptionKey,
- bool? enableConfidentialCompute,
- List<
GuestOsFeature> guestOsFeatures = const [], - BigInt? id,
- String? kind,
- String? labelFingerprint,
- Map<
String, String> labels = const {}, - String? lastAttachTimestamp,
- String? lastDetachTimestamp,
- List<
int> licenseCodes = const [], - List<
String> licenses = const [], - String? locationHint,
- String? name,
- String? options,
- DiskParams? params,
- int? physicalBlockSizeBytes,
- int? provisionedIops,
- int? provisionedThroughput,
- String? region,
- List<
String> replicaZones = const [], - List<
String> resourcePolicies = const [], - DiskResourceStatus? resourceStatus,
- bool? satisfiesPzi,
- bool? satisfiesPzs,
- String? selfLink,
- int? sizeGb,
- String? sourceConsistencyGroupPolicy,
- String? sourceConsistencyGroupPolicyId,
- String? sourceDisk,
- String? sourceDiskId,
- String? sourceImage,
- CustomerEncryptionKey? sourceImageEncryptionKey,
- String? sourceImageId,
- String? sourceInstantSnapshot,
- String? sourceInstantSnapshotId,
- String? sourceSnapshot,
- CustomerEncryptionKey? sourceSnapshotEncryptionKey,
- String? sourceSnapshotId,
- String? sourceStorageObject,
- String? status,
- String? storagePool,
- String? type,
- List<
String> users = const [], - String? zone,
Implementation
Disk({
this.accessMode,
this.architecture,
this.asyncPrimaryDisk,
this.asyncSecondaryDisks = const {},
this.creationTimestamp,
this.description,
this.diskEncryptionKey,
this.enableConfidentialCompute,
this.guestOsFeatures = const [],
this.id,
this.kind,
this.labelFingerprint,
this.labels = const {},
this.lastAttachTimestamp,
this.lastDetachTimestamp,
this.licenseCodes = const [],
this.licenses = const [],
this.locationHint,
this.name,
this.options,
this.params,
this.physicalBlockSizeBytes,
this.provisionedIops,
this.provisionedThroughput,
this.region,
this.replicaZones = const [],
this.resourcePolicies = const [],
this.resourceStatus,
this.satisfiesPzi,
this.satisfiesPzs,
this.selfLink,
this.sizeGb,
this.sourceConsistencyGroupPolicy,
this.sourceConsistencyGroupPolicyId,
this.sourceDisk,
this.sourceDiskId,
this.sourceImage,
this.sourceImageEncryptionKey,
this.sourceImageId,
this.sourceInstantSnapshot,
this.sourceInstantSnapshotId,
this.sourceSnapshot,
this.sourceSnapshotEncryptionKey,
this.sourceSnapshotId,
this.sourceStorageObject,
this.status,
this.storagePool,
this.type,
this.users = const [],
this.zone,
}) : super(fullyQualifiedName);