Class: Google::Apis::VmmigrationV1::Encryption
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::VmmigrationV1::Encryption
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb 
Overview
Encryption message describes the details of the applied encryption.
Instance Attribute Summary collapse
- 
  
    
      #kms_key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Encryption 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Encryption.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ Encryption
Returns a new instance of Encryption.
      2081 2082 2083  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 2081 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#kms_key ⇒ String
Required. The name of the encryption key that is stored in Google Cloud KMS.
Corresponds to the JSON property kmsKey
      2079 2080 2081  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 2079 def kms_key @kms_key end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2086 2087 2088  | 
    
      # File 'lib/google/apis/vmmigration_v1/classes.rb', line 2086 def update!(**args) @kms_key = args[:kms_key] if args.key?(:kms_key) end  |