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.MyConfig.SyncVolumeLicenses

Contents

Description

Request downloaded content access for specified volumes on the My eBooks shelf.

See: Books API Reference for books.myconfig.syncVolumeLicenses.

Synopsis

REST Resource

type MyConfigSyncVolumeLicensesResource = "books" :> ("v1" :> ("myconfig" :> ("syncVolumeLicenses" :> (QueryParam "source" Text :> (QueryParam "nonce" Text :> (QueryParam "cpksver" Text :> (QueryParam "locale" Text :> (QueryParams "volumeIds" Text :> (QueryParams "features" MyConfigSyncVolumeLicensesFeatures :> (QueryParam "showPreorders" Bool :> (QueryParam "alt" AltJSON :> Post `[JSON]` Volumes))))))))))) Source

A resource alias for books.myconfig.syncVolumeLicenses method which the MyConfigSyncVolumeLicenses request conforms to.

Creating a Request

myConfigSyncVolumeLicenses Source

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

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

Request Lenses

mcsvlCpksver :: Lens' MyConfigSyncVolumeLicenses Text Source

The device/version ID from which to release the restriction.

mcsvlLocale :: Lens' MyConfigSyncVolumeLicenses (Maybe Text) Source

ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.

mcsvlVolumeIds :: Lens' MyConfigSyncVolumeLicenses [Text] Source

The volume(s) to request download restrictions for.

mcsvlFeatures :: Lens' MyConfigSyncVolumeLicenses [MyConfigSyncVolumeLicensesFeatures] Source

List of features supported by the client, i.e., 'RENTALS'

mcsvlSource :: Lens' MyConfigSyncVolumeLicenses Text Source

String to identify the originator of this request.

mcsvlShowPreOrders :: Lens' MyConfigSyncVolumeLicenses (Maybe Bool) Source

Set to true to show pre-ordered books. Defaults to false.