Class: Google::Apis::ContainerV1beta1::MaintenanceExclusionOptions
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::MaintenanceExclusionOptions
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb
Overview
Represents the Maintenance exclusion option.
Instance Attribute Summary collapse
-
#end_time_behavior ⇒ String
EndTimeBehavior specifies the behavior of the exclusion end time.
-
#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.
5335 5336 5337 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time_behavior ⇒ String
EndTimeBehavior specifies the behavior of the exclusion end time.
Corresponds to the JSON property endTimeBehavior
5328 5329 5330 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5328 def end_time_behavior @end_time_behavior end |
#scope ⇒ String
Scope specifies the upgrade scope which upgrades are blocked by the exclusion.
Corresponds to the JSON property scope
5333 5334 5335 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5333 def scope @scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5340 5341 5342 5343 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5340 def update!(**args) @end_time_behavior = args[:end_time_behavior] if args.key?(:end_time_behavior) @scope = args[:scope] if args.key?(:scope) end |