Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class ComputeEngineNodeDetails.
Compute Engine-specific details for a Node.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.ComputeEngineNodeDetails
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instance |
string
Output only. Relative resource name of the VM instance, in the format |
↳ machine_type |
string
Output only. Name of the Compute Engine machine type to use, e.g. |
↳ state |
string
Output only. The Compute Engine VM instance lifecycle state. |
↳ instance_group_manager |
string
Output only. Relative resource name of the managed instance group, in the format |
getInstance
Output only. Relative resource name of the VM
instance, in the format
projects/{project}/zones/{zone}/instances/{instance}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setInstance
Output only. Relative resource name of the VM
instance, in the format
projects/{project}/zones/{zone}/instances/{instance}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMachineType
Output only. Name of the Compute Engine machine type to use, e.g.
n2-standard-2.
| Returns | |
|---|---|
| Type | Description |
string |
|
setMachineType
Output only. Name of the Compute Engine machine type to use, e.g.
n2-standard-2.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
Output only. The Compute Engine VM instance lifecycle state.
| Returns | |
|---|---|
| Type | Description |
string |
|
setState
Output only. The Compute Engine VM instance lifecycle state.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstanceGroupManager
Output only. Relative resource name of the
managed instance group, in the format
projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}.
or
projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}
| Returns | |
|---|---|
| Type | Description |
string |
|
setInstanceGroupManager
Output only. Relative resource name of the
managed instance group, in the format
projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}.
or
projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|