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

Generated from protobuf message `google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ UpdateApplicationInstancesRequest

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. Field mask is used to specify the fields to be overwritten in the Draft resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
| `↳ instance` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.Instance` Required. The resource being updated. |
| `↳ instance_id` | `string` Required. The id of the instance. |

### getUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in
the Draft resource by the update. The fields specified in the update_mask
are relative to the resource, not the full request. A field will be
overwritten if it is in the mask. If the user does not provide a mask
then all fields will be overwritten.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in
the Draft resource by the update. The fields specified in the update_mask
are relative to the resource, not the full request. A field will be
overwritten if it is in the mask. If the user does not provide a mask
then all fields will be overwritten.

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

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

### getInstance

Required. The resource being updated.

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

### hasInstance

### clearInstance

### setInstance

Required. The resource being updated.

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

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

### getInstanceId

Required. The id of the instance.

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

### setInstanceId

Required. The id of the instance.

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

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