ee.data.updateTask
Update one or more tasks' properties. For now, only the following properties may be updated: State (to CANCELLED)
Returns an array of updated tasks, or null if a callback is specified.
Usage | Returns |
---|
ee.data.updateTask(taskId, action, callback) | List |
Argument | Type | Details |
---|
taskId | List | Submitted ID of the task or an array of multiple task IDs. May also contain operation names. |
action | TaskUpdateActions | Action performed on tasks. |
callback | Function, optional | An optional callback. If not supplied, the call is made synchronously. |
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 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["The `ee.data.updateTask` function allows for updating the state of one or more Earth Engine tasks to 'CANCELLED'."],["It accepts a task ID (or an array of IDs), an action object, and an optional callback function for asynchronous execution."],["Upon successful execution, the function returns an array of updated tasks if a callback is not provided; otherwise, it returns null."],["The function is limited to updating the task state only, other properties are not currently modifiable."]]],[]]