Class FilesResource.AccessproposalsResource.ResolveRequest
Used to approve or deny an Access Proposal.
Inheritance
FilesResource.AccessproposalsResource.ResolveRequest
Inherited Members
Namespace: Google.Apis.Drive.v3
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class FilesResource.AccessproposalsResource.ResolveRequest : DriveBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
ResolveRequest(IClientService, string, string)
Constructs a new Resolve request.
Declaration
public ResolveRequest(IClientService service, string fileId, string proposalId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | fileId | |
string | proposalId |
Properties
Action
Required. The action to take on the AccessProposal.
Declaration
[RequestParameter("action", RequestParameterType.Query)]
public virtual FilesResource.AccessproposalsResource.ResolveRequest.ActionEnum? Action { get; set; }
Property Value
Type | Description |
---|---|
FilesResource.AccessproposalsResource.ResolveRequest.ActionEnum? |
FileId
Required. The id of the item the request is on.
Declaration
[RequestParameter("fileId", RequestParameterType.Path)]
public virtual string FileId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProposalId
Required. The id of the access proposal to resolve.
Declaration
[RequestParameter("proposalId", RequestParameterType.Path)]
public virtual string ProposalId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Role
Optional. The roles the approver has allowed, if any. Note: This field is required for the ACCEPT
action.
Declaration
[RequestParameter("role", RequestParameterType.Query)]
public virtual Repeatable<string> Role { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
SendNotification
Optional. Whether to send an email to the requester when the AccessProposal is denied or accepted.
Declaration
[RequestParameter("sendNotification", RequestParameterType.Query)]
public virtual bool? SendNotification { get; set; }
Property Value
Type | Description |
---|---|
bool? |
View
Optional. Indicates the view for this access proposal. This should only be set when the proposal
belongs to a view. published
is the only supported value.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual string View { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Resolve parameter list.
Declaration
protected override void InitParameters()