Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreKey
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreKey
- 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
Record key for a finding in Cloud Datastore.
Instance Attribute Summary collapse
-
#entity_key ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Key
A unique identifier for a Datastore entity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1DatastoreKey
constructor
A new instance of GooglePrivacyDlpV2beta1DatastoreKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1DatastoreKey
Returns a new instance of GooglePrivacyDlpV2beta1DatastoreKey
862 863 864 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 862 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_key ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Key
A unique identifier for a Datastore entity.
If a key's partition ID or any of its path kinds or names are
reserved/read-only, the key is reserved/read-only.
A reserved/read-only key is forbidden in certain documented contexts.
Corresponds to the JSON property entityKey
860 861 862 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 860 def entity_key @entity_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
867 868 869 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 867 def update!(**args) @entity_key = args[:entity_key] if args.key?(:entity_key) end |