Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SuggestionInput.
Represents the selection of a suggestion.
Generated from protobuf message google.cloud.dialogflow.v2.SuggestionInput
Namespace
Google \ Cloud \ Dialogflow \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ answer_record
string
Required. The ID of a suggestion selected by the human agent. The suggestion(s) were generated in a previous call to request Dialogflow assist. The format is: projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID> where
getAnswerRecord
Required. The ID of a suggestion selected by the human agent.
The suggestion(s) were generated in a previous call to
request Dialogflow assist.
The format is:
projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record
ID> where
Returns
Type
Description
string
setAnswerRecord
Required. The ID of a suggestion selected by the human agent.
The suggestion(s) were generated in a previous call to
request Dialogflow assist.
The format is:
projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record
ID> where