TransformationSummary(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Summary of a single transformation. Only one of 'transformation', 'field_transformation', or 'record_suppress' will be set.
Attributes |
|
---|---|
Name | Description |
info_type |
google.cloud.dlp_v2.types.InfoType
Set if the transformation was limited to a specific InfoType. |
field |
google.cloud.dlp_v2.types.FieldId
Set if the transformation was limited to a specific FieldId. |
transformation |
google.cloud.dlp_v2.types.PrimitiveTransformation
The specific transformation these stats apply to. |
field_transformations |
MutableSequence[google.cloud.dlp_v2.types.FieldTransformation]
The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied. |
record_suppress |
google.cloud.dlp_v2.types.RecordSuppression
The specific suppression option these stats apply to. |
results |
MutableSequence[google.cloud.dlp_v2.types.TransformationSummary.SummaryResult]
Collection of all transformations that took place or had an error. |
transformed_bytes |
int
Total size in bytes that were transformed in some way. |
Classes
SummaryResult
SummaryResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A collection that informs the user the number of times a particular
TransformationResultCode
and error details occurred.
TransformationResultCode
TransformationResultCode(value)
Possible outcomes of transformations.
Values: TRANSFORMATION_RESULT_CODE_UNSPECIFIED (0): Unused SUCCESS (1): Transformation completed without an error. ERROR (2): Transformation had an error.