public sealed class ProductSearchResults.Types.Result : IMessage<ProductSearchResults.Types.Result>, IEquatable<ProductSearchResults.Types.Result>, IDeepCloneable<ProductSearchResults.Types.Result>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class ProductSearchResults.Types.Result.
Information about a product.
Implements
IMessageProductSearchResultsTypesResult, IEquatableProductSearchResultsTypesResult, IDeepCloneableProductSearchResultsTypesResult, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
Result()
public Result()
Result(Result)
public Result(ProductSearchResults.Types.Result other)
Parameter | |
---|---|
Name | Description |
other | ProductSearchResultsTypesResult |
Properties
Image
public string Image { get; set; }
The resource name of the image from the product that is the closest match to the query.
Property Value | |
---|---|
Type | Description |
string |
Product
public Product Product { get; set; }
The Product.
Property Value | |
---|---|
Type | Description |
Product |
Score
public float Score { get; set; }
A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).
Property Value | |
---|---|
Type | Description |
float |