Reference documentation and code samples for the Data Loss Prevention V2 Client class TransformationSummary.
Summary of a single transformation.
Only one of 'transformation', 'field_transformation', or 'record_suppress' will be set.
Generated from protobuf message google.privacy.dlp.v2.TransformationSummary
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ info_type
↳ field
↳ transformation
↳ field_transformations
array< Google\Cloud\Dlp\V2\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
↳ results
array< Google\Cloud\Dlp\V2\TransformationSummary\SummaryResult
>
Collection of all transformations that took place or had an error.
↳ transformed_bytes
int|string
Total size in bytes that were transformed in some way.
getInfoType
Set if the transformation was limited to a specific InfoType.
hasInfoType
clearInfoType
setInfoType
Set if the transformation was limited to a specific InfoType.
$this
getField
Set if the transformation was limited to a specific FieldId.
hasField
clearField
setField
Set if the transformation was limited to a specific FieldId.
$this
getTransformation
The specific transformation these stats apply to.
hasTransformation
clearTransformation
setTransformation
The specific transformation these stats apply to.
$this
getFieldTransformations
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.
setFieldTransformations
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.
$this
getRecordSuppress
The specific suppression option these stats apply to.
hasRecordSuppress
clearRecordSuppress
setRecordSuppress
The specific suppression option these stats apply to.
$this
getResults
Collection of all transformations that took place or had an error.
setResults
Collection of all transformations that took place or had an error.
$this
getTransformedBytes
Total size in bytes that were transformed in some way.
int|string
setTransformedBytes
Total size in bytes that were transformed in some way.
var
int|string
$this