Reference documentation and code samples for the Cloud Vision V1 Client class Result.
Information about a product.
Generated from protobuf message google.cloud.vision.v1.ProductSearchResults.Result
Namespace
Google \ Cloud \ Vision \ V1 \ ProductSearchResultsMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ product
↳ score
float
A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).
↳ image
string
The resource name of the image from the product that is the closest match to the query.
getProduct
The Product.
hasProduct
clearProduct
setProduct
The Product.
$this
getScore
A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).
float
setScore
A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).
var
float
$this
getImage
The resource name of the image from the product that is the closest match to the query.
string
setImage
The resource name of the image from the product that is the closest match to the query.
var
string
$this

