Compute V1 Client - Class InstanceGroupsAddInstancesRequest (1.24.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
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ instancesarray<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
vararray<InstanceReference>
Returns
TypeDescription
$this