Get Disk Result
data class GetDiskResult(val asyncPrimaryDisks: List<GetDiskAsyncPrimaryDisk>, val creationTimestamp: String, val description: String, val diskEncryptionKeys: List<GetDiskDiskEncryptionKey>, val enableConfidentialCompute: Boolean, val guestOsFeatures: List<GetDiskGuestOsFeature>, val id: String, val image: String, val interface: String, val labelFingerprint: String, val labels: Map<String, String>, val lastAttachTimestamp: String, val lastDetachTimestamp: String, val licenses: List<String>, val multiWriter: Boolean, val name: String, val physicalBlockSizeBytes: Int, val project: String? = null, val provisionedIops: Int, val provisionedThroughput: Int, val resourcePolicies: List<String>, val selfLink: String, val size: Int, val snapshot: String, val sourceDisk: String, val sourceDiskId: String, val sourceImageEncryptionKeys: List<GetDiskSourceImageEncryptionKey>, val sourceImageId: String, val sourceSnapshotEncryptionKeys: List<GetDiskSourceSnapshotEncryptionKey>, val sourceSnapshotId: String, val type: String, val users: List<String>, val zone: String? = null)
A collection of values returned by getDisk.
Constructors
Link copied to clipboard
fun GetDiskResult(asyncPrimaryDisks: List<GetDiskAsyncPrimaryDisk>, creationTimestamp: String, description: String, diskEncryptionKeys: List<GetDiskDiskEncryptionKey>, enableConfidentialCompute: Boolean, guestOsFeatures: List<GetDiskGuestOsFeature>, id: String, image: String, interface: String, labelFingerprint: String, labels: Map<String, String>, lastAttachTimestamp: String, lastDetachTimestamp: String, licenses: List<String>, multiWriter: Boolean, name: String, physicalBlockSizeBytes: Int, project: String? = null, provisionedIops: Int, provisionedThroughput: Int, resourcePolicies: List<String>, selfLink: String, size: Int, snapshot: String, sourceDisk: String, sourceDiskId: String, sourceImageEncryptionKeys: List<GetDiskSourceImageEncryptionKey>, sourceImageId: String, sourceSnapshotEncryptionKeys: List<GetDiskSourceSnapshotEncryptionKey>, sourceSnapshotId: String, type: String, users: List<String>, zone: String? = null)
Types
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used.
Link copied to clipboard
The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used.