| Modifier and Type | Class and Description |
|---|---|
class |
Drive.Approvals.Approve |
class |
Drive.Approvals.Cancel |
class |
Drive.Approvals.Comment |
class |
Drive.Approvals.Decline |
class |
Drive.Approvals.Get |
class |
Drive.Approvals.List |
class |
Drive.Approvals.Reassign |
class |
Drive.Approvals.Start |
| Constructor and Description |
|---|
Approvals() |
| Modifier and Type | Method and Description |
|---|---|
Drive.Approvals.Approve |
approve(String fileId,
String approvalId,
ApproveApprovalRequest content)
Approves an approval.
|
Drive.Approvals.Cancel |
cancel(String fileId,
String approvalId,
CancelApprovalRequest content)
Cancels an approval.
|
Drive.Approvals.Comment |
comment(String fileId,
String approvalId,
CommentApprovalRequest content)
Comments on an approval.
|
Drive.Approvals.Decline |
decline(String fileId,
String approvalId,
DeclineApprovalRequest content)
Declines an approval.
|
Drive.Approvals.Get |
get(String fileId,
String approvalId)
Gets an approval by ID.
|
Drive.Approvals.List |
list(String fileId)
Lists the approvals on a file.
|
Drive.Approvals.Reassign |
reassign(String fileId,
String approvalId,
ReassignApprovalRequest content)
Reassigns the reviewers on an approval.
|
Drive.Approvals.Start |
start(String fileId,
StartApprovalRequest content)
Starts an approval on a file.
|
public Drive.Approvals.Approve approve(String fileId, String approvalId, ApproveApprovalRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - Required. The ID of the file that the approval is on.approvalId - Required. The ID of the approval to approve.content - the ApproveApprovalRequestIOExceptionpublic Drive.Approvals.Cancel cancel(String fileId, String approvalId, CancelApprovalRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - Required. The ID of the file that the approval is on.approvalId - Required. The ID of the approval to cancel.content - the CancelApprovalRequestIOExceptionpublic Drive.Approvals.Comment comment(String fileId, String approvalId, CommentApprovalRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - Required. The ID of the file that the approval is on.approvalId - Required. The ID of the approval to comment on.content - the CommentApprovalRequestIOExceptionpublic Drive.Approvals.Decline decline(String fileId, String approvalId, DeclineApprovalRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - Required. The ID of the file that the approval is on.approvalId - Required. The ID of the approval to decline.content - the DeclineApprovalRequestIOExceptionpublic Drive.Approvals.Get get(String fileId, String approvalId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - Required. The ID of the file that the approval is on.approvalId - Required. The ID of the approval.IOExceptionpublic Drive.Approvals.List list(String fileId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - Required. The ID of the file that the approval is on.IOExceptionpublic Drive.Approvals.Reassign reassign(String fileId, String approvalId, ReassignApprovalRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - Required. The ID of the file that the approval is on.approvalId - Required. The ID of the approval to reassign.content - the ReassignApprovalRequestIOExceptionpublic Drive.Approvals.Start start(String fileId, StartApprovalRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - Required. The ID of the file that the approval is created on.content - the StartApprovalRequestIOExceptionCopyright © 2011–2026 Google. All rights reserved.