target.apidocs.com.google.api.services.drive.Drive.Replies.html Maven / Gradle / Ivy
Drive.Replies (Google Drive API v3-rev20241027-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.Create
class
Drive.Replies.Delete
class
Drive.Replies.Get
class
Drive.Replies.List
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.Create
create(String fileId,
String commentId,
Reply content)
Creates a reply to a comment.
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 by ID.
Drive.Replies.List
list(String fileId,
String commentId)
Lists a comment's replies.
Drive.Replies.Update
update(String fileId,
String commentId,
String replyId,
Reply content)
Updates a reply with patch semantics.
-
-
Method Detail
-
create
public Drive.Replies.Create create(String fileId,
String commentId,
Reply content)
throws IOException
Creates a reply to a comment.
Create a request for the method "replies.create".
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 Reply
- Returns:
- the request
- Throws:
IOException
-
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 by ID.
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
-
list
public Drive.Replies.List list(String fileId,
String commentId)
throws IOException
Lists a comment's replies.
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
-
update
public Drive.Replies.Update update(String fileId,
String commentId,
String replyId,
Reply content)
throws IOException
Updates a reply with patch semantics.
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 Reply
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy