Class GroupsResource.MembershipsResource.GetMembershipGraphRequest
Get a membership graph of just a member or both a member and a group. 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. Given a member, the response will contain all membership paths from the member. Given both a group and a member, the response will contain all membership paths between the group and the member.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1
Assembly: Google.Apis.CloudIdentity.v1.dll
Syntax
public class GroupsResource.MembershipsResource.GetMembershipGraphRequest : CloudIdentityBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
GetMembershipGraphRequest(IClientService, string)
Constructs a new GetMembershipGraph request.
Declaration
public GetMembershipGraphRequest(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
Parent
Required. Resource name of the group to
search transitive memberships in. Format: groups/{group}
, where group
is the unique ID assigned
to the Group to which the Membership belongs to. group can be a wildcard collection id "-". When a
group is specified, the membership graph will be constrained to paths between the member (defined in
the query) and the parent. If a wildcard collection is provided, all membership paths connected to
the member will be returned.
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). Certain 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
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 GetMembershipGraph parameter list.
Declaration
protected override void InitParameters()