Data Loss Prevention V2 Client - Class WordList (1.12.0)

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

Message defining a list of words or phrases to search for in the data.

Generated from protobuf message google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList

Namespace

Google \ Cloud \ Dlp \ V2 \ CustomInfoType \ Dictionary

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ words
array

Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required]

getWords

Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required]

Returns
Type
Description

setWords

Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required]

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: