google-api-python-client
google-api-python-client copied to clipboard
update discovery to include "showAssigned"
The Google Tasks API v1 has been updated with the ability to view assigned tasks from Spaces or Google Docs/Sheets under assignmentInfo in the task resource when returned from the API.
To pull these tasks, the flag "showAssigned" query parameters needs to be set. Currently the tasks.v1.jsonfile in the discovery cache can be updated to accomodate the query parameter by adding the "showAssigned" definition under resources > tasks > methods > list.
Example of definition required:
"resources": {
"tasks": {
"methods": {
"list" : {
"showAssigned": {
"description": "Flag indicating whether assigned tasks are returned in the result. Optional. The default is False.",
"location": "query",
"type": "boolean"
},
}
}
}
}