Class: Google::Cloud::Vision::V1::CreateProductSetRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1/product_search_service.rb

Overview

Request message for the CreateProductSet method.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns Required. The project in which the ProductSet should be created.

Format is projects/PROJECT_ID/locations/LOC_ID.

Returns:

  • (::String)

    Required. The project in which the ProductSet should be created.

    Format is projects/PROJECT_ID/locations/LOC_ID.



253
254
255
256
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 253

class CreateProductSetRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#product_set::Google::Cloud::Vision::V1::ProductSet

Returns Required. The ProductSet to create.

Returns:



253
254
255
256
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 253

class CreateProductSetRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#product_set_id::String

Returns A user-supplied resource id for this ProductSet. 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 /.

Returns:

  • (::String)

    A user-supplied resource id for this ProductSet. 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 /.



253
254
255
256
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 253

class CreateProductSetRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end