proto_docs/google/cloud/dialogflow/v2/session.rb in google-cloud-dialogflow-v2-0.1.0 vs proto_docs/google/cloud/dialogflow/v2/session.rb in google-cloud-dialogflow-v2-0.2.0
- old
+ new
@@ -25,14 +25,18 @@
# Requests and responses for custom methods.
# The request to detect user's intent.
# @!attribute [rw] session
# @return [String]
# Required. The name of the session this query is sent to. Format:
- # `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
- # caller to choose an appropriate session ID. It can be a random number or
- # some type of user identifier (preferably hashed). The length of the session
- # ID must not exceed 36 bytes.
+ # `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.
# @!attribute [rw] query_params
# @return [Google::Cloud::Dialogflow::V2::QueryParameters]
# The parameters of this query.
# @!attribute [rw] query_input
# @return [Google::Cloud::Dialogflow::V2::QueryInput]
@@ -282,13 +286,17 @@
# After you sent all input, you must half-close or abort the request stream.
# @!attribute [rw] session
# @return [String]
# Required. The name of the session the query is sent to.
# Format of the session name:
- # `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
- # caller to choose an appropriate `Session ID`. It can be a random number or
- # some type of user identifier (preferably hashed). The length of the session
- # ID must not exceed 36 characters.
+ # `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.
# @!attribute [rw] query_params
# @return [Google::Cloud::Dialogflow::V2::QueryParameters]
# The parameters of this query.
# @!attribute [rw] query_input
# @return [Google::Cloud::Dialogflow::V2::QueryInput]