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

Contents

Description

Updates a timeline item in place. This method supports patch semantics.

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

Synopsis

REST Resource

type TimelinePatchResource = "mirror" :> ("v1" :> ("timeline" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TimelineItem :> Patch '[JSON] TimelineItem))))) Source #

A resource alias for mirror.timeline.patch method which the TimelinePatch request conforms to.

Creating a Request

timelinePatch Source #

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

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

data TimelinePatch Source #

Updates a timeline item in place. This method supports patch semantics.

See: timelinePatch smart constructor.

Instances
Eq TimelinePatch Source # 
Instance details

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

Data TimelinePatch Source # 
Instance details

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

Methods

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

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

toConstr :: TimelinePatch -> Constr #

dataTypeOf :: TimelinePatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TimelinePatch Source # 
Instance details

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

Generic TimelinePatch Source # 
Instance details

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

Associated Types

type Rep TimelinePatch :: Type -> Type #

GoogleRequest TimelinePatch Source # 
Instance details

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

Associated Types

type Rs TimelinePatch :: Type #

type Scopes TimelinePatch :: [Symbol] #

type Rep TimelinePatch Source # 
Instance details

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

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

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

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

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

Request Lenses

tpPayload :: Lens' TimelinePatch TimelineItem Source #

Multipart request metadata.

tpId :: Lens' TimelinePatch Text Source #

The ID of the timeline item.