Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_Drive_Replies_Resource Class Reference

The "replies" collection of methods. More...

Inheritance diagram for Google_Service_Drive_Replies_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($fileId, $commentId, $replyId, $optParams=array())
 Deletes a reply.
 
 get ($fileId, $commentId, $replyId, $optParams=array())
 Gets a reply.
 
 insert ($fileId, $commentId, Google_Service_Drive_CommentReply $postBody, $optParams=array())
 Creates a new reply to the given comment.
 
 listReplies ($fileId, $commentId, $optParams=array())
 Lists all of the replies to a comment.
 
 patch ($fileId, $commentId, $replyId, Google_Service_Drive_CommentReply $postBody, $optParams=array())
 Updates an existing reply.
 
 update ($fileId, $commentId, $replyId, Google_Service_Drive_CommentReply $postBody, $optParams=array())
 Updates an existing reply.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "replies" collection of methods.

Typical usage is: $driveService = new Google_Service_Drive(...); $replies = $driveService->replies;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ delete()

Google_Service_Drive_Replies_Resource::delete ( $fileId,
$commentId,
$replyId,
$optParams = array() )

Deletes a reply.

(replies.delete)

Parameters
string$fileIdThe ID of the file.
string$commentIdThe ID of the comment.
string$replyIdThe ID of the reply.
array$optParamsOptional parameters.

◆ get()

Google_Service_Drive_Replies_Resource::get ( $fileId,
$commentId,
$replyId,
$optParams = array() )

Gets a reply.

(replies.get)

Parameters
string$fileIdThe ID of the file.
string$commentIdThe ID of the comment.
string$replyIdThe ID of the reply.
array$optParamsOptional parameters.

@opt_param bool includeDeleted If set, this will succeed when retrieving a deleted reply.

Return values
Google_Service_Drive_CommentReply

◆ insert()

Google_Service_Drive_Replies_Resource::insert ( $fileId,
$commentId,
Google_Service_Drive_CommentReply $postBody,
$optParams = array() )

Creates a new reply to the given comment.

(replies.insert)

Parameters
string$fileIdThe ID of the file.
string$commentIdThe ID of the comment.
Google_CommentReply$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Drive_CommentReply

◆ listReplies()

Google_Service_Drive_Replies_Resource::listReplies ( $fileId,
$commentId,
$optParams = array() )

Lists all of the replies to a comment.

(replies.listReplies)

Parameters
string$fileIdThe ID of the file.
string$commentIdThe ID of the comment.
array$optParamsOptional parameters.

@opt_param string pageToken The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response. @opt_param bool includeDeleted If set, all replies, including deleted replies (with content stripped) will be returned. @opt_param int maxResults The maximum number of replies to include in the response, used for paging.

Return values
Google_Service_Drive_CommentReplyList

◆ patch()

Google_Service_Drive_Replies_Resource::patch ( $fileId,
$commentId,
$replyId,
Google_Service_Drive_CommentReply $postBody,
$optParams = array() )

Updates an existing reply.

This method supports patch semantics. (replies.patch)

Parameters
string$fileIdThe ID of the file.
string$commentIdThe ID of the comment.
string$replyIdThe ID of the reply.
Google_CommentReply$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Drive_CommentReply

◆ update()

Google_Service_Drive_Replies_Resource::update ( $fileId,
$commentId,
$replyId,
Google_Service_Drive_CommentReply $postBody,
$optParams = array() )

Updates an existing reply.

(replies.update)

Parameters
string$fileIdThe ID of the file.
string$commentIdThe ID of the comment.
string$replyIdThe ID of the reply.
Google_CommentReply$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Drive_CommentReply

The documentation for this class was generated from the following file: