Class: Google::Cloud::Vision::V1::ProductSearchResults::Result
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1::ProductSearchResults::Result
- 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
-
#image ⇒ ::String
The resource name of the image from the product that is the closest match to the query.
-
#product ⇒ ::Google::Cloud::Vision::V1::Product
The Product.
-
#score ⇒ ::Float
A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).
Instance Attribute Details
#image ⇒ ::String
Returns 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.
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).
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 |