Google Cloud Vmware Engine V1 Client - Class NodeType (0.1.4)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class NodeType.

Describes node type.

Generated from protobuf message google.cloud.vmwareengine.v1.NodeType

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource name of this node type. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-proj/locations/us-central1-a/nodeTypes/standard-72

↳ node_type_id string

Output only. The canonical identifier of the node type (corresponds to the NodeType). For example: standard-72.

↳ display_name string

Output only. The friendly name for this node type. For example: ve1-standard-72

↳ virtual_cpu_count int

Output only. The total number of virtual CPUs in a single node.

↳ total_core_count int

Output only. The total number of CPU cores in a single node.

↳ memory_gb int

Output only. The amount of physical memory available, defined in GB.

↳ disk_size_gb int

Output only. The amount of storage available, defined in GB.

↳ available_custom_core_counts array

Output only. List of possible values of custom core count.

getName

Output only. The resource name of this node type.

Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-proj/locations/us-central1-a/nodeTypes/standard-72

Returns
TypeDescription
string

setName

Output only. The resource name of this node type.

Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-proj/locations/us-central1-a/nodeTypes/standard-72

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNodeTypeId

Output only. The canonical identifier of the node type (corresponds to the NodeType). For example: standard-72.

Returns
TypeDescription
string

setNodeTypeId

Output only. The canonical identifier of the node type (corresponds to the NodeType). For example: standard-72.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Output only. The friendly name for this node type.

For example: ve1-standard-72

Returns
TypeDescription
string

setDisplayName

Output only. The friendly name for this node type.

For example: ve1-standard-72

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVirtualCpuCount

Output only. The total number of virtual CPUs in a single node.

Returns
TypeDescription
int

setVirtualCpuCount

Output only. The total number of virtual CPUs in a single node.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getTotalCoreCount

Output only. The total number of CPU cores in a single node.

Returns
TypeDescription
int

setTotalCoreCount

Output only. The total number of CPU cores in a single node.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMemoryGb

Output only. The amount of physical memory available, defined in GB.

Returns
TypeDescription
int

setMemoryGb

Output only. The amount of physical memory available, defined in GB.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDiskSizeGb

Output only. The amount of storage available, defined in GB.

Returns
TypeDescription
int

setDiskSizeGb

Output only. The amount of storage available, defined in GB.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getAvailableCustomCoreCounts

Output only. List of possible values of custom core count.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAvailableCustomCoreCounts

Output only. List of possible values of custom core count.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this