| Package | Description |
|---|---|
| com.google.api.services.notebooks.v1.model |
| Modifier and Type | Method and Description |
|---|---|
Disk |
Disk.clone() |
Disk |
Disk.set(String fieldName,
Object value) |
Disk |
Disk.setAutoDelete(Boolean autoDelete)
Indicates whether the disk will be auto-deleted when the instance is deleted (but not when the
disk is detached from the instance).
|
Disk |
Disk.setBoot(Boolean boot)
Indicates that this is a boot disk.
|
Disk |
Disk.setDeviceName(String deviceName)
Indicates 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.
|
Disk |
Disk.setDiskSizeGb(Long diskSizeGb)
Indicates the size of the disk in base-2 GB.
|
Disk |
Disk.setGuestOsFeatures(List<GuestOsFeature> guestOsFeatures)
Indicates a list of features to enable on the guest operating system.
|
Disk |
Disk.setIndex(Long index)
A zero-based index to this disk, where 0 is reserved for the boot disk.
|
Disk |
Disk.setInterface(String interface__)
Indicates the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
Disk |
Disk.setKind(String kind)
Type of the resource.
|
Disk |
Disk.setLicenses(List<String> licenses)
A list of publicly visible licenses.
|
Disk |
Disk.setMode(String mode)
The mode in which to attach this disk, either `READ_WRITE` or `READ_ONLY`.
|
Disk |
Disk.setSource(String source)
Indicates a valid partial or full URL to an existing Persistent Disk resource.
|
Disk |
Disk.setType(String type)
Indicates the type of the disk, either `SCRATCH` or `PERSISTENT`.
|
| Modifier and Type | Method and Description |
|---|---|
List<Disk> |
Instance.getDisks()
Output only.
|
| Modifier and Type | Method and Description |
|---|---|
Instance |
Instance.setDisks(List<Disk> disks)
Output only.
|
Copyright © 2011–2024 Google. All rights reserved.