gogol-books-0.0.1: Google Books SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Books.CloudLoading.AddBook

Contents

Description

  • - |

See: Books API Reference for books.cloudloading.addBook.

Synopsis

REST Resource

type CloudLoadingAddBookResource = "books" :> ("v1" :> ("cloudloading" :> ("addBook" :> (QueryParam "mime_type" Text :> (QueryParam "upload_client_token" Text :> (QueryParam "name" Text :> (QueryParam "drive_document_id" Text :> (QueryParam "alt" AltJSON :> Post `[JSON]` BooksCloudLoadingResource)))))))) Source

A resource alias for books.cloudloading.addBook method which the CloudLoadingAddBook request conforms to.

Creating a Request

cloudLoadingAddBook :: CloudLoadingAddBook Source

Creates a value of CloudLoadingAddBook with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

clabMimeType :: Lens' CloudLoadingAddBook (Maybe Text) Source

The document MIME type. It can be set only if the drive_document_id is set.

clabName :: Lens' CloudLoadingAddBook (Maybe Text) Source

The document name. It can be set only if the drive_document_id is set.

clabDriveDocumentId :: Lens' CloudLoadingAddBook (Maybe Text) Source

A drive document id. The upload_client_token must not be set.