Table of Contents

Class MembersResource.PatchRequest

Namespace
Google.Apis.Admin.Directory.directory_v1
Assembly
Google.Apis.Admin.Directory.directory_v1.dll

Update membership of a user in the specified group. This method supports patch semantics.

public class MembersResource.PatchRequest : DirectoryBaseServiceRequest<Member>
Inheritance
MembersResource.PatchRequest
Inherited Members

Constructors

PatchRequest(IClientService, Member, string, string)

Constructs a new Patch request.

public PatchRequest(IClientService service, Member body, string groupKey, string memberKey)

Parameters

service IClientService
body Member
groupKey string
memberKey string

Properties

GroupKey

Email or immutable ID of the group. If ID, it should match with id of group object

public virtual string GroupKey { get; }

Property Value

string

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MemberKey

Email or immutable ID of the user. If ID, it should match with id of member object

public virtual string MemberKey { get; }

Property Value

string

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

Methods

GetBody()

Returns the body of the request.

protected override object GetBody()

Returns

object

InitParameters()

Initializes Patch parameter list.

protected override void InitParameters()