ExecutionArgs class

The set of arguments for Execution. The set of arguments for Execution.

Constructors

ExecutionArgs({Input<Timestamp>? completionTime, Input<Timestamp>? creationTime, Input<List<Map<String, dynamic>>>? dimensionDefinitions, Input<String>? executionId, required Input<String> historyId, Input<Outcome>? outcome, Input<String>? project, Input<String>? requestId, Input<Specification>? specification, Input<ExecutionState>? state, Input<String>? testExecutionMatrixId})
Creates a new ExecutionArgs. completionTime The time when the Execution status transitioned to COMPLETE. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set creationTime The time when the Execution was created. This value will be set automatically when CreateExecution is called. - In response: always set - In create/update request: never set dimensionDefinitions The dimensions along which different steps in this execution may vary. This must remain fixed over the life of the execution. Returns INVALID_ARGUMENT if this field is set in an update request. Returns INVALID_ARGUMENT if the same name occurs in more than one dimension_definition. Returns INVALID_ARGUMENT if the size of the list is over 100. - In response: present if set by create - In create request: optional - In update request: never set executionId A unique identifier within a History for this Execution. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create/update request: never set historyId Required. outcome Classify the result, for example into SUCCESS or FAILURE - In response: present if set by create/update request - In create/update request: optional project Optional. requestId A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. specification Lightweight information about execution request. - In response: present if set by create - In create: optional - In update: optional state The initial state is IN_PROGRESS. The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - In response always set - In create/update request: optional testExecutionMatrixId TestExecution Matrix ID that the TestExecutionService uses. - In response: present if set by create - In create: optional - In update: never set
const
ExecutionArgs.fromMap(Map<String, dynamic> map)
factory

Properties

completionTime → Input<Timestamp>?
The time when the Execution status transitioned to COMPLETE. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set
final
creationTime → Input<Timestamp>?
The time when the Execution was created. This value will be set automatically when CreateExecution is called. - In response: always set - In create/update request: never set
final
dimensionDefinitions → Input<List<Map<String, dynamic>>>?
The dimensions along which different steps in this execution may vary. This must remain fixed over the life of the execution. Returns INVALID_ARGUMENT if this field is set in an update request. Returns INVALID_ARGUMENT if the same name occurs in more than one dimension_definition. Returns INVALID_ARGUMENT if the size of the list is over 100. - In response: present if set by create - In create request: optional - In update request: never set
final
executionId → Input<String>?
A unique identifier within a History for this Execution. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create/update request: never set
final
hashCode → int
The hash code for this object.
no setterinherited
historyId → Input<String>
final
outcome → Input<Outcome>?
Classify the result, for example into SUCCESS or FAILURE - In response: present if set by create/update request - In create/update request: optional
final
project → Input<String>?
final
requestId → Input<String>?
A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
specification → Input<Specification>?
Lightweight information about execution request. - In response: present if set by create - In create: optional - In update: optional
final
state → Input<ExecutionState>?
The initial state is IN_PROGRESS. The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - In response always set - In create/update request: optional
final
testExecutionMatrixId → Input<String>?
TestExecution Matrix ID that the TestExecutionService uses. - In response: present if set by create - In create: optional - In update: never set
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