Class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryField

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

Overview

Message defining a field of a BigQuery table.

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) ⇒ GooglePrivacyDlpV2BigQueryField

Returns a new instance of GooglePrivacyDlpV2BigQueryField.



243
244
245
# File 'generated/google/apis/dlp_v2/classes.rb', line 243

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

Instance Attribute Details

#fieldGoogle::Apis::DlpV2::GooglePrivacyDlpV2FieldId

General identifier of a data field in a storage service. Corresponds to the JSON property field



232
233
234
# File 'generated/google/apis/dlp_v2/classes.rb', line 232

def field
  @field
end

#tableGoogle::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable

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 table



241
242
243
# File 'generated/google/apis/dlp_v2/classes.rb', line 241

def table
  @table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



248
249
250
251
# File 'generated/google/apis/dlp_v2/classes.rb', line 248

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