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 | |
---|---|
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: |
↳ node_type_id |
string
Output only. The canonical identifier of the node type (corresponds to the |
↳ 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 | |
---|---|
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 |