Class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordKey

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 for a unique key indicating a record that contains a finding.

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

Returns a new instance of GooglePrivacyDlpV2RecordKey



3621
3622
3623
# File 'generated/google/apis/dlp_v2/classes.rb', line 3621

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

Instance Attribute Details

#big_query_keyGoogle::Apis::DlpV2::GooglePrivacyDlpV2BigQueryKey

Row key for identifying a record in BigQuery table. Corresponds to the JSON property bigQueryKey



3614
3615
3616
# File 'generated/google/apis/dlp_v2/classes.rb', line 3614

def big_query_key
  @big_query_key
end

#datastore_keyGoogle::Apis::DlpV2::GooglePrivacyDlpV2DatastoreKey

Record key for a finding in Cloud Datastore. Corresponds to the JSON property datastoreKey



3619
3620
3621
# File 'generated/google/apis/dlp_v2/classes.rb', line 3619

def datastore_key
  @datastore_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3626
3627
3628
3629
# File 'generated/google/apis/dlp_v2/classes.rb', line 3626

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