Data Loss Prevention V2 Client - Class VertexDatasetDiscoveryTarget (2.3.0)

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

Target used to match against for discovery with Vertex AI datasets.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ filter DiscoveryVertexDatasetFilter

Required. The datasets the discovery cadence applies to. The first target with a matching filter will be the one to apply to a dataset.

↳ conditions DiscoveryVertexDatasetConditions

In addition to matching the filter, these conditions must be true before a profile is generated.

↳ generation_cadence DiscoveryVertexDatasetGenerationCadence

How often and when to update profiles. New datasets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

↳ disabled Disabled

Disable profiling for datasets that match this filter.

getFilter

Required. The datasets the discovery cadence applies to. The first target with a matching filter will be the one to apply to a dataset.

Returns
Type Description
DiscoveryVertexDatasetFilter|null

hasFilter

clearFilter

setFilter

Required. The datasets the discovery cadence applies to. The first target with a matching filter will be the one to apply to a dataset.

Parameter
Name Description
var DiscoveryVertexDatasetFilter
Returns
Type Description
$this

getConditions

In addition to matching the filter, these conditions must be true before a profile is generated.

Returns
Type Description
DiscoveryVertexDatasetConditions|null

hasConditions

clearConditions

setConditions

In addition to matching the filter, these conditions must be true before a profile is generated.

Parameter
Name Description
var DiscoveryVertexDatasetConditions
Returns
Type Description
$this

getGenerationCadence

How often and when to update profiles. New datasets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

Returns
Type Description
DiscoveryVertexDatasetGenerationCadence|null

hasGenerationCadence

setGenerationCadence

How often and when to update profiles. New datasets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

Parameter
Name Description
var DiscoveryVertexDatasetGenerationCadence
Returns
Type Description
$this

getDisabled

Disable profiling for datasets that match this filter.

Returns
Type Description
Disabled|null

hasDisabled

setDisabled

Disable profiling for datasets that match this filter.

Parameter
Name Description
var Disabled
Returns
Type Description
$this

getCadence

Returns
Type Description
string