Class: Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/session.rb

Overview

The request to detect user's intent.

Instance Attribute Summary collapse

Instance Attribute Details

#output_audio_config::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig

Returns Instructs the speech synthesizer how to generate the output audio.

Returns:



119
120
121
122
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 119

class DetectIntentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#query_input::Google::Cloud::Dialogflow::CX::V3::QueryInput

Returns Required. The input specification.

Returns:



119
120
121
122
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 119

class DetectIntentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#query_params::Google::Cloud::Dialogflow::CX::V3::QueryParameters

Returns The parameters of this query.

Returns:



119
120
121
122
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 119

class DetectIntentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#session::String

Returns Required. The name of the session this query is sent to. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<Session ID> or projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>. If Environment ID is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session 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.

Returns:

  • (::String)

    Required. The name of the session this query is sent to. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<Session ID> or projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>. If Environment ID is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session 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.



119
120
121
122
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 119

class DetectIntentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end