Reference documentation and code samples for the Google Maps FleetEngine Delivery V1 Client class TaskOutcome.
The outcome of attempting to execute a Task. When TaskState is closed,
TaskOutcome indicates whether it was completed successfully.
Protobuf type maps.fleetengine.delivery.v1.Task.TaskOutcome
Namespace
Google \ Maps \ FleetEngine \ Delivery \ V1 \ TaskMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
TASK_OUTCOME_UNSPECIFIED
Value: 0The Task outcome before its value is set.
Generated from protobuf enum TASK_OUTCOME_UNSPECIFIED = 0;
SUCCEEDED
Value: 1The Task completed successfully.
Generated from protobuf enum SUCCEEDED = 1;
FAILED
Value: 2Either the Task couldn't be completed, or it was cancelled.
Generated from protobuf enum FAILED = 2;