gcloud alpha identity groups memberships get-membership-graph

NAME
gcloud alpha identity groups memberships get-membership-graph - get a membership graph of just a member or both a member and a group
SYNOPSIS
gcloud alpha identity groups memberships get-membership-graph --labels=LABELS --member-email=MEMBER_EMAIL [--group-email=GROUP_EMAIL] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Get a membership graph of just a member or both a member and a group.
EXAMPLES
To get a membership graph of just a member.
gcloud alpha 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 alpha identity groups memberships get-membership-graph --member-email=eng-discuss@foo.com --group-email=eng@foo.com --labels=cloudidentity.googleapis.com/groups.discussion_forum
REQUIRED FLAGS
--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.
OPTIONAL FLAGS
--group-email=GROUP_EMAIL
The email address of the group to constrain the membership graph with.
GCLOUD WIDE FLAGS
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.

API REFERENCE
This command uses the cloudidentity/v1alpha1 API. The full documentation for this API can be found at: https://cloud.google.com/identity/
NOTES
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
gcloud identity groups memberships get-membership-graph
gcloud beta identity groups memberships get-membership-graph