Method: liens.create

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.