Class: Google::Apis::GkehubV1beta::ClusterUpgradePostConditions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb

Overview

Post conditional checks after an upgrade has been applied on all eligible clusters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClusterUpgradePostConditions

Returns a new instance of ClusterUpgradePostConditions.



720
721
722
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 720

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#soakingString

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

Returns:

  • (String)


718
719
720
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 718

def soaking
  @soaking
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



725
726
727
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 725

def update!(**args)
  @soaking = args[:soaking] if args.key?(:soaking)
end