Table of Contents

Class CommentsResource

Namespace
Google.Apis.Drive.v3
Assembly
Google.Apis.Drive.v3.dll

The "comments" collection of methods.

public class CommentsResource
Inheritance
CommentsResource
Inherited Members

Constructors

CommentsResource(IClientService)

Constructs a new resource.

public CommentsResource(IClientService service)

Parameters

service IClientService

Methods

Create(Comment, string)

Creates a new comment on a file.

public virtual CommentsResource.CreateRequest Create(Comment body, string fileId)

Parameters

body Comment

The body of the request.

fileId string

The ID of the file.

Returns

CommentsResource.CreateRequest

Delete(string, string)

Deletes a comment.

public virtual CommentsResource.DeleteRequest Delete(string fileId, string commentId)

Parameters

fileId string

The ID of the file.

commentId string

The ID of the comment.

Returns

CommentsResource.DeleteRequest

Get(string, string)

Gets a comment by ID.

public virtual CommentsResource.GetRequest Get(string fileId, string commentId)

Parameters

fileId string

The ID of the file.

commentId string

The ID of the comment.

Returns

CommentsResource.GetRequest

List(string)

Lists a file's comments.

public virtual CommentsResource.ListRequest List(string fileId)

Parameters

fileId string

The ID of the file.

Returns

CommentsResource.ListRequest

Update(Comment, string, string)

Updates a comment with patch semantics.

public virtual CommentsResource.UpdateRequest Update(Comment body, string fileId, string commentId)

Parameters

body Comment

The body of the request.

fileId string

The ID of the file.

commentId string

The ID of the comment.

Returns

CommentsResource.UpdateRequest