Class: Google::Cloud::Vision::V1p4beta1::CreateProductRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1p4beta1::CreateProductRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vision/v1p4beta1/product_search_service.rb
Overview
Request message for the CreateProduct
method.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#product ⇒ ::Google::Cloud::Vision::V1p4beta1::Product
Required.
-
#product_id ⇒ ::String
A user-supplied resource id for this Product.
Instance Attribute Details
#parent ⇒ ::String
Returns Required. The project in which the Product should be created.
Format is
projects/PROJECT_ID/locations/LOC_ID
.
162 163 164 165 |
# File 'proto_docs/google/cloud/vision/v1p4beta1/product_search_service.rb', line 162 class CreateProductRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#product ⇒ ::Google::Cloud::Vision::V1p4beta1::Product
Returns Required. The product to create.
162 163 164 165 |
# File 'proto_docs/google/cloud/vision/v1p4beta1/product_search_service.rb', line 162 class CreateProductRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#product_id ⇒ ::String
Returns A user-supplied resource id for this Product. 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 /
.
162 163 164 165 |
# File 'proto_docs/google/cloud/vision/v1p4beta1/product_search_service.rb', line 162 class CreateProductRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |