Data Loss Prevention V2 Client - Class LargeCustomDictionaryConfig (2.0.0)

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 Google\Cloud\Dlp\V2\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 Google\Cloud\Dlp\V2\CloudStorageFileSet

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

↳ big_query_field Google\Cloud\Dlp\V2\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
Google\Cloud\Dlp\V2\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 Google\Cloud\Dlp\V2\CloudStoragePath
Returns
Type Description
$this

getCloudStorageFileSet

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

Returns
Type Description
Google\Cloud\Dlp\V2\CloudStorageFileSet|null

hasCloudStorageFileSet

setCloudStorageFileSet

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

Parameter
Name Description
var Google\Cloud\Dlp\V2\CloudStorageFileSet
Returns
Type Description
$this

getBigQueryField

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

Returns
Type Description
Google\Cloud\Dlp\V2\BigQueryField|null

hasBigQueryField

setBigQueryField

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

Parameter
Name Description
var Google\Cloud\Dlp\V2\BigQueryField
Returns
Type Description
$this

getSource

Returns
Type Description
string