Cloud SQL connection properties.
JSON representation |
---|
{ "connectionName": string, "maxConnections": integer, "databaseEngine": enum ( |
Fields | |
---|---|
connectionName |
Optional. Immutable. The Cloud SQL instance for which the connection is defined. Only one connection per instance is allowed. This can only be set at creation time, and cannot be updated. It is an error to use a connectionName from different project or region than the one that holds the connection. For example, a Connection resource for Cloud SQL connectionName |
maxConnections |
Required. DLP will limit its connections to maxConnections. Must be 2 or greater. |
databaseEngine |
Required. The database engine used by the Cloud SQL instance that this connection configures. |
Union field credential . How to authenticate to the instance. credential can be only one of the following: |
|
usernamePassword |
A username and password stored in Secret Manager. |
cloudSqlIam |
Built-in IAM authentication (must be configured in Cloud SQL). |
SecretManagerCredential
A credential consisting of a username and password, where the password is stored in a Secret Manager resource. Note: Secret Manager charges apply.
JSON representation |
---|
{ "username": string, "passwordSecretVersionName": string } |
Fields | |
---|---|
username |
Required. The username. |
passwordSecretVersionName |
Required. The name of the Secret Manager resource that stores the password, in the form |