Class UpdateTaskRequest
The UpdateTask request message.
Implements
Namespace: Google.Maps.FleetEngine.Delivery.V1
Assembly: Google.Maps.FleetEngine.Delivery.V1.dll
Syntax
public sealed class UpdateTaskRequest : IMessage<UpdateTaskRequest>, IEquatable<UpdateTaskRequest>, IDeepCloneable<UpdateTaskRequest>, IBufferMessage, IMessage
Constructors
UpdateTaskRequest()
Declaration
public UpdateTaskRequest()
UpdateTaskRequest(UpdateTaskRequest)
Declaration
public UpdateTaskRequest(UpdateTaskRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateTaskRequest | other |
Properties
Header
Optional. The standard Delivery API request header.
Declaration
public DeliveryRequestHeader Header { get; set; }
Property Value
| Type | Description |
|---|---|
| DeliveryRequestHeader |
Task
Required. The Task associated with the update.
The following fields are maintained by Fleet Engine. Do not update
them using Task.update.
last_location.last_location_snappable.name.remaining_vehicle_journey_segments.task_outcome_location_source.
Note: You cannot change the value of task_outcome once you set it.
If the Task has been assigned to a delivery vehicle, then don't set the
Task state to CLOSED using Task.update. Instead, remove the VehicleStop
that contains the Task from the delivery vehicle, which automatically sets
the Task state to CLOSED.
Declaration
public Task Task { get; set; }
Property Value
| Type | Description |
|---|---|
| Task |
UpdateMask
Required. The field mask that indicates which Task fields to update.
Note: The update_mask must contain at least one field.
This is a comma-separated list of fully qualified names of fields. Example:
"task_outcome,task_outcome_time,task_outcome_location".
Declaration
public FieldMask UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| FieldMask |