Compute V1 Client - Class InstanceGroupsAddInstancesRequest (1.5.0)

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.

Generated from protobuf field repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInstances

The list of instances to add to the instance group.

Generated from protobuf field repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;

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