I need to roll back to an earlier Cloud Run revision of the application I deployed via Google AI Studio Build. However, on the service’s Permissions panel, I get the warning: “You don’t have permission to edit the permissions of the selected resource”.
Google Cloud project: integral-contact-bmbw7
Cloud Run service: m-teri-ve-sipari-takip
Region: europe-west2
AI Studio Applet ID: b7cb51c2-cdd5-469d-9574-0d22edd9f98d
My personal account shows the Cloud Run Viewer role. A Google-managed service account is listed as Owner on the permissions panel, and my account is not permitted to edit service permissions.
Could you please let me know how I can grant my account the Cloud Run Developer (roles/run.developer) permission for the Cloud Run service in this AI Studio-managed project, or how I can safely revert to an earlier revision? I do not want existing Firestore customer data to be deleted, reset, or modified.
The warning You don't have permission to edit the permissions of the selected resource appearing in Cloud Run services deployed via Google AI Studio Build occurs because your account is assigned roles/run.developer (or a restricted Editor) by default in the project’s managed (gen-lang-client-*) IAM policy, while the permission to modify the IAM policy (run.services.setIamPolicy) is disabled.
Without needing to change the Permissions tab, you can use two practical methods to roll back directly to the previous working Cloud Run revision:
Rerouting Traffic from the Revisions Tab (Does Not Require IAM Permissions):
In the Google Cloud Console, open the Cloud Run → Your Service → Revisions tab.
Click the Manage Traffic button in the upper right, route 100% of the traffic to the previous healthy revision, and save (the run.services.update permission is sufficient for this).
Single-Command Rollback via Cloud Shell / gcloud CLI:
# 1. List current revisions
gcloud run revisions list --service=SERVICE_NAME --region=us-west1 --project=integral-contact-bmbw7
# 2. Route 100% of the traffic to the previous working revision
gcloud run services update-traffic SERVICE_NAME \
--to-revisions=PREVIOUS_REVISION_NAME=100 \
--region=us-west1 \
--project=integral-contact-bmbw7