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.
673 674 675 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 673 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
660 661 662 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 660 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
666 667 668 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 666 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
671 672 673 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 671 def table_id_regex @table_id_regex end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
678 679 680 681 682 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 678 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 |