Class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryKey

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

Row key for identifying a record in BigQuery table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2BigQueryKey

Returns a new instance of GooglePrivacyDlpV2BigQueryKey.



563
564
565
# File 'lib/google/apis/dlp_v2/classes.rb', line 563

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

Instance Attribute Details

#row_numberFixnum

Row number inferred at the time the table was scanned. This value is nondeterministic, cannot be queried, and may be null for inspection jobs. To locate findings within a table, specify inspect_job.storage_config. big_query_options.identifying_fields in CreateDlpJobRequest. Corresponds to the JSON property rowNumber

Returns:

  • (Fixnum)


554
555
556
# File 'lib/google/apis/dlp_v2/classes.rb', line 554

def row_number
  @row_number
end

#table_referenceGoogle::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: :. or ... Corresponds to the JSON property tableReference



561
562
563
# File 'lib/google/apis/dlp_v2/classes.rb', line 561

def table_reference
  @table_reference
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



568
569
570
571
# File 'lib/google/apis/dlp_v2/classes.rb', line 568

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