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

A golden query for Looker, including natural language questions and a
corresponding Looker Query. Analogous to ExampleQuery.

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

## Namespace

Google \\ Cloud \\ GeminiDataAnalytics \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ natural_language_questions` | `string[]` Optional. Natural language questions that a user might ask. For example: "How many orders were placed last month?" Must be at most 2,000 bytes per question (approx. 2,000 characters). |
| `↳ looker_query` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1.LookerQuery` Optional. The Looker Query corresponding to the natural language questions. |

### getNaturalLanguageQuestions

Optional. Natural language questions that a user might ask.

For example: "How many orders were placed last month?"
Must be at most 2,000 bytes per question (approx. 2,000 characters).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setNaturalLanguageQuestions

Optional. Natural language questions that a user might ask.

For example: "How many orders were placed last month?"
Must be at most 2,000 bytes per question (approx. 2,000 characters).

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

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

### getLookerQuery

Optional. The Looker Query corresponding to the natural language questions.

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

### hasLookerQuery

### clearLookerQuery

### setLookerQuery

Optional. The Looker Query corresponding to the natural language questions.

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

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