Compute V1 Client - Class InstanceGroupsAddInstancesRequest (1.17.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setInstances

The list of instances to add to the instance group.

Parameter
Name Description
var array<Google\Cloud\Compute\V1\InstanceReference>
Returns
Type Description
$this