Class: Google::Apis::GkehubV1beta::PolicyControllerMembershipState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::PolicyControllerMembershipState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb
Overview
Policy Controller: State for a single cluster.
Instance Attribute Summary collapse
-
#component_states ⇒ Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>
Currently these include (also serving as map keys): 1.
-
#content_states ⇒ Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>
The state of the template library and any bundles included in the chosen version of the manifest Corresponds to the JSON property
contentStates. -
#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.
2953 2954 2955 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2953 def initialize(**args) update!(**args) end |
Instance Attribute Details
#component_states ⇒ Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>
Currently these include (also serving as map keys): 1. "admission" 2. "audit"
- "mutation"
Corresponds to the JSON property
componentStates
2939 2940 2941 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2939 def component_states @component_states end |
#content_states ⇒ Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>
The state of the template library and any bundles included in the chosen
version of the manifest
Corresponds to the JSON property contentStates
2945 2946 2947 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2945 def content_states @content_states end |
#state ⇒ String
The overall Policy Controller lifecycle state observed by the Hub Feature
controller.
Corresponds to the JSON property state
2951 2952 2953 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2951 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2958 2959 2960 2961 2962 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2958 def update!(**args) @component_states = args[:component_states] if args.key?(:component_states) @content_states = args[:content_states] if args.key?(:content_states) @state = args[:state] if args.key?(:state) end |