Cloud SQL Admin V1 API - Module Google::Cloud::Sql::V1::Settings::ConnectorEnforcement (v0.1.0)
Reference documentation and code samples for the Cloud SQL Admin V1 API module Google::Cloud::Sql::V1::Settings::ConnectorEnforcement.
The options for enforcing Cloud SQL connectors in the instance.
Constants
CONNECTOR_ENFORCEMENT_UNSPECIFIED
value: 0
The requirement for Cloud SQL connectors is unknown.
NOT_REQUIRED
value: 1
Do not require Cloud SQL connectors.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-24 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-24 UTC."],[],[]]