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.



3601
3602
3603
# File 'lib/google/apis/dlp_v2/classes.rb', line 3601

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


3592
3593
3594
# File 'lib/google/apis/dlp_v2/classes.rb', line 3592

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


3599
3600
3601
# File 'lib/google/apis/dlp_v2/classes.rb', line 3599

def types
  @types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3606
3607
3608
3609
# File 'lib/google/apis/dlp_v2/classes.rb', line 3606

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