I know I can list all users and their roles at the project level using:
gcloud projects get-iam-policy <project-id>
or gcloud projects get-ancestors-iam-policy <project-id>
See also:
How do I list all IAM users for my Google Cloud Project
But some permissions / roles can be set at the dataset or table level.
These users do not appear when i use: gcloud projects get-iam-policy <project-id>
How can I see ALL users and their roles/permissions, also the ones that only have access to a specific dataset and nothing else.