Method: Google::Cloud::Dialogflow::V2::StreamingDetectIntentRequest#session
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/session.rb
#session ⇒ ::String
Returns Required. The name of the session the query is sent to.
Format of the session name:
projects/<Project ID>/agent/sessions/<Session ID>, or
projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>. If Environment ID is not specified, we assume
default 'draft' environment. If User ID is not specified, we are using
"-". It's up to the API caller to choose an appropriate Session ID and
User Id. They can be a random number or some type of user and session
identifiers (preferably hashed). The length of the Session ID and
User ID must not exceed 36 characters.
For more information, see the API interactions guide.
Note: Always use agent versions for production traffic. See Versions and environments.
395 396 397 398 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 395 class StreamingDetectIntentRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |