Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::AnalysisEvent.
An event indicating the progress of an analysis.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#code
def code() -> ::String
-
(::String) — Generated code.
Note: The following fields are mutually exclusive:
code
,planner_reasoning
,coder_instruction
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#code=
def code=(value) -> ::String
-
value (::String) — Generated code.
Note: The following fields are mutually exclusive:
code
,planner_reasoning
,coder_instruction
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Generated code.
Note: The following fields are mutually exclusive:
code
,planner_reasoning
,coder_instruction
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#coder_instruction
def coder_instruction() -> ::String
-
(::String) — Instructions issued for code generation.
Note: The following fields are mutually exclusive:
coder_instruction
,planner_reasoning
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#coder_instruction=
def coder_instruction=(value) -> ::String
-
value (::String) — Instructions issued for code generation.
Note: The following fields are mutually exclusive:
coder_instruction
,planner_reasoning
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Instructions issued for code generation.
Note: The following fields are mutually exclusive:
coder_instruction
,planner_reasoning
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#error
def error() -> ::String
-
(::String) — A generic error message.
Note: The following fields are mutually exclusive:
error
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#error=
def error=(value) -> ::String
-
value (::String) — A generic error message.
Note: The following fields are mutually exclusive:
error
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — A generic error message.
Note: The following fields are mutually exclusive:
error
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#execution_error
def execution_error() -> ::String
-
(::String) — An error from code execution.
Note: The following fields are mutually exclusive:
execution_error
,planner_reasoning
,coder_instruction
,code
,execution_output
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#execution_error=
def execution_error=(value) -> ::String
-
value (::String) — An error from code execution.
Note: The following fields are mutually exclusive:
execution_error
,planner_reasoning
,coder_instruction
,code
,execution_output
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — An error from code execution.
Note: The following fields are mutually exclusive:
execution_error
,planner_reasoning
,coder_instruction
,code
,execution_output
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#execution_output
def execution_output() -> ::String
-
(::String) — Output from code execution.
Note: The following fields are mutually exclusive:
execution_output
,planner_reasoning
,coder_instruction
,code
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#execution_output=
def execution_output=(value) -> ::String
-
value (::String) — Output from code execution.
Note: The following fields are mutually exclusive:
execution_output
,planner_reasoning
,coder_instruction
,code
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Output from code execution.
Note: The following fields are mutually exclusive:
execution_output
,planner_reasoning
,coder_instruction
,code
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#planner_reasoning
def planner_reasoning() -> ::String
-
(::String) — Python codegen planner's reasoning.
Note: The following fields are mutually exclusive:
planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#planner_reasoning=
def planner_reasoning=(value) -> ::String
-
value (::String) — Python codegen planner's reasoning.
Note: The following fields are mutually exclusive:
planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Python codegen planner's reasoning.
Note: The following fields are mutually exclusive:
planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#result_csv_data
def result_csv_data() -> ::String
-
(::String) — Result as CSV string.
Note: The following fields are mutually exclusive:
result_csv_data
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#result_csv_data=
def result_csv_data=(value) -> ::String
-
value (::String) — Result as CSV string.
Note: The following fields are mutually exclusive:
result_csv_data
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Result as CSV string.
Note: The following fields are mutually exclusive:
result_csv_data
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#result_natural_language
def result_natural_language() -> ::String
-
(::String) — Result as NL string.
Note: The following fields are mutually exclusive:
result_natural_language
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#result_natural_language=
def result_natural_language=(value) -> ::String
-
value (::String) — Result as NL string.
Note: The following fields are mutually exclusive:
result_natural_language
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Result as NL string.
Note: The following fields are mutually exclusive:
result_natural_language
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#result_reference_data
def result_reference_data() -> ::String
-
(::String) — Result as a reference to a data source.
Note: The following fields are mutually exclusive:
result_reference_data
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#result_reference_data=
def result_reference_data=(value) -> ::String
-
value (::String) — Result as a reference to a data source.
Note: The following fields are mutually exclusive:
result_reference_data
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Result as a reference to a data source.
Note: The following fields are mutually exclusive:
result_reference_data
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_vega_chart_json
,result_natural_language
,result_csv_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#result_vega_chart_json
def result_vega_chart_json() -> ::String
-
(::String) — Result as Vega chart JSON string.
Note: The following fields are mutually exclusive:
result_vega_chart_json
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#result_vega_chart_json=
def result_vega_chart_json=(value) -> ::String
-
value (::String) — Result as Vega chart JSON string.
Note: The following fields are mutually exclusive:
result_vega_chart_json
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Result as Vega chart JSON string.
Note: The following fields are mutually exclusive:
result_vega_chart_json
,planner_reasoning
,coder_instruction
,code
,execution_output
,execution_error
,result_natural_language
,result_csv_data
,result_reference_data
,error
. If a field in that set is populated, all other fields in the set will automatically be cleared.