Search transitive groups of a member.
Note: This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts.
A transitive group is any group that has a direct or indirect membership to the member. Actor must have view permissions all transitive groups.
HTTP request
GET https://cloudidentity.googleapis.com/v1beta1/{parent=groups/*}/memberships:searchTransitiveGroups
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Resource name of the group to search transitive memberships in. Format: |
Query parameters
Parameters | |
---|---|
query |
Required. A CEL expression that MUST include member specification AND label(s). This is a Users can search on label attributes of groups. CONTAINS match ('in') is supported on labels. Identity-mapped groups are uniquely identified by both a Example query: Query may optionally contain equality operators on the parent of the group restricting the search within a particular customer, e.g. Example query: |
pageSize |
The default page size is 200 (max 1000). |
pageToken |
The nextPageToken value returned from a previous list request, if any. |
Request body
The request body must be empty.
Response body
The response message for MembershipsService.SearchTransitiveGroups
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"memberships": [
{
object ( |
Fields | |
---|---|
memberships[] |
List of transitive groups satisfying the query. |
nextPageToken |
Token to retrieve the next page of results, or empty if there are no more results available for listing. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-identity.groups.readonly
https://www.googleapis.com/auth/cloud-identity.groups
https://www.googleapis.com/auth/cloud-identity
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
GroupRelation
Message representing a transitive group of a user or a group.
JSON representation |
---|
{ "groupKey": { object ( |
Fields | |
---|---|
groupKey |
Entity key has an id and a namespace. In case of discussion forums, the id will be an email address without a namespace. |
group |
Resource name for this group. |
displayName |
Display name for this group. |
roles[] |
Membership roles of the member for the group. |
relationType |
The relation between the member and the transitive group. |
labels |
Labels for Group resource. An object containing a list of |