google_api_cloud_search v0.6.0 GoogleApi.CloudSearch.V1.Model.QueryInterpretation View Source

Attributes

  • interpretationType (type: String.t, default: nil) -
  • interpretedQuery (type: String.t, default: nil) - The interpretation of the query used in search. For example, queries with natural language intent like "email from john" will be interpreted as "from:john source:mail". This field will not be filled when the reason is NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY.
  • reason (type: String.t, default: nil) - The reason for interpretation of the query. This field will not be UNSPECIFIED if the interpretation type is not NONE.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.CloudSearch.V1.Model.QueryInterpretation{
  interpretationType: String.t(),
  interpretedQuery: String.t(),
  reason: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.