Reference documentation and code samples for the Data Loss Prevention V2 Client class TransformationDescription.
A flattened description of a PrimitiveTransformation
or RecordSuppression
.
Generated from protobuf message google.privacy.dlp.v2.TransformationDescription
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ type
int
The transformation type.
↳ description
string
A description of the transformation. This is empty for a RECORD_SUPPRESSION, or is the output of calling toString() on the PrimitiveTransformation
protocol buffer message for any other type of transformation.
↳ condition
string
A human-readable string representation of the RecordCondition
corresponding to this transformation. Set if a RecordCondition
was used to determine whether or not to apply this transformation. Examples: * (age_field > 85) * (age_field <= 18) * (zip_field exists) * (zip_field == 01234) && (city_field != "Springville") * (zip_field == 01234) && (age_field <= 18) && (city_field exists)
↳ info_type
getType
The transformation type.
int
setType
The transformation type.
var
int
$this
getDescription
A description of the transformation. This is empty for a
RECORD_SUPPRESSION, or is the output of calling toString() on the PrimitiveTransformation
protocol buffer message for any other type of
transformation.
string
setDescription
A description of the transformation. This is empty for a
RECORD_SUPPRESSION, or is the output of calling toString() on the PrimitiveTransformation
protocol buffer message for any other type of
transformation.
var
string
$this
getCondition
A human-readable string representation of the RecordCondition
corresponding to this transformation. Set if a RecordCondition
was used
to determine whether or not to apply this transformation.
Examples:
- (age_field > 85)
- (age_field <= 18)
- (zip_field exists)
- (zip_field == 01234) && (city_field != "Springville")
- (zip_field == 01234) && (age_field <= 18) && (city_field exists)
string
setCondition
A human-readable string representation of the RecordCondition
corresponding to this transformation. Set if a RecordCondition
was used
to determine whether or not to apply this transformation.
Examples:
- (age_field > 85)
- (age_field <= 18)
- (zip_field exists)
- (zip_field == 01234) && (city_field != "Springville")
- (zip_field == 01234) && (age_field <= 18) && (city_field exists)
var
string
$this
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