Class: Google::Apis::GkehubV1alpha::ClusterUpgradeScopeState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ClusterUpgradeScopeState
- 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
ClusterUpgrade: The state for the scope-level ClusterUpgrade feature.
Instance Attribute Summary collapse
-
#downstream_scopes ⇒ Array<String>
This scopes whose upstream_scopes contain the current scope.
-
#gke_state ⇒ Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureState
GKEUpgradeFeatureState contains feature states for GKE clusters in the scope.
-
#ignored ⇒ Hash<String,Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership>
A list of memberships ignored by the feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterUpgradeScopeState
constructor
A new instance of ClusterUpgradeScopeState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterUpgradeScopeState
Returns a new instance of ClusterUpgradeScopeState.
834 835 836 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 834 def initialize(**args) update!(**args) end |
Instance Attribute Details
#downstream_scopes ⇒ Array<String>
This scopes whose upstream_scopes contain the current scope. The scope name
should be in the form: projects/
p/locations/gloobal/scopes/
s`Where
p
is the project,
sis a valid Scope in this project.
pWILL match the
Feature's project.
Corresponds to the JSON property
downstreamScopes`
819 820 821 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 819 def downstream_scopes @downstream_scopes end |
#gke_state ⇒ Google::Apis::GkehubV1alpha::ClusterUpgradeGkeUpgradeFeatureState
GKEUpgradeFeatureState contains feature states for GKE clusters in the scope.
Corresponds to the JSON property gkeState
824 825 826 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 824 def gke_state @gke_state end |
#ignored ⇒ Hash<String,Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership>
A list of memberships ignored by the feature. For example, manually upgraded
clusters can be ignored if they are newer than the default versions of its
release channel. The membership resource is in the format: projects/
p/
locations/
l/membership/
m`.
Corresponds to the JSON property
ignored`
832 833 834 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 832 def ignored @ignored end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
839 840 841 842 843 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 839 def update!(**args) @downstream_scopes = args[:downstream_scopes] if args.key?(:downstream_scopes) @gke_state = args[:gke_state] if args.key?(:gke_state) @ignored = args[:ignored] if args.key?(:ignored) end |