Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryBigQueryConditions

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 scanned in discovery for the first time. There is an AND relationship between the top-level attributes. Additionally, minimum conditions with an OR relationship that must be met before Cloud DLP scans a table can be set (like a minimum row count or a minimum table age).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2DiscoveryBigQueryConditions

Returns a new instance of GooglePrivacyDlpV2DiscoveryBigQueryConditions.



2875
2876
2877
# File 'lib/google/apis/dlp_v2/classes.rb', line 2875

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

Instance Attribute Details

#created_afterString

BigQuery table must have been created after this date. Used to avoid backfilling. Corresponds to the JSON property createdAfter

Returns:

  • (String)


2857
2858
2859
# File 'lib/google/apis/dlp_v2/classes.rb', line 2857

def created_after
  @created_after
end

#or_conditionsGoogle::Apis::DlpV2::GooglePrivacyDlpV2OrConditions

There is an OR relationship between these attributes. They are used to determine if a table should be scanned or not in Discovery. Corresponds to the JSON property orConditions



2863
2864
2865
# File 'lib/google/apis/dlp_v2/classes.rb', line 2863

def or_conditions
  @or_conditions
end

#type_collectionString

Restrict discovery to categories of table types. Corresponds to the JSON property typeCollection

Returns:

  • (String)


2868
2869
2870
# File 'lib/google/apis/dlp_v2/classes.rb', line 2868

def type_collection
  @type_collection
end

#typesGoogle::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTableTypes

The types of BigQuery tables supported by Cloud DLP. Corresponds to the JSON property types



2873
2874
2875
# File 'lib/google/apis/dlp_v2/classes.rb', line 2873

def types
  @types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2880
2881
2882
2883
2884
2885
# File 'lib/google/apis/dlp_v2/classes.rb', line 2880

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