Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DatastoreKey

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb

Overview

Record key for a finding in Cloud Datastore.

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) ⇒ GooglePrivacyDlpV2beta2DatastoreKey

Returns a new instance of GooglePrivacyDlpV2beta2DatastoreKey



2590
2591
2592
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2590

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

Instance Attribute Details

#entity_keyGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Key

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



2588
2589
2590
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2588

def entity_key
  @entity_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2595
2596
2597
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2595

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