Cloud Scheduler API

Creates and manages jobs run on a regular recurring schedule.

Service: cloudscheduler.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://cloudscheduler.googleapis.com

Regional service endpoint

A regional service endpoint is a base URL that specifies the network address of an API service in a single region. A service that is available in multiple regions might have multiple regional endpoints. Select a location to see its regional service endpoint for this service.


  • https://cloudscheduler.googleapis.com
  • REST Resource: v1beta1.projects.locations

    Methods
    get GET /v1beta1/{name=projects/*/locations/*}
    Gets information about a location.
    list GET /v1beta1/{name=projects/*}/locations
    Lists information about the supported locations for this service.

    REST Resource: v1beta1.projects.locations.jobs

    Methods
    create POST /v1beta1/{parent=projects/*/locations/*}/jobs
    Creates a job.
    delete DELETE /v1beta1/{name=projects/*/locations/*/jobs/*}
    Deletes a job.
    get GET /v1beta1/{name=projects/*/locations/*/jobs/*}
    Gets a job.
    list GET /v1beta1/{parent=projects/*/locations/*}/jobs
    Lists jobs.
    patch PATCH /v1beta1/{job.name=projects/*/locations/*/jobs/*}
    Updates a job.
    pause POST /v1beta1/{name=projects/*/locations/*/jobs/*}:pause
    Pauses a job.
    resume POST /v1beta1/{name=projects/*/locations/*/jobs/*}:resume
    Resume a job.
    run POST /v1beta1/{name=projects/*/locations/*/jobs/*}:run
    Forces a job to run now.

    REST Resource: v1beta1.projects.locations.operations

    Methods
    cancel POST /v1beta1/{name=projects/*/locations/*/operations/*}:cancel
    Starts asynchronous cancellation on a long-running operation.
    delete DELETE /v1beta1/{name=projects/*/locations/*/operations/*}
    Deletes a long-running operation.
    get GET /v1beta1/{name=projects/*/locations/*/operations/*}
    Gets the latest state of a long-running operation.
    list GET /v1beta1/{name=projects/*/locations/*}/operations
    Lists operations that match the specified filter in the request.

    REST Resource: api.cron

    Methods
    update POST /api/cron/update
    Update cron list by uploading a cron.yaml file.

    REST Resource: v1.projects.locations

    Methods
    get GET /v1/{name=projects/*/locations/*}
    Gets information about a location.
    getCmekConfig GET /v1/{name=projects/*/locations/*/cmekConfig}
    Gets the Scheduler config in the project/region.
    list GET /v1/{name=projects/*}/locations
    Lists information about the supported locations for this service.
    updateCmekConfig PATCH /v1/{cmekConfig.name=projects/*/locations/*/cmekConfig}
    Initializes or Updates the a scheduler config.

    REST Resource: v1.projects.locations.jobs

    Methods
    create POST /v1/{parent=projects/*/locations/*}/jobs
    Creates a job.
    delete DELETE /v1/{name=projects/*/locations/*/jobs/*}
    Deletes a job.
    get GET /v1/{name=projects/*/locations/*/jobs/*}
    Gets a job.
    list GET /v1/{parent=projects/*/locations/*}/jobs
    Lists jobs.
    patch PATCH /v1/{job.name=projects/*/locations/*/jobs/*}
    Updates a job.
    pause POST /v1/{name=projects/*/locations/*/jobs/*}:pause
    Pauses a job.
    resume POST /v1/{name=projects/*/locations/*/jobs/*}:resume
    Resume a job.
    run POST /v1/{name=projects/*/locations/*/jobs/*}:run
    Forces a job to run now.

    REST Resource: v1.projects.locations.operations

    Methods
    cancel POST /v1/{name=projects/*/locations/*/operations/*}:cancel
    Starts asynchronous cancellation on a long-running operation.
    delete DELETE /v1/{name=projects/*/locations/*/operations/*}
    Deletes a long-running operation.
    get GET /v1/{name=projects/*/locations/*/operations/*}
    Gets the latest state of a long-running operation.
    list GET /v1/{name=projects/*/locations/*}/operations
    Lists operations that match the specified filter in the request.