GoogleRidesharingDriver Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMTDUpdateDeliveryTaskRequest
An immutable object representing a request to update a delivery task.
-
Declaration
Swift
init(taskID: String, taskOutcome: GMTSTaskOutcome, taskOutcomeTimestamp outcomeTimestamp: TimeInterval)
Parameters
taskID
|
|
taskOutcome
|
|
outcomeTimestamp
|
The time when the outcome was reported.
|
-
Declaration
Objective-C
- (null_unspecified instancetype)init;
-
Declaration
Swift
var taskID: String { get }
-
-
The time the outcome occurred.
Declaration
Swift
var outcomeTimestamp: TimeInterval { get }
Objective-C
@property (nonatomic, readonly) NSTimeInterval outcomeTimestamp;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMTDUpdateDeliveryTaskRequest\u003c/code\u003e is an immutable object used to request updates to a delivery task.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003einitWithTaskID:taskOutcome:taskOutcomeTimestamp:\u003c/code\u003e method initializes the object with the task's ID, outcome, and the timestamp of the outcome.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etaskID\u003c/code\u003e, \u003ccode\u003etaskOutcome\u003c/code\u003e, and \u003ccode\u003eoutcomeTimestamp\u003c/code\u003e properties provide read-only access to the task's ID, outcome, and the time the outcome occurred, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003einit\u003c/code\u003e method is unavailable, and users are recommended to use \u003ccode\u003einitWithTaskID:taskOutcome:taskOutcomeTimestamp:\u003c/code\u003e instead.\u003c/p\u003e\n"]]],[],null,["# GoogleRidesharingDriver Framework Reference\n\nGMTDUpdateDeliveryTaskRequest\n=============================\n\n @interface GMTDUpdateDeliveryTaskRequest : ../Classes/GMTSImmutableData.html\n\nAn immutable object representing a request to update a delivery task.\n- `\n ``\n ``\n `\n\n ### [-initWithTaskID:taskOutcome:taskOutcomeTimestamp:](#/c:objc(cs)GMTDUpdateDeliveryTaskRequest(im)initWithTaskID:taskOutcome:taskOutcomeTimestamp:)\n\n `\n ` \n Initializes and returns a [GMTDCreateDeliveryTaskRequest](../Classes/GMTDCreateDeliveryTaskRequest.html) object using the provided attributes. \n\n #### Declaration\n\n Swift \n\n init(taskID: String, taskOutcome: ../Enums/GMTSTaskOutcome.html, taskOutcomeTimestamp outcomeTimestamp: TimeInterval)\n\n Objective-C \n\n - (nonnull instancetype)initWithTaskID:(nonnull ../Type-Definitions/GMTDFleetEngineIDString.html *)taskID\n taskOutcome:(../Enums/GMTSTaskOutcome.html)taskOutcome\n taskOutcomeTimestamp:(NSTimeInterval)outcomeTimestamp;\n\n #### Parameters\n\n |--------------------------|-----------------------------------------|\n | ` `*taskID*` ` | The ID of the task. |\n | ` `*taskOutcome*` ` | The outcome of the task. |\n | ` `*outcomeTimestamp*` ` | The time when the outcome was reported. |\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)GMTDUpdateDeliveryTaskRequest(im)init)\n\n `\n ` \n Unavailable \n Use [-initWithTaskID:taskOutcome:taskOutcomeTimestamp:](../Classes/GMTDUpdateDeliveryTaskRequest.html#/c:objc(cs)GMTDUpdateDeliveryTaskRequest(im)initWithTaskID:taskOutcome:taskOutcomeTimestamp:) instead. \n\n #### Declaration\n\n Objective-C \n\n - (null_unspecified instancetype)init;\n\n- `\n ``\n ``\n `\n\n ### [taskID](#/c:objc(cs)GMTDUpdateDeliveryTaskRequest(py)taskID)\n\n `\n ` \n The ID of the task. \n\n #### Declaration\n\n Swift \n\n var taskID: String { get }\n\n Objective-C \n\n @property (nonatomic, readonly) ../Type-Definitions/GMTDFleetEngineIDString.html *_Nonnull taskID;\n\n- `\n ``\n ``\n `\n\n ### [taskOutcome](#/c:objc(cs)GMTDUpdateDeliveryTaskRequest(py)taskOutcome)\n\n `\n ` \n The outcome of the task. \n\n #### Declaration\n\n Swift \n\n var taskOutcome: ../Enums/GMTSTaskOutcome.html { get }\n\n Objective-C \n\n @property (nonatomic, readonly) ../Enums/GMTSTaskOutcome.html taskOutcome;\n\n- `\n ``\n ``\n `\n\n ### [outcomeTimestamp](#/c:objc(cs)GMTDUpdateDeliveryTaskRequest(py)outcomeTimestamp)\n\n `\n ` \n The time the outcome occurred. \n\n #### Declaration\n\n Swift \n\n var outcomeTimestamp: TimeInterval { get }\n\n Objective-C \n\n @property (nonatomic, readonly) NSTimeInterval outcomeTimestamp;"]]