Compute V1 Client - Class InstanceGroupManagerStatusStateful (1.5.0)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ has_stateful_config bool

[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.

↳ per_instance_configs Google\Cloud\Compute\V1\InstanceGroupManagerStatusStatefulPerInstanceConfigs

[Output Only] Status of per-instance configurations on the instance.

getHasStatefulConfig

[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.

Generated from protobuf field optional bool has_stateful_config = 110474224;

Returns
TypeDescription
bool

hasHasStatefulConfig

clearHasStatefulConfig

setHasStatefulConfig

[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.

Generated from protobuf field optional bool has_stateful_config = 110474224;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getPerInstanceConfigs

[Output Only] Status of per-instance configurations on the instance.

Generated from protobuf field optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;

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

hasPerInstanceConfigs

clearPerInstanceConfigs

setPerInstanceConfigs

[Output Only] Status of per-instance configurations on the instance.

Generated from protobuf field optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;

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