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.
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 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 '#'.
↳ task_duration
↳ 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 GetDeliveryVehicle
.
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 '#'.
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 '#'.
var
string
$this
getTaskDuration
Output only. The time required to perform the Task.
hasTaskDuration
clearTaskDuration
setTaskDuration
Output only. The time required to perform the Task.
$this
getTargetTimeWindow
Output only. The time window during which the task should be completed.
This is only set in the response to GetDeliveryVehicle
.
hasTargetTimeWindow
clearTargetTimeWindow
setTargetTimeWindow
Output only. The time window during which the task should be completed.
This is only set in the response to GetDeliveryVehicle
.
$this