Class: Google::Apis::DataformV1::DataEncryptionState

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

Overview

Describes encryption state of a resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataEncryptionState

Returns a new instance of DataEncryptionState.



937
938
939
# File 'lib/google/apis/dataform_v1/classes.rb', line 937

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

Instance Attribute Details

#kms_key_version_nameString

Required. The KMS key version name with which data of a resource is encrypted. Corresponds to the JSON property kmsKeyVersionName

Returns:

  • (String)


935
936
937
# File 'lib/google/apis/dataform_v1/classes.rb', line 935

def kms_key_version_name
  @kms_key_version_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



942
943
944
# File 'lib/google/apis/dataform_v1/classes.rb', line 942

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