Reference documentation and code samples for the Google Maps FleetEngine Delivery V1 Client class TaskInfo.
Additional information about the Task performed at this stop.
Generated from protobuf message maps.fleetengine.delivery.v1.VehicleStop.TaskInfo
Namespace
Google \ Maps \ FleetEngine \ Delivery \ V1 \ VehicleStopMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ task_id |
string
The Task ID. This field won't be populated in the response of a |
↳ task_duration |
Google\Protobuf\Duration
Output only. The time required to perform the Task. |
↳ target_time_window |
Google\Maps\FleetEngine\Delivery\V1\TimeWindow
Output only. The time window during which the task should be completed. This is only set in the response to |
getTaskId
The Task ID. This field won't be populated in the response of a GetTask
call. Task IDs are subject to the following restrictions:
Must be a valid Unicode string.
Limited to a maximum length of 64 characters.
- Normalized according to Unicode Normalization Form C.
- May not contain any of the following ASCII characters: '/', ':', '?', ',', or '#'.
Returns | |
---|---|
Type | Description |
string |
setTaskId
The Task ID. This field won't be populated in the response of a GetTask
call. Task IDs are subject to the following restrictions:
Must be a valid Unicode string.
Limited to a maximum length of 64 characters.
- Normalized according to Unicode Normalization Form C.
- May not contain any of the following ASCII characters: '/', ':', '?', ',', or '#'.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTaskDuration
Output only. The time required to perform the Task.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasTaskDuration
clearTaskDuration
setTaskDuration
Output only. The time required to perform the Task.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |
getTargetTimeWindow
Output only. The time window during which the task should be completed.
This is only set in the response to GetDeliveryVehicle
.
Returns | |
---|---|
Type | Description |
Google\Maps\FleetEngine\Delivery\V1\TimeWindow|null |
hasTargetTimeWindow
clearTargetTimeWindow
setTargetTimeWindow
Output only. The time window during which the task should be completed.
This is only set in the response to GetDeliveryVehicle
.
Parameter | |
---|---|
Name | Description |
var |
Google\Maps\FleetEngine\Delivery\V1\TimeWindow
|
Returns | |
---|---|
Type | Description |
$this |