Class MembersResource.UpdateRequest
Updates the membership of a user in the specified group.
Inheritance
MembersResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class MembersResource.UpdateRequest : DirectoryBaseServiceRequest<Member>, IClientServiceRequest<Member>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, Member, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, Member body, string groupKey, string memberKey)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Member | body | |
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 group member in the API request. A group member can be a user or another group. The value can be the member's (group or user) 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
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()