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 AccessProposal by ID.
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 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 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)
Used to approve or deny an Access Proposal.
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 |