Class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransientCryptoKey
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DlpV2::GooglePrivacyDlpV2TransientCryptoKey
 
 
- 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
Use this to have a random data crypto key generated. It will be discarded after the request finishes.
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2TransientCryptoKey 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GooglePrivacyDlpV2TransientCryptoKey.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2TransientCryptoKey
Returns a new instance of GooglePrivacyDlpV2TransientCryptoKey.
      9887 9888 9889  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 9887 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#name ⇒ String
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
      9885 9886 9887  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 9885 def name @name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      9892 9893 9894  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 9892 def update!(**args) @name = args[:name] if args.key?(:name) end  |