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 V1 Client class EntityContextRecord.

EntityContextRecord stores information about a entity context graph.

Generated from protobuf message `google.cloud.chronicle.v1.EntityContextRecord`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ entity` | `Entity` The entity information to be retrieved with UDM ECG search. |
| `↳ event_log_token` | `string` Raw log tokens mapped to the event that created the entity. This is only for entity context events. |
| `↳ timed` | `bool` If the entity is timed or not. |
| `↳ table` | `string` User defined table name for the entity in joins query. |

### getEntity

The entity information to be retrieved with UDM ECG search.

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

### hasEntity

### clearEntity

### setEntity

The entity information to be retrieved with UDM ECG search.

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

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

### getEventLogToken

Raw log tokens mapped to the event that created the entity. This is only
for entity context events.

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

### setEventLogToken

Raw log tokens mapped to the event that created the entity. This is only
for entity context events.

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

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

### getTimed

If the entity is timed or not.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setTimed

If the entity is timed or not.

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

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

### getTable

User defined table name for the entity in joins query.

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

### setTable

User defined table name for the entity in joins query.

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

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