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:



5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5102

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:



5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5102

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