class Google::Apis::DlpV2::GooglePrivacyDlpV2TransientCryptoKey

Use this to have a random data crypto key generated. It will be discarded after the request finishes.

Attributes

name[RW]

Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate ` TransientCryptoKey` protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way ( repeating the api call will result in a different key being generated). Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 6178
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 6183
def update!(**args)
  @name = args[:name] if args.key?(:name)
end