# Google Cloud Data Catalog Lineage V1 Client - Class SearchLinksResponse (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 SearchLinksResponse.

Response message for
[SearchLinks](https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.Client.LineageClient#_Google_Cloud_DataCatalog_Lineage_V1_Client_LineageClient__searchLinks__).

Generated from protobuf message `google.cloud.datacatalog.lineage.v1.SearchLinksResponse`

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ links` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.Link>` The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target). |
| `↳ next_page_token` | `string` The token to specify as `page_token` in the subsequent call to get the next page. Omitted if there are no more pages in the response. |

### getLinks

The list of links for a given asset. Can be empty if the asset has no
relations of requested type (source or target).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.Link>` |   |

### setLinks

The list of links for a given asset. Can be empty if the asset has no
relations of requested type (source or target).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.Link>` |

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

### getNextPageToken

The token to specify as `page_token` in the subsequent call to get the next
page. Omitted if there are no more pages in the response.

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

### setNextPageToken

The token to specify as `page_token` in the subsequent call to get the next
page. Omitted if there are no more pages in the response.

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

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