Class RolesResource.UpdateRequest
Updates a role.
Inheritance
RolesResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class RolesResource.UpdateRequest : DirectoryBaseServiceRequest<Role>, IClientServiceRequest<Role>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, Role, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, Role body, string customer, string roleId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Role | body | |
string | customer | |
string | roleId |
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
RoleId
Immutable ID of the role.
Declaration
[RequestParameter("roleId", RequestParameterType.Path)]
public virtual string RoleId { get; }
Property Value
Type | Description |
---|---|
string |
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()