gogol-pubsub-0.0.1: Google Cloud Pub/Sub 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.PubSub.Projects.Subscriptions.ModifyPushConfig

Contents

Description

Modifies the `PushConfig` for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty `PushConfig`) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the `PushConfig`.

See: Google Cloud Pub/Sub API Reference for pubsub.projects.subscriptions.modifyPushConfig.

Synopsis

REST Resource

type ProjectsSubscriptionsModifyPushConfigResource = "v1" :> (CaptureMode "subscription" "modifyPushConfig" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` ModifyPushConfigRequest :> Post `[JSON]` Empty)))))))))) Source

A resource alias for pubsub.projects.subscriptions.modifyPushConfig method which the ProjectsSubscriptionsModifyPushConfig request conforms to.

Creating a Request

data ProjectsSubscriptionsModifyPushConfig Source

Modifies the `PushConfig` for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty `PushConfig`) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the `PushConfig`.

See: projectsSubscriptionsModifyPushConfig smart constructor.

Request Lenses

psmpcUploadProtocol :: Lens' ProjectsSubscriptionsModifyPushConfig (Maybe Text) Source

Upload protocol for media (e.g. "raw", "multipart").

psmpcUploadType :: Lens' ProjectsSubscriptionsModifyPushConfig (Maybe Text) Source

Legacy upload protocol for media (e.g. "media", "multipart").