Class: Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureState
- 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
GKEUpgradeFeatureState contains feature states for GKE clusters in the scope.
Instance Attribute Summary collapse
-
#conditions ⇒ Array<Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureCondition>
Current conditions of the feature.
-
#upgrade_state ⇒ Array<Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeState>
Upgrade state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterUpgradeGkeUpgradeFeatureState
constructor
A new instance of ClusterUpgradeGkeUpgradeFeatureState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterUpgradeGkeUpgradeFeatureState
Returns a new instance of ClusterUpgradeGkeUpgradeFeatureState.
595 596 597 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 595 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Array<Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureCondition>
Current conditions of the feature.
Corresponds to the JSON property conditions
588 589 590 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 588 def conditions @conditions end |
#upgrade_state ⇒ Array<Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeState>
Upgrade state. It will eventually replace state
.
Corresponds to the JSON property upgradeState
593 594 595 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 593 def upgrade_state @upgrade_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
600 601 602 603 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 600 def update!(**args) @conditions = args[:conditions] if args.key?(:conditions) @upgrade_state = args[:upgrade_state] if args.key?(:upgrade_state) end |