Reference documentation and code samples for the Compute V1 Client class InstanceReference.
Generated from protobuf message google.cloud.compute.v1.InstanceReference
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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
Generated from protobuf field optional string instance = 18257045;
Returns | |
---|---|
Type | Description |
string |
hasInstance
clearInstance
setInstance
The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances
Generated from protobuf field optional string instance = 18257045;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |