Google Cloud Hypercompute Cluster V1beta Client - Class ComputeInstance (0.1.0)

Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class ComputeInstance.

Details about a Compute Engine instance.

Generated from protobuf message google.cloud.hypercomputecluster.v1beta.ComputeInstance

Namespace

Google \ Cloud \ HypercomputeCluster \ V1beta

Methods

__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 projects/{project}/zones/{zone}/instances/{instance}.

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