0.16.0 (latest) 0.15.0 0.14.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1 Client class DataMessage.

A message produced during data retrieval.

Generated from protobuf message `google.cloud.geminidataanalytics.v1.DataMessage`

## Namespace

Google \\ Cloud \\ GeminiDataAnalytics \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ query` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.DataQuery` A data retrieval query. |
| `↳ generated_sql` | `string` SQL generated by the system to retrieve data. |
| `↳ result` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.DataResult` Retrieved data. |
| `↳ big_query_job` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.BigQueryJob` A BigQuery job executed by the system to retrieve data. |
| `↳ matched_query` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.MatchedQuery` A pre-existing query that was matched to retrieve data. |

### getQuery

A data retrieval query.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.DataQuery|null` |   |

### hasQuery

### setQuery

A data retrieval query.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.DataQuery` |

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

### getGeneratedSql

SQL generated by the system to retrieve data.

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

### hasGeneratedSql

### setGeneratedSql

SQL generated by the system to retrieve data.

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

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

### getResult

Retrieved data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.DataResult|null` |   |

### hasResult

### setResult

Retrieved data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.DataResult` |

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

### getBigQueryJob

A BigQuery job executed by the system to retrieve data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.BigQueryJob|null` |   |

### hasBigQueryJob

### setBigQueryJob

A BigQuery job executed by the system to retrieve data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.BigQueryJob` |

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

### getMatchedQuery

A pre-existing query that was matched to retrieve data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.MatchedQuery|null` |   |

### hasMatchedQuery

### setMatchedQuery

A pre-existing query that was matched to retrieve data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.MatchedQuery` |

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

### getKind

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