View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2PinControlMetadata (google_api_retail v0.19.1)

Metadata for pinning to be returned in the response. This is used for distinguishing between applied vs dropped pins.

Attributes

  • allMatchedPins (type: %{optional(String.t) => GoogleApi.Retail.V2.Model.GoogleCloudRetailV2PinControlMetadataProductPins.t}, default: nil) - Map of all matched pins, keyed by pin position.
  • droppedPins (type: %{optional(String.t) => GoogleApi.Retail.V2.Model.GoogleCloudRetailV2PinControlMetadataProductPins.t}, default: nil) - Map of pins that were dropped due to overlap with other matching pins, keyed by pin position.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2PinControlMetadata{
  allMatchedPins:
    %{
      optional(String.t()) =>
        GoogleApi.Retail.V2.Model.GoogleCloudRetailV2PinControlMetadataProductPins.t()
    }
    | nil,
  droppedPins:
    %{
      optional(String.t()) =>
        GoogleApi.Retail.V2.Model.GoogleCloudRetailV2PinControlMetadataProductPins.t()
    }
    | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.