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

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class AnalysisEvent.

An event indicating the progress of an analysis.

Generated from protobuf message `google.cloud.geminidataanalytics.v1beta.AnalysisEvent`

## Namespace

Google \\ Cloud \\ GeminiDataAnalytics \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ planner_reasoning` | `string` Python codegen planner's reasoning. |
| `↳ coder_instruction` | `string` Instructions issued for code generation. |
| `↳ code` | `string` Generated code. |
| `↳ execution_output` | `string` Output from code execution. |
| `↳ execution_error` | `string` An error from code execution. |
| `↳ result_vega_chart_json` | `string` Result as Vega chart JSON string. |
| `↳ result_natural_language` | `string` Result as NL string. |
| `↳ result_csv_data` | `string` Result as CSV string. |
| `↳ result_reference_data` | `string` Result as a reference to a data source. |
| `↳ error` | `string` A generic error message. |

### getPlannerReasoning

Python codegen planner's reasoning.

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

### hasPlannerReasoning

### setPlannerReasoning

Python codegen planner's reasoning.

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

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

### getCoderInstruction

Instructions issued for code generation.

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

### hasCoderInstruction

### setCoderInstruction

Instructions issued for code generation.

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

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

### getCode

Generated code.

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

### hasCode

### setCode

Generated code.

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

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

### getExecutionOutput

Output from code execution.

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

### hasExecutionOutput

### setExecutionOutput

Output from code execution.

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

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

### getExecutionError

An error from code execution.

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

### hasExecutionError

### setExecutionError

An error from code execution.

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

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

### getResultVegaChartJson

Result as Vega chart JSON string.

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

### hasResultVegaChartJson

### setResultVegaChartJson

Result as Vega chart JSON string.

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

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

### getResultNaturalLanguage

Result as NL string.

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

### hasResultNaturalLanguage

### setResultNaturalLanguage

Result as NL string.

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

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

### getResultCsvData

Result as CSV string.

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

### hasResultCsvData

### setResultCsvData

Result as CSV string.

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

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

### getResultReferenceData

Result as a reference to a data source.

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

### hasResultReferenceData

### setResultReferenceData

Result as a reference to a data source.

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

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

### getError

A generic error message.

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

### hasError

### setError

A generic error message.

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

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

### getKind

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