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

Message of output resource used in one application instance.

Generated from protobuf message `google.cloud.visionai.v1.Instance.OutputResource`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ Instance

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ output_resource` | `string` The output resource name for the current application instance. |
| `↳ producer_node` | `string` The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producer_node: occupancy-counting |
| `↳ output_resource_binding` | `string` The specific output resource binding which produces the current OutputResource. |
| `↳ is_temporary` | `bool` Output only. Whether the output resource is temporary which means the resource is generated during the deployment of the application. Temporary resource will be deleted during the undeployment of the application. |
| `↳ autogen` | `bool` Output only. Whether the output resource is created automatically by the Vision AI App Platform. |

### getOutputResource

The output resource name for the current application instance.

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

### setOutputResource

The output resource name for the current application instance.

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

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

### getProducerNode

The name of graph node who produces the output resource name.

For example:
output_resource:
/projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting
producer_node: occupancy-counting

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

### setProducerNode

The name of graph node who produces the output resource name.

For example:
output_resource:
/projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting
producer_node: occupancy-counting

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

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

### getOutputResourceBinding

The specific output resource binding which produces the current
OutputResource.

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

### setOutputResourceBinding

The specific output resource binding which produces the current
OutputResource.

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

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

### getIsTemporary

Output only. Whether the output resource is temporary which means the
resource is generated during the deployment of the application. Temporary
resource will be deleted during the undeployment of the application.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setIsTemporary

Output only. Whether the output resource is temporary which means the
resource is generated during the deployment of the application. Temporary
resource will be deleted during the undeployment of the application.

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

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

### getAutogen

Output only. Whether the output resource is created automatically by the
Vision AI App Platform.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setAutogen

Output only. Whether the output resource is created automatically by the
Vision AI App Platform.

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

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