Disk constructor

Disk({
  1. String? accessMode,
  2. String? architecture,
  3. DiskAsyncReplication? asyncPrimaryDisk,
  4. Map<String, DiskAsyncReplicationList> asyncSecondaryDisks = const {},
  5. String? creationTimestamp,
  6. String? description,
  7. CustomerEncryptionKey? diskEncryptionKey,
  8. bool? enableConfidentialCompute,
  9. List<GuestOsFeature> guestOsFeatures = const [],
  10. BigInt? id,
  11. String? kind,
  12. String? labelFingerprint,
  13. Map<String, String> labels = const {},
  14. String? lastAttachTimestamp,
  15. String? lastDetachTimestamp,
  16. List<int> licenseCodes = const [],
  17. List<String> licenses = const [],
  18. String? locationHint,
  19. String? name,
  20. String? options,
  21. DiskParams? params,
  22. int? physicalBlockSizeBytes,
  23. int? provisionedIops,
  24. int? provisionedThroughput,
  25. String? region,
  26. List<String> replicaZones = const [],
  27. List<String> resourcePolicies = const [],
  28. DiskResourceStatus? resourceStatus,
  29. bool? satisfiesPzi,
  30. bool? satisfiesPzs,
  31. String? selfLink,
  32. int? sizeGb,
  33. String? sourceConsistencyGroupPolicy,
  34. String? sourceConsistencyGroupPolicyId,
  35. String? sourceDisk,
  36. String? sourceDiskId,
  37. String? sourceImage,
  38. CustomerEncryptionKey? sourceImageEncryptionKey,
  39. String? sourceImageId,
  40. String? sourceInstantSnapshot,
  41. String? sourceInstantSnapshotId,
  42. String? sourceSnapshot,
  43. CustomerEncryptionKey? sourceSnapshotEncryptionKey,
  44. String? sourceSnapshotId,
  45. String? sourceStorageObject,
  46. String? status,
  47. String? storagePool,
  48. String? type,
  49. List<String> users = const [],
  50. 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);