gogol-drive-0.1.1: Google Drive 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.Drive.Files.GenerateIds

Contents

Description

Generates a set of file IDs which can be provided in create requests.

See: Drive API Reference for drive.files.generateIds.

Synopsis

REST Resource

type FilesGenerateIdsResource = "drive" :> ("v3" :> ("files" :> ("generateIds" :> (QueryParam "space" Text :> (QueryParam "count" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] GeneratedIds)))))) Source #

A resource alias for drive.files.generateIds method which the FilesGenerateIds request conforms to.

Creating a Request

filesGenerateIds :: FilesGenerateIds Source #

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

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

data FilesGenerateIds Source #

Generates a set of file IDs which can be provided in create requests.

See: filesGenerateIds smart constructor.

Instances

Eq FilesGenerateIds Source # 
Data FilesGenerateIds Source # 

Methods

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

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

toConstr :: FilesGenerateIds -> Constr #

dataTypeOf :: FilesGenerateIds -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FilesGenerateIds Source # 
Generic FilesGenerateIds Source # 
GoogleRequest FilesGenerateIds Source # 
type Rep FilesGenerateIds Source # 
type Rep FilesGenerateIds = D1 (MetaData "FilesGenerateIds" "Network.Google.Resource.Drive.Files.GenerateIds" "gogol-drive-0.1.1-KMYx5cFWii3H8KG5LhzRRM" False) (C1 (MetaCons "FilesGenerateIds'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_fgiSpace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_fgiCount") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 (Textual Int32)))))
type Scopes FilesGenerateIds Source # 
type Scopes FilesGenerateIds = (:) Symbol "https://www.googleapis.com/auth/drive" ((:) Symbol "https://www.googleapis.com/auth/drive.appdata" ((:) Symbol "https://www.googleapis.com/auth/drive.file" ([] Symbol)))
type Rs FilesGenerateIds Source # 

Request Lenses

fgiSpace :: Lens' FilesGenerateIds Text Source #

The space in which the IDs can be used to create new files. Supported values are 'drive' and 'appDataFolder'.

fgiCount :: Lens' FilesGenerateIds Int32 Source #

The number of IDs to return.