Class MembersResource.HasMemberRequest
Checks whether the given user is a member of the group. Membership can be direct or nested, but if nested,
the memberKey
and groupKey
must be entities in the same domain or an Invalid input
error is returned.
To check for nested memberships that include entities outside of the group's domain, use the
checkTransitiveMembership()
method in the Cloud Identity Groups API.
Inheritance
MembersResource.HasMemberRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class MembersResource.HasMemberRequest : DirectoryBaseServiceRequest<MembersHasMember>, IClientServiceRequest<MembersHasMember>, IClientServiceRequest
Constructors
HasMemberRequest(IClientService, string, string)
Constructs a new HasMember request.
Declaration
public HasMemberRequest(IClientService service, string groupKey, string memberKey)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | groupKey | |
string | memberKey |
Properties
GroupKey
Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.
Declaration
[RequestParameter("groupKey", RequestParameterType.Path)]
public virtual string GroupKey { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MemberKey
Identifies the user member in the API request. The value can be the user's primary email address, alias, or unique ID.
Declaration
[RequestParameter("memberKey", RequestParameterType.Path)]
public virtual string MemberKey { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes HasMember parameter list.
Declaration
protected override void InitParameters()