GetExecutionResult class
Result data returned by getExecution.
Constructors
-
GetExecutionResult({required String argument, required String callLogLevel, required String duration, required String endTime, required ErrorResponse error, required Map<
String, String> labels, required String name, required String result, required String startTime, required String state, required StateErrorResponse stateError, required StatusResponse status, required String workflowRevisionId}) -
Creates a new GetExecutionResult.
argumentInput 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 ofargument. Example:'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'callLogLevelThe call logging level associated to this execution.durationMeasures the duration of the execution.endTimeMarks the end of execution, successful or not.errorThe error which caused the execution to finish prematurely. The value is only present if the execution's state isFAILEDorCANCELLED.labelsLabels 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.nameThe resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}resultOutput of the execution represented as a JSON string. The value can only be present if the execution's state isSUCCEEDED.startTimeMarks the beginning of execution.stateCurrent state of the execution.stateErrorError 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.statusStatus tracks the current steps and progress data of this execution.workflowRevisionIdRevision of the workflow this execution is using.const -
GetExecutionResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- argument → 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\"}"}'final - callLogLevel → String
-
The call logging level associated to this execution.
final
- duration → String
-
Measures the duration of the execution.
final
- endTime → String
-
Marks the end of execution, successful or not.
final
- error → ErrorResponse
-
The error which caused the execution to finish prematurely. The value is only present if the execution's state is
FAILEDorCANCELLED.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Map<
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.
final
- name → String
-
The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
final
- result → String
-
Output of the execution represented as a JSON string. The value can only be present if the execution's state is
SUCCEEDED.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → String
-
Marks the beginning of execution.
final
- state → String
-
Current state of the execution.
final
- stateError → StateErrorResponse
-
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.
final
- status → StatusResponse
-
Status tracks the current steps and progress data of this execution.
final
- workflowRevisionId → String
-
Revision of the workflow this execution is using.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited