Data Loss Prevention V2 Client - Class LargeCustomDictionaryConfig (1.12.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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\Dlp\V2\CloudStoragePath
Returns
TypeDescription
$this

getCloudStorageFileSet

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

Returns
TypeDescription
Google\Cloud\Dlp\V2\CloudStorageFileSet|null

hasCloudStorageFileSet

setCloudStorageFileSet

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

Parameter
NameDescription
var Google\Cloud\Dlp\V2\CloudStorageFileSet
Returns
TypeDescription
$this

getBigQueryField

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

Returns
TypeDescription
Google\Cloud\Dlp\V2\BigQueryField|null

hasBigQueryField

setBigQueryField

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

Parameter
NameDescription
var Google\Cloud\Dlp\V2\BigQueryField
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string