Reference documentation and code samples for the Cloud Vision V1p3beta1 API class Google::Cloud::Vision::V1p3beta1::ProductSearchResults::ProductInfo.
Information about a product.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#image_uri
def image_uri() -> ::String
-
(::String) — The URI of the image which matched the query image.
This field is returned only if
view
is set toFULL
in the request.
#image_uri=
def image_uri=(value) -> ::String
-
value (::String) — The URI of the image which matched the query image.
This field is returned only if
view
is set toFULL
in the request.
-
(::String) — The URI of the image which matched the query image.
This field is returned only if
view
is set toFULL
in the request.
#product_id
def product_id() -> ::String
- (::String) — Product ID.
#product_id=
def product_id=(value) -> ::String
- value (::String) — Product ID.
- (::String) — Product ID.
#score
def score() -> ::Float
-
(::Float) — A confidence level on the match, ranging from 0 (no confidence) to
1 (full confidence).
This field is returned only if
view
is set toFULL
in the request.
#score=
def score=(value) -> ::Float
-
value (::Float) — A confidence level on the match, ranging from 0 (no confidence) to
1 (full confidence).
This field is returned only if
view
is set toFULL
in the request.
-
(::Float) — A confidence level on the match, ranging from 0 (no confidence) to
1 (full confidence).
This field is returned only if
view
is set toFULL
in the request.