Data Loss Prevention V2 Client - Class ReplaceValueConfig (1.10.2)

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
NameDescription
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
TypeDescription
Google\Cloud\Dlp\V2\Value|null

hasNewValue

clearNewValue

setNewValue

Value to replace it with.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\Value
Returns
TypeDescription
$this