Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_Books_Cloudloading_Resource Class Reference

The "cloudloading" collection of methods. More...

Inheritance diagram for Google_Service_Books_Cloudloading_Resource:
Google_Service_Resource

Public Member Functions

 addBook ($optParams=array())
 (cloudloading.addBook)
 
 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 deleteBook ($volumeId, $optParams=array())
 Remove the book and its contents (cloudloading.deleteBook)
 
 updateBook (Google_Service_Books_BooksCloudloadingResource $postBody, $optParams=array())
 (cloudloading.updateBook)
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "cloudloading" collection of methods.

Typical usage is: $booksService = new Google_Service_Books(...); $cloudloading = $booksService->cloudloading;

Member Function Documentation

◆ addBook()

Google_Service_Books_Cloudloading_Resource::addBook ( $optParams = array())

(cloudloading.addBook)

Parameters
array$optParamsOptional parameters.

@opt_param string upload_client_token @opt_param string drive_document_id A drive document id. The upload_client_token must not be set. @opt_param string mime_type The document MIME type. It can be set only if the drive_document_id is set. @opt_param string name The document name. It can be set only if the drive_document_id is set.

Return values
Google_Service_Books_BooksCloudloadingResource

◆ 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

◆ deleteBook()

Google_Service_Books_Cloudloading_Resource::deleteBook ( $volumeId,
$optParams = array() )

Remove the book and its contents (cloudloading.deleteBook)

Parameters
string$volumeIdThe id of the book to be removed.
array$optParamsOptional parameters.

◆ updateBook()

Google_Service_Books_Cloudloading_Resource::updateBook ( Google_Service_Books_BooksCloudloadingResource $postBody,
$optParams = array() )

(cloudloading.updateBook)

Parameters
Google_BooksCloudloadingResource$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Books_BooksCloudloadingResource

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