Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1 Client class ComputeInstance.
Details about a Compute Engine instance.
Generated from protobuf message google.cloud.hypercomputecluster.v1.ComputeInstance
Namespace
Google \ Cloud \ HypercomputeCluster \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instance |
string
Output only. Name of the VM instance, in the format |
getInstance
Output only. Name of the VM instance, in the format
projects/{project}/zones/{zone}/instances/{instance}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setInstance
Output only. Name of the VM instance, in the format
projects/{project}/zones/{zone}/instances/{instance}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|