Google Cloud Capacity Planner V1beta Client - Class MachineShape (0.1.0)

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 \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
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.

Returns
Type Description
string

setMachineFamily

Optional. The VM family.

Parameter
Name Description
var string
Returns
Type Description
$this

getMachineType

Optional. The characteristics of the sampled VM expressed as a string.

Returns
Type Description
string

setMachineType

Optional. The characteristics of the sampled VM expressed as a string.

Parameter
Name Description
var string
Returns
Type Description
$this

getMachineShape

Optional. The customer visible string representing the type of VM.

Returns
Type Description
string

setMachineShape

Optional. The customer visible string representing the type of VM.

Parameter
Name Description
var string
Returns
Type Description
$this

getCpuCores

Optional. Number of CPU cores per VM.

Returns
Type Description
float

setCpuCores

Optional. Number of CPU cores per VM.

Parameter
Name Description
var float
Returns
Type Description
$this

getGpuType

Optional. The type of GPU with the VM.

Returns
Type Description
string

setGpuType

Optional. The type of GPU with the VM.

Parameter
Name Description
var string
Returns
Type Description
$this

getGpuComputeType

Optional. The GPU name recognized by Compute Engine APIs.

Returns
Type Description
string

setGpuComputeType

Optional. The GPU name recognized by Compute Engine APIs.

Parameter
Name Description
var string
Returns
Type Description
$this

getGpuCores

Optional. The number of GPU cores per VM.

Returns
Type Description
int|string

setGpuCores

Optional. The number of GPU cores per VM.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getLocalSsdPartitions

Optional. The number of local SSD partitions per VM.

Returns
Type Description
int|string

setLocalSsdPartitions

Optional. The number of local SSD partitions per VM.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getLocalSsdGb

Optional. Total amount of local SSD storage.

Returns
Type Description
float

setLocalSsdGb

Optional. Total amount of local SSD storage.

Parameter
Name Description
var float
Returns
Type Description
$this

getMemoryGb

Optional. Total amount of memory with the VM.

Returns
Type Description
float

setMemoryGb

Optional. Total amount of memory with the VM.

Parameter
Name Description
var float
Returns
Type Description
$this

getLocalSsdInterface

Optional. The local SSD interface used such as nvme or scsi

Returns
Type Description
string

setLocalSsdInterface

Optional. The local SSD interface used such as nvme or scsi

Parameter
Name Description
var string
Returns
Type Description
$this

getMinCpuPlatform

Optional. The Min-cpu platform used such as icelake

Returns
Type Description
string

setMinCpuPlatform

Optional. The Min-cpu platform used such as icelake

Parameter
Name Description
var string
Returns
Type Description
$this