# Google Cloud Data Catalog Lineage V1 Client - Class SearchLimits (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.1 1.0.3 0.5.5 0.4.0 0.3.1 0.2.1 0.1.3 Reference documentation and code samples for the Google Cloud Data Catalog Lineage V1 Client class SearchLimits.

Limits for the search results.

Generated from protobuf message `google.cloud.datacatalog.lineage.v1.SearchLineageStreamingRequest.SearchLimits`

## Namespace

Google \\ Cloud \\ DataCatalog \\ Lineage \\ V1 \\ SearchLineageStreamingRequest

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ max_depth` | `int` Optional. The maximum depth of the search. The default value is 5 and maximum value is 100. |
| `↳ max_results` | `int` Optional. The maximum number of links to return in the response. The default value is 1_000 and the maximum value is 10_000. |
| `↳ max_process_per_link` | `int` Optional. The maximum number of processes to return per link. The default value is 0 and the maximum value is 100. If this value is non-zero, the response will contain process names for the links. To retrieve full process details in the response, include `links.processes.process` in the [FieldMask](https://developers.google.com/workspace/docs/api/how-tos/field-masks#read_with_a_field_mask). |

### getMaxDepth

Optional. The maximum depth of the search. The default value is 5 and
maximum value is 100.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setMaxDepth

Optional. The maximum depth of the search. The default value is 5 and
maximum value is 100.

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

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

### getMaxResults

Optional. The maximum number of links to return in the response. The
default value is 1_000 and the maximum value is 10_000.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setMaxResults

Optional. The maximum number of links to return in the response. The
default value is 1_000 and the maximum value is 10_000.

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

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

### getMaxProcessPerLink

Optional. The maximum number of processes to return per link. The default
value is 0 and the maximum value is 100. If this value is non-zero, the
response will contain process names for the links. To retrieve full
process details in the response, include `links.processes.process` in the
[FieldMask](https://developers.google.com/workspace/docs/api/how-tos/field-masks#read_with_a_field_mask).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setMaxProcessPerLink

Optional. The maximum number of processes to return per link. The default
value is 0 and the maximum value is 100. If this value is non-zero, the
response will contain process names for the links. To retrieve full
process details in the response, include `links.processes.process` in the
[FieldMask](https://developers.google.com/workspace/docs/api/how-tos/field-masks#read_with_a_field_mask).

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

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