Package | Description |
---|---|
com.google.api.services.drive | |
com.google.api.services.drive.model |
Modifier and Type | Method and Description |
---|---|
Drive.Comments.Insert |
Drive.Comments.insert(String fileId,
Comment content)
Creates a new comment on the given file.
|
Drive.Comments.Patch |
Drive.Comments.patch(String fileId,
String commentId,
Comment content)
Updates an existing comment.
|
Drive.Comments.Update |
Drive.Comments.update(String fileId,
String commentId,
Comment content)
Updates an existing comment.
|
Constructor and Description |
---|
Drive.Comments.Insert(String fileId,
Comment content)
Creates a new comment on the given file.
|
Drive.Comments.Patch(String fileId,
String commentId,
Comment content)
Updates an existing comment.
|
Drive.Comments.Update(String fileId,
String commentId,
Comment content)
Updates an existing comment.
|
Modifier and Type | Method and Description |
---|---|
Comment |
Comment.clone() |
Comment |
Comment.set(String fieldName,
Object value) |
Comment |
Comment.setAnchor(String anchor)
A region of the document represented as a JSON string.
|
Comment |
Comment.setAuthor(User author)
The user who wrote this comment.
|
Comment |
Comment.setCommentId(String commentId)
The ID of the comment.
|
Comment |
Comment.setContent(String content)
The plain text content used to create this comment.
|
Comment |
Comment.setContext(Comment.Context context)
The context of the file which is being commented on.
|
Comment |
Comment.setCreatedDate(DateTime createdDate)
The date when this comment was first created.
|
Comment |
Comment.setDeleted(Boolean deleted)
Whether this comment has been deleted.
|
Comment |
Comment.setFileId(String fileId)
The file which this comment is addressing.
|
Comment |
Comment.setFileTitle(String fileTitle)
The title of the file which this comment is addressing.
|
Comment |
Comment.setHtmlContent(String htmlContent)
HTML formatted content for this comment.
|
Comment |
Comment.setKind(String kind)
This is always drive#comment.
|
Comment |
Comment.setModifiedDate(DateTime modifiedDate)
The date when this comment or any of its replies were last modified.
|
Comment |
Comment.setReplies(List<CommentReply> replies)
Replies to this post.
|
Comment |
Comment.setSelfLink(String selfLink)
A link back to this comment.
|
Comment |
Comment.setStatus(String status)
The status of this comment.
|
Modifier and Type | Method and Description |
---|---|
List<Comment> |
CommentList.getItems()
List of comments.
|
Modifier and Type | Method and Description |
---|---|
CommentList |
CommentList.setItems(List<Comment> items)
List of comments.
|