Class: Google::Cloud::Dlp::V2::KmsWrappedCryptoKey
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::KmsWrappedCryptoKey
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a KMS-wrapped crypto key: dlp.kms.encrypt
For more information, see Creating a wrapped key.
Note: When you use Cloud KMS for cryptographic operations, charges apply.
Instance Attribute Summary collapse
-
#crypto_key_name ⇒ ::String
Required.
-
#wrapped_key ⇒ ::String
Required.
Instance Attribute Details
#crypto_key_name ⇒ ::String
Returns Required. The resource name of the KMS CryptoKey to use for unwrapping.
2771 2772 2773 2774 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2771 class KmsWrappedCryptoKey include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#wrapped_key ⇒ ::String
Returns Required. The wrapped data crypto key.
2771 2772 2773 2774 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2771 class KmsWrappedCryptoKey include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |