Class: Google::Apis::VmmigrationV1alpha1::Encryption

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

Overview

Encryption message describes the details of the applied encryption.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Encryption

Returns a new instance of Encryption.



2077
2078
2079
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2077

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

Instance Attribute Details

#kms_keyString

Required. The name of the encryption key that is stored in Google Cloud KMS. Corresponds to the JSON property kmsKey

Returns:

  • (String)


2075
2076
2077
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2075

def kms_key
  @kms_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2082
2083
2084
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2082

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