Class UsersResource.BulkEditAssignedUserRolesRequest
Bulk edits user roles for a user. The operation will delete the assigned user roles provided in BulkEditAssignedUserRolesRequest.deletedAssignedUserRoles and then assign the user roles provided in BulkEditAssignedUserRolesRequest.createdAssignedUserRoles. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
Inheritance
UsersResource.BulkEditAssignedUserRolesRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class UsersResource.BulkEditAssignedUserRolesRequest : DisplayVideoBaseServiceRequest<BulkEditAssignedUserRolesResponse>, IClientServiceRequest<BulkEditAssignedUserRolesResponse>, IClientServiceRequest
Constructors
BulkEditAssignedUserRolesRequest(IClientService, BulkEditAssignedUserRolesRequest, long)
Constructs a new BulkEditAssignedUserRoles request.
Declaration
public BulkEditAssignedUserRolesRequest(IClientService service, BulkEditAssignedUserRolesRequest body, long userId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BulkEditAssignedUserRolesRequest | body | |
long | userId |
Properties
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
UserId
Required. The ID of the user to which the assigned user roles belong.
Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual long UserId { get; }
Property Value
Type | Description |
---|---|
long |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes BulkEditAssignedUserRoles parameter list.
Declaration
protected override void InitParameters()