Data Loss Prevention V2 Client - Class DiscoveryVertexDatasetFilter (2.3.0)

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

Determines what datasets will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID or dataset regex.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ collection VertexDatasetCollection

A specific set of Vertex AI datasets for this filter to apply to.

↳ vertex_dataset_resource_reference VertexDatasetResourceReference

The dataset resource to scan. Targets including this can only include one target (the target with this dataset resource reference).

↳ others AllOtherResources

Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.

getCollection

A specific set of Vertex AI datasets for this filter to apply to.

Returns
Type Description
VertexDatasetCollection|null

hasCollection

setCollection

A specific set of Vertex AI datasets for this filter to apply to.

Parameter
Name Description
var VertexDatasetCollection
Returns
Type Description
$this

getVertexDatasetResourceReference

The dataset resource to scan. Targets including this can only include one target (the target with this dataset resource reference).

Returns
Type Description
VertexDatasetResourceReference|null

hasVertexDatasetResourceReference

setVertexDatasetResourceReference

The dataset resource to scan. Targets including this can only include one target (the target with this dataset resource reference).

Parameter
Name Description
var VertexDatasetResourceReference
Returns
Type Description
$this

getOthers

Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.

Returns
Type Description
AllOtherResources|null

hasOthers

setOthers

Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.

Parameter
Name Description
var AllOtherResources
Returns
Type Description
$this

getFilter

Returns
Type Description
string