GetExecutionResult

data class GetExecutionResult(val argument: String, val callLogLevel: String, val duration: String, val endTime: String, val error: ErrorResponse, val labels: Map<String, String>, val name: String, val result: String, val startTime: String, val state: String, val stateError: StateErrorResponse, val status: StatusResponse, val workflowRevisionId: String)

Constructors

Link copied to clipboard
fun GetExecutionResult(argument: String, callLogLevel: String, duration: String, endTime: String, error: ErrorResponse, labels: Map<String, String>, name: String, result: String, startTime: String, state: String, stateError: StateErrorResponse, status: StatusResponse, workflowRevisionId: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Input parameters of the execution represented as a JSON string. The size limit is 32KB. Note: If you are using the REST API directly to run your workflow, you must escape any JSON string value of argument. Example: '{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'

Link copied to clipboard

The call logging level associated to this execution.

Link copied to clipboard

Measures the duration of the execution.

Link copied to clipboard

Marks the end of execution, successful or not.

Link copied to clipboard

The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILED or CANCELLED.

Link copied to clipboard

Labels associated with this execution. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.

Link copied to clipboard

The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}

Link copied to clipboard

Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED.

Link copied to clipboard

Marks the beginning of execution.

Link copied to clipboard

Current state of the execution.

Link copied to clipboard

Error regarding the state of the Execution resource. For example, this field will have error details if the Execution data is unavailable due to revoked KMS key permissions.

Link copied to clipboard

Status tracks the current steps and progress data of this execution.

Link copied to clipboard

Revision of the workflow this execution is using.