Struct google_dlp2_beta1::GooglePrivacyDlpV2beta1FieldTransformation[][src]

pub struct GooglePrivacyDlpV2beta1FieldTransformation {
    pub info_type_transformations: Option<GooglePrivacyDlpV2beta1InfoTypeTransformations>,
    pub primitive_transformation: Option<GooglePrivacyDlpV2beta1PrimitiveTransformation>,
    pub condition: Option<GooglePrivacyDlpV2beta1RecordCondition>,
    pub fields: Option<Vec<GooglePrivacyDlpV2beta1FieldId>>,
}

The transformation to apply to the field.

This type is not used in any activity, and only used as part of another schema.

Fields

Treat the contents of the field as free text, and selectively transform content that matches an InfoType.

Apply the transformation to the entire field.

Only apply the transformation if the condition evaluates to true for the given RecordCondition. The conditions are allowed to reference fields that are not used in the actual transformation. [optional]

Example Use Cases:

  • Apply a different bucket transformation to an age column if the zip code column for the same record is within a specific range.
  • Redact a field if the date of birth field is greater than 85.

Input field(s) to apply the transformation to. [required]

Trait Implementations

impl Default for GooglePrivacyDlpV2beta1FieldTransformation
[src]

Returns the "default value" for a type. Read more

impl Clone for GooglePrivacyDlpV2beta1FieldTransformation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GooglePrivacyDlpV2beta1FieldTransformation
[src]

Formats the value using the given formatter. Read more

impl Part for GooglePrivacyDlpV2beta1FieldTransformation
[src]

Auto Trait Implementations