View Source GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CloudSqlProperties (google_api_dlp v0.46.0)

Cloud SQL connection properties.

Attributes

  • cloudSqlIam (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CloudSqlIamCredential.t, default: nil) - Built-in IAM authentication (must be configured in Cloud SQL).
  • connectionName (type: String.t, default: nil) - 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"
  • databaseEngine (type: String.t, default: nil) - Required. The database engine used by the Cloud SQL instance that this connection configures.
  • maxConnections (type: integer(), default: nil) - Required. DLP will limit its connections to max_connections. Must be 2 or greater.
  • usernamePassword (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2SecretManagerCredential.t, default: nil) - A username and password stored in Secret Manager.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CloudSqlProperties{
  cloudSqlIam:
    GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CloudSqlIamCredential.t() | nil,
  connectionName: String.t() | nil,
  databaseEngine: String.t() | nil,
  maxConnections: integer() | nil,
  usernamePassword:
    GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2SecretManagerCredential.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.