File: //snap/google-cloud-cli/394/help/man/man1/gcloud_endpoints_services_check-iam-policy.1
.TH "GCLOUD_ENDPOINTS_SERVICES_CHECK\-IAM\-POLICY" 1
.SH "NAME"
.HP
gcloud endpoints services check\-iam\-policy \- returns information about a principal's permissions on a service
.SH "SYNOPSIS"
.HP
\f5gcloud endpoints services check\-iam\-policy\fR \fISERVICE\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
This command lists the permissions that the current authenticated gcloud user
has for a service. For example, if the authenticated user is able to delete the
service, \f5servicemanagement.services.delete\fR will be among the returned
permissions.
.SH "EXAMPLES"
To check the permissions for the currently authenticated gcloud, run:
.RS 2m
$ gcloud endpoints services check\-iam\-policy my_produced_service_name
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fISERVICE\fR
The name of the service for which to check the IAM policy.
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
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 \fB$ gcloud help\fR for details.
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha endpoints services check\-iam\-policy
.RE
.RS 2m
$ gcloud beta endpoints services check\-iam\-policy
.RE