- REST Resource: v2.projects.locations.jobs
- REST Resource: v2.projects.locations.jobs.executions
- REST Resource: v2.projects.locations.jobs.executions.tasks
- REST Resource: v2.projects.locations.operations
- REST Resource: v2.projects.locations.services
- REST Resource: v2.projects.locations.services.revisions
- REST Resource: v2.projects.locations.workerPools
- REST Resource: v2.projects.locations.workerPools.revisions
- REST Resource: v1.namespaces.authorizeddomains
- REST Resource: v1.namespaces.configurations
- REST Resource: v1.namespaces.domainmappings
- REST Resource: v1.namespaces.executions
- REST Resource: v1.namespaces.jobs
- REST Resource: v1.namespaces.revisions
- REST Resource: v1.namespaces.routes
- REST Resource: v1.namespaces.services
- REST Resource: v1.namespaces.tasks
- REST Resource: v1.namespaces.workerpools
- REST Resource: v1.projects.locations
- REST Resource: v1.projects.locations.jobs
- REST Resource: v1.projects.locations.services
- REST Resource: v1.projects.locations.workerpools
Service: run.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:
Global endpoint
https://run.googleapis.com 
 - For v2: - This is the preferred endpoint for all methods.
- Global list (e.g. using "-" as region) is not supported.
- Locational endpoints are also supported.
 
- For v1, this endpoint only supports Global List: use locational endpoints instead.
Locational endpoints
For v2, locational endpoints are supported, and region must match the location in the method path.For v1, locational endpoints are required.
REST Resource: v2.projects.locations.jobs
| Methods | |
|---|---|
|  create 
 | POST /v2/{parent}/jobsCreates a Job. | 
|  delete 
 | DELETE /v2/{name}Deletes a Job. | 
|  get 
 | GET /v2/{name}Gets information about a Job. | 
|  getIamPolicy 
 | GET /v2/{resource}:getIamPolicyGets the IAM Access Control policy currently in effect for the given Job. | 
|  list 
 | GET /v2/{parent}/jobsLists Jobs. | 
|  patch 
 | PATCH /v2/{job.name}Updates a Job. | 
|  run 
 | POST /v2/{name}:runTriggers creation of a new Execution of this Job. | 
|  setIamPolicy 
 | POST /v2/{resource}:setIamPolicySets the IAM Access control policy for the specified Job. | 
|  testIamPermissions 
 | POST /v2/{resource}:testIamPermissionsReturns permissions that a caller has on the specified Project. | 
REST Resource: v2.projects.locations.jobs.executions
| Methods | |
|---|---|
|  cancel 
 | POST /v2/{name}:cancelCancels an Execution. | 
|  delete 
 | DELETE /v2/{name}Deletes an Execution. | 
|  get 
 | GET /v2/{name}Gets information about an Execution. | 
|  list 
 | GET /v2/{parent}/executionsLists Executions from a Job. | 
REST Resource: v2.projects.locations.jobs.executions.tasks
| Methods | |
|---|---|
|  get 
 | GET /v2/{name}Gets information about a Task. | 
|  list 
 | GET /v2/{parent}/tasksLists Tasks from an Execution of a Job. | 
REST Resource: v2.projects.locations.operations
| Methods | |
|---|---|
|  delete 
 | DELETE /v2/{name}Deletes a long-running operation. | 
|  get 
 | GET /v2/{name}Gets the latest state of a long-running operation. | 
|  list 
 | GET /v2/{name}/operationsLists operations that match the specified filter in the request. | 
|  wait 
 | POST /v2/{name}:waitWaits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. | 
REST Resource: v2.projects.locations.services
| Methods | |
|---|---|
|  create 
 | POST /v2/{parent}/servicesCreates a new Service in a given project and location. | 
|  delete 
 | DELETE /v2/{name}Deletes a Service. | 
|  get 
 | GET /v2/{name}Gets information about a Service. | 
