Show / Hide Table of Contents

Class ApprovalsResource.ReassignRequest

Reassigns the reviewers on an approval. For more information, see Manage approvals. Adds or replaces reviewers in the ReviewerResponse of the approval. This can be called by any user with the writer permission on the file while the approval Status is IN_PROGRESS and the Response for the reviewer being reassigned is NO_RESPONSE. A user with the reader permission can only reassign an approval that's assigned to themselves. Removing a reviewer isn't allowed.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Approval>
DriveBaseServiceRequest<Approval>
ApprovalsResource.ReassignRequest
Implements
IClientServiceRequest<Approval>
IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<Approval>.Xgafv
DriveBaseServiceRequest<Approval>.AccessToken
DriveBaseServiceRequest<Approval>.Alt
DriveBaseServiceRequest<Approval>.Callback
DriveBaseServiceRequest<Approval>.Fields
DriveBaseServiceRequest<Approval>.Key
DriveBaseServiceRequest<Approval>.OauthToken
DriveBaseServiceRequest<Approval>.PrettyPrint
DriveBaseServiceRequest<Approval>.QuotaUser
DriveBaseServiceRequest<Approval>.UploadType
DriveBaseServiceRequest<Approval>.UploadProtocol
ClientServiceRequest<Approval>.Execute()
ClientServiceRequest<Approval>.ExecuteAsStream()
ClientServiceRequest<Approval>.ExecuteAsync()
ClientServiceRequest<Approval>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Approval>.ExecuteAsStreamAsync()
ClientServiceRequest<Approval>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Approval>.CreateRequest(bool?)
ClientServiceRequest<Approval>.GenerateRequestUri()
ClientServiceRequest<Approval>.GetDefaultETagAction(string)
ClientServiceRequest<Approval>.ETagAction
ClientServiceRequest<Approval>.ModifyRequest
ClientServiceRequest<Approval>.ValidateParameters
ClientServiceRequest<Approval>.ApiVersion
ClientServiceRequest<Approval>.RequestParameters
ClientServiceRequest<Approval>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Drive.v3
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class ApprovalsResource.ReassignRequest : DriveBaseServiceRequest<Approval>, IClientServiceRequest<Approval>, IClientServiceRequest

Constructors

ReassignRequest(IClientService, ReassignApprovalRequest, string, string)

Constructs a new Reassign request.

Declaration
public ReassignRequest(IClientService service, ReassignApprovalRequest body, string fileId, string approvalId)
Parameters
Type Name Description
IClientService service
ReassignApprovalRequest body
string fileId
string approvalId

Properties

ApprovalId

Required. The ID of the approval to reassign.

Declaration
[RequestParameter("approvalId", RequestParameterType.Path)]
public virtual string ApprovalId { get; }
Property Value
Type Description
string

FileId

Required. The ID of the file that the approval is on.

Declaration
[RequestParameter("fileId", RequestParameterType.Path)]
public virtual string FileId { get; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Approval>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Approval>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Approval>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Approval>.GetBody()

InitParameters()

Initializes Reassign parameter list.

Declaration
protected override void InitParameters()
Overrides
DriveBaseServiceRequest<Approval>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX