Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class MachineShape.
Machine shape details Next : 13
Generated from protobuf message google.cloud.capacityplanner.v1beta.MachineShape
Namespace
Google \ Cloud \ CapacityPlanner \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ machine_family
string
Optional. The VM family.
↳ machine_type
string
Optional. The characteristics of the sampled VM expressed as a string.
↳ machine_shape
string
Optional. The customer visible string representing the type of VM.
↳ cpu_cores
float
Optional. Number of CPU cores per VM.
↳ gpu_type
string
Optional. The type of GPU with the VM.
↳ gpu_compute_type
string
Optional. The GPU name recognized by Compute Engine APIs.
↳ gpu_cores
int|string
Optional. The number of GPU cores per VM.
↳ local_ssd_partitions
int|string
Optional. The number of local SSD partitions per VM.
↳ local_ssd_gb
float
Optional. Total amount of local SSD storage.
↳ memory_gb
float
Optional. Total amount of memory with the VM.
↳ local_ssd_interface
string
Optional. The local SSD interface used such as nvme or scsi
↳ min_cpu_platform
string
Optional. The Min-cpu platform used such as icelake
getMachineFamily
Optional. The VM family.
string
setMachineFamily
Optional. The VM family.
var
string
$this
getMachineType
Optional. The characteristics of the sampled VM expressed as a string.
string
setMachineType
Optional. The characteristics of the sampled VM expressed as a string.
var
string
$this
getMachineShape
Optional. The customer visible string representing the type of VM.
string
setMachineShape
Optional. The customer visible string representing the type of VM.
var
string
$this
getCpuCores
Optional. Number of CPU cores per VM.
float
setCpuCores
Optional. Number of CPU cores per VM.
var
float
$this
getGpuType
Optional. The type of GPU with the VM.
string
setGpuType
Optional. The type of GPU with the VM.
var
string
$this
getGpuComputeType
Optional. The GPU name recognized by Compute Engine APIs.
string
setGpuComputeType
Optional. The GPU name recognized by Compute Engine APIs.
var
string
$this
getGpuCores
Optional. The number of GPU cores per VM.
int|string
setGpuCores
Optional. The number of GPU cores per VM.
var
int|string
$this
getLocalSsdPartitions
Optional. The number of local SSD partitions per VM.
int|string
setLocalSsdPartitions
Optional. The number of local SSD partitions per VM.
var
int|string
$this
getLocalSsdGb
Optional. Total amount of local SSD storage.
float
setLocalSsdGb
Optional. Total amount of local SSD storage.
var
float
$this
getMemoryGb
Optional. Total amount of memory with the VM.
float
setMemoryGb
Optional. Total amount of memory with the VM.
var
float
$this
getLocalSsdInterface
Optional. The local SSD interface used such as nvme or scsi
string
setLocalSsdInterface
Optional. The local SSD interface used such as nvme or scsi
var
string
$this
getMinCpuPlatform
Optional. The Min-cpu platform used such as icelake
string
setMinCpuPlatform
Optional. The Min-cpu platform used such as icelake
var
string
$this

