Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<CommentList>
DriveBaseServiceRequest<CommentList>
CommentsResource.ListRequest
Implements
IClientServiceRequest<CommentList>
IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<CommentList>.Xgafv
DriveBaseServiceRequest<CommentList>.AccessToken
DriveBaseServiceRequest<CommentList>.Alt
DriveBaseServiceRequest<CommentList>.Callback
DriveBaseServiceRequest<CommentList>.Fields
DriveBaseServiceRequest<CommentList>.Key
DriveBaseServiceRequest<CommentList>.OauthToken
DriveBaseServiceRequest<CommentList>.PrettyPrint
DriveBaseServiceRequest<CommentList>.QuotaUser
DriveBaseServiceRequest<CommentList>.UploadType
DriveBaseServiceRequest<CommentList>.UploadProtocol
ClientServiceRequest<CommentList>.Execute()
ClientServiceRequest<CommentList>.ExecuteAsStream()
ClientServiceRequest<CommentList>.ExecuteAsync()
ClientServiceRequest<CommentList>.ExecuteAsync(CancellationToken)
ClientServiceRequest<CommentList>.ExecuteAsStreamAsync()
ClientServiceRequest<CommentList>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<CommentList>.CreateRequest(bool?)
ClientServiceRequest<CommentList>.GenerateRequestUri()
ClientServiceRequest<CommentList>.GetBody()
ClientServiceRequest<CommentList>.GetDefaultETagAction(string)
ClientServiceRequest<CommentList>.ETagAction
ClientServiceRequest<CommentList>.ModifyRequest
ClientServiceRequest<CommentList>.ValidateParameters
ClientServiceRequest<CommentList>.ApiVersion
ClientServiceRequest<CommentList>.RequestParameters
ClientServiceRequest<CommentList>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<CommentList>.HttpMethod

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
ClientServiceRequest<CommentList>.MethodName

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
ClientServiceRequest<CommentList>.RestPath

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()
Overrides
DriveBaseServiceRequest<CommentList>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX