Class: Google::Apis::GkehubV2alpha::ClusterUpgradeState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2alpha::ClusterUpgradeState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v2alpha/classes.rb,
lib/google/apis/gkehub_v2alpha/representations.rb,
lib/google/apis/gkehub_v2alpha/representations.rb
Overview
Per-membership state for this feature.
Instance Attribute Summary collapse
-
#ignored ⇒ Google::Apis::GkehubV2alpha::ClusterUpgradeIgnoredMembership
IgnoredMembership represents a membership ignored by the feature.
-
#upgrades ⇒ Array<Google::Apis::GkehubV2alpha::ClusterUpgradeMembershipGkeUpgradeState>
Actual upgrade state against desired.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterUpgradeState
constructor
A new instance of ClusterUpgradeState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterUpgradeState
Returns a new instance of ClusterUpgradeState.
200 201 202 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 200 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ignored ⇒ Google::Apis::GkehubV2alpha::ClusterUpgradeIgnoredMembership
IgnoredMembership represents a membership ignored by the feature. A membership
can be ignored because it was manually upgraded to a newer version than RC
default.
Corresponds to the JSON property ignored
193 194 195 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 193 def ignored @ignored end |
#upgrades ⇒ Array<Google::Apis::GkehubV2alpha::ClusterUpgradeMembershipGkeUpgradeState>
Actual upgrade state against desired.
Corresponds to the JSON property upgrades
198 199 200 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 198 def upgrades @upgrades end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
205 206 207 208 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 205 def update!(**args) @ignored = args[:ignored] if args.key?(:ignored) @upgrades = args[:upgrades] if args.key?(:upgrades) end |