# Google Cloud Sql Admin V1 Client - Class ConnectorEnforcement (1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.2.6 1.1.0 1.0.0 0.19.0 0.18.0 0.17.1 0.16.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.12 Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class ConnectorEnforcement.

The options for enforcing Cloud SQL connectors in the instance.

Protobuf type `google.cloud.sql.v1.Settings.ConnectorEnforcement`

## Namespace

Google \\ Cloud \\ Sql \\ V1 \\ Settings

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### CONNECTOR_ENFORCEMENT_UNSPECIFIED

    Value: 0

The requirement for Cloud SQL connectors is unknown.

Generated from protobuf enum `CONNECTOR_ENFORCEMENT_UNSPECIFIED = 0;`

### NOT_REQUIRED

    Value: 1

Do not require Cloud SQL connectors.

Generated from protobuf enum `NOT_REQUIRED = 1;`

### REQUIRED

    Value: 2

Require all connections to use Cloud SQL connectors, including the
Cloud SQL Auth Proxy and Cloud SQL Java, Python, and Go connectors.

Note: This disables all existing authorized networks.

Generated from protobuf enum `REQUIRED = 2;`