Class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryRegexes

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

A collection of regular expressions to determine what tables to match against.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2BigQueryRegexes

Returns a new instance of GooglePrivacyDlpV2BigQueryRegexes.



536
537
538
# File 'lib/google/apis/dlp_v2/classes.rb', line 536

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

Instance Attribute Details

#patternsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryRegex>

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables. Corresponds to the JSON property patterns



534
535
536
# File 'lib/google/apis/dlp_v2/classes.rb', line 534

def patterns
  @patterns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



541
542
543
# File 'lib/google/apis/dlp_v2/classes.rb', line 541

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