Google Cloud Dialogflow V2 Client - Class StreamingReactiveCompanionSuggestionsRequest (2.8.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class StreamingReactiveCompanionSuggestionsRequest.

The request message for Participants.StreamingReactiveCompanionSuggestions.

Generated from protobuf message google.cloud.dialogflow.v2.StreamingReactiveCompanionSuggestionsRequest

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ participant string

Required. The human-agent participant name. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

↳ text_input string

The natural language text to be processed.

↳ cancel_reactive_query CancelQuery

Signals to cancel the current ongoing reactive query processing.

↳ suggestion_input SuggestionInput

An input representing the selection of a suggestion.

getParticipant

Required. The human-agent participant name.

Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

Returns
Type Description
string

setParticipant

Required. The human-agent participant name.

Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

Parameter
Name Description
var string
Returns
Type Description
$this

getTextInput

The natural language text to be processed.

Returns
Type Description
string

hasTextInput

setTextInput

The natural language text to be processed.

Parameter
Name Description
var string
Returns
Type Description
$this

getCancelReactiveQuery

Signals to cancel the current ongoing reactive query processing.

Returns
Type Description
CancelQuery|null

hasCancelReactiveQuery

setCancelReactiveQuery

Signals to cancel the current ongoing reactive query processing.

Parameter
Name Description
var CancelQuery
Returns
Type Description
$this

getSuggestionInput

An input representing the selection of a suggestion.

Returns
Type Description
SuggestionInput|null

hasSuggestionInput

setSuggestionInput

An input representing the selection of a suggestion.

Parameter
Name Description
var SuggestionInput
Returns
Type Description
$this

getInput

Returns
Type Description
string