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

#contextsArray<Google::Cloud::Dialogflow::V2::Context>

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

Returns:



133
134
135
136
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 133

class QueryParameters
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end

#geo_locationGoogle::Type::LatLng

Returns The geo location of this conversational query.

Returns:



133
134
135
136
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 133

class QueryParameters
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end

#payloadGoogle::Protobuf::Struct

Returns This field can be used to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.

Returns:

  • (Google::Protobuf::Struct)

    This field can be used to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.



133
134
135
136
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 133

class QueryParameters
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end

#reset_contextsBoolean

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.



133
134
135
136
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 133

class QueryParameters
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end

#sentiment_analysis_request_configGoogle::Cloud::Dialogflow::V2::SentimentAnalysisRequestConfig

Returns Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed.

Returns:



133
134
135
136
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 133

class QueryParameters
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end

#session_entity_typesArray<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:



133
134
135
136
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 133

class QueryParameters
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end

#time_zoneString

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.



133
134
135
136
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 133

class QueryParameters
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end