Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::CloudSqlProperties (v1.1.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::CloudSqlProperties.

Cloud SQL connection properties.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cloud_sql_iam

def cloud_sql_iam() -> ::Google::Cloud::Dlp::V2::CloudSqlIamCredential
Returns

#cloud_sql_iam=

def cloud_sql_iam=(value) -> ::Google::Cloud::Dlp::V2::CloudSqlIamCredential
Parameter
Returns

#connection_name

def connection_name() -> ::String
Returns
  • (::String) — 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

#connection_name=

def connection_name=(value) -> ::String
Parameter
  • value (::String) — 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

Returns
  • (::String) — 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

#database_engine

def database_engine() -> ::Google::Cloud::Dlp::V2::CloudSqlProperties::DatabaseEngine
Returns

#database_engine=

def database_engine=(value) -> ::Google::Cloud::Dlp::V2::CloudSqlProperties::DatabaseEngine
Parameter
Returns

#max_connections

def max_connections() -> ::Integer
Returns
  • (::Integer) — Required. DLP will limit its connections to max_connections. Must be 2 or greater.

#max_connections=

def max_connections=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. DLP will limit its connections to max_connections. Must be 2 or greater.
Returns
  • (::Integer) — Required. DLP will limit its connections to max_connections. Must be 2 or greater.

#username_password

def username_password() -> ::Google::Cloud::Dlp::V2::SecretManagerCredential
Returns

#username_password=

def username_password=(value) -> ::Google::Cloud::Dlp::V2::SecretManagerCredential
Parameter
Returns