Data Loss Prevention V2 Client - Class ReplaceDictionaryConfig (1.14.0)

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var Google\Cloud\Dlp\V2\CustomInfoType\Dictionary\WordList
Returns
Type Description
$this

getType

Returns
Type Description
string