GooglePrivacyDlpV2FieldTransformation class

The transformation to apply to the field.

Constructors

GooglePrivacyDlpV2FieldTransformation({Input<GooglePrivacyDlpV2RecordCondition>? condition, required Input<List<GooglePrivacyDlpV2FieldId>> fields, Input<GooglePrivacyDlpV2InfoTypeTransformations>? infoTypeTransformations, Input<GooglePrivacyDlpV2PrimitiveTransformation>? primitiveTransformation})
Creates a new GooglePrivacyDlpV2FieldTransformation. condition 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. 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. fields Input field(s) to apply the transformation to. When you have columns that reference their position within a list, omit the index from the FieldId. FieldId name matching ignores the index. For example, instead of "contact.nums0.type", use "contact.nums.type". infoTypeTransformations Treat the contents of the field as free text, and selectively transform content that matches an InfoType. primitiveTransformation Apply the transformation to the entire field.
const
GooglePrivacyDlpV2FieldTransformation.fromMap(Map<String, dynamic> map)
factory

Properties

condition → Input<GooglePrivacyDlpV2RecordCondition>?
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. 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.
final
fields → Input<List<GooglePrivacyDlpV2FieldId>>
Input field(s) to apply the transformation to. When you have columns that reference their position within a list, omit the index from the FieldId. FieldId name matching ignores the index. For example, instead of "contact.nums0.type", use "contact.nums.type".
final
hashCode → int
The hash code for this object.
no setterinherited
infoTypeTransformations → Input<GooglePrivacyDlpV2InfoTypeTransformations>?
Treat the contents of the field as free text, and selectively transform content that matches an InfoType.
final
primitiveTransformation → Input<GooglePrivacyDlpV2PrimitiveTransformation>?
Apply the transformation to the entire field.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited