Data Analytics API with Gemini v1beta API - Class QueryDataResponse (1.0.0-beta05)

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

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

Response containing the generated query and related information.

Inheritance

object > QueryDataResponse

Namespace

Google.Cloud.GeminiDataAnalytics.V1Beta

Assembly

Google.Cloud.GeminiDataAnalytics.V1Beta.dll

Constructors

QueryDataResponse()

public QueryDataResponse()

QueryDataResponse(QueryDataResponse)

public QueryDataResponse(QueryDataResponse other)
Parameter
Name Description
other QueryDataResponse

Properties

DisambiguationQuestion

public RepeatedField<string> DisambiguationQuestion { get; }

If ambiguity was detected in the natural language query and options.generate_disambiguation_question was true, this field contains a question to the user for clarification. The returned represents the service's best effort based on the ambiguous input.

Property Value
Type Description
RepeatedFieldstring

GeneratedQuery

public string GeneratedQuery { get; set; }

Generated query for the given user prompt.

Property Value
Type Description
string

IntentExplanation

public string IntentExplanation { get; set; }

A natural language explanation of the generated query. Populated if options.generate_explanation was true in the request.

Property Value
Type Description
string

NaturalLanguageAnswer

public string NaturalLanguageAnswer { get; set; }

A natural language answer to the query, based on the query_result. Populated if options.generate_natural_language_answer was true in the request and query execution was successful based in the response from executeSql API.

Property Value
Type Description
string

QueryResult

public ExecutedQueryResult QueryResult { get; set; }

The result of executing the query. Populated if options.generate_query_result or options.generate_natural_language_answer was true in the request, and execution was successful or attempted.

Property Value
Type Description
ExecutedQueryResult