Class ClarificationQuestion (0.13.1)

ClarificationQuestion(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Deprecated: Use TextMessage with TextType.FINAL_RESPONSE instead. Represents a single question to the user to help clarify their query.

Attributes

Name Description
question str
Required. Deprecated: The parent message is deprecated. The natural language question to ask the user.
selection_mode google.cloud.geminidataanalytics_v1beta.types.ClarificationQuestion.SelectionMode
Required. Deprecated: The parent message is deprecated. The selection mode for this question.
options MutableSequence[str]
Required. Deprecated: The parent message is deprecated. A list of distinct options for the user to choose from. The number of options is limited to a maximum of 5.
clarification_question_type google.cloud.geminidataanalytics_v1beta.types.ClarificationQuestion.ClarificationQuestionType
Optional. Deprecated: The parent message is deprecated. The type of clarification question.

Classes

ClarificationQuestionType

ClarificationQuestionType(value)

Deprecated: The parent message is deprecated. The type of clarification question. This enum may be extended with new values in the future.

SelectionMode

SelectionMode(value)

Deprecated: The parent message is deprecated. The selection mode for the clarification question.