gogol-apps-tasks-0.4.0: Google Tasks 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.Tasks.Tasks.Update

Contents

Description

Updates the specified task.

See: Tasks API Reference for tasks.tasks.update.

Synopsis

REST Resource

type TasksUpdateResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("tasks" :> (Capture "task" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Task :> Put '[JSON] Task))))))) Source #

A resource alias for tasks.tasks.update method which the TasksUpdate request conforms to.

Creating a Request

tasksUpdate Source #

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

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

data TasksUpdate Source #

Updates the specified task.

See: tasksUpdate smart constructor.

Instances
Eq TasksUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Update

Data TasksUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Update

Methods

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

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

toConstr :: TasksUpdate -> Constr #

dataTypeOf :: TasksUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TasksUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Update

Generic TasksUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Update

Associated Types

type Rep TasksUpdate :: Type -> Type #

GoogleRequest TasksUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Update

Associated Types

type Rs TasksUpdate :: Type #

type Scopes TasksUpdate :: [Symbol] #

type Rep TasksUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Update

type Rep TasksUpdate = D1 (MetaData "TasksUpdate" "Network.Google.Resource.Tasks.Tasks.Update" "gogol-apps-tasks-0.4.0-CNAH5hnYqRXH4ZXCEmJhMf" False) (C1 (MetaCons "TasksUpdate'" PrefixI True) (S1 (MetaSel (Just "_tuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Task) :*: (S1 (MetaSel (Just "_tuTaskList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tuTask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TasksUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Update

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

Defined in Network.Google.Resource.Tasks.Tasks.Update

Request Lenses

tuPayload :: Lens' TasksUpdate Task Source #

Multipart request metadata.

tuTaskList :: Lens' TasksUpdate Text Source #

Task list identifier.

tuTask :: Lens' TasksUpdate Text Source #

Task identifier.