Google Cloud Data Loss Prevention v2 API - Class CloudSqlProperties (2.16.0)

public sealed class CloudSqlProperties : IMessage<CloudSqlProperties>, IEquatable<CloudSqlProperties>, IDeepCloneable<CloudSqlProperties>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class CloudSqlProperties.

Cloud SQL connection properties.

Inheritance

object > CloudSqlProperties

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

CloudSqlProperties()

public CloudSqlProperties()

CloudSqlProperties(CloudSqlProperties)

public CloudSqlProperties(CloudSqlProperties other)
Parameter
Name Description
other CloudSqlProperties

Properties

CloudSqlIam

public CloudSqlIamCredential CloudSqlIam { get; set; }

Built-in IAM authentication (must be configured in Cloud SQL).

Property Value
Type Description
CloudSqlIamCredential

ConnectionName

public string ConnectionName { get; set; }

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

Property Value
Type Description
string

CredentialCase

public CloudSqlProperties.CredentialOneofCase CredentialCase { get; }
Property Value
Type Description
CloudSqlPropertiesCredentialOneofCase

DatabaseEngine

public CloudSqlProperties.Types.DatabaseEngine DatabaseEngine { get; set; }

Required. The database engine used by the Cloud SQL instance that this connection configures.

Property Value
Type Description
CloudSqlPropertiesTypesDatabaseEngine

MaxConnections

public int MaxConnections { get; set; }

Required. DLP will limit its connections to max_connections. Must be 2 or greater.

Property Value
Type Description
int

UsernamePassword

public SecretManagerCredential UsernamePassword { get; set; }

A username and password stored in Secret Manager.

Property Value
Type Description
SecretManagerCredential