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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/doc/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 Optional. The collection of contexts to be activated before this query is executed.

Returns:



88
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 88

class QueryParameters; end

#geo_locationGoogle::Type::LatLng

Returns Optional. The geo location of this conversational query.

Returns:



88
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 88

class QueryParameters; end

#payloadGoogle::Protobuf::Struct

Returns Optional. 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)

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



88
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 88

class QueryParameters; end

#reset_contextstrue, false

Returns Optional. Specifies whether to delete all contexts in the current session before the new ones are activated.

Returns:

  • (true, false)

    Optional. Specifies whether to delete all contexts in the current session before the new ones are activated.



88
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 88

class QueryParameters; end

#session_entity_typesArray<Google::Cloud::Dialogflow::V2::SessionEntityType>

Returns Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.

Returns:



88
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 88

class QueryParameters; end

#time_zoneString

Returns Optional. 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)

    Optional. 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.



88
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 88

class QueryParameters; end