Method: schedules.pause

Full name: projects.locations.schedules.pause

Pauses a Schedule. Will mark Schedule.state to 'PAUSED'. If the schedule is paused, no new runs will be created. Already created runs will NOT be paused or canceled.

Endpoint

post https://{service-endpoint}/v1/{name}:pause

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

name string

Required. The name of the Schedule resource to be paused. Format: projects/{project}/locations/{location}/schedules/{schedule}

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

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年06月27日 UTC.