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 \ V1Methods
__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. |
setDataSource
The type of data source.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type DataSource. |
| 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 |
|