|  getIamPolicy 
 | GET /v2/{resource}:getIamPolicyGets the IAM Access Control policy currently in effect for the given Cloud Run Service. | 
|  list 
 | GET /v2/{parent}/servicesLists Services. | 
|  patch 
 | PATCH /v2/{service.name}Updates a Service. | 
|  setIamPolicy 
 | POST /v2/{resource}:setIamPolicySets the IAM Access control policy for the specified Service. | 
|  testIamPermissions 
 | POST /v2/{resource}:testIamPermissionsReturns permissions that a caller has on the specified Project. | 
REST Resource: v2.projects.locations.services.revisions
| Methods | |
|---|---|
|  delete 
 | DELETE /v2/{name}Deletes a Revision. | 
|  get 
 | GET /v2/{name}Gets information about a Revision. | 
|  list 
 | GET /v2/{parent}/revisionsLists Revisions from a given Service, or from a given location. | 
REST Resource: v2.projects.locations.workerPools
| Methods | |
|---|---|
|  create 
 | POST /v2/{parent}/workerPoolsCreates a new WorkerPool in a given project and location. | 
|  delete 
 | DELETE /v2/{name}Deletes a WorkerPool. | 
|  get 
 | GET /v2/{name}Gets information about a WorkerPool. | 
|  getIamPolicy 
 | GET /v2/{resource}:getIamPolicyGets the IAM Access Control policy currently in effect for the given Cloud Run WorkerPool. | 
|  list 
 | GET /v2/{parent}/workerPoolsLists WorkerPools. | 
|  patch 
 | PATCH /v2/{workerPool.name}Updates a WorkerPool. | 
|  setIamPolicy 
 | POST /v2/{resource}:setIamPolicySets the IAM Access control policy for the specified WorkerPool. | 
|  testIamPermissions 
 | POST /v2/{resource}:testIamPermissionsReturns permissions that a caller has on the specified Project. | 
REST Resource: v2.projects.locations.workerPools.revisions
| Methods | |
|---|---|
|  delete 
 | DELETE /v2/{name}Deletes a Revision. | 
|  get 
 | GET /v2/{name}Gets information about a Revision. | 
|  list 
 | GET /v2/{parent}/revisionsLists Revisions from a given Service, or from a given location. | 
REST Resource: v1.namespaces.configurations
| Methods | |
|---|---|
|  get 
 | GET /apis/serving.knative.dev/v1/{name}Get information about a configuration. | 
|  list 
 | GET /apis/serving.knative.dev/v1/{parent}/configurationsList configurations. | 
REST Resource: v1.namespaces.domainmappings
| Methods | |
|---|---|
|  create 
 | POST /apis/domains.cloudrun.com/v1/{parent}/domainmappingsCreate a new domain mapping. | 
|  delete 
 | DELETE /apis/domains.cloudrun.com/v1/{name}Delete a domain mapping. | 
|  get 
 | GET /apis/domains.cloudrun.com/v1/{name}Get information about a domain mapping. | 
|  list 
 | GET /apis/domains.cloudrun.com/v1/{parent}/domainmappingsList all domain mappings. | 
REST Resource: v1.namespaces.executions
| Methods | |
|---|---|
|  cancel 
 | POST /apis/run.googleapis.com/v1/{name}:cancelCancel an execution. | 
|  delete 
 | DELETE /apis/run.googleapis.com/v1/{name}Delete an execution. | 
|  get 
 | GET /apis/run.googleapis.com/v1/{name}Get information about an execution. | 
|  list 
 | GET /apis/run.googleapis.com/v1/{parent}/executionsList executions. | 
REST Resource: v1.namespaces.jobs
| Methods | |
|---|---|
|  create 
 | POST /apis/run.googleapis.com/v1/{parent}/jobsCreate a job. | 
|  delete 
 | DELETE /apis/run.googleapis.com/v1/{name}Delete a job. | 
|  get 
 | GET /apis/run.googleapis.com/v1/{name}Get information about a job. | 
