gogol-drive-0.5.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.Drives.Update

Contents

Description

Updates the metadate for a shared drive.

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

Synopsis

REST Resource

type DrivesUpdateResource = "drive" :> ("v3" :> ("drives" :> (Capture "driveId" Text :> (QueryParam "useDomainAdminAccess" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Drive :> Patch '[JSON] Drive)))))) Source #

A resource alias for drive.drives.update method which the DrivesUpdate request conforms to.

Creating a Request

drivesUpdate Source #

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

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

data DrivesUpdate Source #

Updates the metadate for a shared drive.

See: drivesUpdate smart constructor.

Instances
Eq DrivesUpdate Source # 
Instance details

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

Data DrivesUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: DrivesUpdate -> Constr #

dataTypeOf :: DrivesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DrivesUpdate Source # 
Instance details

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

Generic DrivesUpdate Source # 
Instance details

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

Associated Types

type Rep DrivesUpdate :: Type -> Type #

GoogleRequest DrivesUpdate Source # 
Instance details

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

Associated Types

type Rs DrivesUpdate :: Type #

type Scopes DrivesUpdate :: [Symbol] #

type Rep DrivesUpdate Source # 
Instance details

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

type Rep DrivesUpdate = D1 (MetaData "DrivesUpdate" "Network.Google.Resource.Drive.Drives.Update" "gogol-drive-0.5.0-6s3nRYEHDD4AYi9Kv61RlM" False) (C1 (MetaCons "DrivesUpdate'" PrefixI True) (S1 (MetaSel (Just "_dPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Drive) :*: (S1 (MetaSel (Just "_dUseDomainAdminAccess") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_dDriveId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes DrivesUpdate Source # 
Instance details

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

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

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

Request Lenses

dPayload :: Lens' DrivesUpdate Drive Source #

Multipart request metadata.

dUseDomainAdminAccess :: Lens' DrivesUpdate 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 shared drive belongs.

dDriveId :: Lens' DrivesUpdate Text Source #

The ID of the shared drive.