# Cloud Video Intelligence V1 Client - Class Entity (2.2.0)

2.2.0 (latest) 2.1.2 2.0.5 1.15.5 1.14.2 1.13.1 1.12.16 Reference documentation and code samples for the Cloud Video Intelligence V1 Client class Entity.

Detected entity from video analysis.

Generated from protobuf message `google.cloud.videointelligence.v1.Entity`

## Namespace

Google \\ Cloud \\ VideoIntelligence \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ entity_id` | `string` Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/). |
| `↳ description` | `string` Textual description, e.g., `Fixed-gear bicycle`. |
| `↳ language_code` | `string` Language code for `description` in BCP-47 format. |

### getEntityId

Opaque entity ID. Some IDs may be available in
[Google Knowledge Graph Search
API](https://developers.google.com/knowledge-graph/).

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

### setEntityId

Opaque entity ID. Some IDs may be available in
[Google Knowledge Graph Search
API](https://developers.google.com/knowledge-graph/).

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

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

### getDescription

Textual description, e.g., `Fixed-gear bicycle`.

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

### setDescription

Textual description, e.g., `Fixed-gear bicycle`.

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

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

### getLanguageCode

Language code for `description` in BCP-47 format.

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

### setLanguageCode

Language code for `description` in BCP-47 format.

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

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