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.
554 555 556 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 554 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
547 548 549 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 547 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
552 553 554 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 552 def gcp_wrapped_key_info @gcp_wrapped_key_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
559 560 561 562 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 559 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 |