This page lists the [Identity and Access Management (IAM)](https://docs.cloud.google.com/iam) predefined roles for
accessing Cloud Run resources.

## Predefined roles

The following table describes IAM roles that are associated with
Cloud Run, and lists the permissions that are contained in each role.

Roles can be granted to users on an entire project or on individual
Cloud Run resources. Read
[Managing access using IAM](https://docs.cloud.google.com/run/docs/securing/managing-access.md.txt)
to learn more.

Roles only apply to Cloud Run resources, they don't apply to
Cloud Run domain mappings. The `Project > Editor` role
is needed to create or update domain mappings.

| Role | Permissions |
|---|---|
| #### Cloud Run Admin (`roles/run.admin`) Full control over all Cloud Run resources. Lowest-level resources where you can grant this role: - Cloud Run service - Cloud Run job - Cloud Run instance - Cloud Run worker pool | `recommender.locations.*` - `recommender.locations.get` - `recommender.locations.list` `recommender.runServiceCostInsights.*` - `recommender.runServiceCostInsights.get` - `recommender.runServiceCostInsights.list` - `recommender.runServiceCostInsights.update` `recommender.runServiceCostRecommendations.*` - `recommender.runServiceCostRecommendations.get` - `recommender.runServiceCostRecommendations.list` - `recommender.runServiceCostRecommendations.update` `recommender.runServiceIdentityInsights.*` - `recommender.runServiceIdentityInsights.get` - `recommender.runServiceIdentityInsights.list` - `recommender.runServiceIdentityInsights.update` `recommender.runServiceIdentityRecommendations.*` - `recommender.runServiceIdentityRecommendations.get` - `recommender.runServiceIdentityRecommendations.list` - `recommender.runServiceIdentityRecommendations.update` `recommender.runServicePerformanceInsights.*` - `recommender.runServicePerformanceInsights.get` - `recommender.runServicePerformanceInsights.list` - `recommender.runServicePerformanceInsights.update` `recommender.runServicePerformanceRecommendations.*` - `recommender.runServicePerformanceRecommendations.get` - `recommender.runServicePerformanceRecommendations.list` - `recommender.runServicePerformanceRecommendations.update` `recommender.runServiceSecurityInsights.*` - `recommender.runServiceSecurityInsights.get` - `recommender.runServiceSecurityInsights.list` - `recommender.runServiceSecurityInsights.update` `recommender.runServiceSecurityRecommendations.*` - `recommender.runServiceSecurityRecommendations.get` - `recommender.runServiceSecurityRecommendations.list` - `recommender.runServiceSecurityRecommendations.update` `resourcemanager.projects.get` `resourcemanager.projects.list` `run.*` - `run.configurations.get` - `run.configurations.list` - `run.executions.cancel` - `run.executions.delete` - `run.executions.get` - `run.executions.list` - `run.instances.create` - `run.instances.delete` - `run.instances.get` - `run.instances.getIamPolicy` - `run.instances.invoke` - `run.instances.list` - `run.instances.setIamPolicy` - `run.instances.sshRead` - `run.instances.sshRoot` - `run.instances.start` - `run.instances.stop` - `run.instances.update` - `run.jobs.create` - `run.jobs.createTagBinding` - `run.jobs.delete` - `run.jobs.deleteTagBinding` - `run.jobs.get` - `run.jobs.getIamPolicy` - `run.jobs.list` - `run.jobs.listEffectiveTags` - `run.jobs.listTagBindings` - `run.jobs.run` - `run.jobs.runWithOverrides` - `run.jobs.setIamPolicy` - `run.jobs.sshRead` - `run.jobs.sshRoot` - `run.jobs.update` - `run.locations.list` - `run.locations.uploadSource` - `run.operations.delete` - `run.operations.get` - `run.operations.list` - `run.prompts.get` - `run.revisions.delete` - `run.revisions.get` - `run.revisions.list` - `run.routes.get` - `run.routes.invoke` - `run.routes.list` - `run.services.create` - `run.services.createTagBinding` - `run.services.delete` - `run.services.deleteTagBinding` - `run.services.get` - `run.services.getIamPolicy` - `run.services.list` - `run.services.listEffectiveTags` - `run.services.listTagBindings` - `run.services.setIamPolicy` - `run.services.sshRead` - `run.services.sshRoot` - `run.services.update` - `run.tasks.get` - `run.tasks.list` - `run.workerpools.create` - `run.workerpools.delete` - `run.workerpools.get` - `run.workerpools.getIamPolicy` - `run.workerpools.list` - `run.workerpools.setIamPolicy` - `run.workerpools.sshRead` - `run.workerpools.sshRoot` - `run.workerpools.update` |
| #### Cloud Run Builder (`roles/run.builder`) Can build Cloud Run functions and source deployed services. | `artifactregistry.repositories.deleteArtifacts` `artifactregistry.repositories.downloadArtifacts` `artifactregistry.repositories.uploadArtifacts` `logging.logEntries.create` `source.repos.get` `storage.objects.get` |
| #### Cloud Run Developer (`roles/run.developer`) Read and write access to all Cloud Run resources. Lowest-level resources where you can grant this role: - Cloud Run service - Cloud Run job - Cloud Run instance - Cloud Run worker pool | `recommender.locations.*` - `recommender.locations.get` - `recommender.locations.list` `recommender.runServiceCostInsights.*` - `recommender.runServiceCostInsights.get` - `recommender.runServiceCostInsights.list` - `recommender.runServiceCostInsights.update` `recommender.runServiceCostRecommendations.*` - `recommender.runServiceCostRecommendations.get` - `recommender.runServiceCostRecommendations.list` - `recommender.runServiceCostRecommendations.update` `recommender.runServiceIdentityInsights.*` - `recommender.runServiceIdentityInsights.get` - `recommender.runServiceIdentityInsights.list` - `recommender.runServiceIdentityInsights.update` `recommender.runServiceIdentityRecommendations.*` - `recommender.runServiceIdentityRecommendations.get` - `recommender.runServiceIdentityRecommendations.list` - `recommender.runServiceIdentityRecommendations.update` `recommender.runServicePerformanceInsights.*` - `recommender.runServicePerformanceInsights.get` - `recommender.runServicePerformanceInsights.list` - `recommender.runServicePerformanceInsights.update` `recommender.runServicePerformanceRecommendations.*` - `recommender.runServicePerformanceRecommendations.get` - `recommender.runServicePerformanceRecommendations.list` - `recommender.runServicePerformanceRecommendations.update` `recommender.runServiceSecurityInsights.*` - `recommender.runServiceSecurityInsights.get` - `recommender.runServiceSecurityInsights.list` - `recommender.runServiceSecurityInsights.update` `recommender.runServiceSecurityRecommendations.*` - `recommender.runServiceSecurityRecommendations.get` - `recommender.runServiceSecurityRecommendations.list` - `recommender.runServiceSecurityRecommendations.update` `resourcemanager.projects.get` `resourcemanager.projects.list` `run.configurations.*` - `run.configurations.get` - `run.configurations.list` `run.executions.*` - `run.executions.cancel` - `run.executions.delete` - `run.executions.get` - `run.executions.list` `run.instances.create` `run.instances.delete` `run.instances.get` `run.instances.getIamPolicy` `run.instances.invoke` `run.instances.list` `run.instances.sshRead` `run.instances.sshRoot` `run.instances.start` `run.instances.stop` `run.instances.update` `run.jobs.create` `run.jobs.delete` `run.jobs.get` `run.jobs.getIamPolicy` `run.jobs.list` `run.jobs.listEffectiveTags` `run.jobs.listTagBindings` `run.jobs.run` `run.jobs.runWithOverrides` `run.jobs.sshRead` `run.jobs.sshRoot` `run.jobs.update` `run.locations.*` - `run.locations.list` - `run.locations.uploadSource` `run.operations.*` - `run.operations.delete` - `run.operations.get` - `run.operations.list` `run.prompts.get` `run.revisions.*` - `run.revisions.delete` - `run.revisions.get` - `run.revisions.list` `run.routes.*` - `run.routes.get` - `run.routes.invoke` - `run.routes.list` `run.services.create` `run.services.delete` `run.services.get` `run.services.getIamPolicy` `run.services.list` `run.services.listEffectiveTags` `run.services.listTagBindings` `run.services.sshRead` `run.services.sshRoot` `run.services.update` `run.tasks.*` - `run.tasks.get` - `run.tasks.list` `run.workerpools.create` `run.workerpools.delete` `run.workerpools.get` `run.workerpools.getIamPolicy` `run.workerpools.list` `run.workerpools.sshRead` `run.workerpools.sshRoot` `run.workerpools.update` |
| #### Cloud Run Editor (`roles/run.editor`) Editor role for Cloud Run | `recommender.locations.*` - `recommender.locations.get` - `recommender.locations.list` `recommender.runServiceCostInsights.*` - `recommender.runServiceCostInsights.get` - `recommender.runServiceCostInsights.list` - `recommender.runServiceCostInsights.update` `recommender.runServiceCostRecommendations.*` - `recommender.runServiceCostRecommendations.get` - `recommender.runServiceCostRecommendations.list` - `recommender.runServiceCostRecommendations.update` `recommender.runServiceIdentityInsights.*` - `recommender.runServiceIdentityInsights.get` - `recommender.runServiceIdentityInsights.list` - `recommender.runServiceIdentityInsights.update` `recommender.runServiceIdentityRecommendations.*` - `recommender.runServiceIdentityRecommendations.get` - `recommender.runServiceIdentityRecommendations.list` - `recommender.runServiceIdentityRecommendations.update` `recommender.runServicePerformanceInsights.*` - `recommender.runServicePerformanceInsights.get` - `recommender.runServicePerformanceInsights.list` - `recommender.runServicePerformanceInsights.update` `recommender.runServicePerformanceRecommendations.*` - `recommender.runServicePerformanceRecommendations.get` - `recommender.runServicePerformanceRecommendations.list` - `recommender.runServicePerformanceRecommendations.update` `recommender.runServiceSecurityInsights.*` - `recommender.runServiceSecurityInsights.get` - `recommender.runServiceSecurityInsights.list` - `recommender.runServiceSecurityInsights.update` `recommender.runServiceSecurityRecommendations.*` - `recommender.runServiceSecurityRecommendations.get` - `recommender.runServiceSecurityRecommendations.list` - `recommender.runServiceSecurityRecommendations.update` `resourcemanager.projects.get` `resourcemanager.projects.list` `run.configurations.*` - `run.configurations.get` - `run.configurations.list` `run.executions.*` - `run.executions.cancel` - `run.executions.delete` - `run.executions.get` - `run.executions.list` `run.instances.create` `run.instances.delete` `run.instances.get` `run.instances.getIamPolicy` `run.instances.invoke` `run.instances.list` `run.instances.sshRead` `run.instances.sshRoot` `run.instances.start` `run.instances.stop` `run.instances.update` `run.jobs.create` `run.jobs.delete` `run.jobs.get` `run.jobs.getIamPolicy` `run.jobs.list` `run.jobs.listEffectiveTags` `run.jobs.listTagBindings` `run.jobs.run` `run.jobs.runWithOverrides` `run.jobs.sshRead` `run.jobs.sshRoot` `run.jobs.update` `run.locations.*` - `run.locations.list` - `run.locations.uploadSource` `run.operations.*` - `run.operations.delete` - `run.operations.get` - `run.operations.list` `run.prompts.get` `run.revisions.*` - `run.revisions.delete` - `run.revisions.get` - `run.revisions.list` `run.routes.*` - `run.routes.get` - `run.routes.invoke` - `run.routes.list` `run.services.create` `run.services.delete` `run.services.get` `run.services.getIamPolicy` `run.services.list` `run.services.listEffectiveTags` `run.services.listTagBindings` `run.services.sshRead` `run.services.sshRoot` `run.services.update` `run.tasks.*` - `run.tasks.get` - `run.tasks.list` `run.workerpools.create` `run.workerpools.delete` `run.workerpools.get` `run.workerpools.getIamPolicy` `run.workerpools.list` `run.workerpools.sshRead` `run.workerpools.sshRoot` `run.workerpools.update` |
| #### Cloud Run Invoker (`roles/run.invoker`) Can invoke Cloud Run services, instances and execute Cloud Run jobs. Lowest-level resources where you can grant this role: - Cloud Run service - Cloud Run job - Cloud Run instance | `run.instances.invoke` `run.jobs.run` `run.routes.invoke` |
| #### Cloud Run Viewer (`roles/run.viewer`) Can view the state of all Cloud Run resources, including IAM policies. Lowest-level resources where you can grant this role: - Cloud Run service - Cloud Run job - Cloud Run instance - Cloud Run worker pool | `recommender.locations.*` - `recommender.locations.get` - `recommender.locations.list` `recommender.runServiceCostInsights.get` `recommender.runServiceCostInsights.list` `recommender.runServiceCostRecommendations.get` `recommender.runServiceCostRecommendations.list` `recommender.runServiceIdentityInsights.get` `recommender.runServiceIdentityInsights.list` `recommender.runServiceIdentityRecommendations.get` `recommender.runServiceIdentityRecommendations.list` `recommender.runServicePerformanceInsights.get` `recommender.runServicePerformanceInsights.list` `recommender.runServicePerformanceRecommendations.get` `recommender.runServicePerformanceRecommendations.list` `recommender.runServiceSecurityInsights.get` `recommender.runServiceSecurityInsights.list` `recommender.runServiceSecurityRecommendations.get` `recommender.runServiceSecurityRecommendations.list` `resourcemanager.projects.get` `resourcemanager.projects.list` `run.configurations.*` - `run.configurations.get` - `run.configurations.list` `run.executions.get` `run.executions.list` `run.instances.get` `run.instances.getIamPolicy` `run.instances.list` `run.jobs.get` `run.jobs.getIamPolicy` `run.jobs.list` `run.jobs.listEffectiveTags` `run.jobs.listTagBindings` `run.locations.list` `run.operations.get` `run.operations.list` `run.prompts.get` `run.revisions.get` `run.revisions.list` `run.routes.get` `run.routes.list` `run.services.get` `run.services.getIamPolicy` `run.services.list` `run.services.listEffectiveTags` `run.services.listTagBindings` `run.tasks.*` - `run.tasks.get` - `run.tasks.list` `run.workerpools.get` `run.workerpools.getIamPolicy` `run.workerpools.list` |
| #### Cloud Run Jobs Executor (`roles/run.jobsExecutor`) Can execute and cancel Cloud Run jobs. | `run.executions.cancel` `run.jobs.run` |
| #### Cloud Run Jobs Executor With Overrides (`roles/run.jobsExecutorWithOverrides`) Can execute and cancel Cloud Run jobs with overrides. | `run.executions.cancel` `run.jobs.run` `run.jobs.runWithOverrides` |
| #### Cloud Run Service Invoker (`roles/run.servicesInvoker`) Can invoke Cloud Run services. | `run.routes.invoke` |
| #### Cloud Run Source Developer (`roles/run.sourceDeveloper`) Deploy and manage Cloud Run source deployed resources. | `artifactregistry.attachments.get` `artifactregistry.attachments.list` `artifactregistry.dockerimages.*` - `artifactregistry.dockerimages.get` - `artifactregistry.dockerimages.list` `artifactregistry.files.download` `artifactregistry.files.get` `artifactregistry.files.list` `artifactregistry.locations.*` - `artifactregistry.locations.get` - `artifactregistry.locations.list` `artifactregistry.mavenartifacts.*` - `artifactregistry.mavenartifacts.get` - `artifactregistry.mavenartifacts.list` `artifactregistry.npmpackages.*` - `artifactregistry.npmpackages.get` - `artifactregistry.npmpackages.list` `artifactregistry.packages.get` `artifactregistry.packages.list` `artifactregistry.projectconfigs.get` `artifactregistry.projectsettings.get` `artifactregistry.pythonpackages.*` - `artifactregistry.pythonpackages.get` - `artifactregistry.pythonpackages.list` `artifactregistry.repositories.create` `artifactregistry.repositories.downloadArtifacts` `artifactregistry.repositories.exportArtifacts` `artifactregistry.repositories.get` `artifactregistry.repositories.list` `artifactregistry.repositories.listEffectiveTags` `artifactregistry.repositories.listTagBindings` `artifactregistry.repositories.readViaVirtualRepository` `artifactregistry.rules.get` `artifactregistry.rules.list` `artifactregistry.tags.get` `artifactregistry.tags.list` `artifactregistry.versions.get` `artifactregistry.versions.list` `cloudbuild.builds.create` `cloudbuild.builds.get` `cloudbuild.builds.list` `cloudbuild.builds.update` `cloudbuild.locations.*` - `cloudbuild.locations.get` - `cloudbuild.locations.list` `cloudbuild.operations.*` - `cloudbuild.operations.get` - `cloudbuild.operations.list` `cloudkms.keyHandles.*` - `cloudkms.keyHandles.create` - `cloudkms.keyHandles.get` - `cloudkms.keyHandles.list` `cloudkms.operations.get` `cloudkms.projects.showEffectiveAutokeyConfig` `eventarc.channelConnections.create` `eventarc.channelConnections.createTagBinding` `eventarc.channelConnections.delete` `eventarc.channelConnections.deleteTagBinding` `eventarc.channelConnections.get` `eventarc.channelConnections.getIamPolicy` `eventarc.channelConnections.list` `eventarc.channelConnections.listEffectiveTags` `eventarc.channelConnections.listTagBindings` `eventarc.channelConnections.publish` `eventarc.channels.attach` `eventarc.channels.create` `eventarc.channels.createTagBinding` `eventarc.channels.delete` `eventarc.channels.deleteTagBinding` `eventarc.channels.get` `eventarc.channels.getIamPolicy` `eventarc.channels.list` `eventarc.channels.listEffectiveTags` `eventarc.channels.listTagBindings` `eventarc.channels.publish` `eventarc.channels.undelete` `eventarc.channels.update` `eventarc.enrollments.create` `eventarc.enrollments.delete` `eventarc.enrollments.get` `eventarc.enrollments.getIamPolicy` `eventarc.enrollments.list` `eventarc.enrollments.update` `eventarc.googleApiSources.create` `eventarc.googleApiSources.delete` `eventarc.googleApiSources.get` `eventarc.googleApiSources.getIamPolicy` `eventarc.googleApiSources.list` `eventarc.googleApiSources.update` `eventarc.googleChannelConfigs.*` - `eventarc.googleChannelConfigs.get` - `eventarc.googleChannelConfigs.update` `eventarc.kafkaSources.create` `eventarc.kafkaSources.delete` `eventarc.kafkaSources.get` `eventarc.kafkaSources.getIamPolicy` `eventarc.kafkaSources.list` `eventarc.locations.*` - `eventarc.locations.get` - `eventarc.locations.list` `eventarc.operations.*` - `eventarc.operations.cancel` - `eventarc.operations.delete` - `eventarc.operations.get` - `eventarc.operations.list` `eventarc.pipelines.create` `eventarc.pipelines.delete` `eventarc.pipelines.get` `eventarc.pipelines.getIamPolicy` `eventarc.pipelines.list` `eventarc.pipelines.update` `eventarc.providers.*` - `eventarc.providers.get` - `eventarc.providers.list` `eventarc.triggers.create` `eventarc.triggers.createTagBinding` `eventarc.triggers.delete` `eventarc.triggers.deleteTagBinding` `eventarc.triggers.get` `eventarc.triggers.getIamPolicy` `eventarc.triggers.list` `eventarc.triggers.listEffectiveTags` `eventarc.triggers.listTagBindings` `eventarc.triggers.undelete` `eventarc.triggers.update` `orgpolicy.policy.get` `pubsub.messageTransforms.validate` `pubsub.schemas.attach` `pubsub.schemas.commit` `pubsub.schemas.create` `pubsub.schemas.delete` `pubsub.schemas.get` `pubsub.schemas.getIamPolicy` `pubsub.schemas.list` `pubsub.schemas.listRevisions` `pubsub.schemas.rollback` `pubsub.schemas.validate` `pubsub.snapshots.create` `pubsub.snapshots.createTagBinding` `pubsub.snapshots.delete` `pubsub.snapshots.deleteTagBinding` `pubsub.snapshots.get` `pubsub.snapshots.list` `pubsub.snapshots.listEffectiveTags` `pubsub.snapshots.listTagBindings` `pubsub.snapshots.seek` `pubsub.snapshots.update` `pubsub.subscriptions.consume` `pubsub.subscriptions.create` `pubsub.subscriptions.createTagBinding` `pubsub.subscriptions.delete` `pubsub.subscriptions.deleteTagBinding` `pubsub.subscriptions.get` `pubsub.subscriptions.list` `pubsub.subscriptions.listEffectiveTags` `pubsub.subscriptions.listTagBindings` `pubsub.subscriptions.update` `pubsub.topics.attachSubscription` `pubsub.topics.create` `pubsub.topics.createTagBinding` `pubsub.topics.delete` `pubsub.topics.deleteTagBinding` `pubsub.topics.detachSubscription` `pubsub.topics.get` `pubsub.topics.list` `pubsub.topics.listEffectiveTags` `pubsub.topics.listTagBindings` `pubsub.topics.publish` `pubsub.topics.update` `pubsub.topics.updateTag` `recommender.locations.*` - `recommender.locations.get` - `recommender.locations.list` `recommender.runServiceCostInsights.*` - `recommender.runServiceCostInsights.get` - `recommender.runServiceCostInsights.list` - `recommender.runServiceCostInsights.update` `recommender.runServiceCostRecommendations.*` - `recommender.runServiceCostRecommendations.get` - `recommender.runServiceCostRecommendations.list` - `recommender.runServiceCostRecommendations.update` `recommender.runServiceIdentityInsights.*` - `recommender.runServiceIdentityInsights.get` - `recommender.runServiceIdentityInsights.list` - `recommender.runServiceIdentityInsights.update` `recommender.runServiceIdentityRecommendations.*` - `recommender.runServiceIdentityRecommendations.get` - `recommender.runServiceIdentityRecommendations.list` - `recommender.runServiceIdentityRecommendations.update` `recommender.runServicePerformanceInsights.*` - `recommender.runServicePerformanceInsights.get` - `recommender.runServicePerformanceInsights.list` - `recommender.runServicePerformanceInsights.update` `recommender.runServicePerformanceRecommendations.*` - `recommender.runServicePerformanceRecommendations.get` - `recommender.runServicePerformanceRecommendations.list` - `recommender.runServicePerformanceRecommendations.update` `recommender.runServiceSecurityInsights.*` - `recommender.runServiceSecurityInsights.get` - `recommender.runServiceSecurityInsights.list` - `recommender.runServiceSecurityInsights.update` `recommender.runServiceSecurityRecommendations.*` - `recommender.runServiceSecurityRecommendations.get` - `recommender.runServiceSecurityRecommendations.list` - `recommender.runServiceSecurityRecommendations.update` `remotebuildexecution.blobs.get` `resourcemanager.projects.get` `resourcemanager.projects.list` `run.configurations.*` - `run.configurations.get` - `run.configurations.list` `run.executions.*` - `run.executions.cancel` - `run.executions.delete` - `run.executions.get` - `run.executions.list` `run.instances.create` `run.instances.delete` `run.instances.get` `run.instances.getIamPolicy` `run.instances.invoke` `run.instances.list` `run.instances.sshRead` `run.instances.sshRoot` `run.instances.start` `run.instances.stop` `run.instances.update` `run.jobs.create` `run.jobs.delete` `run.jobs.get` `run.jobs.getIamPolicy` `run.jobs.list` `run.jobs.listEffectiveTags` `run.jobs.listTagBindings` `run.jobs.run` `run.jobs.runWithOverrides` `run.jobs.sshRead` `run.jobs.sshRoot` `run.jobs.update` `run.locations.*` - `run.locations.list` - `run.locations.uploadSource` `run.operations.*` - `run.operations.delete` - `run.operations.get` - `run.operations.list` `run.prompts.get` `run.revisions.*` - `run.revisions.delete` - `run.revisions.get` - `run.revisions.list` `run.routes.*` - `run.routes.get` - `run.routes.invoke` - `run.routes.list` `run.services.create` `run.services.delete` `run.services.get` `run.services.getIamPolicy` `run.services.list` `run.services.listEffectiveTags` `run.services.listTagBindings` `run.services.sshRead` `run.services.sshRoot` `run.services.update` `run.tasks.*` - `run.tasks.get` - `run.tasks.list` `run.workerpools.create` `run.workerpools.delete` `run.workerpools.get` `run.workerpools.getIamPolicy` `run.workerpools.list` `run.workerpools.sshRead` `run.workerpools.sshRoot` `run.workerpools.update` `serviceusage.catalogs.listMembers` `serviceusage.consumerpolicy.analyze` `serviceusage.consumerpolicy.get` `serviceusage.effectivepolicy.get` `serviceusage.groups.*` - `serviceusage.groups.list` - `serviceusage.groups.listExpandedMembers` - `serviceusage.groups.listMembers` `serviceusage.quotas.get` `serviceusage.services.get` `serviceusage.services.list` `serviceusage.services.listApis` `serviceusage.services.listDependentServices` `serviceusage.services.use` `serviceusage.values.test` `storage.buckets.create` `storage.buckets.get` `storage.buckets.list` `storage.folders.create` `storage.folders.get` `storage.folders.list` `storage.managedFolders.create` `storage.managedFolders.get` `storage.managedFolders.list` `storage.multipartUploads.abort` `storage.multipartUploads.create` `storage.multipartUploads.listParts` `storage.objects.create` `storage.objects.createContext` `storage.objects.get` `storage.objects.list` |
| #### Cloud Run Source Viewer (`roles/run.sourceViewer`) View Cloud Run source deployed resources. | `artifactregistry.repositories.get` `artifactregistry.repositories.list` `cloudbuild.builds.get` `cloudbuild.builds.list` `cloudbuild.locations.*` - `cloudbuild.locations.get` - `cloudbuild.locations.list` `cloudbuild.operations.*` - `cloudbuild.operations.get` - `cloudbuild.operations.list` `eventarc.channelConnections.get` `eventarc.channelConnections.getIamPolicy` `eventarc.channelConnections.list` `eventarc.channelConnections.listEffectiveTags` `eventarc.channelConnections.listTagBindings` `eventarc.channels.get` `eventarc.channels.getIamPolicy` `eventarc.channels.list` `eventarc.channels.listEffectiveTags` `eventarc.channels.listTagBindings` `eventarc.enrollments.get` `eventarc.enrollments.getIamPolicy` `eventarc.enrollments.list` `eventarc.googleApiSources.get` `eventarc.googleApiSources.getIamPolicy` `eventarc.googleApiSources.list` `eventarc.googleChannelConfigs.get` `eventarc.kafkaSources.get` `eventarc.kafkaSources.getIamPolicy` `eventarc.kafkaSources.list` `eventarc.locations.*` - `eventarc.locations.get` - `eventarc.locations.list` `eventarc.messageBuses.get` `eventarc.messageBuses.getIamPolicy` `eventarc.messageBuses.list` `eventarc.messageBuses.use` `eventarc.multiProjectSources.collectGoogleApiEvents` `eventarc.operations.get` `eventarc.operations.list` `eventarc.pipelines.get` `eventarc.pipelines.getIamPolicy` `eventarc.pipelines.list` `eventarc.providers.*` - `eventarc.providers.get` - `eventarc.providers.list` `eventarc.triggers.get` `eventarc.triggers.getIamPolicy` `eventarc.triggers.list` `eventarc.triggers.listEffectiveTags` `eventarc.triggers.listTagBindings` `pubsub.messageTransforms.validate` `pubsub.schemas.get` `pubsub.schemas.list` `pubsub.schemas.listRevisions` `pubsub.schemas.validate` `pubsub.snapshots.get` `pubsub.snapshots.list` `pubsub.snapshots.listEffectiveTags` `pubsub.snapshots.listTagBindings` `pubsub.subscriptions.get` `pubsub.subscriptions.list` `pubsub.subscriptions.listEffectiveTags` `pubsub.subscriptions.listTagBindings` `pubsub.topics.get` `pubsub.topics.list` `pubsub.topics.listEffectiveTags` `pubsub.topics.listTagBindings` `recommender.locations.*` - `recommender.locations.get` - `recommender.locations.list` `recommender.runServiceCostInsights.get` `recommender.runServiceCostInsights.list` `recommender.runServiceCostRecommendations.get` `recommender.runServiceCostRecommendations.list` `recommender.runServiceIdentityInsights.get` `recommender.runServiceIdentityInsights.list` `recommender.runServiceIdentityRecommendations.get` `recommender.runServiceIdentityRecommendations.list` `recommender.runServicePerformanceInsights.get` `recommender.runServicePerformanceInsights.list` `recommender.runServicePerformanceRecommendations.get` `recommender.runServicePerformanceRecommendations.list` `recommender.runServiceSecurityInsights.get` `recommender.runServiceSecurityInsights.list` `recommender.runServiceSecurityRecommendations.get` `recommender.runServiceSecurityRecommendations.list` `remotebuildexecution.blobs.get` `resourcemanager.projects.get` `resourcemanager.projects.list` `run.configurations.*` - `run.configurations.get` - `run.configurations.list` `run.executions.get` `run.executions.list` `run.instances.get` `run.instances.getIamPolicy` `run.instances.list` `run.jobs.get` `run.jobs.getIamPolicy` `run.jobs.list` `run.jobs.listEffectiveTags` `run.jobs.listTagBindings` `run.locations.list` `run.operations.get` `run.operations.list` `run.prompts.get` `run.revisions.get` `run.revisions.list` `run.routes.get` `run.routes.list` `run.services.get` `run.services.getIamPolicy` `run.services.list` `run.services.listEffectiveTags` `run.services.listTagBindings` `run.tasks.*` - `run.tasks.get` - `run.tasks.list` `run.workerpools.get` `run.workerpools.getIamPolicy` `run.workerpools.list` `serviceusage.catalogs.listMembers` `serviceusage.consumerpolicy.analyze` `serviceusage.consumerpolicy.get` `serviceusage.effectivepolicy.get` `serviceusage.groups.*` - `serviceusage.groups.list` - `serviceusage.groups.listExpandedMembers` - `serviceusage.groups.listMembers` `serviceusage.quotas.get` `serviceusage.services.get` `serviceusage.services.list` `serviceusage.services.listApis` `serviceusage.services.listDependentServices` `serviceusage.values.test` `storage.folders.get` `storage.folders.list` `storage.managedFolders.get` `storage.managedFolders.list` `storage.objects.get` `storage.objects.list` |
| #### Cloud Run SSH Read Only ^Beta^ (`roles/run.sshReader`) Can SSH into Cloud Run instances and read data. | `run.instances.sshRead` `run.jobs.sshRead` `run.services.sshRead` `run.workerpools.sshRead` |
| #### Cloud Run SSH Root Access ^Beta^ (`roles/run.sshRoot`) Can SSH into Cloud Run instances and run commands as root. | `run.instances.sshRoot` `run.jobs.sshRoot` `run.services.sshRoot` `run.workerpools.sshRoot` |

### Service agent roles


Service agent roles should only be granted to [service agents](https://docs.cloud.google.com/iam/docs/service-agents.md.txt).

| Role | Permissions |
|---|---|
| #### Cloud Run Service Agent (`roles/run.serviceAgent`) Gives Cloud Run service account access to managed resources. > [!WARNING] > **Warning:** Do not grant service agent roles to any principals except [service agents](https://docs.cloud.google.com/iam/docs/service-agents.md.txt). | `artifactregistry.attachments.get` `artifactregistry.attachments.list` `artifactregistry.dockerimages.*` - `artifactregistry.dockerimages.get` - `artifactregistry.dockerimages.list` `artifactregistry.files.download` `artifactregistry.files.get` `artifactregistry.files.list` `artifactregistry.locations.*` - `artifactregistry.locations.get` - `artifactregistry.locations.list` `artifactregistry.mavenartifacts.*` - `artifactregistry.mavenartifacts.get` - `artifactregistry.mavenartifacts.list` `artifactregistry.npmpackages.*` - `artifactregistry.npmpackages.get` - `artifactregistry.npmpackages.list` `artifactregistry.packages.delete` `artifactregistry.packages.get` `artifactregistry.packages.list` `artifactregistry.projectconfigs.get` `artifactregistry.projectsettings.get` `artifactregistry.pythonpackages.*` - `artifactregistry.pythonpackages.get` - `artifactregistry.pythonpackages.list` `artifactregistry.repositories.create` `artifactregistry.repositories.downloadArtifacts` `artifactregistry.repositories.exportArtifacts` `artifactregistry.repositories.get` `artifactregistry.repositories.list` `artifactregistry.repositories.listEffectiveTags` `artifactregistry.repositories.listTagBindings` `artifactregistry.repositories.readViaVirtualRepository` `artifactregistry.repositories.update` `artifactregistry.repositories.uploadArtifacts` `artifactregistry.rules.get` `artifactregistry.rules.list` `artifactregistry.tags.delete` `artifactregistry.tags.get` `artifactregistry.tags.list` `artifactregistry.versions.delete` `artifactregistry.versions.get` `artifactregistry.versions.list` `binaryauthorization.platformPolicies.evaluatePolicy` `binaryauthorization.policy.evaluatePolicy` `clientauthconfig.clients.list` `cloudbuild.builds.create` `cloudbuild.builds.get` `cloudbuild.workerpools.use` `compute.addresses.create` `compute.addresses.createInternal` `compute.addresses.delete` `compute.addresses.deleteInternal` `compute.addresses.get` `compute.addresses.list` `compute.globalOperations.get` `compute.networks.access` `compute.networks.get` `compute.regionOperations.get` `compute.subnetworks.get` `compute.subnetworks.use` `compute.zoneOperations.get` `iam.serviceAccounts.actAs` `iam.serviceAccounts.getAccessToken` `iam.serviceAccounts.getOpenIdToken` `iam.serviceAccounts.signBlob` `networkservices.meshes.get` `resourcemanager.projects.get` `resourcemanager.projects.getIamPolicy` `resourcemanager.projects.list` `run.routes.invoke` `serviceusage.catalogs.listMembers` `serviceusage.consumerpolicy.analyze` `serviceusage.consumerpolicy.get` `serviceusage.effectivepolicy.get` `serviceusage.groups.*` - `serviceusage.groups.list` - `serviceusage.groups.listExpandedMembers` - `serviceusage.groups.listMembers` `serviceusage.services.get` `serviceusage.services.listApis` `serviceusage.services.listDependentServices` `serviceusage.services.use` `serviceusage.values.test` `storage.buckets.create` `storage.buckets.get` `storage.buckets.update` `storage.folders.get` `storage.folders.list` `storage.managedFolders.get` `storage.managedFolders.list` `storage.objects.create` `storage.objects.delete` `storage.objects.get` `storage.objects.list` `storage.objects.update` `vpcaccess.connectors.get` |

For a reference describing the IAM permissions contained in each
IAM role, refer
to [Cloud Run IAM permissions](https://docs.cloud.google.com/run/docs/reference/iam/permissions.md.txt).

## Custom roles

For developers that want to define their own roles containing bundles of
permissions that they specify, IAM offers
[custom roles](https://docs.cloud.google.com/iam/docs/creating-custom-roles.md.txt). Reference the
[additional configuration](https://docs.cloud.google.com/run/docs/reference/iam/roles.md.txt#additional-configuration) section and
[Cloud Run permissions](https://docs.cloud.google.com/run/docs/reference/iam/permissions.md.txt) page
for specific permissions needed to run and manage Cloud Run
resources.

## Deployment permissions

Cloud Run resources run with a
[service identity](https://docs.cloud.google.com/run/docs/securing/service-identity.md.txt).

To create or update Cloud Run resources, the
[deployer account](https://docs.cloud.google.com/run/docs/securing/service-identity.md.txt#cloud-run-deployer-account)
must have access on the following resources:

- The Cloud Run resource
- The Artifact Registry repository of the Cloud Run resource's container image
- The service account used as the service identity

By default, the service identity is the Compute Engine default service
account. However, Google recommends using a user-managed service account with
the most minimal set of permissions. See the service identity configuration
pages for
[services](https://docs.cloud.google.com/run/docs/configuring/services/service-identity.md.txt),
[jobs](https://docs.cloud.google.com/run/docs/configuring/jobs/service-identity.md.txt),
[worker pools](https://docs.cloud.google.com/run/docs/configuring/workerpools/service-identity.md.txt), and
[instances](https://docs.cloud.google.com/run/docs/configuring/instances/service-identity.md.txt)
for more details.

Select the appropriate expander arrow to learn about the required deployment
permissions.

#### Click to view the required roles for deploying a container

To get the permissions that you need to deploy a container,
you or your administrator must grant IAM roles to the
deployer account on the following resources:

- [Cloud Run Developer](https://docs.cloud.google.com/iam/docs/roles-permissions/run.md.txt#run.developer) (`roles/run.developer`) on the Cloud Run resource
- [Artifact Registry Reader](https://docs.cloud.google.com/iam/docs/roles-permissions/artifactregistry.md.txt#artifactregistry.reader) (`roles/artifactregistry.reader`) on the Artifact Registry repository of the container images of the Cloud Run resource
- [Service Account User](https://docs.cloud.google.com/iam/docs/roles-permissions/iam.md.txt#iam.serviceAccountUser) (`roles/iam.serviceAccountUser`) on the Cloud Run service identity


The following permissions are required to deploy services or revisions:

- `run.services.create` to create services and `run.services.update` to update services
- `run.services.get` and `run.operations.get` to read the status of the service
- `artifactregistry.repositories.downloadArtifacts` on the repository container the container images of the service
- `iam.serviceAccounts.actAs` on the service identity

For permissions that are required to deploy, execute, or run other
Cloud Run resources, see
[Cloud Run
permissions](https://docs.cloud.google.com/run/docs/reference/iam/permissions).

Note that you can find these required permissions in other
[predefined roles](https://docs.cloud.google.com/iam/docs/roles-overview.md.txt#predefined), or use
them to create a
[custom roles](https://docs.cloud.google.com/iam/docs/creating-custom-roles.md.txt).

#### Click to view the roles for deploying from source

To get the permissions that you need to deploy a
Cloud Run resource from source code, you or your
administrator must grant the following roles:

- [Cloud Run Source Developer](https://docs.cloud.google.com/iam/docs/roles-permissions/run.md.txt#run.sourceDeveloper) (`roles/run.sourceDeveloper`) to the deployer account on your project.
- [Service Usage Consumer](https://docs.cloud.google.com/iam/docs/roles-permissions/serviceusage.md.txt#serviceusage.serviceUsageConsumer) (`roles/serviceusage.serviceUsageConsumer`) on your project
- [Cloud Run Builder](https://docs.cloud.google.com/iam/docs/roles-permissions/run.md.txt#run.builder) (`roles/run.builder`) to the Compute Engine default service account on your project.

If your Cloud Run resource interfaces with Cloud Client Libraries,
you must grant IAM roles to the service identity, as required by
the Cloud Client Libraries.

If you are using a cross-project service account to deploy, execute, or run a
Cloud Run resource, grant the Service Account Token Creator
(`roles/iam.serviceAccountTokenCreator`) role on the service identity. See
[Use service accounts in other projects](https://docs.cloud.google.com/run/docs/configuring/services/service-identity.md.txt#use_service_accounts_in_other_projects)
for more details.

To grant the Cloud Run deployer account access, see the following
instructions:

### Console

To grant access on the **Cloud Run resource**:

1. Go to the **Cloud Run** page in the Google Cloud console:

   [Go to Cloud Run](https://console.cloud.google.com/run/)

   <br />

2. Select **Services** , **Jobs** , or **Worker pools**.

3. Click the checkbox at the left of the Cloud Run resource
   you want to add principals to.

4. In the information pane in the top right corner click the
   **Permissions** tab. If the information pane isn't visible, you may need
   to click **Show Info Panel** , then click **Permissions**.

5. Click **Add principal**.

6. In the **New principals** field, enter one or more identities that need
   access to your job.

7. From the *Role* drop-down menu, select a role or roles. The roles you
   select appear in the pane with a short description of the permissions
   they grant.

8. Click **Save**.

To grant access on the **Artifact Registry repository**:

1. Go to the **Artifact Registry** page in the Google Cloud console:

   [Go to Artifact Registry](https://console.cloud.google.com/artifacts/)

   <br />

2. Click the checkbox at the left of the repository you want to add
   principals to.

3. In the information pane in the top right corner click the
   **Permissions** tab. If the information pane isn't visible, you may need
   to click **Show Info Panel** , then click **Permissions**.

4. Click **Add principal**.

5. In the **New principals** field, enter one or more identities that need
   access this repository.

6. From the *Role* drop-down menu, select **Artifact Registry Reader**.

7. Click **Save**.

To grant access on the **service identity resource**:

1. Go to the **Service accounts** page in the Google Cloud console:

   [Go to Service accounts](https://console.cloud.google.com/iam-admin/serviceaccounts)

   <br />

2. Select the service account email address you are using as the service
   identity, either:

   - The Compute Engine default service account: `PROJECT_NUMBER-compute@developer.gserviceaccount.com`
   - A service account that was manually created: `SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`
3. Click the **Permissions** tab.

4. Click the **Grant access**
   button.

5. Enter the principal (e.g. user or group email) that matches the principal
   you're granting the Admin or Developer role to.

6. In the **Select a role** drop-down, select the **Service Accounts** \>
   **Service Account User** role.

7. Click **Save**.

If you are deploying from source, grant access to the deployer account and
the Cloud Build service account on your **project**:

1. Go to the **IAM** page in the Google Cloud console:

   [Go to IAM](https://console.cloud.google.com/iam-admin/iam)

   <br />

2. Select the email address of the principal you are using as the deployer
   account.

3. Click the edit icon on the left of the principal.

4. From the *Role* drop-down menu, select **Cloud Run Source Developer**.

5. From the *Role* drop-down menu, select **Service Usage Consumer**.

6. Click **Save**.

7. Select the service account email address you are using as the service
   identity, either:

   - The Compute Engine default service account: `PROJECT_NUMBER-compute@developer.gserviceaccount.com`
   - A service account that was manually created: `SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`
8. Click the edit icon on the left of the principal.

9. From the *Role* drop-down menu, select **Cloud Run Builder**.

10. Click **Save**.

### gcloud

1. To grant access on the **Cloud Run resource** , use
   gcloud commands such as
   `gcloud run services add-iam-policy-binding` or
   `gcloud run jobs add-iam-policy-binding`,
   replacing the highlighted variables with the appropriate values:

   ```bash
   gcloud run CLOUD_RUN_RESOURCE_TYPE add-iam-policy-binding NAME \
       --member="PRINCIPAL" \
       --role="ROLE"
    
   ```

   Replace the following:
   - <var translate="no">CLOUD_RUN_RESOURCE_TYPE</var>: the Cloud Run resource type, such as `services`, `jobs`, or `worker-pools`.
   - <var translate="no">NAME</var>: the name of the Cloud Run resource.
   - <var translate="no">PRINCIPAL</var>: the deployer account you are adding the
     binding for, using the format `user|group|serviceAccount:email`
     or `domain:domain`. For example:

     - `user:test-user@gmail.com`
     - `group:admins@example.com`
     - `serviceAccount:test123@example.domain.com`
     - `domain:example.domain.com`
   - <var translate="no">ROLE</var> with the role name to assign to the deployer
     account. For example, `roles/run.developer`.

2. To grant access on the **Artifact Registry repository** , use the
   `gcloud artifacts repositories add-iam-policy-binding` command,
   replacing the highlighted variables with the appropriate values:

   ```bash
   gcloud artifacts repositories add-iam-policy-binding REPOSITORY \
       --location="LOCATION" \
       --member="PRINCIPAL" \
       --role="roles/artifactregistry.reader"
    
   ```

   Replace the following:
   - <var translate="no">REPOSITORY</var>: the ID of the repository.
   - <var translate="no">LOCATION</var>: the location of the repository.
   - <var translate="no">PRINCIPAL</var>: the deployer account you are adding the binding for, using the format `user|group|serviceAccount:email` or `domain:domain`.
3. To grant access on the **service identity resource** , use the
   `gcloud iam service-accounts add-iam-policy-binding` command,
   replacing the highlighted variables with the appropriate values:

   ```bash
   gcloud iam service-accounts add-iam-policy-binding SERVICE_ACCOUNT_EMAIL \
       --member="PRINCIPAL" \
       --role="roles/iam.serviceAccountUser"
    
   ```

   Replace the following:
   - <var translate="no">SERVICE_ACCOUNT_EMAIL</var>: the service account email address
     you are using as the service identity, such as:

     - The Compute Engine default service account: `PROJECT_NUMBER-compute@developer.gserviceaccount.com`
     - A service account that was manually created: `SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`
   - <var translate="no">PRINCIPAL</var>: the principal you are adding the binding for,
     using the format `user|group|serviceAccount:email` or
     `domain:domain`. For example:

     - `user:test-user@gmail.com`
     - `group:admins@example.com`
     - `serviceAccount:test123@example.domain.com`
     - `domain:example.domain.com`
4. If you are deploying from source, grant access to the deployer account
   and the Cloud Build service account on your **project** with
   the `gcloud projects add-iam-policy-binding` command.

   Grant the Cloud Run Builder role to the build service account
   on your project:

   ```bash
    gcloud projects add-iam-policy-binding PROJECT_ID \
        --member=serviceAccount:BUILD_SERVICE_ACCOUNT_EMAIL \
        --role=roles/run.builder
     
   ```

   Replace the following:
   - <var translate="no">PROJECT_ID</var>: your Google Cloud project ID.
   - <var translate="no">BUILD_SERVICE_ACCOUNT_EMAIL</var>: the service account email
     address you are using as the build service account, such as:

     - The Compute Engine default service account (default): `PROJECT_NUMBER-compute@developer.gserviceaccount.com`.
     - A service account that was manually created: `SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`.

   Grant the Cloud Run Source Developer role to the deployer
   account on your project:

   ```bash
    gcloud projects add-iam-policy-binding PROJECT_ID \
        --member=PRINCIPAL \
        --role=roles/run.sourceDeveloper
     
   ```

   Replace the following:
   - <var translate="no">PROJECT_NUMBER</var>: your Google Cloud project number.
   - <var translate="no">PROJECT_ID</var>: your Google Cloud project ID.
   - <var translate="no">PRINCIPAL</var>: the deployer account you are adding the binding for.

   Grant the Service Usage Consumer role to the deployer
   account on your project:

   ```bash
    gcloud projects add-iam-policy-binding PROJECT_ID \
     --member=PRINCIPAL \
     --role=roles/serviceusage.serviceUsageConsumer
     
   ```

   Replace the following:
   - <var translate="no">PROJECT_NUMBER</var>: your Google Cloud project number.
   - <var translate="no">PROJECT_ID</var>: your Google Cloud project ID.
   - <var translate="no">PRINCIPAL</var>: the deployer account you are adding the binding for.

   For detailed instructions on how to find your project ID, and project
   number, see
   [Creating and managing projects](https://docs.cloud.google.com/resource-manager/docs/creating-managing-projects.md.txt#identifying_projects).

> [!CAUTION]
> **Caution:** Assigning the [IAM Service Account User role](https://docs.cloud.google.com/iam/docs/service-account-permissions.md.txt#user-role) indirectly grants the role associated with the service identity to the user. For example: a user has the Cloud Run Admin role, and the user is also assigned the role of IAMService Account User on the service identity. If the service identity has the Editor role, the user can then "act as" an Editor. When configuring the service identity, we recommend following the [principle of least privilege](https://docs.cloud.google.com/iam/docs/using-iam-securely.md.txt#least_privilege) to minimize the impact of these role assignments.

In addition to the deployer account needing these permissions, the
Cloud Run [service agent](https://docs.cloud.google.com/iam/docs/service-agents.md.txt) must have
permissions to access the deployed container. By default, Google grants the
[Cloud Run Service Agent](https://docs.cloud.google.com/iam/docs/roles-permissions/run.md.txt#run.serviceAgent)
role to the Cloud Run service agent automatically.

### Avoid IAM allow policy limits in automated deployments

When using Infrastructure-as-Code (IaC) tools like
[Config Connector](https://docs.cloud.google.com/config-connector/docs/overview.md.txt) to deploy Cloud Run
services, the deployer account needs permission to read container images from
Artifact Registry. These permissions are enforced by an IAM
[allow policy](https://docs.cloud.google.com/iam/docs/allow-policies.md.txt), which is attached to the relevant
resource (Artifact Registry repository), and specifies which principals have been
granted which roles.

If numerous Cloud Run services are deployed, each with a unique service
account, IaC tools create individual role bindings in the Artifact Registry allow
policy. This can quickly exceed the [1,500-member-per-policy
limit](https://docs.cloud.google.com/iam/docs/allow-policies#principal-limits), which restricts the number of
principals (service accounts or users) listed in a single resource's allow
policy.

To avoid this limitation, consider using a single service account across
multiple services. This minimizes the number of entries in the Artifact Registry
allow policy.

> [!CAUTION]
> **Caution:** [Avoid using groups for granting service accounts access to resources.](https://docs.cloud.google.com/iam/docs/best-practices-service-accounts.md.txt#groups)

## Optional permissions

The following optional permissions can be considered when configuring accounts
with minimal permission set:

- `monitoring.timeSeries.list` on the project level. Typically assigned through the `roles/monitoring.viewer` role. It allows user to access metrics generated by their Cloud Run resource. For more information, go to the Cloud Monitoring documentation for [Access Control](https://docs.cloud.google.com/monitoring/access-control.md.txt).
- `logging.logEntries.list` on the project level. Typically assigned through the `roles/logging.viewer` role. It allows user to access logs generated by their Cloud Run resource. For more information, go to the [Access Control guide](https://docs.cloud.google.com/logging/docs/access-control.md.txt) in the Cloud Logging documentation.