Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryKey

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

Overview

Row key for identifying a record in 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) ⇒ GooglePrivacyDlpV2beta2BigQueryKey

Returns a new instance of GooglePrivacyDlpV2beta2BigQueryKey



1761
1762
1763
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1761

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

Instance Attribute Details

#row_numberFixnum

Absolute number of the row from the beginning of the table at the time of scanning. Corresponds to the JSON property rowNumber

Returns:

  • (Fixnum)


1750
1751
1752
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1750

def row_number
  @row_number
end

#table_referenceGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable

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



1759
1760
1761
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1759

def table_reference
  @table_reference
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1766
1767
1768
1769
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1766

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