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

Metadata message for UpdateIndexRequest

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

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ operation_metadata` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.OperationMetadata` Common metadata of the long-running operation. |

### getOperationMetadata

Common metadata of the long-running operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.OperationMetadata|null` |   |

### hasOperationMetadata

### clearOperationMetadata

### setOperationMetadata

Common metadata of the long-running operation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.OperationMetadata` |

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