OperationCompletedEvent class
Event sent by the client or background worker to resume an assistant session after an asynchronous Long-Running Operation (LRO) completes.
Constructors
Properties
- deduplicationToken ↔ String?
-
Optional deduplication token (e.g. UUID) to prevent duplicate turn
execution from concurrent browser tabs.
getter/setter pair
- error ↔ Status?
-
Optional canonical error status if the operation failed.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
↔ Map<
String, Object?> ? -
Optional structured result metadata (e.g. pass_rate, total_examples,
export_uri).
getter/setter pair
- operationName ↔ String?
-
The operation resource name (e.g.
operations/{op}).getter/setter pair - operationType ↔ String?
-
The operation type or tool name (e.g. "run_evaluation", "copy_app",
"export_app").
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
Status of the operation run (e.g. "SUCCEEDED", "FAILED", "CANCELLED").
getter/setter pair
- targetResourceName ↔ String?
-
The primary resource targeted or produced by the operation (e.g.
evaluation run ID, app ID, dataset ID).
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited