| Package | Description |
|---|---|
| com.google.api.services.compute.model |
| Modifier and Type | Method and Description |
|---|---|
SavedAttachedDisk |
SavedAttachedDisk.clone() |
SavedAttachedDisk |
SavedAttachedDisk.set(String fieldName,
Object value) |
SavedAttachedDisk |
SavedAttachedDisk.setAutoDelete(Boolean autoDelete)
Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the
disk is detached from the instance).
|
SavedAttachedDisk |
SavedAttachedDisk.setBoot(Boolean boot)
Indicates that this is a boot disk.
|
SavedAttachedDisk |
SavedAttachedDisk.setDeviceName(String deviceName)
Specifies the name of the disk attached to the source instance.
|
SavedAttachedDisk |
SavedAttachedDisk.setDiskEncryptionKey(CustomerEncryptionKey diskEncryptionKey)
The encryption key for the disk.
|
SavedAttachedDisk |
SavedAttachedDisk.setDiskSizeGb(Long diskSizeGb)
The size of the disk in base-2 GB.
|
SavedAttachedDisk |
SavedAttachedDisk.setDiskType(String diskType)
Output only.
|
SavedAttachedDisk |
SavedAttachedDisk.setGuestOsFeatures(List<GuestOsFeature> guestOsFeatures)
A list of features to enable on the guest operating system.
|
SavedAttachedDisk |
SavedAttachedDisk.setIndex(Integer index)
Output only.
|
SavedAttachedDisk |
SavedAttachedDisk.setInterface(String interface__)
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
SavedAttachedDisk |
SavedAttachedDisk.setKind(String kind)
Output only.
|
SavedAttachedDisk |
SavedAttachedDisk.setLicenses(List<String> licenses)
Output only.
|
SavedAttachedDisk |
SavedAttachedDisk.setMode(String mode)
The mode in which this disk is attached to the source instance, eitherREAD_WRITE or READ_ONLY.
|
SavedAttachedDisk |
SavedAttachedDisk.setSource(String source)
Specifies a URL of the disk attached to the source instance.
|
SavedAttachedDisk |
SavedAttachedDisk.setStorageBytes(Long storageBytes)
Output only.
|
SavedAttachedDisk |
SavedAttachedDisk.setStorageBytesStatus(String storageBytesStatus)
Output only.
|
SavedAttachedDisk |
SavedAttachedDisk.setType(String type)
Specifies the type of the attached disk, either SCRATCH orPERSISTENT.
|
| Modifier and Type | Method and Description |
|---|---|
List<SavedAttachedDisk> |
SourceInstanceProperties.getDisks()
An array of disks that are associated with the instances that are created from this machine
image.
|
| Modifier and Type | Method and Description |
|---|---|
SourceInstanceProperties |
SourceInstanceProperties.setDisks(List<SavedAttachedDisk> disks)
An array of disks that are associated with the instances that are created from this machine
image.
|
Copyright © 2011–2026 Google. All rights reserved.