Class: Google::Apis::DatamanagerV1::EncryptionInfo

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

Overview

Encryption information for the data being ingested.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EncryptionInfo

Returns a new instance of EncryptionInfo.



960
961
962
# File 'lib/google/apis/datamanager_v1/classes.rb', line 960

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

Instance Attribute Details

#aws_wrapped_key_infoGoogle::Apis::DatamanagerV1::AwsWrappedKeyInfo

A data encryption key wrapped by an AWS KMS key. Corresponds to the JSON property awsWrappedKeyInfo



948
949
950
# File 'lib/google/apis/datamanager_v1/classes.rb', line 948

def aws_wrapped_key_info
  @aws_wrapped_key_info
end

#coordinator_key_infoGoogle::Apis::DatamanagerV1::CoordinatorKeyInfo

Information about the coordinator key. Corresponds to the JSON property coordinatorKeyInfo



953
954
955
# File 'lib/google/apis/datamanager_v1/classes.rb', line 953

def coordinator_key_info
  @coordinator_key_info
end

#gcp_wrapped_key_infoGoogle::Apis::DatamanagerV1::GcpWrappedKeyInfo

Information about the Google Cloud Platform wrapped key. Corresponds to the JSON property gcpWrappedKeyInfo



958
959
960
# File 'lib/google/apis/datamanager_v1/classes.rb', line 958

def gcp_wrapped_key_info
  @gcp_wrapped_key_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



965
966
967
968
969
# File 'lib/google/apis/datamanager_v1/classes.rb', line 965

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