Class: Google::Cloud::Dialogflow::V2::QueryParameters

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#contexts::Array<::Google::Cloud::Dialogflow::V2::Context>

Returns The collection of contexts to be activated before this query is executed.

Returns:



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.

Returns:



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.

Returns:

  • (::Google::Protobuf::Struct)

    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.

Returns:

  • (::Boolean)

    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.

Returns:



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.

Returns:



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.

Returns:

  • (::String)

    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