proto_docs/google/cloud/dialogflow/v2/session.rb in google-cloud-dialogflow-v2-0.3.0 vs proto_docs/google/cloud/dialogflow/v2/session.rb in google-cloud-dialogflow-v2-0.4.0
- old
+ new
@@ -19,11 +19,10 @@
module Google
module Cloud
module Dialogflow
module V2
- # 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>`, or
@@ -192,10 +191,24 @@
# @return [String]
# The action name from the matched intent.
# @!attribute [rw] parameters
# @return [Google::Protobuf::Struct]
# The collection of extracted parameters.
+ #
+ # Depending on your protocol or client library language, this is a
+ # map, associative array, symbol table, dictionary, or JSON object
+ # composed of a collection of (MapKey, MapValue) pairs:
+ #
+ # - MapKey type: string
+ # - MapKey value: parameter name
+ # - MapValue type:
+ # - If parameter's entity type is a composite entity: map
+ # - Else: string or number, depending on parameter value type
+ # - MapValue value:
+ # - If parameter's entity type is a composite entity:
+ # map from composite entity property names to property values
+ # - Else: parameter value
# @!attribute [rw] all_required_params_present
# @return [Boolean]
# This field is set to:
#
# - `false` if the matched intent has required parameters and not all of
@@ -497,9 +510,23 @@
# @return [String]
# Required. The unique identifier of the event.
# @!attribute [rw] parameters
# @return [Google::Protobuf::Struct]
# The collection of parameters associated with the event.
+ #
+ # Depending on your protocol or client library language, this is a
+ # map, associative array, symbol table, dictionary, or JSON object
+ # composed of a collection of (MapKey, MapValue) pairs:
+ #
+ # - MapKey type: string
+ # - MapKey value: parameter name
+ # - MapValue type:
+ # - If parameter's entity type is a composite entity: map
+ # - Else: string or number, depending on parameter value type
+ # - MapValue value:
+ # - If parameter's entity type is a composite entity:
+ # map from composite entity property names to property values
+ # - Else: parameter value
# @!attribute [rw] language_code
# @return [String]
# Required. The language of this query. See [Language
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
# for a list of the currently supported language codes. Note that queries in