# Cloud Vision V1p4beta1 API - Class Google::Cloud::Vision::V1p4beta1::ProductSearchResults::Result (v0.16.0)

0.16.0 (latest) 0.15.1 0.14.1 0.13.0 0.12.1 0.11.1 0.10.0 0.9.0 0.8.1 0.7.2 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Cloud Vision V1p4beta1 API class Google::Cloud::Vision::V1p4beta1::ProductSearchResults::Result.

Information about a product.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #image

    def image() -> ::String

**Returns**

- (::String) --- The resource name of the image from the product that is the closest match to the query.

### #image=

    def image=(value) -> ::String

**Parameter**

- **value** (::String) --- The resource name of the image from the product that is the closest match to the query.
**Returns**

- (::String) --- The resource name of the image from the product that is the closest match to the query.

### #product

    def product() -> ::Google::Cloud::Vision::V1p4beta1::Product

**Returns**

- ([::Google::Cloud::Vision::V1p4beta1::Product](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p4beta1/latest/Google-Cloud-Vision-V1p4beta1-Product)) --- The Product.

### #product=

    def product=(value) -> ::Google::Cloud::Vision::V1p4beta1::Product

**Parameter**

- **value** ([::Google::Cloud::Vision::V1p4beta1::Product](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p4beta1/latest/Google-Cloud-Vision-V1p4beta1-Product)) --- The Product.
**Returns**

- ([::Google::Cloud::Vision::V1p4beta1::Product](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p4beta1/latest/Google-Cloud-Vision-V1p4beta1-Product)) --- The Product.

### #score

    def score() -> ::Float

**Returns**

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

### #score=

    def score=(value) -> ::Float

**Parameter**

- **value** (::Float) --- A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).
**Returns**

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