Class CloudSqlProperties (3.18.1)

CloudSqlProperties(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Cloud SQL connection properties.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
connection_name str
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 connection_name from different project or region than the one that holds the connection. For example, a Connection resource for Cloud SQL connection_name project-id:us-central1:sql-instance must be created under the parent projects/project-id/locations/us-central1
username_password google.cloud.dlp_v2.types.SecretManagerCredential
A username and password stored in Secret Manager. This field is a member of oneof_ credential.
cloud_sql_iam google.cloud.dlp_v2.types.CloudSqlIamCredential
Built-in IAM authentication (must be configured in Cloud SQL). This field is a member of oneof_ credential.
max_connections int
Required. DLP will limit its connections to max_connections. Must be 2 or greater.
database_engine google.cloud.dlp_v2.types.CloudSqlProperties.DatabaseEngine
Required. The database engine used by the Cloud SQL instance that this connection configures.

Classes

DatabaseEngine

DatabaseEngine(value)

Database engine of a Cloud SQL instance. New values may be added over time.