Reference documentation and code samples for the Google Cloud Container V1 Client class ClusterPolicyConfig.
ClusterPolicyConfig stores the configuration for cluster wide policies.
Generated from protobuf message google.container.v1.ClusterPolicyConfig
Namespace
Google \ Cloud \ Container \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ no_system_mutation |
bool
Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . |
↳ no_system_impersonation |
bool
Denotes preventing impersonation and CSRs for GKE System users. |
↳ no_unsafe_webhooks |
bool
Denotes preventing unsafe webhooks. |
↳ no_standard_node_pools |
bool
Denotes preventing standard node pools and requiring only autopilot node pools. |
getNoSystemMutation
Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources .
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasNoSystemMutation
clearNoSystemMutation
setNoSystemMutation
Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources .
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNoSystemImpersonation
Denotes preventing impersonation and CSRs for GKE System users.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasNoSystemImpersonation
clearNoSystemImpersonation
setNoSystemImpersonation
Denotes preventing impersonation and CSRs for GKE System users.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNoUnsafeWebhooks
Denotes preventing unsafe webhooks.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasNoUnsafeWebhooks
clearNoUnsafeWebhooks
setNoUnsafeWebhooks
Denotes preventing unsafe webhooks.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNoStandardNodePools
Denotes preventing standard node pools and requiring only autopilot node pools.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasNoStandardNodePools
clearNoStandardNodePools
setNoStandardNodePools
Denotes preventing standard node pools and requiring only autopilot node pools.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|