Send feedback
Method: liens.create
Stay organized with collections
Save and categorize content based on your preferences.
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
The URL uses gRPC Transcoding syntax.
Request body
The request body contains an instance of Lien
.
Response body
If successful, the response body contains a newly created instance of Lien
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only
https://www.googleapis.com/auth/cloudplatformprojects
https://www.googleapis.com/auth/cloudplatformprojects.readonly
For more information, see the Authentication Overview .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"lastModified": "Last updated 2023-10-10 UTC.",
"confidential": False
}