# GKE Hub V1 API - Class Google::Cloud::GkeHub::ConfigManagement::V1::PolicyControllerState (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.10.0 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::ConfigManagement::V1::PolicyControllerState.

State for PolicyControllerState.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #deployment_state

    def deployment_state() -> ::Google::Cloud::GkeHub::ConfigManagement::V1::GatekeeperDeploymentState

**Returns**

- ([::Google::Cloud::GkeHub::ConfigManagement::V1::GatekeeperDeploymentState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-ConfigManagement-V1-GatekeeperDeploymentState)) --- The state about the policy controller installation.

### #deployment_state=

    def deployment_state=(value) -> ::Google::Cloud::GkeHub::ConfigManagement::V1::GatekeeperDeploymentState

**Parameter**

- **value** ([::Google::Cloud::GkeHub::ConfigManagement::V1::GatekeeperDeploymentState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-ConfigManagement-V1-GatekeeperDeploymentState)) --- The state about the policy controller installation.
**Returns**

- ([::Google::Cloud::GkeHub::ConfigManagement::V1::GatekeeperDeploymentState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-ConfigManagement-V1-GatekeeperDeploymentState)) --- The state about the policy controller installation.

### #version

    def version() -> ::Google::Cloud::GkeHub::ConfigManagement::V1::PolicyControllerVersion

**Returns**

- ([::Google::Cloud::GkeHub::ConfigManagement::V1::PolicyControllerVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-ConfigManagement-V1-PolicyControllerVersion)) --- The version of Gatekeeper Policy Controller deployed.

### #version=

    def version=(value) -> ::Google::Cloud::GkeHub::ConfigManagement::V1::PolicyControllerVersion

**Parameter**

- **value** ([::Google::Cloud::GkeHub::ConfigManagement::V1::PolicyControllerVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-ConfigManagement-V1-PolicyControllerVersion)) --- The version of Gatekeeper Policy Controller deployed.
**Returns**

- ([::Google::Cloud::GkeHub::ConfigManagement::V1::PolicyControllerVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-ConfigManagement-V1-PolicyControllerVersion)) --- The version of Gatekeeper Policy Controller deployed.