Class: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubState
- 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
State of the Policy Controller.
Instance Attribute Summary collapse
-
#deployment_states ⇒ Hash<String,String>
Map from deployment name to deployment state.
-
#version ⇒ Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubVersion
The build version of Gatekeeper that Policy Controller is using.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyControllerPolicyControllerHubState
constructor
A new instance of PolicyControllerPolicyControllerHubState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicyControllerPolicyControllerHubState
Returns a new instance of PolicyControllerPolicyControllerHubState.
2235 2236 2237 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2235 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deployment_states ⇒ Hash<String,String>
Map from deployment name to deployment state. Example deployments are
gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-
mutation.
Corresponds to the JSON property deploymentStates
2228 2229 2230 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2228 def deployment_states @deployment_states end |
#version ⇒ Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubVersion
The build version of Gatekeeper that Policy Controller is using.
Corresponds to the JSON property version
2233 2234 2235 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2233 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2240 2241 2242 2243 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2240 def update!(**args) @deployment_states = args[:deployment_states] if args.key?(:deployment_states) @version = args[:version] if args.key?(:version) end |