gogol-books-0.1.1: Google Books SDK.

Copyright(c) 2015-2016 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.RequestAccess

Contents

Description

Request concurrent and download access restrictions.

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

Synopsis

REST Resource

type MyConfigRequestAccessResource = "books" :> ("v1" :> ("myconfig" :> ("requestAccess" :> (QueryParam "source" Text :> (QueryParam "volumeId" Text :> (QueryParam "nonce" Text :> (QueryParam "cpksver" Text :> (QueryParam "locale" Text :> (QueryParam "licenseTypes" MyConfigRequestAccessLicenseTypes :> (QueryParam "alt" AltJSON :> Post '[JSON] RequestAccess)))))))))) Source #

A resource alias for books.myconfig.requestAccess method which the MyConfigRequestAccess request conforms to.

Creating a Request

myConfigRequestAccess Source #

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

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

data MyConfigRequestAccess Source #

Request concurrent and download access restrictions.

See: myConfigRequestAccess smart constructor.

Instances

Eq MyConfigRequestAccess Source # 
Data MyConfigRequestAccess Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MyConfigRequestAccess -> c MyConfigRequestAccess #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MyConfigRequestAccess #

toConstr :: MyConfigRequestAccess -> Constr #

dataTypeOf :: MyConfigRequestAccess -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MyConfigRequestAccess) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MyConfigRequestAccess) #

gmapT :: (forall b. Data b => b -> b) -> MyConfigRequestAccess -> MyConfigRequestAccess #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MyConfigRequestAccess -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MyConfigRequestAccess -> r #

gmapQ :: (forall d. Data d => d -> u) -> MyConfigRequestAccess -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MyConfigRequestAccess -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MyConfigRequestAccess -> m MyConfigRequestAccess #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MyConfigRequestAccess -> m MyConfigRequestAccess #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MyConfigRequestAccess -> m MyConfigRequestAccess #

Show MyConfigRequestAccess Source # 
Generic MyConfigRequestAccess Source # 
GoogleRequest MyConfigRequestAccess Source # 
type Rep MyConfigRequestAccess Source # 
type Rep MyConfigRequestAccess = D1 (MetaData "MyConfigRequestAccess" "Network.Google.Resource.Books.MyConfig.RequestAccess" "gogol-books-0.1.1-DJUI82Cepnh73t90lnxv9L" False) (C1 (MetaCons "MyConfigRequestAccess'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mcraCpksver") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_mcraLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mcraLicenseTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MyConfigRequestAccessLicenseTypes))))) ((:*:) (S1 (MetaSel (Just Symbol "_mcraVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_mcraSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mcraNonce") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Scopes MyConfigRequestAccess Source # 
type Scopes MyConfigRequestAccess = (:) Symbol "https://www.googleapis.com/auth/books" ([] Symbol)
type Rs MyConfigRequestAccess Source # 

Request Lenses

mcraCpksver :: Lens' MyConfigRequestAccess Text Source #

The device/version ID from which to request the restrictions.

mcraLocale :: Lens' MyConfigRequestAccess (Maybe Text) Source #

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

mcraLicenseTypes :: Lens' MyConfigRequestAccess (Maybe MyConfigRequestAccessLicenseTypes) Source #

The type of access license to request. If not specified, the default is BOTH.

mcraVolumeId :: Lens' MyConfigRequestAccess Text Source #

The volume to request concurrent/download restrictions for.

mcraSource :: Lens' MyConfigRequestAccess Text Source #

String to identify the originator of this request.

mcraNonce :: Lens' MyConfigRequestAccess Text Source #

The client nonce value.