Create a Lien which applies to the resource denoted by the parent field.
Callers of this method will require permission on the parent resource. For example, applying to projects/1234 requires permission resourcemanager.projects.updateLiens.
NOTE: Some resources may limit the number of Liens which may be applied.
HTTP request
POST https://cloudresourcemanager.googleapis.com/v1/liens
[[["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-06-11 UTC."],[],[],null,["# Method: liens.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreate a Lien which applies to the resource denoted by the `parent` field.\n\nCallers of this method will require permission on the `parent` resource. For example, applying to `projects/1234` requires permission `resourcemanager.projects.updateLiens`.\n\nNOTE: Some resources may limit the number of Liens which may be applied.\n\n### HTTP request\n\n`POST https://cloudresourcemanager.googleapis.com/v1/liens`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body contains an instance of [Lien](/resource-manager/reference/rest/Shared.Types/Lien).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Lien](/resource-manager/reference/rest/Shared.Types/Lien).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `https://www.googleapis.com/auth/cloud-platform.read-only`\n- `https://www.googleapis.com/auth/cloudplatformprojects`\n- `https://www.googleapis.com/auth/cloudplatformprojects.readonly`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]