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 \ V1betaMethods
__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 |