Compute V1 Client - Class InstanceGroupsAddInstancesRequest (1.8.3)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instances array<Google\Cloud\Compute\V1\InstanceReference>

The list of instances to add to the instance group.

getInstances

The list of instances to add to the instance group.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInstances

The list of instances to add to the instance group.

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\InstanceReference>
Returns
TypeDescription
$this