GoogleApi.CloudSearch.V1.Model.QueryInterpretation (google_api_cloud_search v0.9.0) 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

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.