Data Loss Prevention V2 Client - Class LargeCustomDictionaryConfig (2.2.2)

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

Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the limits page. The artifacts of dictionary creation are stored in the specified Cloud Storage location. Consider using CustomInfoType.Dictionary for smaller dictionaries that satisfy the size requirements.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ output_path CloudStoragePath

Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.

↳ cloud_storage_file_set CloudStorageFileSet

Set of files containing newline-delimited lists of dictionary phrases.

↳ big_query_field BigQueryField

Field in a BigQuery table where each cell represents a dictionary phrase.

getOutputPath

Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.

Returns
Type Description
CloudStoragePath|null

hasOutputPath

clearOutputPath

setOutputPath

Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.

Parameter
Name Description
var CloudStoragePath
Returns
Type Description
$this

getCloudStorageFileSet

Set of files containing newline-delimited lists of dictionary phrases.

Returns
Type Description
CloudStorageFileSet|null

hasCloudStorageFileSet

setCloudStorageFileSet

Set of files containing newline-delimited lists of dictionary phrases.

Parameter
Name Description
var CloudStorageFileSet
Returns
Type Description
$this

getBigQueryField

Field in a BigQuery table where each cell represents a dictionary phrase.

Returns
Type Description
BigQueryField|null

hasBigQueryField

setBigQueryField

Field in a BigQuery table where each cell represents a dictionary phrase.

Parameter
Name Description
var BigQueryField
Returns
Type Description
$this

getSource

Returns
Type Description
string