class Google::Apis::ComputeBeta::RolloutPolicy

A rollout policy configuration.

Attributes

default_rollout_time[RW]

An optional RFC3339 timestamp on or after which the update is considered rolled out to any zone that is not explicitly stated. Corresponds to the JSON property `defaultRolloutTime` @return [String]

location_rollout_policies[RW]

Location based rollout policies to apply to the resource. Currently only zone names are supported and must be represented as valid URLs, like: zones/us- central1-a. The value expects an RFC3339 timestamp on or after which the update is considered rolled out to the specified location. Corresponds to the JSON property `locationRolloutPolicies` @return [Hash<String,String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 28815
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_beta/classes.rb, line 28820
def update!(**args)
  @default_rollout_time = args[:default_rollout_time] if args.key?(:default_rollout_time)
  @location_rollout_policies = args[:location_rollout_policies] if args.key?(:location_rollout_policies)
end