Class: Google::Apis::GkehubV1beta::AutoUpgradeConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::AutoUpgradeConfig
- 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
Configuration for automatic upgrades.
Instance Attribute Summary collapse
-
#enforced_rollouts ⇒ Hash<String,String>
Output only.
-
#rollout_creation_scope ⇒ Google::Apis::GkehubV1beta::RolloutCreationScope
The scope for automatic rollout creation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutoUpgradeConfig
constructor
A new instance of AutoUpgradeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutoUpgradeConfig
Returns a new instance of AutoUpgradeConfig.
233 234 235 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enforced_rollouts ⇒ Hash<String,String>
Output only. Mandatory Safety Policies (Always active) which cannot be
disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and
the value is a human-readable description.
Corresponds to the JSON property enforcedRollouts
226 227 228 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 226 def enforced_rollouts @enforced_rollouts end |
#rollout_creation_scope ⇒ Google::Apis::GkehubV1beta::RolloutCreationScope
The scope for automatic rollout creation.
Corresponds to the JSON property rolloutCreationScope
231 232 233 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 231 def rollout_creation_scope @rollout_creation_scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
238 239 240 241 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 238 def update!(**args) @enforced_rollouts = args[:enforced_rollouts] if args.key?(:enforced_rollouts) @rollout_creation_scope = args[:rollout_creation_scope] if args.key?(:rollout_creation_scope) end |