GoogleCloudRetailV2alphaImageArgs

data class GoogleCloudRetailV2alphaImageArgs(val height: Output<Int>? = null, val uri: Output<String>, val width: Output<Int>? = null) : ConvertibleToJava<GoogleCloudRetailV2alphaImageArgs>

Product image. Recommendations AI and Retail Search do not use product images to improve prediction and search results. However, product images can be returned in results, and are shown in prediction or search previews in the console.

Constructors

Link copied to clipboard
fun GoogleCloudRetailV2alphaImageArgs(height: Output<Int>? = null, uri: Output<String>, width: Output<Int>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudRetailV2alphaImageArgs

Properties

Link copied to clipboard
val height: Output<Int>? = null

Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.

Link copied to clipboard
val uri: Output<String>

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.

Link copied to clipboard
val width: Output<Int>? = null

Width of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.