Class: Google::Apis::GkehubV1alpha::RolloutCreationScope
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::RolloutCreationScope
- 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
-
#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.
6267 6268 6269 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6267 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
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 |