Compute V1 Client - Class InstanceGroupsAddInstancesRequest (1.22.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<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<InstanceReference>
Returns
Type Description
$this