Required. The name of the deployment in the format: 'projects/{projectId}/locations/{location}/deployments/{deployment}'. It takes the form projects/{project}/locations/{location}/deployments/{deployment}.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-01 UTC."],[[["This page details how to lock a deployment using a POST request to the specified URL."],["The `name` path parameter is a required string that identifies the deployment, following the format `projects/{project}/locations/{location}/deployments/{deployment}`."],["The request body must be empty when locking a deployment."],["A successful request returns an Operation instance in the response body."],["Locking a deployment requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `config.googleapis.com/config.deployments.lock` on the `name` resource."]]],[]]