Class: Google::Apis::CloudkmsV1::EncryptResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudkmsV1::EncryptResponse
 
- Defined in:
- generated/google/apis/cloudkms_v1/classes.rb,
 generated/google/apis/cloudkms_v1/representations.rb,
 generated/google/apis/cloudkms_v1/representations.rb
Overview
Response message for KeyManagementService.Encrypt.
Instance Attribute Summary collapse
- 
  
    
      #ciphertext  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The encrypted data. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The resource name of the CryptoKeyVersion used in encryption. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ EncryptResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of EncryptResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ EncryptResponse
Returns a new instance of EncryptResponse
| 420 421 422 | # File 'generated/google/apis/cloudkms_v1/classes.rb', line 420 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#ciphertext ⇒ String
The encrypted data.
Corresponds to the JSON property ciphertext
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 413 414 415 | # File 'generated/google/apis/cloudkms_v1/classes.rb', line 413 def ciphertext @ciphertext end | 
#name ⇒ String
The resource name of the CryptoKeyVersion used in encryption.
Corresponds to the JSON property name
| 418 419 420 | # File 'generated/google/apis/cloudkms_v1/classes.rb', line 418 def name @name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 425 426 427 428 | # File 'generated/google/apis/cloudkms_v1/classes.rb', line 425 def update!(**args) @ciphertext = args[:ciphertext] if args.key?(:ciphertext) @name = args[:name] if args.key?(:name) end |