Class: Google::Cloud::Dlp::V2::DiscoveryCloudSqlConditions

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

Overview

Requirements that must be true before a table is profiled for the first time.

Defined Under Namespace

Modules: DatabaseEngine, DatabaseResourceType

Instance Attribute Summary collapse

Instance Attribute Details

#database_engines::Array<::Google::Cloud::Dlp::V2::DiscoveryCloudSqlConditions::DatabaseEngine>

Returns Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.

Returns:



5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5177

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

  # The database engines that should be profiled.
  module DatabaseEngine
    # Unused.
    DATABASE_ENGINE_UNSPECIFIED = 0

    # Include all supported database engines.
    ALL_SUPPORTED_DATABASE_ENGINES = 1

    # MySQL database.
    MYSQL = 2

    # PostgreSQL database.
    POSTGRES = 3
  end

  # Cloud SQL database resource types. New values can be added at a later time.
  module DatabaseResourceType
    # Unused.
    DATABASE_RESOURCE_TYPE_UNSPECIFIED = 0

    # Includes database resource types that become supported at a later time.
    DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES = 1

    # Tables.
    DATABASE_RESOURCE_TYPE_TABLE = 2
  end
end

#types::Array<::Google::Cloud::Dlp::V2::DiscoveryCloudSqlConditions::DatabaseResourceType>

Returns Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].

Returns:



5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5177

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

  # The database engines that should be profiled.
  module DatabaseEngine
    # Unused.
    DATABASE_ENGINE_UNSPECIFIED = 0

    # Include all supported database engines.
    ALL_SUPPORTED_DATABASE_ENGINES = 1

    # MySQL database.
    MYSQL = 2

    # PostgreSQL database.
    POSTGRES = 3
  end

  # Cloud SQL database resource types. New values can be added at a later time.
  module DatabaseResourceType
    # Unused.
    DATABASE_RESOURCE_TYPE_UNSPECIFIED = 0

    # Includes database resource types that become supported at a later time.
    DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES = 1

    # Tables.
    DATABASE_RESOURCE_TYPE_TABLE = 2
  end
end