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

Message about output resources from application.

Generated from protobuf message `google.cloud.visionai.v1.Application.ApplicationRuntimeInfo.GlobalOutputResource`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ Application \\ ApplicationRuntimeInfo

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ output_resource` | `string` The full resource name of the outputted resources. |
| `↳ producer_node` | `string` The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/corpora/my-corpus/dataSchemas/my-schema producer_node: occupancy-count |
| `↳ key` | `string` The key of the output resource, it has to be unique within the same producer node. One producer node can output several output resources, the key can be used to match corresponding output resources. |

### getOutputResource

The full resource name of the outputted resources.

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

### setOutputResource

The full resource name of the outputted resources.

| **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/corpora/my-corpus/dataSchemas/my-schema
producer_node: occupancy-count

| **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/corpora/my-corpus/dataSchemas/my-schema
producer_node: occupancy-count

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

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

### getKey

The key of the output resource, it has to be unique within the same
producer node. One producer node can output several output resources,
the key can be used to match corresponding output resources.

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

### setKey

The key of the output resource, it has to be unique within the same
producer node. One producer node can output several output resources,
the key can be used to match corresponding output resources.

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

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