Class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::PolicyControllerMembershipState
- 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
Policy Controller: State for a single cluster.
Instance Attribute Summary collapse
-
#component_states ⇒ Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>
Currently these include (also serving as map keys): 1.
-
#state ⇒ String
The overall Policy Controller lifecycle state observed by the Hub Feature controller.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyControllerMembershipState
constructor
A new instance of PolicyControllerMembershipState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicyControllerMembershipState
Returns a new instance of PolicyControllerMembershipState.
3390 3391 3392 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3390 def initialize(**args) update!(**args) end |
Instance Attribute Details
#component_states ⇒ Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>
Currently these include (also serving as map keys): 1. "admission" 2. "audit"
- "mutation" 4. "constraint template library"
Corresponds to the JSON property
componentStates
3382 3383 3384 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3382 def component_states @component_states end |
#state ⇒ String
The overall Policy Controller lifecycle state observed by the Hub Feature
controller.
Corresponds to the JSON property state
3388 3389 3390 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3388 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3395 3396 3397 3398 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3395 def update!(**args) @component_states = args[:component_states] if args.key?(:component_states) @state = args[:state] if args.key?(:state) end |