View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo (google_api_discovery_engine v0.7.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.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo{
    expandedQuery: boolean() | nil,
    pinnedResultCount: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.