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

Contents

Description

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.

Synopsis

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

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.

Instances

Eq ProjectsSubscriptionsModifyAckDeadline Source # 
Data ProjectsSubscriptionsModifyAckDeadline Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsSubscriptionsModifyAckDeadline -> c ProjectsSubscriptionsModifyAckDeadline #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsSubscriptionsModifyAckDeadline #

toConstr :: ProjectsSubscriptionsModifyAckDeadline -> Constr #

dataTypeOf :: ProjectsSubscriptionsModifyAckDeadline -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsSubscriptionsModifyAckDeadline) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsSubscriptionsModifyAckDeadline) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsSubscriptionsModifyAckDeadline -> ProjectsSubscriptionsModifyAckDeadline #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsSubscriptionsModifyAckDeadline -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsSubscriptionsModifyAckDeadline -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsSubscriptionsModifyAckDeadline -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsSubscriptionsModifyAckDeadline -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsSubscriptionsModifyAckDeadline -> m ProjectsSubscriptionsModifyAckDeadline #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsSubscriptionsModifyAckDeadline -> m ProjectsSubscriptionsModifyAckDeadline #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsSubscriptionsModifyAckDeadline -> m ProjectsSubscriptionsModifyAckDeadline #

Show ProjectsSubscriptionsModifyAckDeadline Source # 
Generic ProjectsSubscriptionsModifyAckDeadline Source # 
GoogleRequest ProjectsSubscriptionsModifyAckDeadline Source # 
type Rep ProjectsSubscriptionsModifyAckDeadline Source # 
type Rep ProjectsSubscriptionsModifyAckDeadline = D1 (MetaData "ProjectsSubscriptionsModifyAckDeadline" "Network.Google.Resource.PubSub.Projects.Subscriptions.ModifyAckDeadline" "gogol-pubsub-0.1.0-9Kd2KbQ3UV47Z2LlhG2rxf" False) (C1 (MetaCons "ProjectsSubscriptionsModifyAckDeadline'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psmadXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_psmadUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_psmadPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_psmadAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psmadUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_psmadPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ModifyAckDeadlineRequest))) ((:*:) (S1 (MetaSel (Just Symbol "_psmadBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_psmadSubscription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_psmadCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes ProjectsSubscriptionsModifyAckDeadline Source # 
type Scopes ProjectsSubscriptionsModifyAckDeadline = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/pubsub" ([] Symbol))
type Rs ProjectsSubscriptionsModifyAckDeadline Source # 

Request Lenses

psmadUploadProtocol :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text) Source #

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

psmadUploadType :: Lens' ProjectsSubscriptionsModifyAckDeadline (Maybe Text) Source #

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