Pub/Sub roles and permissions Stay organized with collections Save and categorize content based on your preferences.
This page lists the IAM roles and permissions for Pub/Sub. Tosearch through all roles and permissions, see therole andpermission index.
Pub/Sub roles
| Role | Permissions |
|---|---|
Pub/Sub Admin( Provides full access to topics and subscriptions. Lowest-level resources where you can grant this role:
|
|
Pub/Sub Editor( Provides access to modify topics and subscriptions, and access to publishand consume messages. Lowest-level resources where you can grant this role:
|
|
Pub/Sub Publisher( Provides access to publish messages to a topic. Lowest-level resources where you can grant this role:
|
|
Cloud Pub/Sub Service Agent( Grants Cloud Pub/Sub Service Account access to manage resources. Warning: Do not grant service agent roles to any principals exceptservice agents. |
|
Pub/Sub Subscriber( Provides access to consume messages from a subscription and to attachsubscriptions to a topic. Lowest-level resources where you can grant this role:
|
|
Pub/Sub Viewer( Provides access to view topics and subscriptions. Lowest-level resources where you can grant this role:
|
|
Pub/Sub permissions
| Permission | Included in roles |
|---|---|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( Databases Admin ( Dev Ops ( Security Auditor ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Composer Worker ( Dev Ops ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( Databases Admin ( Dev Ops ( Security Auditor ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Security Admin ( Security Auditor ( Security Reviewer ( Support User ( Pub/Sub Admin ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( Databases Admin ( Dev Ops ( Security Admin ( Security Auditor ( Security Reviewer ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( Databases Admin ( Dev Ops ( Security Auditor ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Security Admin ( Pub/Sub Admin ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( Databases Admin ( Dev Ops ( Security Auditor ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Composer Worker ( DLP Organization Data Profiles Driver ( DLP Project Data Profiles Driver ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Tag User ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Composer Worker ( DLP Organization Data Profiles Driver ( DLP Project Data Profiles Driver ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Tag User ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( Databases Admin ( Dev Ops ( Security Auditor ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Security Admin ( Security Auditor ( Security Reviewer ( Pub/Sub Admin ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( Databases Admin ( Dev Ops ( Security Admin ( Security Auditor ( Security Reviewer ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( DLP Organization Data Profiles Driver ( DLP Project Data Profiles Driver ( Databases Admin ( Dev Ops ( Security Auditor ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Tag User ( Tag Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( DLP Organization Data Profiles Driver ( DLP Project Data Profiles Driver ( Databases Admin ( Dev Ops ( Security Auditor ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Tag User ( Tag Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Composer Worker ( Data Scientist ( Dev Ops ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Subscriber ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Security Admin ( Pub/Sub Admin ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Data Scientist ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Subscriber ( Cloud Run Source Developer ( Storage Transfer Agent ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Assured OSS Admin ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Security Center Admin ( Storage Transfer Agent ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Composer Worker ( DLP Organization Data Profiles Driver ( DLP Project Data Profiles Driver ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Tag User ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Storage Transfer Agent ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Composer Worker ( DLP Organization Data Profiles Driver ( DLP Project Data Profiles Driver ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Tag User ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( Databases Admin ( Dev Ops ( Security Auditor ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Storage Transfer Agent ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Security Admin ( Security Auditor ( Security Reviewer ( Pub/Sub Admin ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( Databases Admin ( Dev Ops ( Security Admin ( Security Auditor ( Security Reviewer ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( DLP Organization Data Profiles Driver ( DLP Project Data Profiles Driver ( Databases Admin ( Dev Ops ( Security Auditor ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Tag User ( Tag Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( DLP Organization Data Profiles Driver ( DLP Project Data Profiles Driver ( Databases Admin ( Dev Ops ( Security Auditor ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Tag User ( Tag Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Security Admin ( Pub/Sub Admin ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Assured OSS Admin ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Security Center Admin ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Data Scientist ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Subscriber ( Cloud Run Source Developer ( Storage Transfer Agent ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Cloud Build Service Account ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Storage Transfer Agent ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Composer Worker ( DLP Organization Data Profiles Driver ( DLP Project Data Profiles Driver ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Tag User ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Composer Worker ( DLP Organization Data Profiles Driver ( DLP Project Data Profiles Driver ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Tag User ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( Data Catalog Admin ( Data Catalog Viewer ( Firebase Rules System ( Databases Admin ( Dev Ops ( Security Auditor ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( SLZ BQDW Blueprint Project Level Remediator ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Storage Transfer Agent ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Security Admin ( Security Auditor ( Security Reviewer ( Pub/Sub Admin ( SLZ BQDW Blueprint Project Level Remediator ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( Firebase Rules System ( Databases Admin ( Dev Ops ( Security Admin ( Security Auditor ( Security Reviewer ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( SLZ BQDW Blueprint Project Level Remediator ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Storage Transfer Agent ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( DLP Organization Data Profiles Driver ( DLP Project Data Profiles Driver ( Databases Admin ( Dev Ops ( Security Auditor ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Tag User ( Tag Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Viewer ( Assured OSS Admin ( Assured OSS Project Admin ( Assured OSS Reader ( Composer Worker ( DLP Organization Data Profiles Driver ( DLP Project Data Profiles Driver ( Databases Admin ( Dev Ops ( Security Auditor ( Support User ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Viewer ( Tag User ( Tag Viewer ( Cloud Run Source Developer ( Cloud Run Source Viewer ( Security Center Admin ( Security Center Admin Editor ( Security Center Admin Viewer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Cloud Build Service Account ( Composer Worker ( Firebase Rules System ( Data Scientist ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Pub/Sub Publisher ( Cloud Run Source Developer ( Storage Transfer Agent ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Security Admin ( Pub/Sub Admin ( SLZ BQDW Blueprint Project Level Remediator ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( SLZ BQDW Blueprint Project Level Remediator ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
| Owner ( Editor ( Composer Worker ( Data Catalog Admin ( Data Catalog Tag Editor ( DLP Organization Data Profiles Driver ( DLP Project Data Profiles Driver ( Dev Ops ( Pub/Sub Admin ( Pub/Sub Editor ( Cloud Run Source Developer ( Service agent roles Warning: Don't grant service agent roles to any principals exceptservice agents.
|
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.