Cloud Data Loss Prevention (Cloud DLP) is now a part of Sensitive Data Protection. The API name remains the same: Cloud Data Loss Prevention API (DLP API). For information about the services that make up Sensitive Data Protection, see Sensitive Data Protection overview.

TransformationOverview

Overview of the modifications that occurred.

JSON representation
{
 "transformedBytes": string,
 "transformationSummaries": [
 {
 object (TransformationSummary )
 }
 ]
}
Fields
transformedBytes

string (int64 format)

Total size in bytes that were transformed in some way.

transformationSummaries[]

object (TransformationSummary )

Transformations applied to the dataset.

TransformationSummary

Summary of a single transformation. Only one of 'transformation', 'field_transformation', or 'recordSuppress' will be set.

JSON representation
{
 "infoType": {
 object (InfoType )
 },
 "field": {
 object (FieldId )
 },
 "transformation": {
 object (PrimitiveTransformation )
 },
 "fieldTransformations": [
 {
 object (FieldTransformation )
 }
 ],
 "recordSuppress": {
 object (RecordSuppression )
 },
 "results": [
 {
 object (SummaryResult )
 }
 ],
 "transformedBytes": string
}
Fields
infoType

object (InfoType )

Set if the transformation was limited to a specific InfoType.

field

object (FieldId )

Set if the transformation was limited to a specific FieldId.

transformation

object (PrimitiveTransformation )

The specific transformation these stats apply to.

fieldTransformations[]

object (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.

recordSuppress

object (RecordSuppression )

The specific suppression option these stats apply to.

results[]

object (SummaryResult )

Collection of all transformations that took place or had an error.

transformedBytes

string (int64 format)

Total size in bytes that were transformed in some way.

SummaryResult

A collection that informs the user the number of times a particular TransformationResultCode and error details occurred.

JSON representation
{
 "count": string,
 "code": enum (TransformationResultCode ),
 "details": string
}
Fields
count

string (int64 format)

Number of transformations counted by this result.

code

enum (TransformationResultCode )

Outcome of the transformation.

details

string

A place for warnings or errors to show up if a transformation didn't work as expected.

TransformationResultCode

Possible outcomes of transformations.

Enums
TRANSFORMATION_RESULT_CODE_UNSPECIFIED Unused
SUCCESS Transformation completed without an error.
ERROR Transformation had an error.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年04月30日 UTC.