Class: Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoDeterministicConfig
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoDeterministicConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb
Overview
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 https://tools.ietf.org/html/rfc5297.
Instance Attribute Summary collapse
-
#context ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId
General identifier of a data field in a storage service.
-
#crypto_key ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey
This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by KMS).
-
#surrogate_info_type ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType
Type of information detected by the API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2CryptoDeterministicConfig
constructor
A new instance of GooglePrivacyDlpV2CryptoDeterministicConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2CryptoDeterministicConfig
Returns a new instance of GooglePrivacyDlpV2CryptoDeterministicConfig.
1281 1282 1283 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1281 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId
General identifier of a data field in a storage service.
Corresponds to the JSON property context
1265 1266 1267 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1265 def context @context end |
#crypto_key ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey
This is a data encryption key (DEK) (as opposed to
a key encryption key (KEK) stored by KMS).
When using KMS to wrap/unwrap DEKs, be sure to set an appropriate
IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
unwrap the data crypto key.
Corresponds to the JSON property cryptoKey
1274 1275 1276 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1274 def crypto_key @crypto_key end |
#surrogate_info_type ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType
Type of information detected by the API.
Corresponds to the JSON property surrogateInfoType
1279 1280 1281 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1279 def surrogate_info_type @surrogate_info_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1286 1287 1288 1289 1290 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1286 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 |