public sealed class Image : IMessage<Image>, IEquatable<Image>, IDeepCloneable<Image>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class Image.
[Product][google.cloud.retail.v2.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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-12 UTC."],[[["This document provides reference documentation for the `Image` class within the Google Cloud Retail v2 API, with version 2.12.0 being the most recent."],["The `Image` class represents an image related to a product, containing properties for `Height`, `Uri`, and `Width`, all of which must meet certain validation criteria, such as being non-negative for `Height` and `Width` and the `Uri` needs to be under a character limit."],["Although product images are not used to enhance prediction and search performance within Recommendations AI and Retail Search, they can be included in results and displayed in console previews."],["The `Image` class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and also inherits members from the base `object` class, allowing for common functionalities such as `GetHashCode`, `GetType`, and `ToString`."],["The class offers two constructors: a parameterless one (`Image()`) and one that takes another `Image` object as a parameter to be copied from (`Image(Image other)`)."]]],[]]