View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute (google_api_discovery_engine v0.27.0)

Useful attribute for search result refinements.

Attributes

  • attributeKey (type: String.t, default: nil) - Attribute key used to refine the results. For example, "movie_type".
  • attributeValue (type: String.t, default: nil) - Attribute value used to refine the results. For example, "drama".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute{
    attributeKey: String.t() | nil,
    attributeValue: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.