Capacity Planner V1BETA API - Class Google::Cloud::CapacityPlanner::V1beta::MachineShape (v0.1.0)

Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::MachineShape.

Machine shape details Next : 13

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cpu_cores

def cpu_cores() -> ::Float
Returns
  • (::Float) — Optional. Number of CPU cores per VM.

#cpu_cores=

def cpu_cores=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Number of CPU cores per VM.
Returns
  • (::Float) — Optional. Number of CPU cores per VM.

#gpu_compute_type

def gpu_compute_type() -> ::String
Returns
  • (::String) — Optional. The GPU name recognized by Compute Engine APIs.

#gpu_compute_type=

def gpu_compute_type=(value) -> ::String
Parameter
  • value (::String) — Optional. The GPU name recognized by Compute Engine APIs.
Returns
  • (::String) — Optional. The GPU name recognized by Compute Engine APIs.

#gpu_cores

def gpu_cores() -> ::Integer
Returns
  • (::Integer) — Optional. The number of GPU cores per VM.

#gpu_cores=

def gpu_cores=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The number of GPU cores per VM.
Returns
  • (::Integer) — Optional. The number of GPU cores per VM.

#gpu_type

def gpu_type() -> ::String
Returns
  • (::String) — Optional. The type of GPU with the VM.

#gpu_type=

def gpu_type=(value) -> ::String
Parameter
  • value (::String) — Optional. The type of GPU with the VM.
Returns
  • (::String) — Optional. The type of GPU with the VM.

#local_ssd_gb

def local_ssd_gb() -> ::Float
Returns
  • (::Float) — Optional. Total amount of local SSD storage.

#local_ssd_gb=

def local_ssd_gb=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Total amount of local SSD storage.
Returns
  • (::Float) — Optional. Total amount of local SSD storage.

#local_ssd_interface

def local_ssd_interface() -> ::String
Returns
  • (::String) — Optional. The local SSD interface used such as nvme or scsi

#local_ssd_interface=

def local_ssd_interface=(value) -> ::String
Parameter
  • value (::String) — Optional. The local SSD interface used such as nvme or scsi
Returns
  • (::String) — Optional. The local SSD interface used such as nvme or scsi

#local_ssd_partitions

def local_ssd_partitions() -> ::Integer
Returns
  • (::Integer) — Optional. The number of local SSD partitions per VM.

#local_ssd_partitions=

def local_ssd_partitions=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The number of local SSD partitions per VM.
Returns
  • (::Integer) — Optional. The number of local SSD partitions per VM.

#machine_family

def machine_family() -> ::String
Returns
  • (::String) — Optional. The VM family.

#machine_family=

def machine_family=(value) -> ::String
Parameter
  • value (::String) — Optional. The VM family.
Returns
  • (::String) — Optional. The VM family.

#machine_shape

def machine_shape() -> ::String
Returns
  • (::String) — Optional. The customer visible string representing the type of VM.

#machine_shape=

def machine_shape=(value) -> ::String
Parameter
  • value (::String) — Optional. The customer visible string representing the type of VM.
Returns
  • (::String) — Optional. The customer visible string representing the type of VM.

#machine_type

def machine_type() -> ::String
Returns
  • (::String) — Optional. The characteristics of the sampled VM expressed as a string.

#machine_type=

def machine_type=(value) -> ::String
Parameter
  • value (::String) — Optional. The characteristics of the sampled VM expressed as a string.
Returns
  • (::String) — Optional. The characteristics of the sampled VM expressed as a string.

#memory_gb

def memory_gb() -> ::Float
Returns
  • (::Float) — Optional. Total amount of memory with the VM.

#memory_gb=

def memory_gb=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Total amount of memory with the VM.
Returns
  • (::Float) — Optional. Total amount of memory with the VM.

#min_cpu_platform

def min_cpu_platform() -> ::String
Returns
  • (::String) — Optional. The Min-cpu platform used such as icelake

#min_cpu_platform=

def min_cpu_platform=(value) -> ::String
Parameter
  • value (::String) — Optional. The Min-cpu platform used such as icelake
Returns
  • (::String) — Optional. The Min-cpu platform used such as icelake