Compute V1 Client - Class RegionInstanceGroupManagersStopInstancesRequest (1.22.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ force_stop bool

If this flag is set to true, the Instance Group Manager will proceed to stop the instances, skipping initialization on them.

↳ instances array

The URLs of one or more instances to stop. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].

getForceStop

If this flag is set to true, the Instance Group Manager will proceed to stop the instances, skipping initialization on them.

Returns
Type Description
bool

hasForceStop

clearForceStop

setForceStop

If this flag is set to true, the Instance Group Manager will proceed to stop the instances, skipping initialization on them.

Parameter
Name Description
var bool
Returns
Type Description
$this

getInstances

The URLs of one or more instances to stop. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstances

The URLs of one or more instances to stop. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].

Parameter
Name Description
var string[]
Returns
Type Description
$this