如何列出GCP中的所有群组?

问题描述 投票:0回答:1

我正在使用此命令“gcloud identity groups search”(设置了 --page-token)和 python api 来获取 GCP 中的所有组,在控制台中我转到组并看到大约有 2000 个组,但是命令和API 并未提供所有组。想知道这是否是在 GCP 中获取组的正确方法..

python google-cloud-platform
1个回答
0
投票

我设法使用以下命令获取所有组:

gcloud 身份组搜索 --labels="cloudidentity.googleapis.com/groups.discussion_forum" --organization="" --page-size=3000

© www.soinside.com 2019 - 2024. All rights reserved.