Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::KmsWrappedCryptoKey (v0.18.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

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

#crypto_key_name=

def crypto_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

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

#wrapped_key=

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