Class ApprovalsResource.StartRequest
Starts an approval on a file. For more information, see Manage approvals.
Inheritance
ApprovalsResource.StartRequest
Inherited Members
Namespace: Google.Apis.Drive.v3
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class ApprovalsResource.StartRequest : DriveBaseServiceRequest<Approval>, IClientServiceRequest<Approval>, IClientServiceRequest
Constructors
StartRequest(IClientService, StartApprovalRequest, string)
Constructs a new Start request.
Declaration
public StartRequest(IClientService service, StartApprovalRequest body, string fileId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| StartApprovalRequest | body | |
| string | fileId |
Properties
FileId
Required. The ID of the file that the approval is created 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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Start parameter list.
Declaration
protected override void InitParameters()