Modifier and Type | Class and Description |
---|---|
class |
Drive.Accessproposals.Get |
class |
Drive.Accessproposals.List |
class |
Drive.Accessproposals.Resolve |
Constructor and Description |
---|
Accessproposals() |
Modifier and Type | Method and Description |
---|---|
Drive.Accessproposals.Get |
get(String fileId,
String proposalId)
Retrieves an access proposal by ID.
|
Drive.Accessproposals.List |
list(String fileId)
List the access proposals on a file.
|
Drive.Accessproposals.Resolve |
resolve(String fileId,
String proposalId,
ResolveAccessProposalRequest content)
Approves or denies an access proposal.
|
public Drive.Accessproposals.Get get(String fileId, String proposalId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- Required. The ID of the item the request is on.proposalId
- Required. The ID of the access proposal to resolve.IOException
public Drive.Accessproposals.List list(String fileId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- Required. The ID of the item the request is on.IOException
public Drive.Accessproposals.Resolve resolve(String fileId, String proposalId, ResolveAccessProposalRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- Required. The ID of the item the request is on.proposalId
- Required. The ID of the access proposal to resolve.content
- the ResolveAccessProposalRequest
IOException
Copyright © 2011–2025 Google. All rights reserved.