v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1352131166.0 KB
projects

Creates a new WorkflowInvocation in a given Repository.

post/v1/{+parent}/workflowInvocations

Path parameters

parentstring required

Required. The repository in which to create the workflow invocation. Must be in the format projects/*/locations/*/repositories/*.

Request body

resolvedCompilationResultstring

Output only. The resolved compilation result that was used to create this invocation. Will be in the format projects/*/locations/*/repositories/*/compilationResults/*.

workflowConfigstring

Immutable. The name of the workflow config to invoke. Must be in the format projects/*/locations/*/repositories/*/workflowConfigs/*.

internalMetadatastring

Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

compilationResultstring

Immutable. The name of the compilation result to use for this invocation. Must be in the format projects/*/locations/*/repositories/*/compilationResults/*.

namestring

Output only. The workflow invocation's name.

state'STATE_UNSPECIFIED' | 'RUNNING' | 'SUCCEEDED' | 'CANCELLED' | 'FAILED' | 'CANCELING'

Output only. This workflow invocation's current state.

Response

Successful response