class Google::Apis::OsconfigV1alpha::OsPolicyAssignmentRollout
Message to configure the rollout at the zonal level for the OS policy assignment.
Attributes
disruption_budget[RW]
Message encapsulating a value that can be either absolute (“fixed”) or relative (“percent”) to a value. Corresponds to the JSON property `disruptionBudget` @return [Google::Apis::OsconfigV1alpha::FixedOrPercent]
min_wait_duration[RW]
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. Corresponds to the JSON property `minWaitDuration` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/osconfig_v1alpha/classes.rb, line 1299 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/osconfig_v1alpha/classes.rb, line 1304 def update!(**args) @disruption_budget = args[:disruption_budget] if args.key?(:disruption_budget) @min_wait_duration = args[:min_wait_duration] if args.key?(:min_wait_duration) end