Compute V1 Client - Class InstanceGroupManagerStatus (1.8.3)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ autoscaler string

[Output Only] The URL of the Autoscaler that targets this instance group manager.

↳ is_stable bool

[Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.

↳ stateful Google\Cloud\Compute\V1\InstanceGroupManagerStatusStateful

[Output Only] Stateful status of the given Instance Group Manager.

↳ version_target Google\Cloud\Compute\V1\InstanceGroupManagerStatusVersionTarget

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

getAutoscaler

[Output Only] The URL of the Autoscaler that targets this instance group manager.

Returns
TypeDescription
string

hasAutoscaler

clearAutoscaler

setAutoscaler

[Output Only] The URL of the Autoscaler that targets this instance group manager.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIsStable

[Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.

Returns
TypeDescription
bool

hasIsStable

clearIsStable

setIsStable

[Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getStateful

[Output Only] Stateful status of the given Instance Group Manager.

Returns
TypeDescription
Google\Cloud\Compute\V1\InstanceGroupManagerStatusStateful|null

hasStateful

clearStateful

setStateful

[Output Only] Stateful status of the given Instance Group Manager.

Parameter
NameDescription
var Google\Cloud\Compute\V1\InstanceGroupManagerStatusStateful
Returns
TypeDescription
$this

getVersionTarget

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

Returns
TypeDescription
Google\Cloud\Compute\V1\InstanceGroupManagerStatusVersionTarget|null

hasVersionTarget

clearVersionTarget

setVersionTarget

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

Parameter
NameDescription
var Google\Cloud\Compute\V1\InstanceGroupManagerStatusVersionTarget
Returns
TypeDescription
$this