Google Cloud OsConfig V1 Client - Class Rollout (1.3.4)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class Rollout.

Message to configure the rollout at the zonal level for the OS policy assignment.

Generated from protobuf message google.cloud.osconfig.v1.OSPolicyAssignment.Rollout

Namespace

Google \ Cloud \ OsConfig \ V1 \ OSPolicyAssignment

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ disruption_budget Google\Cloud\OsConfig\V1\FixedOrPercent

Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.

↳ min_wait_duration Google\Protobuf\Duration

Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the disruption_budget at least until this duration of time has passed after configuration changes are applied.

getDisruptionBudget

Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.

Returns
Type Description
Google\Cloud\OsConfig\V1\FixedOrPercent|null

hasDisruptionBudget

clearDisruptionBudget

setDisruptionBudget

Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.

Parameter
Name Description
var Google\Cloud\OsConfig\V1\FixedOrPercent
Returns
Type Description
$this

getMinWaitDuration

Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the disruption_budget at least until this duration of time has passed after configuration changes are applied.

Returns
Type Description
Google\Protobuf\Duration|null

hasMinWaitDuration

clearMinWaitDuration

setMinWaitDuration

Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the disruption_budget at least until this duration of time has passed after configuration changes are applied.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this