Class CommentsResource.ListRequest
Lists a file's comments. For more information, see Manage comments and
replies. Required: The fields
parameter must be set. To return the exact fields you need, see Return specific
fields.
Inheritance
Inherited Members
Namespace: Google.Apis.Drive.v3
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class CommentsResource.ListRequest : DriveBaseServiceRequest<CommentList>, IClientServiceRequest<CommentList>, 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
The ID of the file.
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
IncludeDeleted
Whether to include deleted comments. Deleted comments will not include their original content.
Declaration
[RequestParameter("includeDeleted", RequestParameterType.Query)]
public virtual bool? IncludeDeleted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
PageSize
The maximum number of comments to return. The service may return fewer than this value. If unspecified, at most 20 comments will be returned. The maximum value is 100; values above 100 will be coerced to 100.
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 the 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
StartModifiedTime
The minimum value of 'modifiedTime' for the result comments (RFC 3339 date-time).
Declaration
[RequestParameter("startModifiedTime", RequestParameterType.Query)]
public virtual string StartModifiedTime { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()