gogol-mirror-0.0.1: Google Mirror SDK.

Copyright(c) 2015 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:

Request Lenses

suPayload :: Lens' SubscriptionsUpdate Subscription Source

Multipart request metadata.

suId :: Lens' SubscriptionsUpdate Text Source

The ID of the subscription.