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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ name | stringOutput 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:  | 
| ↳ node_type_id | stringOutput only. The canonical identifier of the node type (corresponds to the  | 
| ↳ display_name | stringOutput only. The friendly name for this node type. For example: ve1-standard-72 | 
| ↳ virtual_cpu_count | intOutput only. The total number of virtual CPUs in a single node. | 
| ↳ total_core_count | intOutput only. The total number of CPU cores in a single node. | 
| ↳ memory_gb | intOutput only. The amount of physical memory available, defined in GB. | 
| ↳ disk_size_gb | intOutput only. The amount of storage available, defined in GB. | 
| ↳ available_custom_core_counts | arrayOutput only. List of possible values of custom core count. | 
| ↳ kind | intOutput only. The type of the resource. | 
| ↳ families | arrayOutput only. Families of the node type. For node types to be in the same cluster they must share at least one element in the  | 
| ↳ capabilities | arrayOutput 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 | Enum of type Kind. | 
setKind
Output only. The type of the resource.
| Parameter | |
|---|---|
| Name | Description | 
| var | intEnum of type Kind. | 
| 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 | |