Class MembersResource.InsertRequest
Adds a user to the specified group.
Inheritance
MembersResource.InsertRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class MembersResource.InsertRequest : DirectoryBaseServiceRequest<Member>, IClientServiceRequest<Member>, IClientServiceRequest
Constructors
InsertRequest(IClientService, Member, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, Member body, string groupKey)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Member | body | |
string | groupKey |
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
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 Insert parameter list.
Declaration
protected override void InitParameters()