# Cloud Vision V1p3beta1 API - Class Google::Cloud::Vision::V1p3beta1::ProductSearch::Rest::ServiceStub (v0.20.0)

0.20.0 (latest) 0.19.1 0.18.1 0.17.0 0.16.0 0.15.1 0.14.0 0.13.1 0.12.2 0.11.0 0.10.1 0.9.0 0.8.0 0.7.0 0.6.0 0.5.5 Reference documentation and code samples for the Cloud Vision V1p3beta1 API class Google::Cloud::Vision::V1p3beta1::ProductSearch::Rest::ServiceStub.

REST service stub for the ProductSearch service.
Service stub contains baseline method implementations
including transcoding, making the REST call, and deserialing the response.

## Inherits

- Object

## Methods

### #add_product_to_product_set

    def add_product_to_product_set(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the add_product_to_product_set REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::AddProductToProductSetRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-AddProductToProductSetRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Protobuf-Empty)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #create_product

    def create_product(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p3beta1::Product

Baseline implementation for the create_product REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::CreateProductRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-CreateProductRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Vision::V1p3beta1::Product](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-Product))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Vision::V1p3beta1::Product](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-Product)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #create_product_set

    def create_product_set(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p3beta1::ProductSet

Baseline implementation for the create_product_set REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::CreateProductSetRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-CreateProductSetRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Vision::V1p3beta1::ProductSet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ProductSet))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Vision::V1p3beta1::ProductSet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ProductSet)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #create_reference_image

    def create_reference_image(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p3beta1::ReferenceImage

Baseline implementation for the create_reference_image REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::CreateReferenceImageRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-CreateReferenceImageRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Vision::V1p3beta1::ReferenceImage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ReferenceImage))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Vision::V1p3beta1::ReferenceImage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ReferenceImage)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_product

    def delete_product(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_product REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::DeleteProductRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-DeleteProductRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Protobuf-Empty)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_product_set

    def delete_product_set(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_product_set REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::DeleteProductSetRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-DeleteProductSetRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Protobuf-Empty)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_reference_image

    def delete_reference_image(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_reference_image REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::DeleteReferenceImageRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-DeleteReferenceImageRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Protobuf-Empty)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #endpoint

    def endpoint() -> String

The effective endpoint
**Returns**

- (String)

### #get_product

    def get_product(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p3beta1::Product

Baseline implementation for the get_product REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::GetProductRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-GetProductRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Vision::V1p3beta1::Product](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-Product))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Vision::V1p3beta1::Product](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-Product)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_product_set

    def get_product_set(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p3beta1::ProductSet

Baseline implementation for the get_product_set REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::GetProductSetRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-GetProductSetRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Vision::V1p3beta1::ProductSet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ProductSet))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Vision::V1p3beta1::ProductSet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ProductSet)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_reference_image

    def get_reference_image(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p3beta1::ReferenceImage

Baseline implementation for the get_reference_image REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::GetReferenceImageRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-GetReferenceImageRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Vision::V1p3beta1::ReferenceImage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ReferenceImage))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Vision::V1p3beta1::ReferenceImage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ReferenceImage)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #import_product_sets

    def import_product_sets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the import_product_sets REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::ImportProductSetsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ImportProductSetsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_product_sets

    def list_product_sets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p3beta1::ListProductSetsResponse

Baseline implementation for the list_product_sets REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::ListProductSetsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ListProductSetsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Vision::V1p3beta1::ListProductSetsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ListProductSetsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Vision::V1p3beta1::ListProductSetsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ListProductSetsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_products

    def list_products(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p3beta1::ListProductsResponse

Baseline implementation for the list_products REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::ListProductsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ListProductsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Vision::V1p3beta1::ListProductsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ListProductsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Vision::V1p3beta1::ListProductsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ListProductsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_products_in_product_set

    def list_products_in_product_set(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p3beta1::ListProductsInProductSetResponse

Baseline implementation for the list_products_in_product_set REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::ListProductsInProductSetRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ListProductsInProductSetRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Vision::V1p3beta1::ListProductsInProductSetResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ListProductsInProductSetResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Vision::V1p3beta1::ListProductsInProductSetResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ListProductsInProductSetResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_reference_images

    def list_reference_images(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p3beta1::ListReferenceImagesResponse

Baseline implementation for the list_reference_images REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::ListReferenceImagesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ListReferenceImagesRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Vision::V1p3beta1::ListReferenceImagesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ListReferenceImagesResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Vision::V1p3beta1::ListReferenceImagesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ListReferenceImagesResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #logger

    def logger(stub: false) -> Logger

The logger used for request/response debug logging.
**Returns**

- (Logger)

### #remove_product_from_product_set

    def remove_product_from_product_set(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the remove_product_from_product_set REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::RemoveProductFromProductSetRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-RemoveProductFromProductSetRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Protobuf-Empty)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #universe_domain

    def universe_domain() -> String

The effective universe domain
**Returns**

- (String)

### #update_product

    def update_product(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p3beta1::Product

Baseline implementation for the update_product REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::UpdateProductRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-UpdateProductRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Vision::V1p3beta1::Product](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-Product))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Vision::V1p3beta1::Product](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-Product)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #update_product_set

    def update_product_set(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Vision::V1p3beta1::ProductSet

Baseline implementation for the update_product_set REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Vision::V1p3beta1::UpdateProductSetRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-UpdateProductSetRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Vision::V1p3beta1::ProductSet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ProductSet))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Vision::V1p3beta1::ProductSet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1p3beta1/latest/Google-Cloud-Vision-V1p3beta1-ProductSet)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)