View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2RuleDoNotAssociateAction (google_api_retail v0.13.2)

Prevents query_term from being associated with specified terms during search. Example: Don't associate "gShoe" and "cheap".

Attributes

  • doNotAssociateTerms (type: list(String.t), default: nil) - Cannot contain duplicates or the query term. Can specify up to 100 terms.
  • queryTerms (type: list(String.t), default: nil) - Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.
  • terms (type: list(String.t), default: nil) - Will be [deprecated = true] post migration;

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2RuleDoNotAssociateAction{
  doNotAssociateTerms: [String.t()] | nil,
  queryTerms: [String.t()] | nil,
  terms: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.