Class: Google::Cloud::Vision::V1p3beta1::CreateReferenceImageRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1p3beta1::CreateReferenceImageRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb
Overview
Request message for the CreateReferenceImage
method.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#reference_image ⇒ ::Google::Cloud::Vision::V1p3beta1::ReferenceImage
Required.
-
#reference_image_id ⇒ ::String
A user-supplied resource id for the ReferenceImage to be added.
Instance Attribute Details
#parent ⇒ ::String
Returns Required. Resource name of the product in which to create the reference image.
Format is
projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID
.
340 341 342 343 |
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb', line 340 class CreateReferenceImageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#reference_image ⇒ ::Google::Cloud::Vision::V1p3beta1::ReferenceImage
Returns Required. The reference image to create. If an image ID is specified, it is ignored.
340 341 342 343 |
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb', line 340 class CreateReferenceImageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#reference_image_id ⇒ ::String
Returns A user-supplied resource id for the ReferenceImage to be added. If set,
the server will attempt to use this value as the resource id. If it is
already in use, an error is returned with code ALREADY_EXISTS. Must be at
most 128 characters long. It cannot contain the character /
.
340 341 342 343 |
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb', line 340 class CreateReferenceImageRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |