Resource: Instance
Message describing Instance object
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "displayName": string, "description": string, "inputResources": [ { object ( |
Fields | |
---|---|
name |
Output only. name of resource |
createTime |
Output only. [Output only] Create timestamp A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. [Output only] Update timestamp A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Labels as key value pairs An object containing a list of |
displayName |
Required. A user friendly display name for the solution. |
description |
A description for this application. |
inputResources[] |
The input resources for the current application instance. For example: inputResources: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/stream-a |
outputResources[] |
All the output resources associated to one application instance. |
state |
State of the instance. |
InputResource
Message of input resource used in one application instance.
JSON representation |
---|
{ "consumerNode": string, "inputResourceBinding": string, // Union field |
Fields | |
---|---|
consumerNode |
The name of graph node who receives the input resource. For example: inputResource: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/input-stream-a consumerNode: stream-input |
inputResourceBinding |
The specific input resource binding which will consume the current Input Resource, can be ignored is there is only 1 input binding. |
Union field input_resource_information . Required. Specify the input to the application instance. input_resource_information can be only one of the following: |
|
inputResource |
The direct input resource name. |
annotatedStream |
If the input resource is VisionAI Stream, the associated annotations can be specified using annotatedStream instead. |
OutputResource
Message of output resource used in one application instance.
JSON representation |
---|
{ "outputResource": string, "producerNode": string, "outputResourceBinding": string, "isTemporary": boolean, "autogen": boolean } |
Fields | |
---|---|
outputResource |
The output resource name for the current application instance. |
producerNode |
The name of graph node who produces the output resource name. For example: outputResource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producerNode: occupancy-counting |
outputResourceBinding |
The specific output resource binding which produces the current OutputResource. |
isTemporary |
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 |
Output only. Whether the output resource is created automatically by the Vision AI App Platform. |
State
State of the Instance
Enums | |
---|---|
STATE_UNSPECIFIED |
The default value. This value is used if the state is omitted. |
CREATING |
State CREATING. |
CREATED |
State CREATED. |
DEPLOYING |
State DEPLOYING. |
DEPLOYED |
State DEPLOYED. |
UNDEPLOYING |
State UNDEPLOYING. |
DELETED |
State DELETED. |
ERROR |
State ERROR. |
UPDATING |
State Updating |
DELETING |
State Deleting. |
FIXING |
State Fixing. |
Methods |
|
---|---|
|
Gets details of a single Instance. |
|
Lists Instances in a given project and location. |