Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::AttachedDiskConfig (v1.17.0)

Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::AttachedDiskConfig.

Specifies the config of attached disk options for single VM instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#disk_size_gb

def disk_size_gb() -> ::Integer
Returns
  • (::Integer) — Optional. Disk size in GB.

#disk_size_gb=

def disk_size_gb=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Disk size in GB.
Returns
  • (::Integer) — Optional. Disk size in GB.

#disk_type

def disk_type() -> ::Google::Cloud::Dataproc::V1::AttachedDiskConfig::DiskType

#disk_type=

def disk_type=(value) -> ::Google::Cloud::Dataproc::V1::AttachedDiskConfig::DiskType
Parameter

#provisioned_iops

def provisioned_iops() -> ::Integer
Returns
  • (::Integer) — Optional. Indicates how many IOPS to provision for the attached disk. This sets the number of I/O operations per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features

#provisioned_iops=

def provisioned_iops=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Indicates how many IOPS to provision for the attached disk. This sets the number of I/O operations per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features
Returns
  • (::Integer) — Optional. Indicates how many IOPS to provision for the attached disk. This sets the number of I/O operations per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features

#provisioned_throughput

def provisioned_throughput() -> ::Integer
Returns
  • (::Integer) — Optional. Indicates how much throughput to provision for the attached disk. This sets the number of throughput mb per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features

#provisioned_throughput=

def provisioned_throughput=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Indicates how much throughput to provision for the attached disk. This sets the number of throughput mb per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features
Returns
  • (::Integer) — Optional. Indicates how much throughput to provision for the attached disk. This sets the number of throughput mb per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features