class Google::Apis::OsconfigV1beta::PatchRollout

Patch rollout configuration specifications. Contains details on the concurrency control when applying patch(es) to all targeted VMs.

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::OsconfigV1beta::FixedOrPercent]

mode[RW]

Mode of the patch rollout. Corresponds to the JSON property `mode` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/osconfig_v1beta/classes.rb, line 1526
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_v1beta/classes.rb, line 1531
def update!(**args)
  @disruption_budget = args[:disruption_budget] if args.key?(:disruption_budget)
  @mode = args[:mode] if args.key?(:mode)
end