Class GroupsResource.MembershipsResource.CheckTransitiveMembershipRequest
Check a potential member for membership in 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. A member has membership to a group as long as there is a single viewable transitive membership between the group and the member. The actor must have view permissions to at least one transitive membership between the member and group.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1
Assembly: Google.Apis.CloudIdentity.v1.dll
Syntax
public class GroupsResource.MembershipsResource.CheckTransitiveMembershipRequest : CloudIdentityBaseServiceRequest<CheckTransitiveMembershipResponse>, IClientServiceRequest<CheckTransitiveMembershipResponse>, IClientServiceRequest
Constructors
CheckTransitiveMembershipRequest(IClientService, string)
Constructs a new CheckTransitiveMembership request.
Declaration
public CheckTransitiveMembershipRequest(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
Resource name of the group to check the
transitive membership in. Format: groups/{group}
, where group
is the unique id assigned to the
Group to which the Membership belongs to.
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. This is a required
field.
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'
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 CheckTransitiveMembership parameter list.
Declaration
protected override void InitParameters()