REST Resource: projects.locations.repositories.workflowInvocations

Resource: WorkflowInvocation

Represents a single invocation of a compilation result.

JSON representation
{
  "name": string,
  "invocationConfig": {
    object (InvocationConfig)
  },
  "state": enum (State),
  "invocationTiming": {
    object (Interval)
  },
  "resolvedCompilationResult": string,
  "dataEncryptionState": {
    object (DataEncryptionState)
  },

  // Union field compilation_source can be only one of the following:
  "compilationResult": string,
  "workflowConfig": string
  // End of list of possible types for union field compilation_source.
  "internalMetadata": string
}
Fields
name

string

Output only. The workflow invocation's name.

invocationConfig

object (InvocationConfig)

Immutable. If left unset, a default InvocationConfig will be used.

state

enum (State)

Output only. This workflow invocation's current state.

invocationTiming

object (Interval)

Output only. This workflow invocation's timing details.

resolvedCompilationResult

string

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

dataEncryptionState

object (DataEncryptionState)

Output only. Only set if the repository has a KMS Key.

Union field compilation_source. The source of the compilation result to use for this invocation. compilation_source can be only one of the following:
compilationResult

string

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

workflowConfig

string

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

internalMetadata

string

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.

State

Represents the current state of a workflow invocation.

Enums
STATE_UNSPECIFIED Default value. This value is unused.
RUNNING The workflow invocation is currently running.
SUCCEEDED The workflow invocation succeeded. A terminal state.
CANCELLED The workflow invocation was cancelled. A terminal state.
FAILED The workflow invocation failed. A terminal state.
CANCELING The workflow invocation is being cancelled, but some actions are still running.

Methods

cancel

Requests cancellation of a running WorkflowInvocation.

create

Creates a new WorkflowInvocation in a given Repository.

delete

Deletes a single WorkflowInvocation.

get

Fetches a single WorkflowInvocation.

list

Lists WorkflowInvocations in a given Repository.

query

Returns WorkflowInvocationActions in a given WorkflowInvocation.