Google Cloud Recommendation Engine V1beta1 Client - Class Image (0.9.3)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Recommendation Engine V1beta1 Client class Image.
Catalog item thumbnail/detail image.
Generated from protobuf messagegoogle.cloud.recommendationengine.v1beta1.Image
Namespace
Google \ Cloud \ RecommendationEngine \ V1beta1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ uri
string
Required. URL of the image with a length limit of 5 KiB.
↳ height
int
Optional. Height of the image in number of pixels.
↳ width
int
Optional. Width of the image in number of pixels.
getUri
Required. URL of the image with a length limit of 5 KiB.
Returns
Type
Description
string
setUri
Required. URL of the image with a length limit of 5 KiB.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getHeight
Optional. Height of the image in number of pixels.
Returns
Type
Description
int
setHeight
Optional. Height of the image in number of pixels.
[[["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 2026-03-18 UTC."],[],[]]