Updates a WorkerPool.
Request
- Base URL: https://run.googleapis.com
- URL: https://run.googleapis.com/v2/{+name}
- 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
The fully qualified name of this WorkerPool. In CreateWorkerPoolRequest, this field is ignored, and instead composed from CreateWorkerPoolRequest.parent and CreateWorkerPoolRequest.worker_id. Format: projects/{project}/locations/{location}/workerPools/{worker_id}
Query parameters
Optional. If set to true, and if the WorkerPool does not exist, it will create a new one. The caller must have 'run.workerpools.create' permissions if this is set to true and the WorkerPool does not exist.
Optional. If set to true, a new revision will be created from the template even if the system doesn't detect any changes from the previously deployed revision. This may be useful for cases where the underlying resources need to be recreated or reinitialized. For example if the image is specified by label, but the underlying image digest has changed) or if the container performs deployment initialization work that needs to be performed again.
Optional. The list of fields to be updated.
Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
Request body
Response
Successful response
Changes
- breaking
removed the request body
- breaking
removed the media type
*/*for the response with the status - warning
deleted the
queryrequest parametervalidateOnly - warning
deleted the
queryrequest parametervalidateOnly - info
api operation id
run.projects.locations.jobs.patchremoved and replaced withrun.projects.locations.workerPools.patch - 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 optional
queryrequest parameterforceNewRevision - info
added the new optional
queryrequest parameterupdateMask
- breaking
- warning
deleted the
queryrequest parametervalidateOnly - warning
deleted the
queryrequest parametervalidateOnly - 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 optional
queryrequest parametervalidateOnly - info
added the new optional
queryrequest parametervalidateOnly - info
added the new optional request property
- info
added the new optional request property
/ - info
added the new optional request property
// - 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/
- warning