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 TableMetadata.

Metadata about a table used in a query.

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

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ table` | `string` The alias of the table in the query. |
| `↳ data_source` | `int` The type of data source. |
| `↳ index` | `int` The index of the table in the query. |

### getTable

The alias of the table in the query.

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

### setTable

The alias of the table in the query.

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

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

### getDataSource

The type of data source.

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

### setDataSource

The type of data source.

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

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

### getIndex

The index of the table in the query.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setIndex

The index of the table in the query.

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

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