Class: Google::Cloud::Vision::V1p4beta1::CreateProductSetRequest

Inherits:
Object
  • Object
show all
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 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.



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

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

#product_set::Google::Cloud::Vision::V1p4beta1::ProductSet

Returns Required. The ProductSet to create.

Returns:



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

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 /.



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

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