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.



3424
3425
3426
# File 'lib/google/apis/dlp_v2/classes.rb', line 3424

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>)


3415
3416
3417
# File 'lib/google/apis/dlp_v2/classes.rb', line 3415

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>)


3422
3423
3424
# File 'lib/google/apis/dlp_v2/classes.rb', line 3422

def types
  @types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3429
3430
3431
3432
# File 'lib/google/apis/dlp_v2/classes.rb', line 3429

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