Class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryRegex
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryRegex
- 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
A pattern to match against one or more tables, datasets, or projects that contain BigQuery tables. At least one pattern must be specified. Regular expressions use RE2 syntax; a guide can be found under the google/re2 repository on GitHub.
Instance Attribute Summary collapse
-
#dataset_id_regex ⇒ String
If unset, this property matches all datasets.
-
#project_id_regex ⇒ String
For organizations, if unset, will match all projects.
-
#table_id_regex ⇒ String
If unset, this property matches all tables.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2BigQueryRegex
constructor
A new instance of GooglePrivacyDlpV2BigQueryRegex.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2BigQueryRegex
Returns a new instance of GooglePrivacyDlpV2BigQueryRegex.
527 528 529 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 527 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataset_id_regex ⇒ String
If unset, this property matches all datasets.
Corresponds to the JSON property datasetIdRegex
514 515 516 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 514 def dataset_id_regex @dataset_id_regex end |
#project_id_regex ⇒ String
For organizations, if unset, will match all projects. Has no effect for data
profile configurations created within a project.
Corresponds to the JSON property projectIdRegex
520 521 522 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 520 def project_id_regex @project_id_regex end |
#table_id_regex ⇒ String
If unset, this property matches all tables.
Corresponds to the JSON property tableIdRegex
525 526 527 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 525 def table_id_regex @table_id_regex end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
532 533 534 535 536 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 532 def update!(**args) @dataset_id_regex = args[:dataset_id_regex] if args.key?(:dataset_id_regex) @project_id_regex = args[:project_id_regex] if args.key?(:project_id_regex) @table_id_regex = args[:table_id_regex] if args.key?(:table_id_regex) end |