Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::LocalDisk (v2.2.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::LocalDisk.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#disk_count

def disk_count() -> ::Integer
Returns
  • (::Integer) — Specifies the number of such disks.

#disk_count=

def disk_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Specifies the number of such disks.
Returns
  • (::Integer) — Specifies the number of such disks.

#disk_size_gb

def disk_size_gb() -> ::Integer
Returns
  • (::Integer) — Specifies the size of the disk in base-2 GB.

#disk_size_gb=

def disk_size_gb=(value) -> ::Integer
Parameter
  • value (::Integer) — Specifies the size of the disk in base-2 GB.
Returns
  • (::Integer) — Specifies the size of the disk in base-2 GB.

#disk_type

def disk_type() -> ::String
Returns
  • (::String) — Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.

#disk_type=

def disk_type=(value) -> ::String
Parameter
  • value (::String) — Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.
Returns
  • (::String) — Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.