# Google Cloud Data Catalog V1 Client - Class TaggedEntry (2.4.2)

2.4.2 (latest) 2.4.1 2.3.2 2.2.4 2.1.0 2.0.2 1.10.3 1.9.1 1.8.2 1.7.1 1.6.0 1.5.1 1.4.2 1.3.9 Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class TaggedEntry.

Wrapper containing Entry and information about Tags
that should and should not be attached to it.

Generated from protobuf message `google.cloud.datacatalog.v1.TaggedEntry`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ v1_entry` | `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.Entry` Non-encrypted Data Catalog v1 Entry. |
| `↳ present_tags` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.Tag>` Optional. Tags that should be ingested into the Data Catalog. Caller should populate template name, column and fields. |
| `↳ absent_tags` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.Tag>` Optional. Tags that should be deleted from the Data Catalog. Caller should populate template name and column only. |

### getV1Entry

Non-encrypted Data Catalog v1 Entry.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.Entry|null` |   |

### hasV1Entry

### setV1Entry

Non-encrypted Data Catalog v1 Entry.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.Entry` |

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

### getPresentTags

Optional. Tags that should be ingested into the Data Catalog.

Caller should populate template name, column and fields.

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

### setPresentTags

Optional. Tags that should be ingested into the Data Catalog.

Caller should populate template name, column and fields.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.Tag>` |

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

### getAbsentTags

Optional. Tags that should be deleted from the Data Catalog.

Caller should populate template name and column only.

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

### setAbsentTags

Optional. Tags that should be deleted from the Data Catalog.

Caller should populate template name and column only.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.Tag>` |

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

### getEntry

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