Class: Google::Apis::GkehubV1alpha::RolloutCreationScope

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

The scope for automatic rollout creation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RolloutCreationScope

Returns a new instance of RolloutCreationScope.



6267
6268
6269
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6267

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

Instance Attribute Details

#upgrade_typesArray<String>

Optional. The list of enabled upgrade types. Corresponds to the JSON property upgradeTypes

Returns:

  • (Array<String>)


6265
6266
6267
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6265

def upgrade_types
  @upgrade_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6272
6273
6274
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6272

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