Copyright | (c) 2015 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.
See: Google Cloud Pub/Sub API Reference for pubsub.projects.subscriptions.modifyAckDeadline
.
- type ProjectsSubscriptionsModifyAckDeadlineResource = "v1" :> (CaptureMode "subscription" "modifyAckDeadline" 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]` ModifyAckDeadlineRequest :> Post `[JSON]` Empty))))))))))
- projectsSubscriptionsModifyAckDeadline :: ModifyAckDeadlineRequest -> Text -> ProjectsSubscriptionsModifyAckDeadline
- data ProjectsSubscriptionsModifyAckDeadline
- psmadXgafv :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text)
- psmadUploadProtocol :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text)
- psmadPp :: Lens' ProjectsSubscriptionsModifyAckDeadline Bool
- psmadAccessToken :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text)
- psmadUploadType :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text)
- psmadPayload :: Lens' ProjectsSubscriptionsModifyAckDeadline ModifyAckDeadlineRequest
- psmadBearerToken :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text)
- psmadSubscription :: Lens' ProjectsSubscriptionsModifyAckDeadline Text
- psmadCallback :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text)
REST Resource
type ProjectsSubscriptionsModifyAckDeadlineResource = "v1" :> (CaptureMode "subscription" "modifyAckDeadline" 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]` 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.
See: projectsSubscriptionsModifyAckDeadline
smart constructor.
Request Lenses
psmadXgafv :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text) Source
V1 error format.
psmadUploadProtocol :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
psmadPp :: Lens' ProjectsSubscriptionsModifyAckDeadline Bool Source
Pretty-print response.
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.
psmadBearerToken :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text) Source
OAuth bearer token.
psmadSubscription :: Lens' ProjectsSubscriptionsModifyAckDeadline Text Source
The name of the subscription.