Reference documentation and code samples for the Google Cloud Notebooks V2 Client class BootDisk.
The definition of a boot disk.
Generated from protobuf message google.cloud.notebooks.v2.BootDisk
Namespace
Google \ Cloud \ Notebooks \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ disk_size_gb
int|string
Optional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.
↳ disk_type
int
Optional. Indicates the type of the disk.
↳ disk_encryption
int
Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
↳ kms_key
string
Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
getDiskSizeGb
Optional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.
int|string
setDiskSizeGb
Optional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.
var
int|string
$this
getDiskType
Optional. Indicates the type of the disk.
int
setDiskType
Optional. Indicates the type of the disk.
var
int
$this
getDiskEncryption
Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
int
setDiskEncryption
Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
var
int
$this
getKmsKey
Optional. Input only. The KMS key used to encrypt the disks, only
applicable if disk_encryption is CMEK. Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
string
setKmsKey
Optional. Input only. The KMS key used to encrypt the disks, only
applicable if disk_encryption is CMEK. Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
var
string
$this