gcloud identity groups memberships get-membership-graph - get a membership graph of just a member or both a member and a group
gcloud identity groups memberships get-membership-graph --labels=LABELS --member-email=MEMBER_EMAIL [--group-email=GROUP_EMAIL] [GCLOUD_WIDE_FLAG ...]
Get a membership graph of just a member or both a member and a group.
To get a membership graph of just a member.
$ gcloud identity groups memberships get-membership-graph \ --member-email=eng-discuss@foo.com \ --labels=cloudidentity.googleapis.com/groups.discussion_forum
To get a membership graph between a member and a group.
$ gcloud identity groups memberships get-membership-graph \ --member-email=eng-discuss@foo.com --group-email=eng@foo.com \ --labels=cloudidentity.googleapis.com/groups.discussion_forum
- --labels=LABELS
The labels of the groups in the membership graph.
- --member-email=MEMBER_EMAIL
The email address of the member to get the membership graph for.
- --group-email=GROUP_EMAIL
The email address of the group to constrain the membership graph with.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command uses the cloudidentity/v1 API. The full documentation for this API can be found at: https://cloud.google.com/identity/
These variants are also available:
$ gcloud alpha identity groups memberships get-membership-graph
$ gcloud beta identity groups memberships get-membership-graph