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

Option related to the operator.

Generated from protobuf message `google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ AnalyzerDefinition

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ tag` | `string` Tag of the operator. |
| `↳ registry` | `string` Registry of the operator. e.g. public, dev. |

### getTag

Tag of the operator.

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

### setTag

Tag of the operator.

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

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

### getRegistry

Registry of the operator. e.g. public, dev.

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

### setRegistry

Registry of the operator. e.g. public, dev.

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

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