Class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordLocation

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

Location of a finding within a row or record.

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

Returns a new instance of GooglePrivacyDlpV2RecordLocation.



4744
4745
4746
# File 'generated/google/apis/dlp_v2/classes.rb', line 4744

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

Instance Attribute Details

#field_idGoogle::Apis::DlpV2::GooglePrivacyDlpV2FieldId

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



4732
4733
4734
# File 'generated/google/apis/dlp_v2/classes.rb', line 4732

def field_id
  @field_id
end

#record_keyGoogle::Apis::DlpV2::GooglePrivacyDlpV2RecordKey

Message for a unique key indicating a record that contains a finding. Corresponds to the JSON property recordKey



4737
4738
4739
# File 'generated/google/apis/dlp_v2/classes.rb', line 4737

def record_key
  @record_key
end

#table_locationGoogle::Apis::DlpV2::GooglePrivacyDlpV2TableLocation

Location of a finding within a table. Corresponds to the JSON property tableLocation



4742
4743
4744
# File 'generated/google/apis/dlp_v2/classes.rb', line 4742

def table_location
  @table_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4749
4750
4751
4752
4753
# File 'generated/google/apis/dlp_v2/classes.rb', line 4749

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