- gcloud alpha endpoints services check-iam-policy - returns information about a member's permissions on a service
gcloud alpha endpoints services check-iam-policy SERVICE [GCLOUD_WIDE_FLAG ...]
(ALPHA) This command lists the permissions that the current authenticated
The name of the service for which to check the IAM policy.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
To check the permissions for the currently authenticated gcloud, run:
$ gcloud alpha endpoints services check-iam-policy \
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud endpoints services check-iam-policy $ gcloud beta endpoints services check-iam-policy