Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Modifies the ack deadline for a specific message. This method is useful to indicate that more time is needed to process a message by the subscriber, or to make the message available for redelivery if the processing was interrupted. Note that this does not modify the subscription-level `ackDeadlineSeconds` used for subsequent messages.
See: Cloud Pub/Sub API Reference for pubsub.projects.subscriptions.modifyAckDeadline
.
Synopsis
- type ProjectsSubscriptionsModifyAckDeadlineResource = "v1" :> (CaptureMode "subscription" "modifyAckDeadline" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ModifyAckDeadlineRequest :> Post '[JSON] Empty))))))))
- projectsSubscriptionsModifyAckDeadline :: ModifyAckDeadlineRequest -> Text -> ProjectsSubscriptionsModifyAckDeadline
- data ProjectsSubscriptionsModifyAckDeadline
- psmadXgafv :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Xgafv)
- psmadUploadProtocol :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text)
- psmadAccessToken :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text)
- psmadUploadType :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text)
- psmadPayload :: Lens' ProjectsSubscriptionsModifyAckDeadline ModifyAckDeadlineRequest
- psmadSubscription :: Lens' ProjectsSubscriptionsModifyAckDeadline Text
- psmadCallback :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text)
REST Resource
type ProjectsSubscriptionsModifyAckDeadlineResource = "v1" :> (CaptureMode "subscription" "modifyAckDeadline" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ModifyAckDeadlineRequest :> Post '[JSON] Empty)))))))) Source #
A resource alias for pubsub.projects.subscriptions.modifyAckDeadline
method which the
ProjectsSubscriptionsModifyAckDeadline
request conforms to.
Creating a Request
projectsSubscriptionsModifyAckDeadline Source #
Creates a value of ProjectsSubscriptionsModifyAckDeadline
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsSubscriptionsModifyAckDeadline Source #
Modifies the ack deadline for a specific message. This method is useful to indicate that more time is needed to process a message by the subscriber, or to make the message available for redelivery if the processing was interrupted. Note that this does not modify the subscription-level `ackDeadlineSeconds` used for subsequent messages.
See: projectsSubscriptionsModifyAckDeadline
smart constructor.
Instances
Request Lenses
psmadXgafv :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Xgafv) Source #
V1 error format.
psmadUploadProtocol :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psmadAccessToken :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text) Source #
OAuth access token.
psmadUploadType :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psmadPayload :: Lens' ProjectsSubscriptionsModifyAckDeadline ModifyAckDeadlineRequest Source #
Multipart request metadata.
psmadSubscription :: Lens' ProjectsSubscriptionsModifyAckDeadline Text Source #
The name of the subscription. Format is `projects/{project}/subscriptions/{sub}`.