Creates a new WorkerPool in a given project and location.
Request
- Base URL: https://run.googleapis.com
- URL: https://run.googleapis.com/v2/{+parent}/workerPools
- Auth: one of:
- OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)
- OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/run) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/run)
Path parameters
Required. The location and project in which this worker pool should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number. Only lowercase characters, digits, and hyphens.
Query parameters
Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
Optional. The unique identifier for the WorkerPool. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the worker pool becomes {parent}/workerPools/{worker_pool_id}. If not provided, the server will generate a unique worker_pool_id.
Request body
Response
Successful response
Changes
- breaking
removed the request body
- breaking
removed the media type
*/*for the response with the status - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/runwas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/runwas removed from the endpoint's security schemeOauth2c
- breaking
- info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/runwas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/runwas removed from the endpoint's security schemeOauth2c - info
added the new
DELAYED_EXECUTION_EXCEEDING_DURATION_LIMITenum value to the request property// - info
added the new
DELAYED_EXECUTION_EXCEEDING_DURATION_LIMITenum value to the request property/
- info