Class: Google::Apis::GkehubV1::PolicyControllerMembershipState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1::PolicyControllerMembershipState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/representations.rb
Overview
Policy Controller: State for a single cluster.
Instance Attribute Summary collapse
-
#component_states ⇒ Hash<String,Google::Apis::GkehubV1::PolicyControllerOnClusterState>
Currently these include (also serving as map keys): 1.
-
#policy_content_state ⇒ Google::Apis::GkehubV1::PolicyControllerPolicyContentState
The state of the policy controller policy content Corresponds to the JSON property
policyContentState
. -
#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.
4753 4754 4755 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4753 def initialize(**args) update!(**args) end |
Instance Attribute Details
#component_states ⇒ Hash<String,Google::Apis::GkehubV1::PolicyControllerOnClusterState>
Currently these include (also serving as map keys): 1. "admission" 2. "audit"
- "mutation"
Corresponds to the JSON property
componentStates
4740 4741 4742 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4740 def component_states @component_states end |
#policy_content_state ⇒ Google::Apis::GkehubV1::PolicyControllerPolicyContentState
The state of the policy controller policy content
Corresponds to the JSON property policyContentState
4745 4746 4747 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4745 def policy_content_state @policy_content_state end |
#state ⇒ String
The overall Policy Controller lifecycle state observed by the Hub Feature
controller.
Corresponds to the JSON property state
4751 4752 4753 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4751 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4758 4759 4760 4761 4762 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 4758 def update!(**args) @component_states = args[:component_states] if args.key?(:component_states) @policy_content_state = args[:policy_content_state] if args.key?(:policy_content_state) @state = args[:state] if args.key?(:state) end |