gdcloud projects get-iam-policy

名稱

gdcloud projects get-iam-policy - List all the iam policy for a project.

概要

gdcloud projects get-iam-policy PROJECT_ID [flags]

範例

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

選用旗標

      --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.

GDCLOUD 廣泛標記

所有指令都可使用這些旗標:--configuration--format--help--project--quiet

詳情請參閱 gcloud CLI 參考資料總覽頁面。