gcloud identity groups memberships get-membership-graph Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud identity groups memberships get-membership-graph - get a membership graph of just a member or both a member and a group
- SYNOPSIS
gcloud identity groups memberships get-membership-graph--labels=LABELS--member-email=MEMBER_EMAIL[--group-email=GROUP_EMAIL][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- 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.
gcloudidentitygroupsmembershipsget-membership-graph--member-email=eng-discuss@foo.com--labels=cloudidentity.googleapis.com/groups.discussion_forumTo get a membership graph between a member and a group.
gcloudidentitygroupsmembershipsget-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 helpfor details. - API REFERENCE
- This command uses the
cloudidentity/v1API. The full documentationfor this API can be found at:https://cloud.google.com/identity/ - NOTES
- These variants are also available:
gcloudalphaidentitygroupsmembershipsget-membership-graphgcloudbetaidentitygroupsmembershipsget-membership-graph
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.