Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::KmsWrappedCryptoKey (v1.5.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::KmsWrappedCryptoKey.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#crypto_key_name

defcrypto_key_name()->::String
Returns
  • (::String) — Required. The resource name of the KMS CryptoKey to use for unwrapping.

#crypto_key_name=

defcrypto_key_name=(value)->::String
Parameter
  • value (::String) — Required. The resource name of the KMS CryptoKey to use for unwrapping.
Returns
  • (::String) — Required. The resource name of the KMS CryptoKey to use for unwrapping.

#wrapped_key

defwrapped_key()->::String
Returns
  • (::String) — Required. The wrapped data crypto key.

#wrapped_key=

defwrapped_key=(value)->::String
Parameter
  • value (::String) — Required. The wrapped data crypto key.
Returns
  • (::String) — Required. The wrapped data crypto key.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.