class Replies extends Resource (View source)

The "replies" collection of methods.

Typical usage is:

 $driveService = new Google\Service\Drive(...);
 $replies = $driveService->replies;

Methods

create(string $fileId, string $commentId, Reply $postBody, array $optParams = [])

Creates a reply to a comment. (replies.create)

delete(string $fileId, string $commentId, string $replyId, array $optParams = [])

Deletes a reply. (replies.delete)

get(string $fileId, string $commentId, string $replyId, array $optParams = [])

Gets a reply by ID. (replies.get)

listReplies(string $fileId, string $commentId, array $optParams = [])

Lists a comment's replies. (replies.listReplies)

update(string $fileId, string $commentId, string $replyId, Reply $postBody, array $optParams = [])

Updates a reply with patch semantics. (replies.update)

Details

Reply create(string $fileId, string $commentId, Reply $postBody, array $optParams = [])

Creates a reply to a comment. (replies.create)

Parameters

string $fileId

The ID of the file.

string $commentId

The ID of the comment.

Reply $postBody
array $optParams

Optional parameters.

Return Value

Reply

Exceptions

Exception

delete(string $fileId, string $commentId, string $replyId, array $optParams = [])

Deletes a reply. (replies.delete)

Parameters

string $fileId

The ID of the file.

string $commentId

The ID of the comment.

string $replyId

The ID of the reply.

array $optParams

Optional parameters.

Exceptions

Exception

Reply get(string $fileId, string $commentId, string $replyId, array $optParams = [])

Gets a reply by ID. (replies.get)

Parameters

string $fileId

The ID of the file.

string $commentId

The ID of the comment.

string $replyId

The ID of the reply.

array $optParams

Optional parameters.

Return Value

Reply

Exceptions

Exception

ReplyList listReplies(string $fileId, string $commentId, array $optParams = [])

Lists a comment's replies. (replies.listReplies)

Parameters

string $fileId

The ID of the file.

string $commentId

The ID of the comment.

array $optParams

Optional parameters.

Return Value

ReplyList

Exceptions

Exception

Reply update(string $fileId, string $commentId, string $replyId, Reply $postBody, array $optParams = [])

Updates a reply with patch semantics. (replies.update)

Parameters

string $fileId

The ID of the file.

string $commentId

The ID of the comment.

string $replyId

The ID of the reply.

Reply $postBody
array $optParams

Optional parameters.

Return Value

Reply

Exceptions

Exception