Full resource names

Some Cloud Identity and Access Management (Cloud IAM) features, such as troubleshooting access issues and viewing the grantable roles on a resource, require you to provide a full resource name.

This page provides examples of full resource names for commonly used Google Cloud services. It is not a complete list. To learn more about how full resource names are formatted, see the resource names section of the API design guide.

Resource type Full resource name format
BigQuery datasets //bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]
Cloud Storage buckets1 //storage.googleapis.com/projects/_/buckets/[BUCKET_ID]
Compute Engine instances //compute.googleapis.com/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_ID]
Google Kubernetes Engine clusters //container.googleapis.com/projects/[PROJECT_ID]/clusters/[CLUSTER_ID]
Cloud IAM service accounts //iam.googleapis.com/projects/[PROJECT_ID]/serviceAccounts/[SERVICE_ACCOUNT_EMAIL]
Pub/Sub topics //pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]
Resource Manager organizations //cloudresourcemanager.googleapis.com/organizations/[NUMERIC_ID]
Resource Manager projects //cloudresourcemanager.googleapis.com/projects/[PROJECT_ID]
Cloud Spanner instances //spanner.googleapis.com/projects/[PROJECT_ID]/instances/[INSTANCE_ID]

1 The format shown here is compatible with Cloud IAM. Some services use a different format for this resource type.

What's next

هل كانت هذه الصفحة مفيدة؟ يرجى تقييم أدائنا:

إرسال تعليقات حول...

Cloud IAM Documentation