Overview

Classes

  • Google_Service_Drive
  • Google_Service_Drive_About
  • Google_Service_Drive_About_Resource
  • Google_Service_Drive_AboutDriveThemes
  • Google_Service_Drive_AboutStorageQuota
  • Google_Service_Drive_AboutTeamDriveThemes
  • Google_Service_Drive_Change
  • Google_Service_Drive_ChangeList
  • Google_Service_Drive_Changes_Resource
  • Google_Service_Drive_Channel
  • Google_Service_Drive_Channels_Resource
  • Google_Service_Drive_Comment
  • Google_Service_Drive_CommentList
  • Google_Service_Drive_CommentQuotedFileContent
  • Google_Service_Drive_Comments_Resource
  • Google_Service_Drive_Drive
  • Google_Service_Drive_DriveBackgroundImageFile
  • Google_Service_Drive_DriveCapabilities
  • Google_Service_Drive_DriveFile
  • Google_Service_Drive_DriveFileCapabilities
  • Google_Service_Drive_DriveFileContentHints
  • Google_Service_Drive_DriveFileContentHintsThumbnail
  • Google_Service_Drive_DriveFileImageMediaMetadata
  • Google_Service_Drive_DriveFileImageMediaMetadataLocation
  • Google_Service_Drive_DriveFileShortcutDetails
  • Google_Service_Drive_DriveFileVideoMediaMetadata
  • Google_Service_Drive_DriveList
  • Google_Service_Drive_DriveRestrictions
  • Google_Service_Drive_Drives_Resource
  • Google_Service_Drive_FileList
  • Google_Service_Drive_Files_Resource
  • Google_Service_Drive_GeneratedIds
  • Google_Service_Drive_Permission
  • Google_Service_Drive_PermissionList
  • Google_Service_Drive_PermissionPermissionDetails
  • Google_Service_Drive_Permissions_Resource
  • Google_Service_Drive_PermissionTeamDrivePermissionDetails
  • Google_Service_Drive_Replies_Resource
  • Google_Service_Drive_Reply
  • Google_Service_Drive_ReplyList
  • Google_Service_Drive_Revision
  • Google_Service_Drive_RevisionList
  • Google_Service_Drive_Revisions_Resource
  • Google_Service_Drive_StartPageToken
  • Google_Service_Drive_TeamDrive
  • Google_Service_Drive_TeamDriveBackgroundImageFile
  • Google_Service_Drive_TeamDriveCapabilities
  • Google_Service_Drive_TeamDriveList
  • Google_Service_Drive_TeamDriveRestrictions
  • Google_Service_Drive_Teamdrives_Resource
  • Google_Service_Drive_User
  • Overview
  • Class
  • Tree

Class Google_Service_Drive_Comments_Resource

The "comments" collection of methods. Typical usage is:

 $driveService = new Google_Service_Drive(...);
 $comments = $driveService->comments;
Google_Service_Resource
Extended by Google_Service_Drive_Comments_Resource
Located at Drive.php
Methods summary
public Google_Service_Drive_Comment
# create( string $fileId, Google_Service_Drive_Comment $postBody, array $optParams = array() )

Creates a new comment on a file. (comments.create)

Creates a new comment on a file. (comments.create)

Parameters

$fileId
The ID of the file.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Drive_Comment
Google_Service_Drive_Comment
public
# delete( string $fileId, string $commentId, array $optParams = array() )

Deletes a comment. (comments.delete)

Deletes a comment. (comments.delete)

Parameters

$fileId
The ID of the file.
$commentId
The ID of the comment.
$optParams
Optional parameters.
public Google_Service_Drive_Comment
# get( string $fileId, string $commentId, array $optParams = array() )

Gets a comment by ID. (comments.get)

Gets a comment by ID. (comments.get)

Parameters

$fileId
The ID of the file.
$commentId
The ID of the comment.
$optParams
Optional parameters.

Returns

Google_Service_Drive_Comment
Google_Service_Drive_Comment

Opt_param

bool includeDeleted Whether to return deleted comments. Deleted comments will not include their original content.
public Google_Service_Drive_CommentList
# listComments( string $fileId, array $optParams = array() )

Lists a file's comments. (comments.listComments)

Lists a file's comments. (comments.listComments)

Parameters

$fileId
The ID of the file.
$optParams
Optional parameters.

Returns

Google_Service_Drive_CommentList
Google_Service_Drive_CommentList

Opt_param

bool includeDeleted Whether to include deleted comments. Deleted comments will not include their original content.
int pageSize The maximum number of comments to return per page.
string pageToken The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.
string startModifiedTime The minimum value of 'modifiedTime' for the result comments (RFC 3339 date-time).
public Google_Service_Drive_Comment
# update( string $fileId, string $commentId, Google_Service_Drive_Comment $postBody, array $optParams = array() )

Updates a comment with patch semantics. (comments.update)

Updates a comment with patch semantics. (comments.update)

Parameters

$fileId
The ID of the file.
$commentId
The ID of the comment.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Drive_Comment
Google_Service_Drive_Comment
© 2020 Google Inc.
Drive API documentation generated by ApiGen 2.8.0