View Source GoogleApi.CustomSearch.V1.Model.PromotionImage (google_api_custom_search v0.22.0)

Image belonging to a promotion.

Attributes

  • height (type: integer(), default: nil) - Image height in pixels.
  • source (type: String.t, default: nil) - URL of the image for this promotion link.
  • width (type: integer(), default: nil) - Image width in pixels.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CustomSearch.V1.Model.PromotionImage{
  height: integer() | nil,
  source: String.t() | nil,
  width: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.