Class AccessproposalsResource
The "accessproposals" collection of methods.
Inherited Members
Namespace: Google.Apis.Drive.v3
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class AccessproposalsResource
Constructors
AccessproposalsResource(IClientService)
Constructs a new resource.
Declaration
public AccessproposalsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Get(string, string)
Retrieves an access proposal by ID. For more information, see Manage pending access proposals.
Declaration
public virtual AccessproposalsResource.GetRequest Get(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 |
|---|---|
| AccessproposalsResource.GetRequest |
List(string)
List the access proposals on a file. For more information, see Manage pending access proposals. Note: Only approvers are able to list access proposals on a file. If the user isn't an approver, a 403 error is returned.
Declaration
public virtual AccessproposalsResource.ListRequest List(string fileId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fileId | Required. The ID of the item the request is on. |
Returns
| Type | Description |
|---|---|
| AccessproposalsResource.ListRequest |
Resolve(ResolveAccessProposalRequest, string, string)
Approves or denies an access proposal. For more information, see Manage pending access proposals.
Declaration
public virtual AccessproposalsResource.ResolveRequest Resolve(ResolveAccessProposalRequest body, string fileId, string proposalId)
Parameters
| Type | Name | Description |
|---|---|---|
| ResolveAccessProposalRequest | body | The body of the request. |
| 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 |
|---|---|
| AccessproposalsResource.ResolveRequest |