# Data Loss Prevention V2 Client - Class HybridOptions (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 HybridOptions.

Configuration to control jobs where the content being inspected is outside
of Google Cloud Platform.

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

## Namespace

Google \\ Cloud \\ Dlp \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ description` | `string` A short description of where the data is coming from. Will be stored once in the job. 256 max length. |
| `↳ required_finding_label_keys` | `string[]` These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. No more than 10 keys can be required. |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` To organize findings, these labels will be added to each finding. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: \* \* `"environment" : "production"` \* \* `"pipeline" : "etl"` |
| `↳ table_options` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.TableOptions` If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. |

### getDescription

A short description of where the data is coming from. Will be stored once
in the job. 256 max length.

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

### setDescription

A short description of where the data is coming from. Will be stored once
in the job. 256 max length.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getRequiredFindingLabelKeys

These are labels that each inspection request must include within their
'finding_labels' map. Request may contain others, but any missing one of
these will be rejected.

Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
No more than 10 keys can be required.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setRequiredFindingLabelKeys

These are labels that each inspection request must include within their
'finding_labels' map. Request may contain others, but any missing one of
these will be rejected.

Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
No more than 10 keys can be required.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

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

### getLabels

To organize findings, these labels will be added to each finding.

Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
Label values must be between 0 and 63 characters long and must conform
to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
No more than 10 labels can be associated with a given finding.
Examples:

- `"environment" : "production"`
- `"pipeline" : "etl"`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setLabels

To organize findings, these labels will be added to each finding.

Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
Label values must be between 0 and 63 characters long and must conform
to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
No more than 10 labels can be associated with a given finding.
Examples:

- `"environment" : "production"`
- `"pipeline" : "etl"`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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

### getTableOptions

If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.

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

### hasTableOptions

### clearTableOptions

### setTableOptions

If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.

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

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