# Cloud Vision V1p4beta1 API - Class Google::Cloud::Vision::V1p4beta1::ProductSearchResults::GroupedResult (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::GroupedResult.

Information about the products similar to a single product in a query
image.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #bounding_poly

    def bounding_poly() -> ::Google::Cloud::Vision::V1p4beta1::BoundingPoly

**Returns**

- ([::Google::Cloud::Vision::V1p4beta1::BoundingPoly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p4beta1/latest/Google-Cloud-Vision-V1p4beta1-BoundingPoly)) --- The bounding polygon around the product detected in the query image.

### #bounding_poly=

    def bounding_poly=(value) -> ::Google::Cloud::Vision::V1p4beta1::BoundingPoly

**Parameter**

- **value** ([::Google::Cloud::Vision::V1p4beta1::BoundingPoly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p4beta1/latest/Google-Cloud-Vision-V1p4beta1-BoundingPoly)) --- The bounding polygon around the product detected in the query image.
**Returns**

- ([::Google::Cloud::Vision::V1p4beta1::BoundingPoly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p4beta1/latest/Google-Cloud-Vision-V1p4beta1-BoundingPoly)) --- The bounding polygon around the product detected in the query image.

### #object_annotations

    def object_annotations() -> ::Array<::Google::Cloud::Vision::V1p4beta1::ProductSearchResults::ObjectAnnotation>

**Returns**

- (::Array\<[::Google::Cloud::Vision::V1p4beta1::ProductSearchResults::ObjectAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p4beta1/latest/Google-Cloud-Vision-V1p4beta1-ProductSearchResults-ObjectAnnotation)\>) --- List of generic predictions for the object in the bounding box.

### #object_annotations=

    def object_annotations=(value) -> ::Array<::Google::Cloud::Vision::V1p4beta1::ProductSearchResults::ObjectAnnotation>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Vision::V1p4beta1::ProductSearchResults::ObjectAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p4beta1/latest/Google-Cloud-Vision-V1p4beta1-ProductSearchResults-ObjectAnnotation)\>) --- List of generic predictions for the object in the bounding box.
**Returns**

- (::Array\<[::Google::Cloud::Vision::V1p4beta1::ProductSearchResults::ObjectAnnotation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p4beta1/latest/Google-Cloud-Vision-V1p4beta1-ProductSearchResults-ObjectAnnotation)\>) --- List of generic predictions for the object in the bounding box.

### #results

    def results() -> ::Array<::Google::Cloud::Vision::V1p4beta1::ProductSearchResults::Result>

**Returns**

- (::Array\<[::Google::Cloud::Vision::V1p4beta1::ProductSearchResults::Result](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p4beta1/latest/Google-Cloud-Vision-V1p4beta1-ProductSearchResults-Result)\>) --- List of results, one for each product match.

### #results=

    def results=(value) -> ::Array<::Google::Cloud::Vision::V1p4beta1::ProductSearchResults::Result>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Vision::V1p4beta1::ProductSearchResults::Result](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p4beta1/latest/Google-Cloud-Vision-V1p4beta1-ProductSearchResults-Result)\>) --- List of results, one for each product match.
**Returns**

- (::Array\<[::Google::Cloud::Vision::V1p4beta1::ProductSearchResults::Result](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p4beta1/latest/Google-Cloud-Vision-V1p4beta1-ProductSearchResults-Result)\>) --- List of results, one for each product match.