Class: Google::Cloud::Notebooks::V2::DataDisk

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/notebooks/v2/gce_setup.rb

Overview

An instance-attached disk resource.

Instance Attribute Summary collapse

Instance Attribute Details

#disk_encryption::Google::Cloud::Notebooks::V2::DiskEncryption

Returns Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.

Returns:



207
208
209
210
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 207

class DataDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#disk_size_gb::Integer

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



207
208
209
210
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 207

class DataDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#disk_type::Google::Cloud::Notebooks::V2::DiskType

Returns Optional. Input only. Indicates the type of the disk.

Returns:



207
208
209
210
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 207

class DataDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#kms_key::String

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



207
208
209
210
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 207

class DataDisk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end