Compute V1 Client - Class RegionInstanceGroupManagersSuspendInstancesRequest (1.22.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ force_suspend bool

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

↳ instances array

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

getForceSuspend

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

Returns
Type Description
bool

hasForceSuspend

clearForceSuspend

setForceSuspend

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

Parameter
Name Description
var bool
Returns
Type Description
$this

getInstances

The URLs of one or more instances to suspend. 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 suspend. 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