[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Data Analytics API with Gemini v1beta API - Class AnalysisEvent (1.0.0-beta01)\n\n public sealed class AnalysisEvent : IMessage\u003cAnalysisEvent\u003e, IEquatable\u003cAnalysisEvent\u003e, IDeepCloneable\u003cAnalysisEvent\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Data Analytics API with Gemini v1beta API class AnalysisEvent.\n\nAn event indicating the progress of an analysis. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AnalysisEvent \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AnalysisEvent](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.AnalysisEvent), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AnalysisEvent](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.AnalysisEvent), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AnalysisEvent](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.AnalysisEvent), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.GeminiDataAnalytics.V1Beta](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.GeminiDataAnalytics.V1Beta.dll\n\nConstructors\n------------\n\n### AnalysisEvent()\n\n public AnalysisEvent()\n\n### AnalysisEvent(AnalysisEvent)\n\n public AnalysisEvent(AnalysisEvent other)\n\nProperties\n----------\n\n### Code\n\n public string Code { get; set; }\n\nGenerated code.\n\n### CoderInstruction\n\n public string CoderInstruction { get; set; }\n\nInstructions issued for code generation.\n\n### Error\n\n public string Error { get; set; }\n\nA generic error message.\n\n### ExecutionError\n\n public string ExecutionError { get; set; }\n\nAn error from code execution.\n\n### ExecutionOutput\n\n public string ExecutionOutput { get; set; }\n\nOutput from code execution.\n\n### HasCode\n\n public bool HasCode { get; }\n\nGets whether the \"code\" field is set\n\n### HasCoderInstruction\n\n public bool HasCoderInstruction { get; }\n\nGets whether the \"coder_instruction\" field is set\n\n### HasError\n\n public bool HasError { get; }\n\nGets whether the \"error\" field is set\n\n### HasExecutionError\n\n public bool HasExecutionError { get; }\n\nGets whether the \"execution_error\" field is set\n\n### HasExecutionOutput\n\n public bool HasExecutionOutput { get; }\n\nGets whether the \"execution_output\" field is set\n\n### HasPlannerReasoning\n\n public bool HasPlannerReasoning { get; }\n\nGets whether the \"planner_reasoning\" field is set\n\n### HasResultCsvData\n\n public bool HasResultCsvData { get; }\n\nGets whether the \"result_csv_data\" field is set\n\n### HasResultNaturalLanguage\n\n public bool HasResultNaturalLanguage { get; }\n\nGets whether the \"result_natural_language\" field is set\n\n### HasResultReferenceData\n\n public bool HasResultReferenceData { get; }\n\nGets whether the \"result_reference_data\" field is set\n\n### HasResultVegaChartJson\n\n public bool HasResultVegaChartJson { get; }\n\nGets whether the \"result_vega_chart_json\" field is set\n\n### KindCase\n\n public AnalysisEvent.KindOneofCase KindCase { get; }\n\n### PlannerReasoning\n\n public string PlannerReasoning { get; set; }\n\nPython codegen planner's reasoning.\n\n### ResultCsvData\n\n public string ResultCsvData { get; set; }\n\nResult as CSV string.\n\n### ResultNaturalLanguage\n\n public string ResultNaturalLanguage { get; set; }\n\nResult as NL string.\n\n### ResultReferenceData\n\n public string ResultReferenceData { get; set; }\n\nResult as a reference to a data source.\n\n### ResultVegaChartJson\n\n public string ResultVegaChartJson { get; set; }\n\nResult as Vega chart JSON string."]]