Class RoleAssignmentsResource.InsertRequest
Creates a role assignment.
Inheritance
RoleAssignmentsResource.InsertRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class RoleAssignmentsResource.InsertRequest : DirectoryBaseServiceRequest<RoleAssignment>, IClientServiceRequest<RoleAssignment>, IClientServiceRequest
Constructors
InsertRequest(IClientService, RoleAssignment, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, RoleAssignment body, string customer)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RoleAssignment | body | |
string | customer |
Properties
Customer
Immutable ID of the Google Workspace account.
Declaration
[RequestParameter("customer", RequestParameterType.Path)]
public virtual string Customer { 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()