class Google::Apis::VisionV1::ProductSet
A ProductSet
contains Products. A ProductSet
can contain a maximum of 1 million reference images. If the limit is exceeded, periodic indexing will fail.
Attributes
The user-provided name for this ProductSet
. Must not be empty. Must be at most 4096 characters long. Corresponds to the JSON property `displayName` @return [String]
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [ gRPC](github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https: //cloud.google.com/apis/design/errors). Corresponds to the JSON property `indexError` @return [Google::Apis::VisionV1::Status]
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
. Corresponds to the JSON property `indexTime` @return [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
. Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File lib/google/apis/vision_v1/classes.rb, line 9592 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vision_v1/classes.rb, line 9597 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @index_error = args[:index_error] if args.key?(:index_error) @index_time = args[:index_time] if args.key?(:index_time) @name = args[:name] if args.key?(:name) end