Class: Google::Apis::ContainerV1beta1::AutoUpgradeOptions
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::AutoUpgradeOptions
- 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
AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.
Instance Attribute Summary collapse
-
#auto_upgrade_start_time ⇒ String
Output only.
-
#description ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutoUpgradeOptions
constructor
A new instance of AutoUpgradeOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutoUpgradeOptions
Returns a new instance of AutoUpgradeOptions.
381 382 383 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 381 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_upgrade_start_time ⇒ String
Output only. This field is set when upgrades are about to commence with the
approximate start time for the upgrades, in RFC3339 text format.
Corresponds to the JSON property autoUpgradeStartTime
373 374 375 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 373 def auto_upgrade_start_time @auto_upgrade_start_time end |
#description ⇒ String
Output only. This field is set when upgrades are about to commence with the
description of the upgrade.
Corresponds to the JSON property description
379 380 381 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 379 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
386 387 388 389 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 386 def update!(**args) @auto_upgrade_start_time = args[:auto_upgrade_start_time] if args.key?(:auto_upgrade_start_time) @description = args[:description] if args.key?(:description) end |