Data Loss Prevention V2 Client - Class ReplaceDictionaryConfig (1.8.6)

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

Replace each input value with a value randomly selected from the dictionary.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ word_list Google\Cloud\Dlp\V2\CustomInfoType\Dictionary\WordList

A list of words to select from for random replacement. The limits page contains details about the size limits of dictionaries.

getWordList

A list of words to select from for random replacement. The limits page contains details about the size limits of dictionaries.

Returns
TypeDescription
Google\Cloud\Dlp\V2\CustomInfoType\Dictionary\WordList|null

hasWordList

setWordList

A list of words to select from for random replacement. The limits page contains details about the size limits of dictionaries.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\CustomInfoType\Dictionary\WordList
Returns
TypeDescription
$this

getType

Returns
TypeDescription
string