AI-generated Key Takeaways
-
Retrieves all
Task
s that meet specified filtering criteria using aGET
request. -
Allows filtering by various parameters such as
header
,pageSize
,pageToken
, andfilter
. -
Request body should be empty, with response containing a list of
Task
objects,nextPageToken
, andtotalSize
. -
Uses gRPC Transcoding syntax for the request URL, with
parent
path parameter specifying the provider. -
If successful, response includes an array of
Task
objects matching the filter, potentially empty if no tasks match.
Gets all Task
s that meet the specified filtering criteria.
HTTP request
GET https://fleetengine.googleapis.com/v1/{parent=providers/*}/tasks
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Must be in the format |
Query parameters
Parameters | |
---|---|
header |
Optional. The standard Delivery API request header. |
pageSize |
Optional. The maximum number of Tasks to return. The service may return fewer than this value. If you don't specify this value, then the server determines the number of results to return. |
pageToken |
Optional. A page token received from a previous When paginating, all other parameters provided to |
filter |
Optional. A filter query to apply when listing Tasks. See http://aip.dev/160 for examples of filter syntax. If you don't specify a value, or if you filter on an empty string, then all Tasks are returned. For information about the Task properties that you can filter on, see List tasks. |
Request body
The request body must be empty.
Response body
The tasks.list
response that contains the set of Tasks that meet the filter criteria in the ListTasksRequest
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"tasks": [
{
object ( |
Fields | |
---|---|
tasks[] |
The set of Tasks that meet the requested filtering criteria. When no filter is specified, the request returns all tasks. A successful response can also be empty. An empty response indicates that no Tasks were found meeting the requested filter criteria. |
nextPageToken |
Pass this token in the |
totalSize |
The total number of Tasks that match the request criteria, across all pages. |