class Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoDeterministicConfig

Pseudonymization method that generates deterministic encryption for the given input. Outputs a base64 encoded representation of the encrypted output. Uses AES-SIV based on the RFC tools.ietf.org/html/rfc5297.

Attributes

context[RW]

General identifier of a data field in a storage service. Corresponds to the JSON property `context` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]

crypto_key[RW]

This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by Cloud Key Management Service (Cloud KMS). When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate IAM policy on the KEK to ensure an attacker cannot unwrap the DEK. Corresponds to the JSON property `cryptoKey` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey]

surrogate_info_type[RW]

Type of information detected by the API. Corresponds to the JSON property `surrogateInfoType` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 1310
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 1315
def update!(**args)
  @context = args[:context] if args.key?(:context)
  @crypto_key = args[:crypto_key] if args.key?(:crypto_key)
  @surrogate_info_type = args[:surrogate_info_type] if args.key?(:surrogate_info_type)
end