Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordKey
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordKey
- 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
-
#cloud_storage_key ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStorageKey
Record key for a finding in a Cloud Storage file.
-
#datastore_key ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreKey
Record key for a finding in Cloud Datastore.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1RecordKey
constructor
A new instance of GooglePrivacyDlpV2beta1RecordKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1RecordKey
Returns a new instance of GooglePrivacyDlpV2beta1RecordKey
2522 2523 2524 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2522 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_storage_key ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStorageKey
Record key for a finding in a Cloud Storage file.
Corresponds to the JSON property cloudStorageKey
2515 2516 2517 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2515 def cloud_storage_key @cloud_storage_key end |
#datastore_key ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreKey
Record key for a finding in Cloud Datastore.
Corresponds to the JSON property datastoreKey
2520 2521 2522 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2520 def datastore_key @datastore_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2527 2528 2529 2530 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2527 def update!(**args) @cloud_storage_key = args[:cloud_storage_key] if args.key?(:cloud_storage_key) @datastore_key = args[:datastore_key] if args.key?(:datastore_key) end |