Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryBigQueryConditions
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryBigQueryConditions
- 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.
Instance Attribute Summary collapse
-
#created_after ⇒ String
BigQuery table must have been created after this date.
-
#or_conditions ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2OrConditions
There is an OR relationship between these attributes.
-
#type_collection ⇒ String
Restrict Discovery to categories of table types.
-
#types ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTableTypes
The types of bigquery tables supported by Cloud DLP.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DiscoveryBigQueryConditions
constructor
A new instance of GooglePrivacyDlpV2DiscoveryBigQueryConditions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DiscoveryBigQueryConditions
Returns a new instance of GooglePrivacyDlpV2DiscoveryBigQueryConditions.
2869 2870 2871 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2869 def initialize(**args) update!(**args) end |
Instance Attribute Details
#created_after ⇒ String
BigQuery table must have been created after this date. Used to avoid
backfilling.
Corresponds to the JSON property createdAfter
2851 2852 2853 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2851 def created_after @created_after end |
#or_conditions ⇒ Google::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
2857 2858 2859 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2857 def or_conditions @or_conditions end |
#type_collection ⇒ String
Restrict Discovery to categories of table types.
Corresponds to the JSON property typeCollection
2862 2863 2864 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2862 def type_collection @type_collection end |
#types ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTableTypes
The types of bigquery tables supported by Cloud DLP.
Corresponds to the JSON property types
2867 2868 2869 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2867 def types @types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2874 2875 2876 2877 2878 2879 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2874 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 |