Data Loss Prevention V2 Client - Class ReplaceValueConfig (1.19.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class ReplaceValueConfig.

Replace each input value with a given Value.

Generated from protobuf message google.privacy.dlp.v2.ReplaceValueConfig

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ new_value Google\Cloud\Dlp\V2\Value

Value to replace it with.

getNewValue

Value to replace it with.

Returns
Type Description
Google\Cloud\Dlp\V2\Value|null

hasNewValue

clearNewValue

setNewValue

Value to replace it with.

Parameter
Name Description
var Google\Cloud\Dlp\V2\Value
Returns
Type Description
$this