The "revisions" collection of methods.  
 More...
|  | 
|  | call ($name, $arguments, $expected_class=null) | 
|  | TODO: This function needs simplifying. 
 | 
|  | 
|  | delete ($fileId, $revisionId, $optParams=array()) | 
|  | Removes a revision. 
 | 
|  | 
|  | get ($fileId, $revisionId, $optParams=array()) | 
|  | Gets a specific revision. 
 | 
|  | 
|  | listRevisions ($fileId, $optParams=array()) | 
|  | Lists a file's revisions. 
 | 
|  | 
|  | patch ($fileId, $revisionId, Google_Service_Drive_Revision $postBody, $optParams=array()) | 
|  | Updates a revision. 
 | 
|  | 
|  | update ($fileId, $revisionId, Google_Service_Drive_Revision $postBody, $optParams=array()) | 
|  | Updates a revision. 
 | 
|  | 
|  | 
|  | convertToArrayAndStripNulls ($o) | 
|  | 
The "revisions" collection of methods. 
Typical usage is:  $driveService = new Google_Service_Drive(...); $revisions = $driveService->revisions;  
◆ 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
- 
  
  
 
 
◆ delete()
      
        
          | Google_Service_Drive_Revisions_Resource::delete | ( |  | $fileId, | 
        
          |  |  |  | $revisionId, | 
        
          |  |  |  | $optParams = array() ) | 
      
 
Removes a revision. 
(revisions.delete)
- Parameters
- 
  
    | string | $fileId | The ID of the file. |  | string | $revisionId | The ID of the revision. |  | array | $optParams | Optional parameters. |  
 
 
 
◆ get()
      
        
          | Google_Service_Drive_Revisions_Resource::get | ( |  | $fileId, | 
        
          |  |  |  | $revisionId, | 
        
          |  |  |  | $optParams = array() ) | 
      
 
Gets a specific revision. 
(revisions.get)
- Parameters
- 
  
    | string | $fileId | The ID of the file. |  | string | $revisionId | The ID of the revision. |  | array | $optParams | Optional parameters. |  
 
- Return values
- 
  
  
 
 
◆ listRevisions()
      
        
          | Google_Service_Drive_Revisions_Resource::listRevisions | ( |  | $fileId, | 
        
          |  |  |  | $optParams = array() ) | 
      
 
Lists a file's revisions. 
(revisions.listRevisions)
- Parameters
- 
  
    | string | $fileId | The ID of the file. |  | array | $optParams | Optional parameters. |  
 
- Return values
- 
  
  
 
 
◆ patch()
Updates a revision. 
This method supports patch semantics. (revisions.patch)
- Parameters
- 
  
    | string | $fileId | The ID for the file. |  | string | $revisionId | The ID for the revision. |  | Google_Revision | $postBody |  |  | array | $optParams | Optional parameters. |  
 
- Return values
- 
  
  
 
 
◆ update()
Updates a revision. 
(revisions.update)
- Parameters
- 
  
    | string | $fileId | The ID for the file. |  | string | $revisionId | The ID for the revision. |  | Google_Revision | $postBody |  |  | array | $optParams | Optional parameters. |  
 
- Return values
- 
  
  
 
 
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Drive.php