Cloud Vision V1p3beta1 API - Class Google::Cloud::Vision::V1p3beta1::ProductSearchResults (v0.5.5)

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

Results for a product search request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#category

def category() -> ::Google::Cloud::Vision::V1p3beta1::ProductSearchCategory
Returns

#category=

def category=(value) -> ::Google::Cloud::Vision::V1p3beta1::ProductSearchCategory
Parameter
Returns

#index_time

def index_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Timestamp of the index which provided these results. Changes made 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. Changes made after this time are not reflected in the current results.
Returns
  • (::Google::Protobuf::Timestamp) — Timestamp of the index which provided these results. Changes made after this time are not reflected in the current results.

#product_category

def product_category() -> ::String
Returns
  • (::String) — Product category. Supported values are bag and shoe. [Deprecated] product_category is provided in each Product.

#product_category=

def product_category=(value) -> ::String
Parameter
  • value (::String) — Product category. Supported values are bag and shoe. [Deprecated] product_category is provided in each Product.
Returns
  • (::String) — Product category. Supported values are bag and shoe. [Deprecated] product_category is provided in each Product.

#products

def products() -> ::Array<::Google::Cloud::Vision::V1p3beta1::ProductSearchResults::ProductInfo>
Returns

#products=

def products=(value) -> ::Array<::Google::Cloud::Vision::V1p3beta1::ProductSearchResults::ProductInfo>
Parameter
Returns

#results

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

#results=

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