gogol-drive-0.3.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.Permissions.List

Contents

Description

Lists a file's permissions.

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

Synopsis

REST Resource

type PermissionsListResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("permissions" :> (QueryParam "alt" AltJSON :> Get '[JSON] PermissionList))))) Source #

A resource alias for drive.permissions.list method which the PermissionsList request conforms to.

Creating a Request

permissionsList Source #

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

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

data PermissionsList Source #

Lists a file's permissions.

See: permissionsList smart constructor.

Instances

Eq PermissionsList Source # 
Data PermissionsList Source # 

Methods

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

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

toConstr :: PermissionsList -> Constr #

dataTypeOf :: PermissionsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PermissionsList Source # 
Generic PermissionsList Source # 
GoogleRequest PermissionsList Source # 
type Rep PermissionsList Source # 
type Rep PermissionsList = D1 (MetaData "PermissionsList" "Network.Google.Resource.Drive.Permissions.List" "gogol-drive-0.3.0-HPclvxcWpgG8piXpdkWWOb" True) (C1 (MetaCons "PermissionsList'" PrefixI True) (S1 (MetaSel (Just Symbol "_plFileId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes PermissionsList Source # 
type Scopes PermissionsList = (:) Symbol "https://www.googleapis.com/auth/drive" ((:) Symbol "https://www.googleapis.com/auth/drive.file" ((:) Symbol "https://www.googleapis.com/auth/drive.metadata" ((:) Symbol "https://www.googleapis.com/auth/drive.metadata.readonly" ((:) Symbol "https://www.googleapis.com/auth/drive.photos.readonly" ((:) Symbol "https://www.googleapis.com/auth/drive.readonly" ([] Symbol))))))
type Rs PermissionsList Source # 

Request Lenses

plFileId :: Lens' PermissionsList Text Source #

The ID of the file.