Google Cloud Gke Hub V1 Client - Class PolicyControllerState (1.0.2)

Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class PolicyControllerState.

State for PolicyControllerState.

Generated from protobuf message google.cloud.gkehub.configmanagement.v1.PolicyControllerState

Namespace

Google \ Cloud \ GkeHub \ ConfigManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ version PolicyControllerVersion

The version of Gatekeeper Policy Controller deployed.

↳ deployment_state GatekeeperDeploymentState

The state about the policy controller installation.

getVersion

The version of Gatekeeper Policy Controller deployed.

Returns
Type Description
PolicyControllerVersion|null

hasVersion

clearVersion

setVersion

The version of Gatekeeper Policy Controller deployed.

Parameter
Name Description
var PolicyControllerVersion
Returns
Type Description
$this

getDeploymentState

The state about the policy controller installation.

Returns
Type Description
GatekeeperDeploymentState|null

hasDeploymentState

clearDeploymentState

setDeploymentState

The state about the policy controller installation.

Parameter
Name Description
var GatekeeperDeploymentState
Returns
Type Description
$this