|  list 
 | GET /apis/run.googleapis.com/v1/{parent}/jobsList jobs. | 
|  replaceJob 
 | PUT /apis/run.googleapis.com/v1/{name}Replace a job. | 
|  run 
 | POST /apis/run.googleapis.com/v1/{name}:runTrigger creation of a new execution of this job. | 
REST Resource: v1.namespaces.revisions
| Methods | |
|---|---|
|  delete 
 | DELETE /apis/serving.knative.dev/v1/{name}Delete a revision. | 
|  get 
 | GET /apis/serving.knative.dev/v1/{name}Get information about a revision. | 
|  list 
 | GET /apis/serving.knative.dev/v1/{parent}/revisionsList revisions. | 
REST Resource: v1.namespaces.routes
| Methods | |
|---|---|
|  get 
 | GET /apis/serving.knative.dev/v1/{name}Get information about a route. | 
|  list 
 | GET /apis/serving.knative.dev/v1/{parent}/routesList routes. | 
REST Resource: v1.namespaces.services
| Methods | |
|---|---|
|  create 
 | POST /apis/serving.knative.dev/v1/{parent}/servicesCreates a new Service. | 
|  delete 
 | DELETE /apis/serving.knative.dev/v1/{name}Deletes the provided service. | 
|  get 
 | GET /apis/serving.knative.dev/v1/{name}Gets information about a service. | 
|  list 
 | GET /apis/serving.knative.dev/v1/{parent}/servicesLists services for the given project and region. | 
|  replaceService 
 | PUT /apis/serving.knative.dev/v1/{name}Replaces a service. | 
REST Resource: v1.namespaces.tasks
| Methods | |
|---|---|
|  get 
 | GET /apis/run.googleapis.com/v1/{name}Get information about a task. | 
|  list 
 | GET /apis/run.googleapis.com/v1/{parent}/tasksList tasks. | 
REST Resource: v1.namespaces.workerpools
| Methods | |
|---|---|
|  create 
 | POST /apis/run.googleapis.com/v1/{parent}/workerpoolsCreates a new WorkerPool. | 
|  delete 
 | DELETE /apis/run.googleapis.com/v1/{name}Deletes the provided worker pool. | 
|  get 
 | GET /apis/run.googleapis.com/v1/{name}Gets information about a worker pool. | 
|  list 
 | GET /apis/run.googleapis.com/v1/{parent}/workerpoolsLists worker pools for the given project and region. | 
|  replaceWorkerPool 
 | PUT /apis/run.googleapis.com/v1/{name}Replaces a worker pool. | 
REST Resource: v1.projects.locations
| Methods | |
|---|---|
|  list 
 | GET /v1/{name}/locationsLists information about the supported locations for this service. | 
REST Resource: v1.projects.locations.jobs
| Methods | |
|---|---|
|  getIamPolicy 
 | GET /v1/{resource}:getIamPolicyGet the IAM Access Control policy currently in effect for the given job. | 
|  setIamPolicy 
 | POST /v1/{resource}:setIamPolicySets the IAM Access control policy for the specified job. | 
|  testIamPermissions 
 | POST /v1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified job. | 
REST Resource: v1.projects.locations.services
| Methods | |
|---|---|
|  getIamPolicy 
 | GET /v1/{resource}:getIamPolicyGets the IAM Access Control policy currently in effect for the given Cloud Run service. | 
|  setIamPolicy 
 | POST /v1/{resource}:setIamPolicySets the IAM Access control policy for the specified Service. | 
|  testIamPermissions 
 | POST /v1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified Project. | 
REST Resource: v1.projects.locations.workerpools
| Methods | |
|---|---|
|  getIamPolicy 
 | GET /v1/{resource}:getIamPolicyGet the IAM Access Control policy currently in effect for the given worker pool. | 
|  setIamPolicy 
 | POST /v1/{resource}:setIamPolicySets the IAM Access control policy for the specified worker pool. | 
|  testIamPermissions 
 | POST /v1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified worker pool. | 

