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

Message for creating a Instance.

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

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ instance_id` | `string` Required. Id of the requesting object. |
| `↳ instance` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.Instance` Required. The resource being created. |

### getInstanceId

Required. Id of the requesting object.

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

### setInstanceId

Required. Id of the requesting object.

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

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

### getInstance

Required. The resource being created.

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

### hasInstance

### clearInstance

### setInstance

Required. The resource being created.

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

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