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

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ version Google\Cloud\GkeHub\ConfigManagement\V1\PolicyControllerVersion

The version of Gatekeeper Policy Controller deployed.

↳ deployment_state Google\Cloud\GkeHub\ConfigManagement\V1\GatekeeperDeploymentState

The state about the policy controller installation.

getVersion

The version of Gatekeeper Policy Controller deployed.

Returns
TypeDescription
Google\Cloud\GkeHub\ConfigManagement\V1\PolicyControllerVersion|null

hasVersion

clearVersion

setVersion

The version of Gatekeeper Policy Controller deployed.

Parameter
NameDescription
var Google\Cloud\GkeHub\ConfigManagement\V1\PolicyControllerVersion
Returns
TypeDescription
$this

getDeploymentState

The state about the policy controller installation.

Returns
TypeDescription
Google\Cloud\GkeHub\ConfigManagement\V1\GatekeeperDeploymentState|null

hasDeploymentState

clearDeploymentState

setDeploymentState

The state about the policy controller installation.

Parameter
NameDescription
var Google\Cloud\GkeHub\ConfigManagement\V1\GatekeeperDeploymentState
Returns
TypeDescription
$this