Class: Google::Apis::GkehubV1alpha::ClusterUpgradePostConditions
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ClusterUpgradePostConditions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
Post conditional checks after an upgrade has been applied on all eligible clusters.
Instance Attribute Summary collapse
-
#soaking ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterUpgradePostConditions
constructor
A new instance of ClusterUpgradePostConditions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterUpgradePostConditions
Returns a new instance of ClusterUpgradePostConditions.
761 762 763 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 761 def initialize(**args) update!(**args) end |
Instance Attribute Details
#soaking ⇒ String
Required. Amount of time to "soak" after a rollout has been finished before
marking it COMPLETE. Cannot exceed 30 days. Required.
Corresponds to the JSON property soaking
759 760 761 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 759 def soaking @soaking end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
766 767 768 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 766 def update!(**args) @soaking = args[:soaking] if args.key?(:soaking) end |