Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreKey
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreKey
- 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
Record key for a finding in Cloud Datastore.
Instance Attribute Summary collapse
-
#entity_key ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Key
A unique identifier for a Datastore entity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DatastoreKey
constructor
A new instance of GooglePrivacyDlpV2DatastoreKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DatastoreKey
Returns a new instance of GooglePrivacyDlpV2DatastoreKey.
3160 3161 3162 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_key ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Key
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
3158 3159 3160 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3158 def entity_key @entity_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3165 3166 3167 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3165 def update!(**args) @entity_key = args[:entity_key] if args.key?(:entity_key) end |