Class: Google::Apis::GkehubV2alpha::ClusterUpgradeMembershipGkeUpgradeState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2alpha::ClusterUpgradeMembershipGkeUpgradeState
- 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
MembershipGKEUpgradeState is a GKEUpgrade and its state per-membership.
Instance Attribute Summary collapse
-
#status ⇒ Google::Apis::GkehubV2alpha::ClusterUpgradeUpgradeStatus
UpgradeStatus provides status information for each upgrade.
-
#upgrade ⇒ Google::Apis::GkehubV2alpha::ClusterUpgradeGkeUpgrade
GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterUpgradeMembershipGkeUpgradeState
constructor
A new instance of ClusterUpgradeMembershipGkeUpgradeState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterUpgradeMembershipGkeUpgradeState
Returns a new instance of ClusterUpgradeMembershipGkeUpgradeState.
173 174 175 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 173 def initialize(**args) update!(**args) end |
Instance Attribute Details
#status ⇒ Google::Apis::GkehubV2alpha::ClusterUpgradeUpgradeStatus
UpgradeStatus provides status information for each upgrade.
Corresponds to the JSON property status
166 167 168 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 166 def status @status end |
#upgrade ⇒ Google::Apis::GkehubV2alpha::ClusterUpgradeGkeUpgrade
GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
Corresponds to the JSON property upgrade
171 172 173 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 171 def upgrade @upgrade end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
178 179 180 181 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 178 def update!(**args) @status = args[:status] if args.key?(:status) @upgrade = args[:upgrade] if args.key?(:upgrade) end |