Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentRequest::TurnInput.
Input that forms data for a single turn.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#event
def event() -> ::String-
(::String) — The input event name.
This can only be sent once and would cancel the ongoing speech
recognition if any. To trigger the Welcome intent use the
event "WELCOME"
Note: The following fields are mutually exclusive:
event,text,intent,suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.
#event=
def event=(value) -> ::String-
value (::String) — The input event name.
This can only be sent once and would cancel the ongoing speech
recognition if any. To trigger the Welcome intent use the
event "WELCOME"
Note: The following fields are mutually exclusive:
event,text,intent,suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — The input event name.
This can only be sent once and would cancel the ongoing speech
recognition if any. To trigger the Welcome intent use the
event "WELCOME"
Note: The following fields are mutually exclusive:
event,text,intent,suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.
#intent
def intent() -> ::String-
(::String) — The intent to be triggered on V3 agent.
Format:
projects/<Project ID>/locations/<Location ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>. This can only be used to trigger the Welcome intent id if the modality is text.Note: The following fields are mutually exclusive:
intent,text,event,suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.
#intent=
def intent=(value) -> ::String-
value (::String) — The intent to be triggered on V3 agent.
Format:
projects/<Project ID>/locations/<Location ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>. This can only be used to trigger the Welcome intent id if the modality is text.Note: The following fields are mutually exclusive:
intent,text,event,suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — The intent to be triggered on V3 agent.
Format:
projects/<Project ID>/locations/<Location ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>. This can only be used to trigger the Welcome intent id if the modality is text.Note: The following fields are mutually exclusive:
intent,text,event,suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.
#suggestion_input
def suggestion_input() -> ::Google::Cloud::Dialogflow::V2::SuggestionInput-
(::Google::Cloud::Dialogflow::V2::SuggestionInput) — Optional. Input for confirming, revising, or canceling a suggestion.
Note: The following fields are mutually exclusive:
suggestion_input,text,intent,event. 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-
value (::Google::Cloud::Dialogflow::V2::SuggestionInput) — Optional. Input for confirming, revising, or canceling a suggestion.
Note: The following fields are mutually exclusive:
suggestion_input,text,intent,event. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::V2::SuggestionInput) — Optional. Input for confirming, revising, or canceling a suggestion.
Note: The following fields are mutually exclusive:
suggestion_input,text,intent,event. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text
def text() -> ::String-
(::String) — The UTF-8 encoded natural language text to be processed.
Note: The following fields are mutually exclusive:
text,intent,event,suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text=
def text=(value) -> ::String-
value (::String) — The UTF-8 encoded natural language text to be processed.
Note: The following fields are mutually exclusive:
text,intent,event,suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — The UTF-8 encoded natural language text to be processed.
Note: The following fields are mutually exclusive:
text,intent,event,suggestion_input. If a field in that set is populated, all other fields in the set will automatically be cleared.
#virtual_agent_parameters
def virtual_agent_parameters() -> ::Google::Protobuf::Struct- (::Google::Protobuf::Struct) — Optional. Parameters to be passed to the virtual agent.
#virtual_agent_parameters=
def virtual_agent_parameters=(value) -> ::Google::Protobuf::Struct- value (::Google::Protobuf::Struct) — Optional. Parameters to be passed to the virtual agent.
- (::Google::Protobuf::Struct) — Optional. Parameters to be passed to the virtual agent.