Google Maps FleetEngine Delivery V1 Client - Class TaskOutcome (0.1.6)

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 \ Task

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

TASK_OUTCOME_UNSPECIFIED

Value: 0

The Task outcome before its value is set.

Generated from protobuf enum TASK_OUTCOME_UNSPECIFIED = 0;

SUCCEEDED

Value: 1

The Task completed successfully.

Generated from protobuf enum SUCCEEDED = 1;

FAILED

Value: 2

Either the Task couldn't be completed, or it was cancelled.

Generated from protobuf enum FAILED = 2;