Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb

Overview

Options defining BigQuery table and row identifiers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta1BigQueryOptions

Returns a new instance of GooglePrivacyDlpV2beta1BigQueryOptions



273
274
275
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 273

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

Instance Attribute Details

#identifying_fieldsArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId>

References to fields uniquely identifying rows within the table. Nested fields in the format, like person.birthdate.year, are allowed. Corresponds to the JSON property identifyingFields



262
263
264
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 262

def identifying_fields
  @identifying_fields
end

#table_referenceGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable

Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: <project_id>:<dataset_id>.<table_id> or <project_id>.<dataset_id>.<table_id>. Corresponds to the JSON property tableReference



271
272
273
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 271

def table_reference
  @table_reference
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



278
279
280
281
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 278

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