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.Get

Contents

Description

Gets a Team Drive's metadata by ID.

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

Synopsis

REST Resource

type TeamdrivesGetResource = "drive" :> ("v3" :> ("teamdrives" :> (Capture "teamDriveId" Text :> (QueryParam "useDomainAdminAccess" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] TeamDrive))))) Source #

A resource alias for drive.teamdrives.get method which the TeamdrivesGet request conforms to.

Creating a Request

teamdrivesGet Source #

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

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

data TeamdrivesGet Source #

Gets a Team Drive's metadata by ID.

See: teamdrivesGet smart constructor.

Instances
Eq TeamdrivesGet Source # 
Instance details

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

Data TeamdrivesGet Source # 
Instance details

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

Methods

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

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

toConstr :: TeamdrivesGet -> Constr #

dataTypeOf :: TeamdrivesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TeamdrivesGet Source # 
Instance details

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

Generic TeamdrivesGet Source # 
Instance details

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

Associated Types

type Rep TeamdrivesGet :: Type -> Type #

GoogleRequest TeamdrivesGet Source # 
Instance details

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

Associated Types

type Rs TeamdrivesGet :: Type #

type Scopes TeamdrivesGet :: [Symbol] #

type Rep TeamdrivesGet Source # 
Instance details

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

type Rep TeamdrivesGet = D1 (MetaData "TeamdrivesGet" "Network.Google.Resource.Drive.Teamdrives.Get" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "TeamdrivesGet'" PrefixI True) (S1 (MetaSel (Just "_tgTeamDriveId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tgUseDomainAdminAccess") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))
type Scopes TeamdrivesGet Source # 
Instance details

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

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

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

Request Lenses

tgTeamDriveId :: Lens' TeamdrivesGet Text Source #

The ID of the Team Drive

tgUseDomainAdminAccess :: Lens' TeamdrivesGet 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 Team Drive belongs.