Google Cloud Sql Admin V1 Client - Class ConnectorEnforcement (0.18.0)

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;