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

Request message for UpdateIndexEndpoint.

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

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ index_endpoint` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.IndexEndpoint` Required. The resource being updated. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "\*", then this is a full replacement of the resource. |

### getIndexEndpoint

Required. The resource being updated.

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

### hasIndexEndpoint

### clearIndexEndpoint

### setIndexEndpoint

Required. The resource being updated.

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

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

### getUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the
IndexEndpoint resource by the update.

The fields specified in the update_mask are relative to the resource, not
the full request.
A field of the resource will be overwritten if it is in the mask.
Empty field mask is not allowed.
If the mask is "\*", then this is a full replacement of the resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the
IndexEndpoint resource by the update.

The fields specified in the update_mask are relative to the resource, not
the full request.
A field of the resource will be overwritten if it is in the mask.
Empty field mask is not allowed.
If the mask is "\*", then this is a full replacement of the resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `indexEndpoint` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.IndexEndpoint` Required. The resource being updated. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "\*", then this is a full replacement of the resource. |

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