gcloud beta identity groups memberships get-membership-graph - get a membership graph of just a member or both a member and a group
gcloud beta identity groups memberships get-membership-graph --labels=LABELS --member-email=MEMBER_EMAIL [--group-email=GROUP_EMAIL] [GCLOUD_WIDE_FLAG ...]
(BETA) 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 beta 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 beta 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/v1beta1 API. The full documentation for this API can be found at: https://cloud.google.com/identity/
This command is currently in beta and might change without notice. These variants are also available:
$ gcloud identity groups memberships get-membership-graph
$ gcloud alpha identity groups memberships get-membership-graph