Notebooks V2 API - Class Google::Cloud::Notebooks::V2::BootDisk (v0.4.0)

Reference documentation and code samples for the Notebooks V2 API class Google::Cloud::Notebooks::V2::BootDisk.

The definition of a boot disk.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#disk_encryption

def disk_encryption() -> ::Google::Cloud::Notebooks::V2::DiskEncryption
Returns

#disk_encryption=

def disk_encryption=(value) -> ::Google::Cloud::Notebooks::V2::DiskEncryption
Parameter
Returns

#disk_size_gb

def disk_size_gb() -> ::Integer
Returns
  • (::Integer) — 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_size_gb=

def disk_size_gb=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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

def disk_type() -> ::Google::Cloud::Notebooks::V2::DiskType
Returns

#disk_type=

def disk_type=(value) -> ::Google::Cloud::Notebooks::V2::DiskType
Parameter
Returns

#kms_key

def kms_key() -> ::String
Returns
  • (::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.

#kms_key=

def kms_key=(value) -> ::String
Parameter
  • value (::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.

Returns
  • (::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.