Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::StreamingReactiveCompanionSuggestionsRequest (v1.18.0)

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

The request message for Participants.StreamingReactiveCompanionSuggestions.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cancel_reactive_query

def cancel_reactive_query() -> ::Google::Cloud::Dialogflow::V2::CancelQuery
Returns
  • (::Google::Cloud::Dialogflow::V2::CancelQuery) — Signals to cancel the current ongoing reactive query processing.

    Note: The following fields are mutually exclusive: cancel_reactive_query, text_input, suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.

#cancel_reactive_query=

def cancel_reactive_query=(value) -> ::Google::Cloud::Dialogflow::V2::CancelQuery
Parameter
  • value (::Google::Cloud::Dialogflow::V2::CancelQuery) — Signals to cancel the current ongoing reactive query processing.

    Note: The following fields are mutually exclusive: cancel_reactive_query, text_input, suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dialogflow::V2::CancelQuery) — Signals to cancel the current ongoing reactive query processing.

    Note: The following fields are mutually exclusive: cancel_reactive_query, text_input, suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.

#participant

def participant() -> ::String
Returns
  • (::String) — Required. The human-agent participant name. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

#participant=

def participant=(value) -> ::String
Parameter
  • value (::String) — Required. The human-agent participant name. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.
Returns
  • (::String) — Required. The human-agent participant name. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

#suggestion_input

def suggestion_input() -> ::Google::Cloud::Dialogflow::V2::SuggestionInput
Returns
  • (::Google::Cloud::Dialogflow::V2::SuggestionInput) — An input representing the selection of a suggestion.

    Note: The following fields are mutually exclusive: suggestion_input, text_input, cancel_reactive_query. If a field in that set is populated, all other fields in the set will automatically be cleared.

#suggestion_input=

def suggestion_input=(value) -> ::Google::Cloud::Dialogflow::V2::SuggestionInput
Parameter
  • value (::Google::Cloud::Dialogflow::V2::SuggestionInput) — An input representing the selection of a suggestion.

    Note: The following fields are mutually exclusive: suggestion_input, text_input, cancel_reactive_query. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dialogflow::V2::SuggestionInput) — An input representing the selection of a suggestion.

    Note: The following fields are mutually exclusive: suggestion_input, text_input, cancel_reactive_query. If a field in that set is populated, all other fields in the set will automatically be cleared.

#text_input

def text_input() -> ::String
Returns
  • (::String) — The natural language text to be processed.

    Note: The following fields are mutually exclusive: text_input, cancel_reactive_query, suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.

#text_input=

def text_input=(value) -> ::String
Parameter
  • value (::String) — The natural language text to be processed.

    Note: The following fields are mutually exclusive: text_input, cancel_reactive_query, suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — The natural language text to be processed.

    Note: The following fields are mutually exclusive: text_input, cancel_reactive_query, suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.