Class FilesResource.AccessproposalsResource
The "accessproposals" collection of methods.
Inherited Members
Namespace: Google.Apis.Drive.v3
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class FilesResource.AccessproposalsResource
Constructors
AccessproposalsResource(IClientService)
Constructs a new resource.
Declaration
public AccessproposalsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
List(string)
List the AccessProposals on a file. Note: Only approvers are able to list AccessProposals on a file. If the user is not an approver, returns a 403.
Declaration
public virtual FilesResource.AccessproposalsResource.ListRequest List(string fileId)
Parameters
Type | Name | Description |
---|---|---|
string | fileId | Required. The id of the item the request is on. |
Returns
Type | Description |
---|---|
FilesResource.AccessproposalsResource.ListRequest |
Resolve(string, string)
Used to approve or deny an Access Proposal.
Declaration
public virtual FilesResource.AccessproposalsResource.ResolveRequest Resolve(string fileId, string proposalId)
Parameters
Type | Name | Description |
---|---|---|
string | fileId | Required. The id of the item the request is on. |
string | proposalId | Required. The id of the access proposal to resolve. |
Returns
Type | Description |
---|---|
FilesResource.AccessproposalsResource.ResolveRequest |