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.Teamdrives.List

Contents

Description

Lists the user's Team Drives.

See: Drive API Reference for drive.teamdrives.list.

Synopsis

REST Resource

type TeamdrivesListResource = "drive" :> ("v3" :> ("teamdrives" :> (QueryParam "q" Text :> (QueryParam "pageToken" Text :> (QueryParam "useDomainAdminAccess" Bool :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] TeamDriveList))))))) Source #

A resource alias for drive.teamdrives.list method which the TeamdrivesList request conforms to.

Creating a Request

teamdrivesList :: TeamdrivesList Source #

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

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

data TeamdrivesList Source #

Lists the user's Team Drives.

See: teamdrivesList smart constructor.

Instances
Eq TeamdrivesList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Teamdrives.List

Data TeamdrivesList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Teamdrives.List

Methods

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

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

toConstr :: TeamdrivesList -> Constr #

dataTypeOf :: TeamdrivesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TeamdrivesList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Teamdrives.List

Generic TeamdrivesList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Teamdrives.List

Associated Types

type Rep TeamdrivesList :: Type -> Type #

GoogleRequest TeamdrivesList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Teamdrives.List

Associated Types

type Rs TeamdrivesList :: Type #

type Scopes TeamdrivesList :: [Symbol] #

type Rep TeamdrivesList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Teamdrives.List

type Rep TeamdrivesList = D1 (MetaData "TeamdrivesList" "Network.Google.Resource.Drive.Teamdrives.List" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "TeamdrivesList'" PrefixI True) ((S1 (MetaSel (Just "_tlQ") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tlUseDomainAdminAccess") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_tlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32)))))
type Scopes TeamdrivesList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Teamdrives.List

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

Defined in Network.Google.Resource.Drive.Teamdrives.List

Request Lenses

tlQ :: Lens' TeamdrivesList (Maybe Text) Source #

Query string for searching Team Drives.

tlPageToken :: Lens' TeamdrivesList (Maybe Text) Source #

Page token for Team Drives.

tlUseDomainAdminAccess :: Lens' TeamdrivesList Bool Source #

Issue the request as a domain administrator; if set to true, then all Team Drives of the domain in which the requester is an administrator are returned.

tlPageSize :: Lens' TeamdrivesList Int32 Source #

Maximum number of Team Drives to return.