Some Identity and Access Management (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 Billing accounts | //cloudbilling.googleapis.com/billingAccounts/BILLING_ACCOUNT_ID |
Cloud Run services | //run.googleapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID |
Spanner instances | //spanner.googleapis.com/projects/PROJECT_ID/instances/INSTANCE_ID |
Cloud SQL instances | //sqladmin.googleapis.com/projects/PROJECT_ID/instances/INSTANCE_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 |
Compute Engine networks | //compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK |
Compute Engine subnetworks | //compute.googleapis.com/projects/PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK |
Google Kubernetes Engine clusters | //container.googleapis.com/projects/PROJECT_ID/clusters/CLUSTER_ID |
IAM service accounts | //iam.googleapis.com/projects/PROJECT_ID/ |
IAM service account keys | //iam.googleapis.com/projects/PROJECT_ID/ |
Identity-Aware Proxy App Engine app service | //iap.googleapis.com/projects/PROJECT_NUMBER/iap_web/appengine-PROJECT_ID/services/APP_SERVICE_ID |
Identity-Aware Proxy Compute Engine backend service | //iap.googleapis.com/projects/PROJECT_NUMBER/iap_web/compute/services/BACKEND_SERVICE_ID_OR_NAME |
Pub/Sub topics | //pubsub.googleapis.com/projects/PROJECT_ID/topics/TOPIC_ID |
Resource Manager organizations | //cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_NUMBER |
Resource Manager folders | //cloudresourcemanager.googleapis.com/folders/FOLDER_NUMBER |
Resource Manager projects | //cloudresourcemanager.googleapis.com/projects/PROJECT_ID |
1 The format shown here is compatible with IAM. Some services use a different format for this resource type.
What's next
- Learn how to troubleshoot access issues for a resource.
- Understand how to view the roles you can grant on a resource.