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