Class: Google::Cloud::Vision::V1::ProductSet
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1::ProductSet
- 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
-
#display_name ⇒ ::String
The user-provided name for this ProductSet.
-
#index_error ⇒ ::Google::Rpc::Status
readonly
Output only.
-
#index_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#name ⇒ ::String
The resource name of the ProductSet.
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.
111 112 113 114 |
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 111 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.
111 112 113 114 |
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 111 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.
111 112 113 114 |
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 111 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.
111 112 113 114 |
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 111 class ProductSet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |