Class GooglePrivacyDlpV2FieldTransformation
The transformation to apply to the field.
Implements
Inherited Members
Namespace: Google.Apis.DLP.v2.Data
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class GooglePrivacyDlpV2FieldTransformation : IDirectResponseSchema
Properties
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.
Declaration
[JsonProperty("condition")]
public virtual GooglePrivacyDlpV2RecordCondition Condition { get; set; }
Property Value
Type | Description |
---|---|
GooglePrivacyDlpV2RecordCondition |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Fields
Required. 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.nums[0].type", use "contact.nums.type".
Declaration
[JsonProperty("fields")]
public virtual IList<GooglePrivacyDlpV2FieldId> Fields { get; set; }
Property Value
Type | Description |
---|---|
IList<GooglePrivacyDlpV2FieldId> |
InfoTypeTransformations
Treat the contents of the field as free text, and selectively transform content that matches an InfoType
.
Declaration
[JsonProperty("infoTypeTransformations")]
public virtual GooglePrivacyDlpV2InfoTypeTransformations InfoTypeTransformations { get; set; }
Property Value
Type | Description |
---|---|
GooglePrivacyDlpV2InfoTypeTransformations |
PrimitiveTransformation
Apply the transformation to the entire field.
Declaration
[JsonProperty("primitiveTransformation")]
public virtual GooglePrivacyDlpV2PrimitiveTransformation PrimitiveTransformation { get; set; }
Property Value
Type | Description |
---|---|
GooglePrivacyDlpV2PrimitiveTransformation |