gogol-pubsub-0.4.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. 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

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

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
Eq ProjectsSubscriptionsModifyAckDeadline Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.ModifyAckDeadline

Data ProjectsSubscriptionsModifyAckDeadline Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.ModifyAckDeadline

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 # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.ModifyAckDeadline

Generic ProjectsSubscriptionsModifyAckDeadline Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.ModifyAckDeadline

GoogleRequest ProjectsSubscriptionsModifyAckDeadline Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.ModifyAckDeadline

type Rep ProjectsSubscriptionsModifyAckDeadline Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.ModifyAckDeadline

type Rep ProjectsSubscriptionsModifyAckDeadline = D1 (MetaData "ProjectsSubscriptionsModifyAckDeadline" "Network.Google.Resource.PubSub.Projects.Subscriptions.ModifyAckDeadline" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ProjectsSubscriptionsModifyAckDeadline'" PrefixI True) ((S1 (MetaSel (Just "_psmadXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_psmadUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psmadAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_psmadUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psmadPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ModifyAckDeadlineRequest)) :*: (S1 (MetaSel (Just "_psmadSubscription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psmadCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsSubscriptionsModifyAckDeadline Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.ModifyAckDeadline

type Scopes ProjectsSubscriptionsModifyAckDeadline = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/pubsub" ': ([] :: [Symbol]))
type Rs ProjectsSubscriptionsModifyAckDeadline Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.ModifyAckDeadline

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").

psmadSubscription :: Lens' ProjectsSubscriptionsModifyAckDeadline Text Source #

The name of the subscription. Format is `projects/{project}/subscriptions/{sub}`.