Struct google_workflowexecutions1::api::Execution
source · pub struct Execution {Show 15 fields
pub argument: Option<String>,
pub call_log_level: Option<String>,
pub create_time: Option<DateTime<Utc>>,
pub disable_concurrency_quota_overflow_buffering: Option<bool>,
pub duration: Option<Duration>,
pub end_time: Option<DateTime<Utc>>,
pub error: Option<Error>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub result: Option<String>,
pub start_time: Option<DateTime<Utc>>,
pub state: Option<String>,
pub state_error: Option<StateError>,
pub status: Option<Status>,
pub workflow_revision_id: Option<String>,
}
Expand description
A running instance of a Workflow.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations workflows executions cancel projects (response)
- locations workflows executions create projects (request|response)
- locations workflows executions get projects (response)
- locations workflows trigger pubsub execution projects (response)
Fields§
§argument: Option<String>
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\"}"}'
call_log_level: Option<String>
The call logging level associated to this execution.
create_time: Option<DateTime<Utc>>
Output only. Marks the creation of the execution.
disable_concurrency_quota_overflow_buffering: Option<bool>
Optional. If set to true, the execution will not be backlogged when the concurrency quota is exhausted. The backlog execution starts when the concurrency quota becomes available.
duration: Option<Duration>
Output only. Measures the duration of the execution.
end_time: Option<DateTime<Utc>>
Output only. Marks the end of execution, successful or not.
error: Option<Error>
Output only. The error which caused the execution to finish prematurely. The value is only present if the execution’s state is FAILED
or CANCELLED
.
labels: Option<HashMap<String, String>>
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.
name: Option<String>
Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
result: Option<String>
Output only. Output of the execution represented as a JSON string. The value can only be present if the execution’s state is SUCCEEDED
.
start_time: Option<DateTime<Utc>>
Output only. Marks the beginning of execution.
state: Option<String>
Output only. Current state of the execution.
state_error: Option<StateError>
Output only. 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.
status: Option<Status>
Output only. Status tracks the current steps and progress data of this execution.
workflow_revision_id: Option<String>
Output only. Revision of the workflow this execution is using.