# Google Cloud Vision Ai V1 Client - Class ProductRecognizerArtifact (0.1.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ProductRecognizerArtifact.

Message describes product recognizer artifact.

Generated from protobuf message `google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ CustomProcessorSourceInfo

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ retail_product_recognition_index` | `string` Required. Resource name of RetailProductRecognitionIndex. Format is 'projects/*/locations/* /retailCatalogs/*/retailProductRecognitionIndexes/*' |
| `↳ vertex_model` | `string` Optional. The resource name of embedding model hosted in Vertex AI Platform. |

### getRetailProductRecognitionIndex

Required. Resource name of RetailProductRecognitionIndex.

Format is
'projects/*/locations/* /retailCatalogs/*/retailProductRecognitionIndexes/*'

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setRetailProductRecognitionIndex

Required. Resource name of RetailProductRecognitionIndex.

Format is
'projects/*/locations/* /retailCatalogs/*/retailProductRecognitionIndexes/*'

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getVertexModel

Optional. The resource name of embedding model hosted in Vertex AI
Platform.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setVertexModel

Optional. The resource name of embedding model hosted in Vertex AI
Platform.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |