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 \ ApplicationRuntimeInfoMethods
__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 |
|