Class: Google::Cloud::GeminiDataAnalytics::V1beta::AnalysisEvent

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb

Overview

An event indicating the progress of an analysis.

Instance Attribute Summary collapse

Instance Attribute Details

#code::String

Returns 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.

Returns:

  • (::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.



707
708
709
710
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 707

class AnalysisEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#coder_instruction::String

Returns 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.

Returns:

  • (::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.



707
708
709
710
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 707

class AnalysisEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#error::String

Returns 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.

Returns:

  • (::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.



707
708
709
710
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 707

class AnalysisEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#execution_error::String

Returns 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.

Returns:

  • (::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.



707
708
709
710
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 707

class AnalysisEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#execution_output::String

Returns 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.

Returns:

  • (::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.



707
708
709
710
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 707

class AnalysisEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#planner_reasoning::String

Returns 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.

Returns:

  • (::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.



707
708
709
710
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 707

class AnalysisEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#result_csv_data::String

Returns 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.

Returns:

  • (::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.



707
708
709
710
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 707

class AnalysisEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#result_natural_language::String

Returns 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.

Returns:

  • (::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.



707
708
709
710
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 707

class AnalysisEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#result_reference_data::String

Returns 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.

Returns:

  • (::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.



707
708
709
710
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 707

class AnalysisEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#result_vega_chart_json::String

Returns 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.

Returns:

  • (::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.



707
708
709
710
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 707

class AnalysisEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end