pub struct GoogleCloudRetailV2Image {
pub height: Option<i32>,
pub uri: Option<String>,
pub width: Option<i32>,
}Expand description
Product image. Recommendations AI and Retail Search use product images to improve prediction and search results. Product images can be returned in results, and are shown in prediction or search previews in the console. Please try to provide correct product images and avoid using images with size too small.
This type is not used in any activity, and only used as part of another schema.
Fields§
§height: Option<i32>Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
uri: Option<String>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: Option<i32>Width of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
Trait Implementations§
Source§impl Clone for GoogleCloudRetailV2Image
impl Clone for GoogleCloudRetailV2Image
Source§fn clone(&self) -> GoogleCloudRetailV2Image
fn clone(&self) -> GoogleCloudRetailV2Image
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more