Class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordKey
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2RecordKey
- 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
Message for a unique key indicating a record that contains a finding.
Instance Attribute Summary collapse
-
#big_query_key ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryKey
Row key for identifying a record in BigQuery table.
-
#datastore_key ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreKey
Record key for a finding in Cloud Datastore.
-
#id_values ⇒ Array<String>
Values of identifying columns in the given row.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2RecordKey
constructor
A new instance of GooglePrivacyDlpV2RecordKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2RecordKey
Returns a new instance of GooglePrivacyDlpV2RecordKey.
5378 5379 5380 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5378 def initialize(**args) update!(**args) end |
Instance Attribute Details
#big_query_key ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryKey
Row key for identifying a record in BigQuery table.
Corresponds to the JSON property bigQueryKey
5365 5366 5367 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5365 def big_query_key @big_query_key end |
#datastore_key ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreKey
Record key for a finding in Cloud Datastore.
Corresponds to the JSON property datastoreKey
5370 5371 5372 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5370 def datastore_key @datastore_key end |
#id_values ⇒ Array<String>
Values of identifying columns in the given row. Order of values matches the
order of identifying_fields specified in the scanning request.
Corresponds to the JSON property idValues
5376 5377 5378 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5376 def id_values @id_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5383 5384 5385 5386 5387 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5383 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) @id_values = args[:id_values] if args.key?(:id_values) end |