# Common Protos for Google Cloud APIs Client - Class EntityInfo (1.0.0)

1.0.0 (latest) 0.8.3 0.7.0 0.6.0 0.5.2 0.4.2 0.3.8 Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class EntityInfo.

User-provided metadata for an entity, for e.g. dataset, table or model.

Generated from protobuf message `google.cloud.audit.BigQueryAuditMetadata.EntityInfo`

## Namespace

Google \\ Cloud \\ Audit \\ BigQueryAuditMetadata

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ friendly_name` | `string` A short name for the entity. |
| `↳ description` | `string` A long description for the entity. |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Labels provided for the entity. |

### getFriendlyName

A short name for the entity.

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

### setFriendlyName

A short name for the entity.

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

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

### getDescription

A long description for the entity.

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

### setDescription

A long description for the entity.

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

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

### getLabels

Labels provided for the entity.

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

### setLabels

Labels provided for the entity.

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

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