gcloud alpha resource-manager liens create - create a new lien
gcloud alpha resource-manager liens create --reason=REASON --restrictions=RESTRICTIONS [--origin=ORIGIN] [GCLOUD_WIDE_FLAG ...]
(ALPHA) Creates a new lien to be applied to a project.
- --reason=REASON
Human-readable description of why this lien is being applied.
- --restrictions=RESTRICTIONS
Comma separated list of IAM permissions to curtail.
- --origin=ORIGIN
Origin of this lien. Defaults to user identity.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.