Class: Google::Cloud::Vision::V1::ProductSearchResults::Result

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1/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.



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

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

#product::Google::Cloud::Vision::V1::Product

Returns The Product.

Returns:



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

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



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

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