Class ApprovalsResource.ListRequest
Lists the approvals on a file. For more information, see Manage
approvals. By default, this method
returns a minimal response that may not include the items array. To retrieve approval details, you must
explicitly specify the fields you want using the fields query parameter. To return the exact fields you
need, see Return specific
fields.
Inheritance
ApprovalsResource.ListRequest
Inherited Members
Namespace: Google.Apis.Drive.v3
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class ApprovalsResource.ListRequest : DriveBaseServiceRequest<ApprovalList>, IClientServiceRequest<ApprovalList>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string fileId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | fileId |
Properties
FileId
Required. The ID of the file that the approval 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
PageSize
The maximum number of approvals to return. When not set, at most 100 approvals are returned.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
The token for continuing a previous list request on the next page. This should be set to the value of
nextPageToken from a previous response.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()