Class: Google::Apis::GkehubV1beta::RolloutCreationScope

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/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.



6044
6045
6046
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6044

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>)


6042
6043
6044
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6042

def upgrade_types
  @upgrade_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6049
6050
6051
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6049

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