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

Multiple entity reference for SearchLinksRequest.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ entities` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.EntityReference>` Optional. The list of entities to search for links. The maximum number of entities is 20. |

### getEntities

Optional. The list of entities to search for links. The maximum number of
entities is 20.

| **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.EntityReference>` |   |

### setEntities

Optional. The list of entities to search for links. The maximum number of
entities is 20.

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

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