Compute V1 Client - Class InstanceReference (1.13.0)

Reference documentation and code samples for the Compute V1 Client class InstanceReference.

Generated from protobuf message google.cloud.compute.v1.InstanceReference

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instance string

The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances

getInstance

The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances

Returns
TypeDescription
string

hasInstance

clearInstance

setInstance

The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances

Parameter
NameDescription
var string
Returns
TypeDescription
$this