Class: Google::Apis::ContainerV1::AutoUpgradeOptions
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::AutoUpgradeOptions
- Defined in:
- generated/google/apis/container_v1/classes.rb,
generated/google/apis/container_v1/representations.rb,
generated/google/apis/container_v1/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] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in RFC3339 text format.
-
#description ⇒ String
[Output only] This field is set when upgrades are about to commence with the description of the upgrade.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutoUpgradeOptions
constructor
A new instance of AutoUpgradeOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AutoUpgradeOptions
Returns a new instance of AutoUpgradeOptions
569 570 571 |
# File 'generated/google/apis/container_v1/classes.rb', line 569 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
567 568 569 |
# File 'generated/google/apis/container_v1/classes.rb', line 567 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
560 561 562 |
# File 'generated/google/apis/container_v1/classes.rb', line 560 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
574 575 576 577 |
# File 'generated/google/apis/container_v1/classes.rb', line 574 def update!(**args) @description = args[:description] if args.key?(:description) @auto_upgrade_start_time = args[:auto_upgrade_start_time] if args.key?(:auto_upgrade_start_time) end |