Interface CloudSqlPropertiesOrBuilder (3.56.0)

public interface CloudSqlPropertiesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudSqlIam()

public abstract CloudSqlIamCredential getCloudSqlIam()

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

.google.privacy.dlp.v2.CloudSqlIamCredential cloud_sql_iam = 3;

Returns
Type Description
CloudSqlIamCredential

The cloudSqlIam.

getCloudSqlIamOrBuilder()

public abstract CloudSqlIamCredentialOrBuilder getCloudSqlIamOrBuilder()

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

.google.privacy.dlp.v2.CloudSqlIamCredential cloud_sql_iam = 3;

Returns
Type Description
CloudSqlIamCredentialOrBuilder

getConnectionName()

public abstract String getConnectionName()

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

string connection_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The connectionName.

getConnectionNameBytes()

public abstract ByteString getConnectionNameBytes()

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

string connection_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for connectionName.

getCredentialCase()

public abstract CloudSqlProperties.CredentialCase getCredentialCase()
Returns
Type Description
CloudSqlProperties.CredentialCase

getDatabaseEngine()

public abstract CloudSqlProperties.DatabaseEngine getDatabaseEngine()

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

.google.privacy.dlp.v2.CloudSqlProperties.DatabaseEngine database_engine = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudSqlProperties.DatabaseEngine

The databaseEngine.

getDatabaseEngineValue()

public abstract int getDatabaseEngineValue()

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

.google.privacy.dlp.v2.CloudSqlProperties.DatabaseEngine database_engine = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for databaseEngine.

getMaxConnections()

public abstract int getMaxConnections()

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

int32 max_connections = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The maxConnections.

getUsernamePassword()

public abstract SecretManagerCredential getUsernamePassword()

A username and password stored in Secret Manager.

.google.privacy.dlp.v2.SecretManagerCredential username_password = 2;

Returns
Type Description
SecretManagerCredential

The usernamePassword.

getUsernamePasswordOrBuilder()

public abstract SecretManagerCredentialOrBuilder getUsernamePasswordOrBuilder()

A username and password stored in Secret Manager.

.google.privacy.dlp.v2.SecretManagerCredential username_password = 2;

Returns
Type Description
SecretManagerCredentialOrBuilder

hasCloudSqlIam()

public abstract boolean hasCloudSqlIam()

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

.google.privacy.dlp.v2.CloudSqlIamCredential cloud_sql_iam = 3;

Returns
Type Description
boolean

Whether the cloudSqlIam field is set.

hasUsernamePassword()

public abstract boolean hasUsernamePassword()

A username and password stored in Secret Manager.

.google.privacy.dlp.v2.SecretManagerCredential username_password = 2;

Returns
Type Description
boolean

Whether the usernamePassword field is set.