# Cloud Vision V1 API - Class Google::Cloud::Vision::V1::ProductSet (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.1 1.1.0 1.0.1 0.15.0 0.14.0 0.13.2 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.4 Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #display_name

    def display_name() -> ::String

**Returns**

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

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.

### #index_error

    def index_error() -> ::Google::Rpc::Status

**Returns**

- ([::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/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.

### #index_time

    def index_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/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.

### #name

    def name() -> ::String

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

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::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.
**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.