Method: schedules.list Stay organized with collections Save and categorize content based on your preferences.
Full name: projects.locations.schedules.list
Lists Schedules in a Location.
Endpoint
gethttps://{service-endpoint}/v1/{parent}/schedules Where{service-endpoint} is one of thesupported service endpoints.
Path parameters
parentstringRequired. The resource name of the Location to list the Schedules from. Format:projects/{project}/locations/{location}
Query parameters
filterstringLists the Schedules that match the filter expression. The following fields are supported:
displayName: Supports=,!=comparisons, and:wildcard.state: Supports=and!=comparisons.request: Supports existence of thecheck. (e.g. createPipelineJobRequest:*--> Schedule has createPipelineJobRequest).createTime: Supports=,!=,<,>,<=, and>=comparisons. Values must be in RFC 3339 format.startTime: Supports=,!=,<,>,<=, and>=comparisons. Values must be in RFC 3339 format.endTime: Supports=,!=,<,>,<=,>=comparisons and:*existence check. Values must be in RFC 3339 format.nextRunTime: Supports=,!=,<,>,<=, and>=comparisons. Values must be in RFC 3339 format.
Filter expressions can be combined together using logical operators (NOT,AND &OR). The syntax to define filter expression is based onhttps://google.aip.dev/160.
Examples:
state="ACTIVE" AND displayName:"my_schedule_*"NOT displayName="my_schedule"createTime>"2021-05-18T00:00:00Z"endTime>"2021-05-18T00:00:00Z" OR NOT endTime:*createPipelineJobRequest:*
pageSizeintegerThe standard list page size. Default to 100 if not specified.
pageTokenstringThe standard list page token. Typically obtained viaListSchedulesResponse.next_page_token of the previousScheduleService.ListSchedules call.
orderBystringA comma-separated list of fields to order by. The default sort order is in ascending order. Use "desc" after a field name for descending. You can have multiple orderBy fields provided.
For example, using "createTime desc, endTime" will order results by create time in descending order, and if there are multiple schedules having the same create time, order them by the end time in ascending order.
If orderBy is not specified, it will order by default with createTime in descending order.
Supported fields:
createTimestartTimeendTimenextRunTime
Request body
The request body must be empty.
Response body
Response message forScheduleService.ListSchedules
If successful, the response body contains data with the following structure:
schedules[]object (Schedule)List of Schedules in the requested page.
nextPageTokenstringA token to retrieve the next page of results. Pass toListSchedulesRequest.page_token to obtain that page.
| JSON representation |
|---|
{"schedules":[{object ( |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-27 UTC.