Google Cloud Sql Admin V1 Client - Class ConnectorEnforcement (1.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]