# Google Cloud Vision Ai V1 Client - Class ProductRecognizerConfig (0.3.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 ProductRecognizerConfig.

Message describing ProductRecognizerConfig.

Generated from protobuf message `google.cloud.visionai.v1.ProductRecognizerConfig`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ retail_endpoint` | `string` The resource name of retail endpoint to use. |
| `↳ recognition_confidence_threshold` | `float` Confidence threshold to filter detection results. If not set, a system default value will be used. |

### getRetailEndpoint

The resource name of retail endpoint to use.

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

### setRetailEndpoint

The resource name of retail endpoint to use.

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

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

### getRecognitionConfidenceThreshold

Confidence threshold to filter detection results. If not set, a system
default value will be used.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### setRecognitionConfidenceThreshold

Confidence threshold to filter detection results. If not set, a system
default value will be used.

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

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