# Data Loss Prevention V2 Client - Class BigQueryDiscoveryTarget (2.13.0)

2.13.0 (latest) 2.12.0 2.11.0 2.10.0 2.9.2 2.8.1 2.7.0 2.6.1 2.4.1 2.3.0 2.2.3 2.1.0 2.0.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.1 1.14.0 1.13.2 1.12.0 1.11.0 1.10.2 1.9.0 1.8.6 Reference documentation and code samples for the Data Loss Prevention V2 Client class BigQueryDiscoveryTarget.

Target used to match against for discovery with BigQuery tables

Generated from protobuf message `google.privacy.dlp.v2.BigQueryDiscoveryTarget`

## Namespace

Google \\ Cloud \\ Dlp \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ filter` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.DiscoveryBigQueryFilter` Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. |
| `↳ conditions` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.DiscoveryBigQueryConditions` In addition to matching the filter, these conditions must be true before a profile is generated. |
| `↳ cadence` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.DiscoveryGenerationCadence` How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. |
| `↳ disabled` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.Disabled` Tables that match this filter will not have profiles created. |

### getFilter

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.DiscoveryBigQueryFilter|null` |   |

### hasFilter

### clearFilter

### setFilter

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.DiscoveryBigQueryFilter` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getConditions

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.DiscoveryBigQueryConditions|null` |   |

### hasConditions

### clearConditions

### setConditions

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.DiscoveryBigQueryConditions` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCadence

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.DiscoveryGenerationCadence|null` |   |

### hasCadence

### setCadence

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.DiscoveryGenerationCadence` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDisabled

Tables that match this filter will not have profiles created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.Disabled|null` |   |

### hasDisabled

### setDisabled

Tables that match this filter will not have profiles created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.Disabled` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFrequency

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |