Class: Google::Cloud::Vision::V1::ProductSet

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

A ProductSet contains Products. A ProductSet can contain a maximum of 1 million reference images. If the limit is exceeded, periodic indexing will fail.

Instance Attribute Summary collapse

Instance Attribute Details

#display_name::String

Returns The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.

Returns:

  • (::String)

    The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.



110
111
112
113
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 110

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

#index_error::Google::Rpc::Status (readonly)

Returns Output only. If there was an error with indexing the product set, the field is populated.

This field is ignored when creating a ProductSet.

Returns:

  • (::Google::Rpc::Status)

    Output only. If there was an error with indexing the product set, the field is populated.

    This field is ignored when creating a ProductSet.



110
111
112
113
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 110

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

#index_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this timestamp is the default value "1970-01-01T00:00:00Z".

This field is ignored when creating a ProductSet.

Returns:

  • (::Google::Protobuf::Timestamp)

    Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this timestamp is the default value "1970-01-01T00:00:00Z".

    This field is ignored when creating a ProductSet.



110
111
112
113
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 110

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

#name::String

Returns The resource name of the ProductSet.

Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID.

This field is ignored when creating a ProductSet.

Returns:

  • (::String)

    The resource name of the ProductSet.

    Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID.

    This field is ignored when creating a ProductSet.



110
111
112
113
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 110

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