Skip to content

Commit eefc1a5

Browse files
Add remaining fields within deidentify_config.record_transformations.field_transformations field of google_data_loss_prevention_deidentify_template resource (#6886) (#13498)
* Add `cryptoReplaceFfxFpeConfig` field, copy-pasted from elsewhere in file * Add `fixedSizeBucketingConfig` field Properties are copy pasted from other instance of `Values` type field - https://cloud.google.com/dlp/docs/reference/rest/v2/Value * Add `bucketingConfig` field Properties are copy pasted from other instance of `Values` type field - https://cloud.google.com/dlp/docs/reference/rest/v2/Value * Add `replaceWithInfoTypeConfig` field Empty object with no properties - similar to redactConfig * Add `timePartConfig` field * Add `cryptoHashConfig` field cryptoKey field copy/pasted from elsewhere in the yaml, as it uses the reused CryptoKey object (https://cloud.google.com/dlp/docs/reference/rest/v2/projects.deidentifyTemplates#DeidentifyTemplate.CryptoKey) * Add `dateShiftConfig` field Some fields copy/pasted from elsewhere in the yaml, as they use reused objects * Add `cryptoDeterministicConfig` field * Add `replaceDictionaryConfig` field * Fix `item type` property for `replaceDictionaryConfig` field * Add test for `cryptoReplaceFfxFpeConfig` field * Update docs- field names, issue link etc * Fix `crypto_replace_ffx_fpe_config` example in acc test * Update descriptions within `fixed_size_bucketing_config` and `bucketing_config` Better explanation of mutually exclusive values, better bucketing_config description * Add `fixed_size_bucketing_config` to acceptance tests * Add `bucketing_config` to acceptance tests * Remove `replace_with_info_type_config` field * Add `time_part_config` to acceptance tests * Add `crypto_hash_config` and `date_shift_config` to acc tests * Add `crypto_deterministic_config` to acceptance tests * Add `replace_dictionary_config` to acceptance tests * Update docs for `bucketing_config` fields * Update DeidentifyTemplate acc tests to use bootstrapped, global KMS keys * Add missing `version` fields under `surrogateInfoType` fields, update acc tests * Update descriptions for transient/wrapped/unwrapped crypto keys Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]>
1 parent 552e353 commit eefc1a5

4 files changed

+8488
-2658
lines changed

.changelog/6886.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
dlp: Added all subfields under `deidentify_template.record_transformations.field_transformations.primitive_transformation` to `google_data_loss_prevention_deidentify_template`
3+
```

0 commit comments

Comments
 (0)