Class: Google::Cloud::Vision::V1p3beta1::ProductSearchResults::Result
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1p3beta1::ProductSearchResults::Result
- 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
-
#image ⇒ ::String
The resource name of the image from the product that is the closest match to the query.
-
#product ⇒ ::Google::Cloud::Vision::V1p3beta1::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.
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.
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).
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 |