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:



5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5209

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:



5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5209

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