- Resource: Instance
- InputResource
- ResourceAnnotations
- ApplicationNodeAnnotation
- OutputResource
- State
- Methods
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 instance. |
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, "annotations": { object ( |
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. |
annotations |
Contains resource annotations. |
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. If the instance type is STREAMING_PREDICTION, the input resource is in format of "projects/123/locations/us-central1/clusters/456/streams/stream-a". If the instance type is BATCH_PREDICTION from Cloud Storage input container, the input resource is in format of "gs://bucket-a". |
annotatedStream |
If the input resource is VisionAI Stream, the associated annotations can be specified using annotatedStream instead. |
ResourceAnnotations
Message describing general annotation for resources.
JSON representation |
---|
{ "applicationAnnotations": [ { object ( |
Fields | |
---|---|
applicationAnnotations[] |
Annotations that will be applied to the whole application. |
nodeAnnotations[] |
Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined. |
ApplicationNodeAnnotation
Message describing annotations specific to application node. This message is a duplication of StreamWithAnnotation.NodeAnnotation.
JSON representation |
---|
{
"node": string,
"annotations": [
{
object ( |
Fields | |
---|---|
node |
The node name of the application graph. |
annotations[] |
The node specific stream annotations. |
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. |