Class: Google::Apis::ContainerV1::MaintenanceExclusionOptions
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::MaintenanceExclusionOptions
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
Represents the Maintenance exclusion option.
Instance Attribute Summary collapse
-
#scope ⇒ String
Scope specifies the upgrade scope which upgrades are blocked by the exclusion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MaintenanceExclusionOptions
constructor
A new instance of MaintenanceExclusionOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MaintenanceExclusionOptions
Returns a new instance of MaintenanceExclusionOptions.
3540 3541 3542 |
# File 'lib/google/apis/container_v1/classes.rb', line 3540 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scope ⇒ String
Scope specifies the upgrade scope which upgrades are blocked by the exclusion.
Corresponds to the JSON property scope
3538 3539 3540 |
# File 'lib/google/apis/container_v1/classes.rb', line 3538 def scope @scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3545 3546 3547 |
# File 'lib/google/apis/container_v1/classes.rb', line 3545 def update!(**args) @scope = args[:scope] if args.key?(:scope) end |