Pour appeler une méthode de Workflows, l'utilisateur doit disposer des autorisations requises. Pour obtenir la liste des rôles compatibles avec Workflows et leurs autorisations correspondantes, consultez la section Rôles Workflows de ce document.
Autorisations associées aux workflows
Ce tableau décrit les autorisations disponibles dans Workflows.
Autorisation
Définition
workflows.callbacks.list
Répertorie les rappels pour une exécution de workflow.
workflows.callbacks.send
Déclencher un rappel d'exécution de workflow
workflows.executions.cancel
Annulez l'exécution d'un workflow, sans supprimer de traces.
workflows.executions.create
Déclenchez une exécution de workflow.
workflows.executions.get
Obtenez le dernier état des opérations d'exécution des workflows.
workflows.executions.list
Répertorier les opérations d'exécution du workflow.
workflows.locations.get
Obtenir l'emplacement d'un workflow
workflows.locations.list
Répertoriez les emplacements où le service est disponible.
workflows.operations.cancel
Annulez les opérations de longue durée.
workflows.operations.get
Obtenez des informations sur les opérations de longue durée.
workflows.operations.list
Afficher la liste des opérations de longue durée
workflows.stepEntries.get
Obtenir une entrée d'étape pour une exécution de workflow
workflows.stepEntries.list
Répertorie les entrées d'étapes pour une exécution de workflow.
workflows.workflows.create
Créez et déployez un workflow.
workflows.workflows.delete
Supprimez un workflow existant.
workflows.workflows.get
Obtenez les paramètres d'un workflow, y compris le code source, les libellés et la description.
workflows.workflows.list
Répertorier les workflows d'un projet
workflows.workflows.listRevision
Répertorier les révisions d'un workflow
workflows.workflows.update
Mettez à jour les paramètres d'un workflow, y compris son code source, ses libellés et sa description.
Rôles associés aux workflows
Le tableau suivant répertorie les rôles IAM prédéfinis dans Workflows, ainsi que la liste de toutes les autorisations incluses dans chaque rôle.
Les rôles disponibles répondent aux cas d'utilisation les plus typiques. Si votre cas d'utilisation n'est pas couvert par les rôles disponibles, vous pouvez créer un rôle IAM personnalisé.
Role
Permissions
Workflows Admin
(roles/workflows.admin)
Full access to workflows and related resources.
Lowest-level resources where you can grant this role:
Project
resourcemanager.projects.get
resourcemanager.projects.list
workflows.*
workflows.callbacks.list
workflows.callbacks.send
workflows.executions.cancel
workflows.executions.create
workflows.executions.get
workflows.executions.list
workflows.locations.get
workflows.locations.list
workflows.operations.cancel
workflows.operations.get
workflows.operations.list
workflows.stepEntries.get
workflows.stepEntries.list
workflows.workflows.create
workflows.workflows.createTagBinding
workflows.workflows.delete
workflows.workflows.deleteTagBinding
workflows.workflows.get
workflows.workflows.list
workflows.workflows.listEffectiveTags
workflows.workflows.listRevision
workflows.workflows.listTagBindings
workflows.workflows.update
Workflows Editor
(roles/workflows.editor)
Read and write access to workflows and related resources, including development and debugging of workflows.
Lowest-level resources where you can grant this role:
Project
resourcemanager.projects.get
resourcemanager.projects.list
workflows.*
workflows.callbacks.list
workflows.callbacks.send
workflows.executions.cancel
workflows.executions.create
workflows.executions.get
workflows.executions.list
workflows.locations.get
workflows.locations.list
workflows.operations.cancel
workflows.operations.get
workflows.operations.list
workflows.stepEntries.get
workflows.stepEntries.list
workflows.workflows.create
workflows.workflows.createTagBinding
workflows.workflows.delete
workflows.workflows.deleteTagBinding
workflows.workflows.get
workflows.workflows.list
workflows.workflows.listEffectiveTags
workflows.workflows.listRevision
workflows.workflows.listTagBindings
workflows.workflows.update
Workflows Invoker
(roles/workflows.invoker)
Access to execute workflows and manage the executions using the API. Does not provide access to develop and debug workflows.
Lowest-level resources where you can grant this role:
Project
resourcemanager.projects.get
resourcemanager.projects.list
workflows.callbacks.*
workflows.callbacks.list
workflows.callbacks.send
workflows.executions.*
workflows.executions.cancel
workflows.executions.create
workflows.executions.get
workflows.executions.list
workflows.stepEntries.*
workflows.stepEntries.get
workflows.stepEntries.list
Cloud Workflows Service Agent
(roles/workflows.serviceAgent)
Gives Cloud Workflows service account access to managed resources.
container.clusters.connect
iam.serviceAccounts.get
iam.serviceAccounts.getAccessToken
iam.serviceAccounts.getOpenIdToken
serviceusage.services.use
Workflows Viewer
(roles/workflows.viewer)
Read-only access to workflows and related resources.
Lowest-level resources where you can grant this role:
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[],[],null,["# Workflows roles and permissions\n\nThis page describes the Identity and Access Management (IAM) roles and permissions available to\ncontrol access to Workflows resources.\n\nOverview\n--------\n\nWorkflows uses [IAM](/iam/docs/overview)\nfor access control.\n\nTo learn more about using IAM for access control, see\n[Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\nEvery Workflows method requires the caller to have the necessary\npermissions. For a list of the roles Workflows supports and their\ncorresponding permissions, in this document, see the [Workflows roles](/workflows/docs/access-control#roles)\nsection.\n\nWorkflows permissions\n---------------------\n\nThis table describes the permissions available in Workflows.\n\nWorkflows roles\n---------------\n\nThe following table lists the Workflows predefined IAM\nroles with a corresponding list of all the permissions each role includes.\n\nThe available roles address most typical use cases. If your use case isn't\ncovered by the available roles, you can\n[create an IAM custom role](/iam/docs/understanding-custom-roles). \n\nWhat's next\n-----------\n\n[Create and manage custom roles](/iam/docs/creating-custom-roles)"]]