# Google Cloud Dataplex V1 Client - Class EntryLink (1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.0 1.7.1 1.6.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 0.16.1 0.15.1 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.3 0.1.6 Reference documentation and code samples for the Google Cloud Dataplex V1 Client class EntryLink.

EntryLink represents a link between two Entries.

Generated from protobuf message `google.cloud.dataplex.v1.EntryLink`

## Namespace

Google \\ Cloud \\ Dataplex \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}` |
| `↳ entry_link_type` | `string` Required. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: - Entry link between synonym terms in a glossary: `projects/dataplex-types/locations/global/entryLinkTypes/synonym` - Entry link between related terms in a glossary: `projects/dataplex-types/locations/global/entryLinkTypes/related` - Entry link between glossary terms and data assets: `projects/dataplex-types/locations/global/entryLinkTypes/definition` |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The time when the Entry Link was created. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The time when the Entry Link was last updated. |
| `↳ aspects` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Optional. The aspects that are attached to the entry link. The format of the aspect key has to be the following: `{project_id_or_number}.{location_id}.{aspect_type_id}` Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed. |
| `↳ entry_references` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.EntryLink.EntryReference>` Required. Immutable. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. |

### getName

Output only. Immutable. Identifier. The relative resource name of the Entry
Link, of the form:
`projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}`

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

### setName

Output only. Immutable. Identifier. The relative resource name of the Entry
Link, of the form:
`projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}`

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

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

### getEntryLinkType

Required. Immutable. Relative resource name of the Entry Link Type used to
create this Entry Link. For example:

- Entry link between synonym terms in a glossary: `projects/dataplex-types/locations/global/entryLinkTypes/synonym`
- Entry link between related terms in a glossary: `projects/dataplex-types/locations/global/entryLinkTypes/related`
- Entry link between glossary terms and data assets: `projects/dataplex-types/locations/global/entryLinkTypes/definition`

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

### setEntryLinkType

Required. Immutable. Relative resource name of the Entry Link Type used to
create this Entry Link. For example:

- Entry link between synonym terms in a glossary: `projects/dataplex-types/locations/global/entryLinkTypes/synonym`
- Entry link between related terms in a glossary: `projects/dataplex-types/locations/global/entryLinkTypes/related`
- Entry link between glossary terms and data assets: `projects/dataplex-types/locations/global/entryLinkTypes/definition`

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

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

### getCreateTime

Output only. The time when the Entry Link was created.

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

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. The time when the Entry Link was created.

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

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

### getUpdateTime

Output only. The time when the Entry Link was last updated.

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

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. The time when the Entry Link was last updated.

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

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

### getAspects

Optional. The aspects that are attached to the entry link.

The format of the aspect key has to be the following:
`{project_id_or_number}.{location_id}.{aspect_type_id}`
Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed.

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

### setAspects

Optional. The aspects that are attached to the entry link.

The format of the aspect key has to be the following:
`{project_id_or_number}.{location_id}.{aspect_type_id}`
Currently, only a single aspect of a Dataplex-owned Aspect Type is allowed.

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

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

### getEntryReferences

Required. Immutable. Specifies the Entries referenced in the Entry Link.

There should be exactly two entry references.

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

### setEntryReferences

Required. Immutable. Specifies the Entries referenced in the Entry Link.

There should be exactly two entry references.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.EntryLink.EntryReference>` |

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