Cloud Vision V1 API - Class Google::Cloud::Vision::V1::ProductSearchResults (v0.11.1)

Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::ProductSearchResults.

Results for a product search request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#index_time

def index_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.

#index_time=

def index_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
Returns
  • (::Google::Protobuf::Timestamp) — Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.

#product_grouped_results

def product_grouped_results() -> ::Array<::Google::Cloud::Vision::V1::ProductSearchResults::GroupedResult>
Returns
  • (::Array<::Google::Cloud::Vision::V1::ProductSearchResults::GroupedResult>) — List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.

#product_grouped_results=

def product_grouped_results=(value) -> ::Array<::Google::Cloud::Vision::V1::ProductSearchResults::GroupedResult>
Parameter
  • value (::Array<::Google::Cloud::Vision::V1::ProductSearchResults::GroupedResult>) — List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
Returns
  • (::Array<::Google::Cloud::Vision::V1::ProductSearchResults::GroupedResult>) — List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.

#results

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

#results=

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