Data Analytics API with Gemini v1beta API - Class AnalysisEvent (1.0.0-beta01)

public sealed class AnalysisEvent : IMessage<AnalysisEvent>, IEquatable<AnalysisEvent>, IDeepCloneable<AnalysisEvent>, IBufferMessage, IMessage

Reference documentation and code samples for the Data Analytics API with Gemini v1beta API class AnalysisEvent.

An event indicating the progress of an analysis.

Inheritance

object > AnalysisEvent

Namespace

Google.Cloud.GeminiDataAnalytics.V1Beta

Assembly

Google.Cloud.GeminiDataAnalytics.V1Beta.dll

Constructors

AnalysisEvent()

public AnalysisEvent()

AnalysisEvent(AnalysisEvent)

public AnalysisEvent(AnalysisEvent other)
Parameter
Name Description
other AnalysisEvent

Properties

Code

public string Code { get; set; }

Generated code.

Property Value
Type Description
string

CoderInstruction

public string CoderInstruction { get; set; }

Instructions issued for code generation.

Property Value
Type Description
string

Error

public string Error { get; set; }

A generic error message.

Property Value
Type Description
string

ExecutionError

public string ExecutionError { get; set; }

An error from code execution.

Property Value
Type Description
string

ExecutionOutput

public string ExecutionOutput { get; set; }

Output from code execution.

Property Value
Type Description
string

HasCode

public bool HasCode { get; }

Gets whether the "code" field is set

Property Value
Type Description
bool

HasCoderInstruction

public bool HasCoderInstruction { get; }

Gets whether the "coder_instruction" field is set

Property Value
Type Description
bool

HasError

public bool HasError { get; }

Gets whether the "error" field is set

Property Value
Type Description
bool

HasExecutionError

public bool HasExecutionError { get; }

Gets whether the "execution_error" field is set

Property Value
Type Description
bool

HasExecutionOutput

public bool HasExecutionOutput { get; }

Gets whether the "execution_output" field is set

Property Value
Type Description
bool

HasPlannerReasoning

public bool HasPlannerReasoning { get; }

Gets whether the "planner_reasoning" field is set

Property Value
Type Description
bool

HasResultCsvData

public bool HasResultCsvData { get; }

Gets whether the "result_csv_data" field is set

Property Value
Type Description
bool

HasResultNaturalLanguage

public bool HasResultNaturalLanguage { get; }

Gets whether the "result_natural_language" field is set

Property Value
Type Description
bool

HasResultReferenceData

public bool HasResultReferenceData { get; }

Gets whether the "result_reference_data" field is set

Property Value
Type Description
bool

HasResultVegaChartJson

public bool HasResultVegaChartJson { get; }

Gets whether the "result_vega_chart_json" field is set

Property Value
Type Description
bool

KindCase

public AnalysisEvent.KindOneofCase KindCase { get; }
Property Value
Type Description
AnalysisEventKindOneofCase

PlannerReasoning

public string PlannerReasoning { get; set; }

Python codegen planner's reasoning.

Property Value
Type Description
string

ResultCsvData

public string ResultCsvData { get; set; }

Result as CSV string.

Property Value
Type Description
string

ResultNaturalLanguage

public string ResultNaturalLanguage { get; set; }

Result as NL string.

Property Value
Type Description
string

ResultReferenceData

public string ResultReferenceData { get; set; }

Result as a reference to a data source.

Property Value
Type Description
string

ResultVegaChartJson

public string ResultVegaChartJson { get; set; }

Result as Vega chart JSON string.

Property Value
Type Description
string