Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordKey

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/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) ⇒ GooglePrivacyDlpV2beta1RecordKey

Returns a new instance of GooglePrivacyDlpV2beta1RecordKey



2926
2927
2928
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2926

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

Instance Attribute Details

#big_query_keyGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryKey

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



2914
2915
2916
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2914

def big_query_key
  @big_query_key
end

#cloud_storage_keyGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStorageKey

Record key for a finding in a Cloud Storage file. Corresponds to the JSON property cloudStorageKey



2919
2920
2921
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2919

def cloud_storage_key
  @cloud_storage_key
end

#datastore_keyGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreKey

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



2924
2925
2926
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2924

def datastore_key
  @datastore_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2931
2932
2933
2934
2935
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2931

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