target.apidocs.com.google.api.services.drive.Drive.Replies.html Maven / Gradle / Ivy
Drive.Replies (Google Drive API v2-rev20240809-2.0.0)
com.google.api.services.drive
Class Drive.Replies
- java.lang.Object
-
- com.google.api.services.drive.Drive.Replies
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Drive.Replies.Delete
class
Drive.Replies.Get
class
Drive.Replies.Insert
class
Drive.Replies.List
class
Drive.Replies.Patch
class
Drive.Replies.Update
-
Constructor Summary
Constructors
Constructor and Description
Replies()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Drive.Replies.Delete
delete(String fileId,
String commentId,
String replyId)
Deletes a reply.
Drive.Replies.Get
get(String fileId,
String commentId,
String replyId)
Gets a reply.
Drive.Replies.Insert
insert(String fileId,
String commentId,
CommentReply content)
Creates a new reply to the given comment.
Drive.Replies.List
list(String fileId,
String commentId)
Lists all of the replies to a comment.
Drive.Replies.Patch
patch(String fileId,
String commentId,
String replyId,
CommentReply content)
Updates an existing reply.
Drive.Replies.Update
update(String fileId,
String commentId,
String replyId,
CommentReply content)
Updates an existing reply.
-
-
Method Detail
-
delete
public Drive.Replies.Delete delete(String fileId,
String commentId,
String replyId)
throws IOException
Deletes a reply.
Create a request for the method "replies.delete".
This request holds the parameters needed by the drive server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
fileId
- The ID of the file.
commentId
- The ID of the comment.
replyId
- The ID of the reply.
- Returns:
- the request
- Throws:
IOException
-
get
public Drive.Replies.Get get(String fileId,
String commentId,
String replyId)
throws IOException
Gets a reply.
Create a request for the method "replies.get".
This request holds the parameters needed by the drive server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
fileId
- The ID of the file.
commentId
- The ID of the comment.
replyId
- The ID of the reply.
- Returns:
- the request
- Throws:
IOException
-
insert
public Drive.Replies.Insert insert(String fileId,
String commentId,
CommentReply content)
throws IOException
Creates a new reply to the given comment.
Create a request for the method "replies.insert".
This request holds the parameters needed by the drive server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
fileId
- The ID of the file.
commentId
- The ID of the comment.
content
- the CommentReply
- Returns:
- the request
- Throws:
IOException
-
list
public Drive.Replies.List list(String fileId,
String commentId)
throws IOException
Lists all of the replies to a comment.
Create a request for the method "replies.list".
This request holds the parameters needed by the drive server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
fileId
- The ID of the file.
commentId
- The ID of the comment.
- Returns:
- the request
- Throws:
IOException
-
patch
public Drive.Replies.Patch patch(String fileId,
String commentId,
String replyId,
CommentReply content)
throws IOException
Updates an existing reply.
Create a request for the method "replies.patch".
This request holds the parameters needed by the drive server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
fileId
- The ID of the file.
commentId
- The ID of the comment.
replyId
- The ID of the reply.
content
- the CommentReply
- Returns:
- the request
- Throws:
IOException
-
update
public Drive.Replies.Update update(String fileId,
String commentId,
String replyId,
CommentReply content)
throws IOException
Updates an existing reply.
Create a request for the method "replies.update".
This request holds the parameters needed by the drive server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
fileId
- The ID of the file.
commentId
- The ID of the comment.
replyId
- The ID of the reply.
content
- the CommentReply
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.