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.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 # 
Instance details

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

Data SubscriptionsUpdate Source # 
Instance details

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

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 # 
Instance details

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

Generic SubscriptionsUpdate Source # 
Instance details

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

Associated Types

type Rep SubscriptionsUpdate :: Type -> Type #

GoogleRequest SubscriptionsUpdate Source # 
Instance details

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

Associated Types

type Rs SubscriptionsUpdate :: Type #

type Scopes SubscriptionsUpdate :: [Symbol] #

type Rep SubscriptionsUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

suPayload :: Lens' SubscriptionsUpdate Subscription Source #

Multipart request metadata.

suId :: Lens' SubscriptionsUpdate Text Source #

The ID of the subscription.