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

Contents

Description

Lists a file's or Team Drive's permissions.

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

Synopsis

REST Resource

type PermissionsListResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("permissions" :> (QueryParam "pageToken" Text :> (QueryParam "useDomainAdminAccess" Bool :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "supportsTeamDrives" Bool :> (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 or Team Drive's permissions.

See: permissionsList smart constructor.

Instances
Eq PermissionsList Source # 
Instance details

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

Data PermissionsList Source # 
Instance details

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

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

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

Generic PermissionsList Source # 
Instance details

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

Associated Types

type Rep PermissionsList :: Type -> Type #

GoogleRequest PermissionsList Source # 
Instance details

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

Associated Types

type Rs PermissionsList :: Type #

type Scopes PermissionsList :: [Symbol] #

type Rep PermissionsList Source # 
Instance details

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

type Rep PermissionsList = D1 (MetaData "PermissionsList" "Network.Google.Resource.Drive.Permissions.List" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "PermissionsList'" PrefixI True) ((S1 (MetaSel (Just "_plPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plUseDomainAdminAccess") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) :*: (S1 (MetaSel (Just "_plFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_plPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_plSupportsTeamDrives") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))))
type Scopes PermissionsList Source # 
Instance details

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

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

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

Request Lenses

plPageToken :: Lens' PermissionsList (Maybe Text) Source #

The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.

plUseDomainAdminAccess :: Lens' PermissionsList Bool Source #

Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the item belongs.

plFileId :: Lens' PermissionsList Text Source #

The ID of the file or Team Drive.

plPageSize :: Lens' PermissionsList (Maybe Int32) Source #

The maximum number of permissions to return per page. When not set for files in a Team Drive, at most 100 results will be returned. When not set for files that are not in a Team Drive, the entire list will be returned.

plSupportsTeamDrives :: Lens' PermissionsList Bool Source #

Whether the requesting application supports Team Drives.