To list all the iam policy for project "iam-test" and print out in json format, run:
gdcloud projects get-iam-policy iam-test --format=json
FLAGS FACULTATIFS
--filter string Select the resources if it matches the filter expression.
--flatten string Flatten the resources if it matches the flatten expression.
--limit int Maximum number of resources to list. The default is unlimited.
--page-size int Some services group resource list output into pages. This flag specifies the maximum number of resources per page. The default is determined by the service if it supports paging, otherwise it is unlimited (no paging).
--sort-by strings Comma-separated list of resource field key names to sort by. The default order is ascending.
FLAGS GDCLOUD GÉNÉRAUX
Ces flags sont disponibles pour toutes les commandes : --configuration, --format, --help, --project, --quiet.
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 2026/05/30 (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 2026/05/30 (UTC)."],[],[]]