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:



6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 6998

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



6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 6998

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:



6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 6998

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.



6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 6998

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:



6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 6998

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