- 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.
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
- 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/v1
API. The full documentation for this API can be found at: https://cloud.google.com/identity/ - NOTES
-
These variants are also available:
gcloud alpha identity groups memberships get-membership-graph
gcloud beta identity groups memberships get-membership-graph
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.