Class: Google::Cloud::Dialogflow::V2::QueryParameters
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::QueryParameters
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/session.rb
Overview
Represents the parameters of the conversational query.
Instance Attribute Summary collapse
-
#contexts ⇒ ::Array<::Google::Cloud::Dialogflow::V2::Context>
The collection of contexts to be activated before this query is executed.
-
#geo_location ⇒ ::Google::Type::LatLng
The geo location of this conversational query.
-
#payload ⇒ ::Google::Protobuf::Struct
This field can be used to pass custom data to your webhook.
-
#reset_contexts ⇒ ::Boolean
Specifies whether to delete all contexts in the current session before the new ones are activated.
-
#sentiment_analysis_request_config ⇒ ::Google::Cloud::Dialogflow::V2::SentimentAnalysisRequestConfig
Configures the type of sentiment analysis to perform.
-
#session_entity_types ⇒ ::Array<::Google::Cloud::Dialogflow::V2::SessionEntityType>
Additional session entity types to replace or extend developer entity types with.
-
#time_zone ⇒ ::String
The time zone of this conversational query from the time zone database, e.g., America/New_York, Europe/Paris.
Instance Attribute Details
#contexts ⇒ ::Array<::Google::Cloud::Dialogflow::V2::Context>
Returns The collection of contexts to be activated before this query is executed.
138 139 140 141 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 138 class QueryParameters include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#geo_location ⇒ ::Google::Type::LatLng
Returns The geo location of this conversational query.
138 139 140 141 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 138 class QueryParameters include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#payload ⇒ ::Google::Protobuf::Struct
Returns This field can be used to pass custom data to your webhook.
Arbitrary JSON objects are supported.
If supplied, the value is used to populate the
WebhookRequest.original_detect_intent_request.payload
field sent to your webhook.
138 139 140 141 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 138 class QueryParameters include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#reset_contexts ⇒ ::Boolean
Returns Specifies whether to delete all contexts in the current session before the new ones are activated.
138 139 140 141 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 138 class QueryParameters include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#sentiment_analysis_request_config ⇒ ::Google::Cloud::Dialogflow::V2::SentimentAnalysisRequestConfig
Returns Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed.
138 139 140 141 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 138 class QueryParameters include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#session_entity_types ⇒ ::Array<::Google::Cloud::Dialogflow::V2::SessionEntityType>
Returns Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session of this query.
138 139 140 141 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 138 class QueryParameters include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#time_zone ⇒ ::String
Returns The time zone of this conversational query from the time zone database, e.g., America/New_York, Europe/Paris. If not provided, the time zone specified in agent settings is used.
138 139 140 141 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 138 class QueryParameters include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |