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

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

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

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

↳ kind int

Output only. The type of the resource.

↳ families array

Output only. Families of the node type. For node types to be in the same cluster they must share at least one element in the families.

↳ capabilities array

Output only. Capabilities of this node type.

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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getNodeTypeId

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

Returns
Type Description
string

setNodeTypeId

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

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Output only. The friendly name for this node type.

For example: ve1-standard-72

Returns
Type Description
string

setDisplayName

Output only. The friendly name for this node type.

For example: ve1-standard-72

Parameter
Name Description
var string
Returns
Type Description
$this

getVirtualCpuCount

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

Returns
Type Description
int

setVirtualCpuCount

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

Parameter
Name Description
var int
Returns
Type Description
$this

getTotalCoreCount

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

Returns
Type Description
int

setTotalCoreCount

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

Parameter
Name Description
var int
Returns
Type Description
$this

getMemoryGb

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

Returns
Type Description
int

setMemoryGb

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

Parameter
Name Description
var int
Returns
Type Description
$this

getDiskSizeGb

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

Returns
Type Description
int

setDiskSizeGb

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

Parameter
Name Description
var int
Returns
Type Description
$this

getAvailableCustomCoreCounts

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAvailableCustomCoreCounts

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

Parameter
Name Description
var int[]
Returns
Type Description
$this

getKind

Output only. The type of the resource.

Returns
Type Description
int

setKind

Output only. The type of the resource.

Parameter
Name Description
var int
Returns
Type Description
$this

getFamilies

Output only. Families of the node type.

For node types to be in the same cluster they must share at least one element in the families.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFamilies

Output only. Families of the node type.

For node types to be in the same cluster they must share at least one element in the families.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getCapabilities

Output only. Capabilities of this node type.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCapabilities

Output only. Capabilities of this node type.

Parameter
Name Description
var int[]
Returns
Type Description
$this