Data Analytics API with Gemini v1beta API - Class ClarificationQuestion (1.0.0-beta08)

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

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

Represents a single question to the user to help clarify their query.

Inheritance

object > ClarificationQuestion

Namespace

Google.Cloud.GeminiDataAnalytics.V1Beta

Assembly

Google.Cloud.GeminiDataAnalytics.V1Beta.dll

Constructors

ClarificationQuestion()

public ClarificationQuestion()

ClarificationQuestion(ClarificationQuestion)

public ClarificationQuestion(ClarificationQuestion other)
Parameter
Name Description
other ClarificationQuestion

Properties

ClarificationQuestionType

public ClarificationQuestion.Types.ClarificationQuestionType ClarificationQuestionType { get; set; }

Optional. The type of clarification question.

Property Value
Type Description
ClarificationQuestionTypesClarificationQuestionType

Options

public RepeatedField<string> Options { get; }

Required. A list of distinct options for the user to choose from. The number of options is limited to a maximum of 5.

Property Value
Type Description
RepeatedFieldstring

Question

public string Question { get; set; }

Required. The natural language question to ask the user.

Property Value
Type Description
string

SelectionMode

public ClarificationQuestion.Types.SelectionMode SelectionMode { get; set; }

Required. The selection mode for this question.

Property Value
Type Description
ClarificationQuestionTypesSelectionMode