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

The soft reference to everything you can attach a lineage event to.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ fully_qualified_name` | `string` Required. [Fully Qualified Name (FQN)](https://cloud.google.com/dataplex/docs/fully-qualified-names) of the entity. |
| `↳ field` | `string[]` Optional. Field path within the entity. Each nesting level should be a separate value in the repeated field. The order matters. Must be empty for asset level lineage For example to address "salary.net" subfield where "salary" is a column and "net" is a proto field two values in the `field` should be reported, the first is "salary" and the second is "net". Each field length is limited to 500 characters. Maximum supported nesting level is 20. |

### getFullyQualifiedName

Required. [Fully Qualified Name
(FQN)](https://cloud.google.com/dataplex/docs/fully-qualified-names)
of the entity.

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

### setFullyQualifiedName

Required. [Fully Qualified Name
(FQN)](https://cloud.google.com/dataplex/docs/fully-qualified-names)
of the entity.

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

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

### getField

Optional. Field path within the entity. Each nesting level should be a
separate value in the repeated field. The order matters. Must be empty for
asset level lineage
For example to address "salary.net" subfield where "salary" is a column and
"net" is a proto field two values in the `field` should be reported,
the first is "salary" and the second is "net".

Each field length is limited to 500 characters.
Maximum supported nesting level is 20.

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

### setField

Optional. Field path within the entity. Each nesting level should be a
separate value in the repeated field. The order matters. Must be empty for
asset level lineage
For example to address "salary.net" subfield where "salary" is a column and
"net" is a proto field two values in the `field` should be reported,
the first is "salary" and the second is "net".

Each field length is limited to 500 characters.
Maximum supported nesting level is 20.

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

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