Class: Google::Apis::DatamanagerV1::EncryptionInfo
- Inherits:
-
Object
- Object
- Google::Apis::DatamanagerV1::EncryptionInfo
- 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
-
#aws_wrapped_key_info ⇒ Google::Apis::DatamanagerV1::AwsWrappedKeyInfo
A data encryption key wrapped by an AWS KMS key.
-
#gcp_wrapped_key_info ⇒ Google::Apis::DatamanagerV1::GcpWrappedKeyInfo
Information about the Google Cloud Platform wrapped key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EncryptionInfo
constructor
A new instance of EncryptionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EncryptionInfo
Returns a new instance of EncryptionInfo.
477 478 479 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 477 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aws_wrapped_key_info ⇒ Google::Apis::DatamanagerV1::AwsWrappedKeyInfo
A data encryption key wrapped by an AWS KMS key.
Corresponds to the JSON property awsWrappedKeyInfo
470 471 472 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 470 def aws_wrapped_key_info @aws_wrapped_key_info end |
#gcp_wrapped_key_info ⇒ Google::Apis::DatamanagerV1::GcpWrappedKeyInfo
Information about the Google Cloud Platform wrapped key.
Corresponds to the JSON property gcpWrappedKeyInfo
475 476 477 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 475 def gcp_wrapped_key_info @gcp_wrapped_key_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
482 483 484 485 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 482 def update!(**args) @aws_wrapped_key_info = args[:aws_wrapped_key_info] if args.key?(:aws_wrapped_key_info) @gcp_wrapped_key_info = args[:gcp_wrapped_key_info] if args.key?(:gcp_wrapped_key_info) end |