Class: Google::Apis::GkehubV1alpha::ClusterUpgradeMembershipState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ClusterUpgradeMembershipState
- 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
Per-membership state for this feature.
Instance Attribute Summary collapse
-
#ignored ⇒ Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership
IgnoredMembership represents a membership ignored by the feature.
-
#scopes ⇒ Array<String>
Fully qualified scope names that this clusters is bound to which also have rollout sequencing enabled.
-
#upgrades ⇒ Array<Google::Apis::GkehubV1alpha::ClusterUpgradeMembershipGkeUpgradeState>
Actual upgrade state against desired.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterUpgradeMembershipState
constructor
A new instance of ClusterUpgradeMembershipState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterUpgradeMembershipState
Returns a new instance of ClusterUpgradeMembershipState.
738 739 740 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 738 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ignored ⇒ Google::Apis::GkehubV1alpha::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
725 726 727 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 725 def ignored @ignored end |
#scopes ⇒ Array<String>
Fully qualified scope names that this clusters is bound to which also have
rollout sequencing enabled.
Corresponds to the JSON property scopes
731 732 733 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 731 def scopes @scopes end |
#upgrades ⇒ Array<Google::Apis::GkehubV1alpha::ClusterUpgradeMembershipGkeUpgradeState>
Actual upgrade state against desired.
Corresponds to the JSON property upgrades
736 737 738 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 736 def upgrades @upgrades end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
743 744 745 746 747 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 743 def update!(**args) @ignored = args[:ignored] if args.key?(:ignored) @scopes = args[:scopes] if args.key?(:scopes) @upgrades = args[:upgrades] if args.key?(:upgrades) end |