View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo (google_api_discovery_engine v0.27.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

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo{
    expandedQuery: boolean() | nil,
    pinnedResultCount: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.