Class: Google::Cloud::Dlp::V2::CloudSqlProperties

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

Cloud SQL connection properties.

Defined Under Namespace

Modules: DatabaseEngine

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_sql_iam::Google::Cloud::Dlp::V2::CloudSqlIamCredential

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

Returns:



7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 7281

class CloudSqlProperties
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Database engine of a Cloud SQL instance.
  # New values may be added over time.
  module DatabaseEngine
    # An engine that is not currently supported by Sensitive Data Protection.
    DATABASE_ENGINE_UNKNOWN = 0

    # Cloud SQL for MySQL instance.
    DATABASE_ENGINE_MYSQL = 1

    # Cloud SQL for PostgreSQL instance.
    DATABASE_ENGINE_POSTGRES = 2
  end
end

#connection_name::String

Returns 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



7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 7281

class CloudSqlProperties
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Database engine of a Cloud SQL instance.
  # New values may be added over time.
  module DatabaseEngine
    # An engine that is not currently supported by Sensitive Data Protection.
    DATABASE_ENGINE_UNKNOWN = 0

    # Cloud SQL for MySQL instance.
    DATABASE_ENGINE_MYSQL = 1

    # Cloud SQL for PostgreSQL instance.
    DATABASE_ENGINE_POSTGRES = 2
  end
end

#database_engine::Google::Cloud::Dlp::V2::CloudSqlProperties::DatabaseEngine

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

Returns:



7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 7281

class CloudSqlProperties
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Database engine of a Cloud SQL instance.
  # New values may be added over time.
  module DatabaseEngine
    # An engine that is not currently supported by Sensitive Data Protection.
    DATABASE_ENGINE_UNKNOWN = 0

    # Cloud SQL for MySQL instance.
    DATABASE_ENGINE_MYSQL = 1

    # Cloud SQL for PostgreSQL instance.
    DATABASE_ENGINE_POSTGRES = 2
  end
end

#max_connections::Integer

Returns 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.



7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 7281

class CloudSqlProperties
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Database engine of a Cloud SQL instance.
  # New values may be added over time.
  module DatabaseEngine
    # An engine that is not currently supported by Sensitive Data Protection.
    DATABASE_ENGINE_UNKNOWN = 0

    # Cloud SQL for MySQL instance.
    DATABASE_ENGINE_MYSQL = 1

    # Cloud SQL for PostgreSQL instance.
    DATABASE_ENGINE_POSTGRES = 2
  end
end

#username_password::Google::Cloud::Dlp::V2::SecretManagerCredential

Returns A username and password stored in Secret Manager.

Returns:



7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 7281

class CloudSqlProperties
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Database engine of a Cloud SQL instance.
  # New values may be added over time.
  module DatabaseEngine
    # An engine that is not currently supported by Sensitive Data Protection.
    DATABASE_ENGINE_UNKNOWN = 0

    # Cloud SQL for MySQL instance.
    DATABASE_ENGINE_MYSQL = 1

    # Cloud SQL for PostgreSQL instance.
    DATABASE_ENGINE_POSTGRES = 2
  end
end