gogol-mirror-0.4.0: Google Mirror 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.Mirror.Timeline.Update

Contents

Description

Updates a timeline item in place.

See: Google Mirror API Reference for mirror.timeline.update.

Synopsis

REST Resource

type TimelineUpdateResource = ("mirror" :> ("v1" :> ("timeline" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TimelineItem :> Put '[JSON] TimelineItem)))))) :<|> ("upload" :> ("mirror" :> ("v1" :> ("timeline" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" Multipart :> (MultipartRelated '[JSON] TimelineItem :> Put '[JSON] TimelineItem)))))))) Source #

A resource alias for mirror.timeline.update method which the TimelineUpdate request conforms to.

Creating a Request

timelineUpdate Source #

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

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

data TimelineUpdate Source #

Updates a timeline item in place.

See: timelineUpdate smart constructor.

Instances
Eq TimelineUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Update

Data TimelineUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Update

Methods

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

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

toConstr :: TimelineUpdate -> Constr #

dataTypeOf :: TimelineUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TimelineUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Update

Generic TimelineUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Update

Associated Types

type Rep TimelineUpdate :: Type -> Type #

GoogleRequest TimelineUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Update

Associated Types

type Rs TimelineUpdate :: Type #

type Scopes TimelineUpdate :: [Symbol] #

GoogleRequest (MediaUpload TimelineUpdate) Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Update

type Rep TimelineUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Update

type Rep TimelineUpdate = D1 (MetaData "TimelineUpdate" "Network.Google.Resource.Mirror.Timeline.Update" "gogol-mirror-0.4.0-9c962MxnB494MCOxCUtS1H" False) (C1 (MetaCons "TimelineUpdate'" PrefixI True) (S1 (MetaSel (Just "_tuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TimelineItem) :*: S1 (MetaSel (Just "_tuId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes TimelineUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Update

type Scopes TimelineUpdate = "https://www.googleapis.com/auth/glass.location" ': ("https://www.googleapis.com/auth/glass.timeline" ': ([] :: [Symbol]))
type Rs TimelineUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Update

type Scopes (MediaUpload TimelineUpdate) Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Update

type Rs (MediaUpload TimelineUpdate) Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Timeline.Update

Request Lenses

tuPayload :: Lens' TimelineUpdate TimelineItem Source #

Multipart request metadata.

tuId :: Lens' TimelineUpdate Text Source #

The ID of the timeline item.