Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudSqlConditions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2DiscoveryCloudSqlConditions

Returns a new instance of GooglePrivacyDlpV2DiscoveryCloudSqlConditions.



3302
3303
3304
# File 'lib/google/apis/dlp_v2/classes.rb', line 3302

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#database_enginesArray<String>

Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified. Corresponds to the JSON property databaseEngines

Returns:

  • (Array<String>)


3293
3294
3295
# File 'lib/google/apis/dlp_v2/classes.rb', line 3293

def database_engines
  @database_engines
end

#typesArray<String>

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]. Corresponds to the JSON property types

Returns:

  • (Array<String>)


3300
3301
3302
# File 'lib/google/apis/dlp_v2/classes.rb', line 3300

def types
  @types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3307
3308
3309
3310
# File 'lib/google/apis/dlp_v2/classes.rb', line 3307

def update!(**args)
  @database_engines = args[:database_engines] if args.key?(:database_engines)
  @types = args[:types] if args.key?(:types)
end