# GoogleRidesharingDriver Framework Reference

# GMTDUpdateDeliveryTaskRequest

    @interface GMTDUpdateDeliveryTaskRequest : https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData.html

An immutable object representing a request to update a delivery task.
- `


  ### [-initWithTaskID:taskOutcome:taskOutcomeTimestamp:](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDUpdateDeliveryTaskRequest#/c:objc(cs)GMTDUpdateDeliveryTaskRequest(im)initWithTaskID:taskOutcome:taskOutcomeTimestamp:)


  ` Initializes and returns a `https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDCreateDeliveryTaskRequest.html` object using the provided attributes.

  #### Declaration

  Swift

      init(taskID: String, taskOutcome: https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTSTaskOutcome.html, taskOutcomeTimestamp outcomeTimestamp: TimeInterval)

  Objective-C

      - (nonnull instancetype)initWithTaskID:(nonnull https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Type-Definitions/GMTDFleetEngineIDString.html *)taskID
                                 taskOutcome:(https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTSTaskOutcome.html)taskOutcome
                        taskOutcomeTimestamp:(NSTimeInterval)outcomeTimestamp;

  #### Parameters

  |---|---|
  | ` taskID ` | The ID of the task. |
  | ` taskOutcome ` | The outcome of the task. |
  | ` outcomeTimestamp ` | The time when the outcome was reported. |

- `


  ### [-init](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDUpdateDeliveryTaskRequest#/c:objc(cs)GMTDUpdateDeliveryTaskRequest(im)init)


  ` Unavailable
  Use `https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDUpdateDeliveryTaskRequest.html#/c:objc(cs)GMTDUpdateDeliveryTaskRequest(im)initWithTaskID:taskOutcome:taskOutcomeTimestamp:` instead.

  #### Declaration

  Objective-C

      - (null_unspecified instancetype)init;

- `


  ### [taskID](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDUpdateDeliveryTaskRequest#/c:objc(cs)GMTDUpdateDeliveryTaskRequest(py)taskID)


  ` The ID of the task.

  #### Declaration

  Swift

      var taskID: String { get }

  Objective-C

      @property (nonatomic, readonly) https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Type-Definitions/GMTDFleetEngineIDString.html *_Nonnull taskID;

- `


  ### [taskOutcome](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDUpdateDeliveryTaskRequest#/c:objc(cs)GMTDUpdateDeliveryTaskRequest(py)taskOutcome)


  ` The outcome of the task.

  #### Declaration

  Swift

      var taskOutcome: https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTSTaskOutcome.html { get }

  Objective-C

      @property (nonatomic, readonly) https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTSTaskOutcome.html taskOutcome;

- `


  ### [outcomeTimestamp](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDUpdateDeliveryTaskRequest#/c:objc(cs)GMTDUpdateDeliveryTaskRequest(py)outcomeTimestamp)


  ` The time the outcome occurred.

  #### Declaration

  Swift

      var outcomeTimestamp: TimeInterval { get }

  Objective-C

      @property (nonatomic, readonly) NSTimeInterval outcomeTimestamp;