Class GroupsResource.MembershipsResource.SearchTransitiveGroupsRequest
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. If the account of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. A transitive group is any group that has a direct or indirect membership to the member. Actor must have view permissions all transitive groups.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1
Assembly: Google.Apis.CloudIdentity.v1.dll
Syntax
public class GroupsResource.MembershipsResource.SearchTransitiveGroupsRequest : CloudIdentityBaseServiceRequest<SearchTransitiveGroupsResponse>, IClientServiceRequest<SearchTransitiveGroupsResponse>, IClientServiceRequest
Constructors
SearchTransitiveGroupsRequest(IClientService, string)
Constructs a new SearchTransitiveGroups request.
Declaration
public SearchTransitiveGroupsRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
The default page size is 200 (max 1000).
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The next_page_token value returned from a previous list request, if any.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Resource name of the group to search
transitive memberships in. Format: groups/{group}
, where group
is always '-' as this API will
search across all groups for a given member.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
Query
Required. A CEL expression that MUST include member specification AND label(s). This is a required
field. Users can search on label attributes of groups. CONTAINS match ('in') is supported on labels.
Identity-mapped groups are uniquely identified by both a member_key_id
and a
member_key_namespace
, which requires an additional query input: member_key_namespace
. Example
query: member_key_id == 'member_key_id_value' && in labels
Query may optionally
contain equality operators on the parent of the group restricting the search within a particular
customer, e.g. parent == 'customers/{customer_id}'
. The customer_id
must begin with "C" (for
example, 'C046psxkn'). This filtering is only supported for Admins with groups read permissons on
the input customer. Example query: member_key_id == 'member_key_id_value' && in labels && parent == 'customers/C046psxkn'
Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes SearchTransitiveGroups parameter list.
Declaration
protected override void InitParameters()