# Google Cloud Container V1 Client - Class ClusterPolicyConfig (2.10.0)

2.10.0 (latest) 2.9.0 2.8.1 2.7.0 2.6.1 2.5.0 2.4.0 2.3.4 2.2.1 2.1.0 2.0.0 1.33.0 1.32.0 1.31.0 1.30.3 1.24.0 1.23.0 1.22.0 1.21.1 1.20.0 1.19.0 1.18.0 1.17.1 1.16.0 1.15.0 1.14.0 1.13.1 1.12.1 1.10.3 1.9.1 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 \\ V1

## Methods

### __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` |   |