View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchResponseQueryExpansionInfo (google_api_retail v0.10.0)

Information describing query expansion including whether expansion has occurred.

Attributes

  • expandedQuery (type: boolean(), default: nil) - Bool describing whether query expansion has occurred.
  • pinnedResultCount (type: String.t, default: nil) - Number of pinned results. This field will only be set when expansion happens and SearchRequest.QueryExpansionSpec.pin_unexpanded_results is set to true.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchResponseQueryExpansionInfo{
    expandedQuery: boolean() | nil,
    pinnedResultCount: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.