Notebooks V2 API - Class Google::Cloud::Notebooks::V2::DataDisk (v0.3.2)

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

An instance-attached disk resource.

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 disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.

#disk_size_gb=

def disk_size_gb=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.
Returns
  • (::Integer) — Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.

#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.