Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest.
The request to detect user's intent.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#output_audio_config
def output_audio_config() -> ::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig
- (::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig) — Instructs the speech synthesizer how to generate the output audio.
#output_audio_config=
def output_audio_config=(value) -> ::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig
- value (::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig) — Instructs the speech synthesizer how to generate the output audio.
- (::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig) — Instructs the speech synthesizer how to generate the output audio.
#query_input
def query_input() -> ::Google::Cloud::Dialogflow::CX::V3::QueryInput
- (::Google::Cloud::Dialogflow::CX::V3::QueryInput) — Required. The input specification.
#query_input=
def query_input=(value) -> ::Google::Cloud::Dialogflow::CX::V3::QueryInput
- value (::Google::Cloud::Dialogflow::CX::V3::QueryInput) — Required. The input specification.
- (::Google::Cloud::Dialogflow::CX::V3::QueryInput) — Required. The input specification.
#query_params
def query_params() -> ::Google::Cloud::Dialogflow::CX::V3::QueryParameters
- (::Google::Cloud::Dialogflow::CX::V3::QueryParameters) — The parameters of this query.
#query_params=
def query_params=(value) -> ::Google::Cloud::Dialogflow::CX::V3::QueryParameters
- value (::Google::Cloud::Dialogflow::CX::V3::QueryParameters) — The parameters of this query.
- (::Google::Cloud::Dialogflow::CX::V3::QueryParameters) — The parameters of this query.
#session
def session() -> ::String
-
(::String) — Required. The name of the session this query is sent to.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<Session ID>
orprojects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriateSession ID
. It can be a random number or some type of session identifiers (preferably hashed). The length of theSession ID
must not exceed 36 characters.For more information, see the sessions guide.
Note: Always use agent versions for production traffic. See Versions and environments.
#session=
def session=(value) -> ::String
-
value (::String) — Required. The name of the session this query is sent to.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<Session ID>
orprojects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriateSession ID
. It can be a random number or some type of session identifiers (preferably hashed). The length of theSession ID
must not exceed 36 characters.For more information, see the sessions guide.
Note: Always use agent versions for production traffic. See Versions and environments.
-
(::String) — Required. The name of the session this query is sent to.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<Session ID>
orprojects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriateSession ID
. It can be a random number or some type of session identifiers (preferably hashed). The length of theSession ID
must not exceed 36 characters.For more information, see the sessions guide.
Note: Always use agent versions for production traffic. See Versions and environments.