View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion (google_api_discovery_engine v0.27.0)

Promotion proto includes uri and other helping information to display the promotion.

Attributes

  • description (type: String.t, default: nil) - Optional. The Promotion description. Maximum length: 200 characters.
  • enabled (type: boolean(), default: nil) - Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.
  • imageUri (type: String.t, default: nil) - Optional. The promotion thumbnail image url.
  • title (type: String.t, default: nil) - Required. The title of the promotion. Maximum length: 160 characters.
  • uri (type: String.t, default: nil) - Required. The URL for the page the user wants to promote.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion{
    description: String.t() | nil,
    enabled: boolean() | nil,
    imageUri: String.t() | nil,
    title: String.t() | nil,
    uri: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.