Class: Google::Cloud::Vision::V1p3beta1::ProductSearchResults::Result

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1p3beta1/product_search.rb

Overview

Information about a product.

Instance Attribute Summary collapse

Instance Attribute Details

#image::String

Returns 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.



90
91
92
93
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search.rb', line 90

class Result
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#product::Google::Cloud::Vision::V1p3beta1::Product

Returns The Product.

Returns:



90
91
92
93
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search.rb', line 90

class Result
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#score::Float

Returns 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).



90
91
92
93
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search.rb', line 90

class Result
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end