0.9.0 (latest) 0.8.0 0.7.2 0.5.0 0.4.0 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle Client class EntityGraphEnrichment.

EntityGraphEnrichment contains the data table name and the enrichment applied
to the entity.

Generated from protobuf message `google.backstory.EntityGraphEnrichment`

## Namespace

Google \\ Backstory

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ data_table` | `string` The name of the data table. |
| `↳ enrichment_type` | `int` The type of enrichment. |
| `↳ overridden_entity` | `Entity` The entity which has only the overridden fields populated. Only populated if the enrichment type is OVERRIDE. |

### getDataTable

The name of the data table.

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

### setDataTable

The name of the data table.

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

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

### getEnrichmentType

The type of enrichment.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [EnrichmentType](https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/Backstory.EntityGraphEnrichment.EnrichmentType.md.txt). |

### setEnrichmentType

The type of enrichment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [EnrichmentType](https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/Backstory.EntityGraphEnrichment.EnrichmentType.md.txt). |

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

### getOverriddenEntity

The entity which has only the overridden fields populated. Only populated
if the enrichment type is OVERRIDE.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Entity|null` |   |

### hasOverriddenEntity

### clearOverriddenEntity

### setOverriddenEntity

The entity which has only the overridden fields populated. Only populated
if the enrichment type is OVERRIDE.

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

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