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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\GkeHub\ConfigManagement\V1\PolicyControllerVersion|null |
hasVersion
clearVersion
setVersion
The version of Gatekeeper Policy Controller deployed.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeHub\ConfigManagement\V1\PolicyControllerVersion
|
Returns | |
---|---|
Type | Description |
$this |
getDeploymentState
The state about the policy controller installation.
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeHub\ConfigManagement\V1\GatekeeperDeploymentState|null |
hasDeploymentState
clearDeploymentState
setDeploymentState
The state about the policy controller installation.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeHub\ConfigManagement\V1\GatekeeperDeploymentState
|
Returns | |
---|---|
Type | Description |
$this |