View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2Image (google_api_retail v0.3.0)

Product thumbnail/detail image.

Attributes

  • height (type: integer(), default: nil) - Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
  • uri (type: String.t, default: nil) - Required. URI of the image. This field must be a valid UTF-8 encoded URI with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property image_link. Schema.org property Product.image.
  • width (type: integer(), default: nil) - Width of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2Image{
  height: integer() | nil,
  uri: String.t() | nil,
  width: integer() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.