Books API . cloudloading

Instance Methods

addBook(drive_document_id=None, mime_type=None, name=None, upload_client_token=None, x__xgafv=None)

Add a user-upload volume and triggers processing.

close()

Close httplib2 connections.

deleteBook(volumeId, x__xgafv=None)

Remove the book and its contents

updateBook(body=None, x__xgafv=None)

Updates a user-upload volume.

Method Details

addBook(drive_document_id=None, mime_type=None, name=None, upload_client_token=None, x__xgafv=None)
Add a user-upload volume and triggers processing.

Args:
  drive_document_id: string, A drive document id. The upload_client_token must not be set.
  mime_type: string, The document MIME type. It can be set only if the drive_document_id is set.
  name: string, The document name. It can be set only if the drive_document_id is set.
  upload_client_token: string, Scotty upload token.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "author": "A String",
  "processingState": "A String",
  "title": "A String",
  "volumeId": "A String",
}
close()
Close httplib2 connections.
deleteBook(volumeId, x__xgafv=None)
Remove the book and its contents

Args:
  volumeId: string, The id of the book to be removed. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
}
updateBook(body=None, x__xgafv=None)
Updates a user-upload volume.

Args:
  body: object, The request body.
    The object takes the form of:

{
  "author": "A String",
  "processingState": "A String",
  "title": "A String",
  "volumeId": "A String",
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "author": "A String",
  "processingState": "A String",
  "title": "A String",
  "volumeId": "A String",
}