Class ProductSearchResults.Types.Result

public sealed class Result : IMessage<ProductSearchResults.Types.Result>, IEquatable<ProductSearchResults.Types.Result>, IDeepCloneable<ProductSearchResults.Types.Result>, IBufferMessage, IMessage

Information about a product.

Inheritance

Object > ProductSearchResults.Types.Result

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

Result()

public Result()

Result(ProductSearchResults.Types.Result)

public Result(ProductSearchResults.Types.Result other)
Parameter
TypeNameDescription
ProductSearchResults.Types.Resultother

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
TypeDescription
String

Product

public Product Product { get; set; }

The Product.

Property Value
TypeDescription
Product

Score

public float Score { get; set; }

A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).

Property Value
TypeDescription
Single