gogol-drive-0.4.0: 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 # 
Instance details

Defined in Network.Google.Resource.Drive.Files.GenerateIds

Data FilesGenerateIds Source # 
Instance details

Defined in Network.Google.Resource.Drive.Files.GenerateIds

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 # 
Instance details

Defined in Network.Google.Resource.Drive.Files.GenerateIds

Generic FilesGenerateIds Source # 
Instance details

Defined in Network.Google.Resource.Drive.Files.GenerateIds

Associated Types

type Rep FilesGenerateIds :: Type -> Type #

GoogleRequest FilesGenerateIds Source # 
Instance details

Defined in Network.Google.Resource.Drive.Files.GenerateIds

Associated Types

type Rs FilesGenerateIds :: Type #

type Scopes FilesGenerateIds :: [Symbol] #

type Rep FilesGenerateIds Source # 
Instance details

Defined in Network.Google.Resource.Drive.Files.GenerateIds

type Rep FilesGenerateIds = D1 (MetaData "FilesGenerateIds" "Network.Google.Resource.Drive.Files.GenerateIds" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "FilesGenerateIds'" PrefixI True) (S1 (MetaSel (Just "_fgiSpace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_fgiCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32))))
type Scopes FilesGenerateIds Source # 
Instance details

Defined in Network.Google.Resource.Drive.Files.GenerateIds

type Scopes FilesGenerateIds = "https://www.googleapis.com/auth/drive" ': ("https://www.googleapis.com/auth/drive.appdata" ': ("https://www.googleapis.com/auth/drive.file" ': ([] :: [Symbol])))
type Rs FilesGenerateIds Source # 
Instance details

Defined in Network.Google.Resource.Drive.Files.GenerateIds

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.