View Source GoogleApi.RecommendationEngine.V1beta1.Model.GoogleCloudRecommendationengineV1beta1Image (google_api_recommendation_engine v0.4.6)

Catalog item thumbnail/detail image.

Attributes

  • height (type: integer(), default: nil) - Optional. Height of the image in number of pixels.
  • uri (type: String.t, default: nil) - Required. URL of the image with a length limit of 5 KiB.
  • width (type: integer(), default: nil) - Optional. Width of the image in number of pixels.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.RecommendationEngine.V1beta1.Model.GoogleCloudRecommendationengineV1beta1Image{
    height: integer() | nil,
    uri: String.t() | nil,
    width: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.