gogol-mirror-0.1.1: 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.Subscriptions.Update

Contents

Description

Updates an existing subscription in place.

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

Synopsis

REST Resource

type SubscriptionsUpdateResource = "mirror" :> ("v1" :> ("subscriptions" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Subscription :> Put '[JSON] Subscription))))) Source #

A resource alias for mirror.subscriptions.update method which the SubscriptionsUpdate request conforms to.

Creating a Request

subscriptionsUpdate Source #

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

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

data SubscriptionsUpdate Source #

Updates an existing subscription in place.

See: subscriptionsUpdate smart constructor.

Instances

Eq SubscriptionsUpdate Source # 
Data SubscriptionsUpdate Source # 

Methods

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

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

toConstr :: SubscriptionsUpdate -> Constr #

dataTypeOf :: SubscriptionsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubscriptionsUpdate Source # 
Generic SubscriptionsUpdate Source # 
GoogleRequest SubscriptionsUpdate Source # 
type Rep SubscriptionsUpdate Source # 
type Rep SubscriptionsUpdate = D1 (MetaData "SubscriptionsUpdate" "Network.Google.Resource.Mirror.Subscriptions.Update" "gogol-mirror-0.1.1-HFIe8lL5TZI3PtD2e7JiNI" False) (C1 (MetaCons "SubscriptionsUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_suPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Subscription)) (S1 (MetaSel (Just Symbol "_suId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SubscriptionsUpdate Source # 
type Scopes SubscriptionsUpdate = (:) Symbol "https://www.googleapis.com/auth/glass.timeline" ([] Symbol)
type Rs SubscriptionsUpdate Source # 

Request Lenses

suPayload :: Lens' SubscriptionsUpdate Subscription Source #

Multipart request metadata.

suId :: Lens' SubscriptionsUpdate Text Source #

The ID of the subscription.