Class: Google::Apis::GkehubV1beta::RolloutCreationScope
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::RolloutCreationScope
- 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
-
#upgrade_types ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RolloutCreationScope
constructor
A new instance of RolloutCreationScope.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RolloutCreationScope
Returns a new instance of RolloutCreationScope.
6047 6048 6049 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6047 def initialize(**args) update!(**args) end |
Instance Attribute Details
#upgrade_types ⇒ Array<String>
Optional. The list of enabled upgrade types.
Corresponds to the JSON property upgradeTypes
6045 6046 6047 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6045 def upgrade_types @upgrade_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6052 6053 6054 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6052 def update!(**args) @upgrade_types = args[:upgrade_types] if args.key?(:upgrade_types) end |