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
Details about the lock which locked the deployment.
If successful, the response body contains data with the following structure:
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
[[["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 2025-09-02 UTC."],[[["\u003cp\u003eThis endpoint exports lock information for a specified deployment using a \u003ccode\u003eGET\u003c/code\u003e request to the provided URL, formatted according to gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003ename\u003c/code\u003e path parameter, which is a string representing the deployment's full resource name in the format: \u003ccode\u003eprojects/{projectId}/locations/{location}/deployments/{deployment}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and the response body will contain a JSON representation of the lock information if the request is successful.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON response includes details such as \u003ccode\u003elockId\u003c/code\u003e, \u003ccode\u003eoperation\u003c/code\u003e, \u003ccode\u003einfo\u003c/code\u003e, \u003ccode\u003ewho\u003c/code\u003e, \u003ccode\u003eversion\u003c/code\u003e, and \u003ccode\u003ecreateTime\u003c/code\u003e, which provide comprehensive data about the deployment lock.\u003c/p\u003e\n"],["\u003cp\u003eAccess to this endpoint requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003econfig.googleapis.com/config.deployments.getLock\u003c/code\u003e on the specified resource.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.deployments.exportLock\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.LockInfo.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nExports the lock info on a locked deployment.\n\n### HTTP request\n\n`GET https://config.googleapis.com/v1/{name=projects/*/locations/*/deployments/*}:exportLock`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nDetails about the lock which locked the deployment.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `config.googleapis.com/config.deployments.getLock`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]