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

Contents

Description

Updates a Team Drive's metadata

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

Synopsis

REST Resource

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

A resource alias for drive.teamdrives.update method which the TeamdrivesUpdate request conforms to.

Creating a Request

teamdrivesUpdate Source #

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

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

data TeamdrivesUpdate Source #

Updates a Team Drive's metadata

See: teamdrivesUpdate smart constructor.

Instances
Eq TeamdrivesUpdate Source # 
Instance details

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

Data TeamdrivesUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: TeamdrivesUpdate -> Constr #

dataTypeOf :: TeamdrivesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TeamdrivesUpdate Source # 
Instance details

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

Generic TeamdrivesUpdate Source # 
Instance details

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

Associated Types

type Rep TeamdrivesUpdate :: Type -> Type #

GoogleRequest TeamdrivesUpdate Source # 
Instance details

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

Associated Types

type Rs TeamdrivesUpdate :: Type #

type Scopes TeamdrivesUpdate :: [Symbol] #

type Rep TeamdrivesUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

tuPayload :: Lens' TeamdrivesUpdate TeamDrive Source #

Multipart request metadata.

tuTeamDriveId :: Lens' TeamdrivesUpdate Text Source #

The ID of the Team Drive

tuUseDomainAdminAccess :: Lens' TeamdrivesUpdate 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.