Class: Google::Apis::GkehubV1alpha::AutoUpgradeConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb

Overview

Configuration for automatic upgrades.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AutoUpgradeConfig

Returns a new instance of AutoUpgradeConfig.



226
227
228
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 226

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#rollout_creation_scopeGoogle::Apis::GkehubV1alpha::RolloutCreationScope

The scope for automatic rollout creation. Corresponds to the JSON property rolloutCreationScope



224
225
226
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 224

def rollout_creation_scope
  @rollout_creation_scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



231
232
233
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 231

def update!(**args)
  @rollout_creation_scope = args[:rollout_creation_scope] if args.key?(:rollout_creation_scope)
end