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.PubSub

Contents

Description

Provides reliable, many-to-many, asynchronous messaging between applications.

See: Cloud Pub/Sub API Reference

Synopsis

Service Configuration

pubSubService :: ServiceConfig Source #

Default request referring to version v1 of the Cloud Pub/Sub API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #

View and manage your data across Google Cloud Platform services

pubSubScope :: Proxy '["https://www.googleapis.com/auth/pubsub"] Source #

View and manage Pub/Sub topics and subscriptions

API Declaration

Resources

pubsub.projects.snapshots.create

pubsub.projects.snapshots.delete

pubsub.projects.snapshots.get

pubsub.projects.snapshots.getIamPolicy

pubsub.projects.snapshots.list

pubsub.projects.snapshots.patch

pubsub.projects.snapshots.setIamPolicy

pubsub.projects.snapshots.testIamPermissions

pubsub.projects.subscriptions.acknowledge

pubsub.projects.subscriptions.create

pubsub.projects.subscriptions.delete

pubsub.projects.subscriptions.get

pubsub.projects.subscriptions.getIamPolicy

pubsub.projects.subscriptions.list

pubsub.projects.subscriptions.modifyAckDeadline

pubsub.projects.subscriptions.modifyPushConfig

pubsub.projects.subscriptions.patch

pubsub.projects.subscriptions.pull

pubsub.projects.subscriptions.seek

pubsub.projects.subscriptions.setIamPolicy

pubsub.projects.subscriptions.testIamPermissions

pubsub.projects.topics.create

pubsub.projects.topics.delete

pubsub.projects.topics.get

pubsub.projects.topics.getIamPolicy

pubsub.projects.topics.list

pubsub.projects.topics.patch

pubsub.projects.topics.publish

pubsub.projects.topics.setIamPolicy

pubsub.projects.topics.snapshots.list

pubsub.projects.topics.subscriptions.list

pubsub.projects.topics.testIamPermissions

Types

PushConfig

data PushConfig Source #

Configuration for a push delivery endpoint.

See: pushConfig smart constructor.

Instances
Eq PushConfig Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data PushConfig Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: PushConfig -> Constr #

dataTypeOf :: PushConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PushConfig Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic PushConfig Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep PushConfig :: Type -> Type #

ToJSON PushConfig Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON PushConfig Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PushConfig Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PushConfig = D1 (MetaData "PushConfig" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "PushConfig'" PrefixI True) (S1 (MetaSel (Just "_pcAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PushConfigAttributes)) :*: S1 (MetaSel (Just "_pcPushEndpoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

pushConfig :: PushConfig Source #

Creates a value of PushConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pcAttributes :: Lens' PushConfig (Maybe PushConfigAttributes) Source #

Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the `CreateSubscription` call, it will default to the version of the API used to make such call. If not present during a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.

pcPushEndpoint :: Lens' PushConfig (Maybe Text) Source #

A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push".

ReceivedMessage

data ReceivedMessage Source #

A message and its corresponding acknowledgment ID.

See: receivedMessage smart constructor.

Instances
Eq ReceivedMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data ReceivedMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: ReceivedMessage -> Constr #

dataTypeOf :: ReceivedMessage -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReceivedMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic ReceivedMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep ReceivedMessage :: Type -> Type #

ToJSON ReceivedMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON ReceivedMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ReceivedMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ReceivedMessage = D1 (MetaData "ReceivedMessage" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ReceivedMessage'" PrefixI True) (S1 (MetaSel (Just "_rmAckId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rmMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PubsubMessage))))

receivedMessage :: ReceivedMessage Source #

Creates a value of ReceivedMessage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rmAckId :: Lens' ReceivedMessage (Maybe Text) Source #

This ID can be used to acknowledge the received message.

Snapshot

data Snapshot Source #

A snapshot resource. Snapshots are used in Seek operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. BETA: This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

See: snapshot smart constructor.

Instances
Eq Snapshot Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data Snapshot Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: Snapshot -> Constr #

dataTypeOf :: Snapshot -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Snapshot Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic Snapshot Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep Snapshot :: Type -> Type #

Methods

from :: Snapshot -> Rep Snapshot x #

to :: Rep Snapshot x -> Snapshot #

ToJSON Snapshot Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON Snapshot Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep Snapshot Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep Snapshot = D1 (MetaData "Snapshot" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "Snapshot'" PrefixI True) ((S1 (MetaSel (Just "_sTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SnapshotLabels)) :*: S1 (MetaSel (Just "_sExpireTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))))

snapshot :: Snapshot Source #

Creates a value of Snapshot with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sTopic :: Lens' Snapshot (Maybe Text) Source #

The name of the topic from which this snapshot is retaining messages.

sName :: Lens' Snapshot (Maybe Text) Source #

The name of the snapshot.

sExpireTime :: Lens' Snapshot (Maybe UTCTime) Source #

The snapshot is guaranteed to exist up until this time. A newly-created snapshot expires no later than 7 days from the time of its creation. Its exact lifetime is determined at creation by the existing backlog in the source subscription. Specifically, the lifetime of the snapshot is `7 days - (age of oldest unacked message in the subscription)`. For example, consider a subscription whose oldest unacked message is 3 days old. If a snapshot is created from this subscription, the snapshot -- which will always capture this 3-day-old backlog as long as the snapshot exists -- will expire in 4 days. The service will refuse to create a snapshot that would expire in less than 1 hour after creation.

ListTopicSnapshotsResponse

data ListTopicSnapshotsResponse Source #

Response for the `ListTopicSnapshots` method. BETA: This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

See: listTopicSnapshotsResponse smart constructor.

Instances
Eq ListTopicSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data ListTopicSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: ListTopicSnapshotsResponse -> Constr #

dataTypeOf :: ListTopicSnapshotsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListTopicSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic ListTopicSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep ListTopicSnapshotsResponse :: Type -> Type #

ToJSON ListTopicSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON ListTopicSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ListTopicSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ListTopicSnapshotsResponse = D1 (MetaData "ListTopicSnapshotsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ListTopicSnapshotsResponse'" PrefixI True) (S1 (MetaSel (Just "_ltsrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltsrSnapshots") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

listTopicSnapshotsResponse :: ListTopicSnapshotsResponse Source #

Creates a value of ListTopicSnapshotsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ltsrNextPageToken :: Lens' ListTopicSnapshotsResponse (Maybe Text) Source #

If not empty, indicates that there may be more snapshots that match the request; this value should be passed in a new `ListTopicSnapshotsRequest` to get more snapshots.

ltsrSnapshots :: Lens' ListTopicSnapshotsResponse [Text] Source #

The names of the snapshots that match the request.

Expr

data Expr Source #

Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"

See: expr smart constructor.

Instances
Eq Expr Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

(==) :: Expr -> Expr -> Bool #

(/=) :: Expr -> Expr -> Bool #

Data Expr Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: Expr -> Constr #

dataTypeOf :: Expr -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Expr Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

showsPrec :: Int -> Expr -> ShowS #

show :: Expr -> String #

showList :: [Expr] -> ShowS #

Generic Expr Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep Expr :: Type -> Type #

Methods

from :: Expr -> Rep Expr x #

to :: Rep Expr x -> Expr #

ToJSON Expr Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON Expr Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep Expr Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep Expr = D1 (MetaData "Expr" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "Expr'" PrefixI True) ((S1 (MetaSel (Just "_eLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

expr :: Expr Source #

Creates a value of Expr with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eLocation :: Lens' Expr (Maybe Text) Source #

An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

eExpression :: Lens' Expr (Maybe Text) Source #

Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.

eTitle :: Lens' Expr (Maybe Text) Source #

An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

eDescription :: Lens' Expr (Maybe Text) Source #

An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

ModifyAckDeadlineRequest

data ModifyAckDeadlineRequest Source #

Request for the ModifyAckDeadline method.

See: modifyAckDeadlineRequest smart constructor.

Instances
Eq ModifyAckDeadlineRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data ModifyAckDeadlineRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: ModifyAckDeadlineRequest -> Constr #

dataTypeOf :: ModifyAckDeadlineRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ModifyAckDeadlineRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic ModifyAckDeadlineRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep ModifyAckDeadlineRequest :: Type -> Type #

ToJSON ModifyAckDeadlineRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON ModifyAckDeadlineRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ModifyAckDeadlineRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ModifyAckDeadlineRequest = D1 (MetaData "ModifyAckDeadlineRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ModifyAckDeadlineRequest'" PrefixI True) (S1 (MetaSel (Just "_madrAckIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_madrAckDeadlineSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))

modifyAckDeadlineRequest :: ModifyAckDeadlineRequest Source #

Creates a value of ModifyAckDeadlineRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

madrAckIds :: Lens' ModifyAckDeadlineRequest [Text] Source #

List of acknowledgment IDs.

madrAckDeadlineSeconds :: Lens' ModifyAckDeadlineRequest (Maybe Int32) Source #

The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the `ModifyAckDeadline` call was made. Specifying zero might immediately make the message available for delivery to another subscriber client. This typically results in an increase in the rate of message redeliveries (that is, duplicates). The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify is 600 seconds (10 minutes).

ModifyPushConfigRequest

data ModifyPushConfigRequest Source #

Request for the ModifyPushConfig method.

See: modifyPushConfigRequest smart constructor.

Instances
Eq ModifyPushConfigRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data ModifyPushConfigRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: ModifyPushConfigRequest -> Constr #

dataTypeOf :: ModifyPushConfigRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ModifyPushConfigRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic ModifyPushConfigRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep ModifyPushConfigRequest :: Type -> Type #

ToJSON ModifyPushConfigRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON ModifyPushConfigRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ModifyPushConfigRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ModifyPushConfigRequest = D1 (MetaData "ModifyPushConfigRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "ModifyPushConfigRequest'" PrefixI True) (S1 (MetaSel (Just "_mpcrPushConfig") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe PushConfig))))

modifyPushConfigRequest :: ModifyPushConfigRequest Source #

Creates a value of ModifyPushConfigRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mpcrPushConfig :: Lens' ModifyPushConfigRequest (Maybe PushConfig) Source #

The push configuration for future deliveries. An empty `pushConfig` indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if `Pull` or `StreamingPull` is not called.

Empty

data Empty Source #

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.

See: empty smart constructor.

Instances
Eq Empty Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

(==) :: Empty -> Empty -> Bool #

(/=) :: Empty -> Empty -> Bool #

Data Empty Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: Empty -> Constr #

dataTypeOf :: Empty -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Empty Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "Empty'" PrefixI False) (U1 :: Type -> Type))

empty :: Empty Source #

Creates a value of Empty with the minimum fields required to make a request.

PubsubMessage

data PubsubMessage Source #

A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding client library documentation for more information. See Quotas and limits for more information about message limits.

See: pubsubMessage smart constructor.

Instances
Eq PubsubMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data PubsubMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: PubsubMessage -> Constr #

dataTypeOf :: PubsubMessage -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PubsubMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic PubsubMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep PubsubMessage :: Type -> Type #

ToJSON PubsubMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON PubsubMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PubsubMessage Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PubsubMessage = D1 (MetaData "PubsubMessage" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "PubsubMessage'" PrefixI True) ((S1 (MetaSel (Just "_pmData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_pmPublishTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_pmAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PubsubMessageAttributes)) :*: S1 (MetaSel (Just "_pmMessageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

pubsubMessage :: PubsubMessage Source #

Creates a value of PubsubMessage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pmData :: Lens' PubsubMessage (Maybe ByteString) Source #

The message data field. If this field is empty, the message must contain at least one attribute.

pmPublishTime :: Lens' PubsubMessage (Maybe UTCTime) Source #

The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call.

pmAttributes :: Lens' PubsubMessage (Maybe PubsubMessageAttributes) Source #

Optional attributes for this message.

pmMessageId :: Lens' PubsubMessage (Maybe Text) Source #

ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.

ListTopicSubscriptionsResponse

data ListTopicSubscriptionsResponse Source #

Response for the `ListTopicSubscriptions` method.

See: listTopicSubscriptionsResponse smart constructor.

Instances
Eq ListTopicSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data ListTopicSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: ListTopicSubscriptionsResponse -> Constr #

dataTypeOf :: ListTopicSubscriptionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListTopicSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic ListTopicSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep ListTopicSubscriptionsResponse :: Type -> Type #

ToJSON ListTopicSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON ListTopicSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ListTopicSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ListTopicSubscriptionsResponse = D1 (MetaData "ListTopicSubscriptionsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ListTopicSubscriptionsResponse'" PrefixI True) (S1 (MetaSel (Just "_lNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lSubscriptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

listTopicSubscriptionsResponse :: ListTopicSubscriptionsResponse Source #

Creates a value of ListTopicSubscriptionsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lNextPageToken :: Lens' ListTopicSubscriptionsResponse (Maybe Text) Source #

If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListTopicSubscriptionsRequest` to get more subscriptions.

lSubscriptions :: Lens' ListTopicSubscriptionsResponse [Text] Source #

The names of the subscriptions that match the request.

ListTopicsResponse

data ListTopicsResponse Source #

Response for the `ListTopics` method.

See: listTopicsResponse smart constructor.

Instances
Eq ListTopicsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data ListTopicsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: ListTopicsResponse -> Constr #

dataTypeOf :: ListTopicsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListTopicsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic ListTopicsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep ListTopicsResponse :: Type -> Type #

ToJSON ListTopicsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON ListTopicsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ListTopicsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ListTopicsResponse = D1 (MetaData "ListTopicsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ListTopicsResponse'" PrefixI True) (S1 (MetaSel (Just "_ltrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltrTopics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Topic]))))

listTopicsResponse :: ListTopicsResponse Source #

Creates a value of ListTopicsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ltrNextPageToken :: Lens' ListTopicsResponse (Maybe Text) Source #

If not empty, indicates that there may be more topics that match the request; this value should be passed in a new `ListTopicsRequest`.

ltrTopics :: Lens' ListTopicsResponse [Topic] Source #

The resulting topics.

PullResponse

data PullResponse Source #

Response for the `Pull` method.

See: pullResponse smart constructor.

Instances
Eq PullResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data PullResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: PullResponse -> Constr #

dataTypeOf :: PullResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PullResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic PullResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep PullResponse :: Type -> Type #

ToJSON PullResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON PullResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PullResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PullResponse = D1 (MetaData "PullResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "PullResponse'" PrefixI True) (S1 (MetaSel (Just "_prReceivedMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ReceivedMessage]))))

pullResponse :: PullResponse Source #

Creates a value of PullResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

prReceivedMessages :: Lens' PullResponse [ReceivedMessage] Source #

Received Pub/Sub messages. The list will be empty if there are no more messages available in the backlog. For JSON, the response can be entirely empty. The Pub/Sub system may return fewer than the `maxMessages` requested even if there are more messages available in the backlog.

ListSnapshotsResponse

data ListSnapshotsResponse Source #

Response for the `ListSnapshots` method. BETA: This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

See: listSnapshotsResponse smart constructor.

Instances
Eq ListSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data ListSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: ListSnapshotsResponse -> Constr #

dataTypeOf :: ListSnapshotsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic ListSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep ListSnapshotsResponse :: Type -> Type #

ToJSON ListSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON ListSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ListSnapshotsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ListSnapshotsResponse = D1 (MetaData "ListSnapshotsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ListSnapshotsResponse'" PrefixI True) (S1 (MetaSel (Just "_lsrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lsrSnapshots") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Snapshot]))))

listSnapshotsResponse :: ListSnapshotsResponse Source #

Creates a value of ListSnapshotsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lsrNextPageToken :: Lens' ListSnapshotsResponse (Maybe Text) Source #

If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new `ListSnapshotsRequest`.

SetIAMPolicyRequest

data SetIAMPolicyRequest Source #

Request message for `SetIamPolicy` method.

See: setIAMPolicyRequest smart constructor.

Instances
Eq SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: SetIAMPolicyRequest -> Constr #

dataTypeOf :: SetIAMPolicyRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep SetIAMPolicyRequest :: Type -> Type #

ToJSON SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep SetIAMPolicyRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep SetIAMPolicyRequest = D1 (MetaData "SetIAMPolicyRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "SetIAMPolicyRequest'" PrefixI True) (S1 (MetaSel (Just "_siprPolicy") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Policy))))

setIAMPolicyRequest :: SetIAMPolicyRequest Source #

Creates a value of SetIAMPolicyRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy) Source #

REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.

CreateSnapshotRequest

data CreateSnapshotRequest Source #

Request for the `CreateSnapshot` method. BETA: This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

See: createSnapshotRequest smart constructor.

Instances
Eq CreateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data CreateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: CreateSnapshotRequest -> Constr #

dataTypeOf :: CreateSnapshotRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic CreateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep CreateSnapshotRequest :: Type -> Type #

ToJSON CreateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON CreateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep CreateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep CreateSnapshotRequest = D1 (MetaData "CreateSnapshotRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "CreateSnapshotRequest'" PrefixI True) (S1 (MetaSel (Just "_csrLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CreateSnapshotRequestLabels)) :*: S1 (MetaSel (Just "_csrSubscription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

createSnapshotRequest :: CreateSnapshotRequest Source #

Creates a value of CreateSnapshotRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

csrSubscription :: Lens' CreateSnapshotRequest (Maybe Text) Source #

The subscription whose backlog the snapshot retains. Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the subscription. More precisely, this is defined as the messages in the subscription's backlog that are unacknowledged upon the successful completion of the `CreateSnapshot` request; as well as: (b) Any messages published to the subscription's topic following the successful completion of the CreateSnapshot request. Format is `projects/{project}/subscriptions/{sub}`.

SeekRequest

data SeekRequest Source #

Request for the `Seek` method. BETA: This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

See: seekRequest smart constructor.

Instances
Eq SeekRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data SeekRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: SeekRequest -> Constr #

dataTypeOf :: SeekRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SeekRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic SeekRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep SeekRequest :: Type -> Type #

ToJSON SeekRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON SeekRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep SeekRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep SeekRequest = D1 (MetaData "SeekRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "SeekRequest'" PrefixI True) (S1 (MetaSel (Just "_srSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_srTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))

seekRequest :: SeekRequest Source #

Creates a value of SeekRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

srSnapshot :: Lens' SeekRequest (Maybe Text) Source #

The snapshot to seek to. The snapshot's topic must be the same as that of the provided subscription. Format is `projects/{project}/snapshots/{snap}`.

srTime :: Lens' SeekRequest (Maybe UTCTime) Source #

The time to seek to. Messages retained in the subscription that were published before this time are marked as acknowledged, and messages retained in the subscription that were published after this time are marked as unacknowledged. Note that this operation affects only those messages retained in the subscription (configured by the combination of `message_retention_duration` and `retain_acked_messages`). For example, if `time` corresponds to a point before the message retention window (or to a point before the system's notion of the subscription creation time), only retained messages will be marked as unacknowledged, and already-expunged messages will not be restored.

Topic

data Topic Source #

A topic resource.

See: topic smart constructor.

Instances
Eq Topic Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

(==) :: Topic -> Topic -> Bool #

(/=) :: Topic -> Topic -> Bool #

Data Topic Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: Topic -> Constr #

dataTypeOf :: Topic -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Topic Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

showsPrec :: Int -> Topic -> ShowS #

show :: Topic -> String #

showList :: [Topic] -> ShowS #

Generic Topic Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep Topic :: Type -> Type #

Methods

from :: Topic -> Rep Topic x #

to :: Rep Topic x -> Topic #

ToJSON Topic Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON Topic Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep Topic Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep Topic = D1 (MetaData "Topic" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "Topic'" PrefixI True) (S1 (MetaSel (Just "_tName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TopicLabels))))

topic :: Topic Source #

Creates a value of Topic with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tName :: Lens' Topic (Maybe Text) Source #

The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.

TopicLabels

data TopicLabels Source #

See Creating and managing labels.

See: topicLabels smart constructor.

Instances
Eq TopicLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data TopicLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: TopicLabels -> Constr #

dataTypeOf :: TopicLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TopicLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic TopicLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep TopicLabels :: Type -> Type #

ToJSON TopicLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON TopicLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep TopicLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep TopicLabels = D1 (MetaData "TopicLabels" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "TopicLabels'" PrefixI True) (S1 (MetaSel (Just "_tlAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

topicLabels Source #

Creates a value of TopicLabels with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

CreateSnapshotRequestLabels

data CreateSnapshotRequestLabels Source #

Instances
Eq CreateSnapshotRequestLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data CreateSnapshotRequestLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: CreateSnapshotRequestLabels -> Constr #

dataTypeOf :: CreateSnapshotRequestLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreateSnapshotRequestLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic CreateSnapshotRequestLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep CreateSnapshotRequestLabels :: Type -> Type #

ToJSON CreateSnapshotRequestLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON CreateSnapshotRequestLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep CreateSnapshotRequestLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep CreateSnapshotRequestLabels = D1 (MetaData "CreateSnapshotRequestLabels" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "CreateSnapshotRequestLabels'" PrefixI True) (S1 (MetaSel (Just "_csrlAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

createSnapshotRequestLabels Source #

Creates a value of CreateSnapshotRequestLabels with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

UpdateSnapshotRequest

data UpdateSnapshotRequest Source #

Request for the UpdateSnapshot method. BETA: This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

See: updateSnapshotRequest smart constructor.

Instances
Eq UpdateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data UpdateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: UpdateSnapshotRequest -> Constr #

dataTypeOf :: UpdateSnapshotRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UpdateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic UpdateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep UpdateSnapshotRequest :: Type -> Type #

ToJSON UpdateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON UpdateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep UpdateSnapshotRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep UpdateSnapshotRequest = D1 (MetaData "UpdateSnapshotRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "UpdateSnapshotRequest'" PrefixI True) (S1 (MetaSel (Just "_usrSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Snapshot)) :*: S1 (MetaSel (Just "_usrUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask))))

updateSnapshotRequest :: UpdateSnapshotRequest Source #

Creates a value of UpdateSnapshotRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

usrSnapshot :: Lens' UpdateSnapshotRequest (Maybe Snapshot) Source #

The updated snapshot object.

usrUpdateMask :: Lens' UpdateSnapshotRequest (Maybe GFieldMask) Source #

Indicates which fields in the provided snapshot to update. Must be specified and non-empty.

PullRequest

data PullRequest Source #

Request for the `Pull` method.

See: pullRequest smart constructor.

Instances
Eq PullRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data PullRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: PullRequest -> Constr #

dataTypeOf :: PullRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PullRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic PullRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep PullRequest :: Type -> Type #

ToJSON PullRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON PullRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PullRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PullRequest = D1 (MetaData "PullRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "PullRequest'" PrefixI True) (S1 (MetaSel (Just "_prMaxMessages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_prReturnImmediately") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))

pullRequest :: PullRequest Source #

Creates a value of PullRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

prMaxMessages :: Lens' PullRequest (Maybe Int32) Source #

The maximum number of messages returned for this request. The Pub/Sub system may return fewer than the number specified.

prReturnImmediately :: Lens' PullRequest (Maybe Bool) Source #

If this field set to true, the system will respond immediately even if it there are no messages available to return in the `Pull` response. Otherwise, the system may wait (for a bounded amount of time) until at least one message is available, rather than returning no messages.

PubsubMessageAttributes

data PubsubMessageAttributes Source #

Optional attributes for this message.

See: pubsubMessageAttributes smart constructor.

Instances
Eq PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: PubsubMessageAttributes -> Constr #

dataTypeOf :: PubsubMessageAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep PubsubMessageAttributes :: Type -> Type #

ToJSON PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PubsubMessageAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PubsubMessageAttributes = D1 (MetaData "PubsubMessageAttributes" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "PubsubMessageAttributes'" PrefixI True) (S1 (MetaSel (Just "_pmaAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

pubsubMessageAttributes Source #

Creates a value of PubsubMessageAttributes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.PubSub.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.PubSub.Types.Sum

Methods

(==) :: Xgafv -> Xgafv -> Bool #

(/=) :: Xgafv -> Xgafv -> Bool #

Data Xgafv Source # 
Instance details

Defined in Network.Google.PubSub.Types.Sum

Methods

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

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

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Xgafv Source # 
Instance details

Defined in Network.Google.PubSub.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

(>=) :: Xgafv -> Xgafv -> Bool #

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.PubSub.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.PubSub.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.PubSub.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.PubSub.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.PubSub.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.PubSub.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.PubSub.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.PubSub.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.PubSub.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.PubSub.Types.Sum" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

TestIAMPermissionsRequest

data TestIAMPermissionsRequest Source #

Request message for `TestIamPermissions` method.

See: testIAMPermissionsRequest smart constructor.

Instances
Eq TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: TestIAMPermissionsRequest -> Constr #

dataTypeOf :: TestIAMPermissionsRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep TestIAMPermissionsRequest :: Type -> Type #

ToJSON TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep TestIAMPermissionsRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep TestIAMPermissionsRequest = D1 (MetaData "TestIAMPermissionsRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "TestIAMPermissionsRequest'" PrefixI True) (S1 (MetaSel (Just "_tiprPermissions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

testIAMPermissionsRequest :: TestIAMPermissionsRequest Source #

Creates a value of TestIAMPermissionsRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tiprPermissions :: Lens' TestIAMPermissionsRequest [Text] Source #

The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview.

PublishResponse

data PublishResponse Source #

Response for the `Publish` method.

See: publishResponse smart constructor.

Instances
Eq PublishResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data PublishResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: PublishResponse -> Constr #

dataTypeOf :: PublishResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PublishResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic PublishResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep PublishResponse :: Type -> Type #

ToJSON PublishResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON PublishResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PublishResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PublishResponse = D1 (MetaData "PublishResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "PublishResponse'" PrefixI True) (S1 (MetaSel (Just "_prMessageIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

publishResponse :: PublishResponse Source #

Creates a value of PublishResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

prMessageIds :: Lens' PublishResponse [Text] Source #

The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.

PublishRequest

data PublishRequest Source #

Request for the Publish method.

See: publishRequest smart constructor.

Instances
Eq PublishRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data PublishRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: PublishRequest -> Constr #

dataTypeOf :: PublishRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PublishRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic PublishRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep PublishRequest :: Type -> Type #

ToJSON PublishRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON PublishRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PublishRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PublishRequest = D1 (MetaData "PublishRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "PublishRequest'" PrefixI True) (S1 (MetaSel (Just "_prMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [PubsubMessage]))))

publishRequest :: PublishRequest Source #

Creates a value of PublishRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

prMessages :: Lens' PublishRequest [PubsubMessage] Source #

The messages to publish.

TestIAMPermissionsResponse

data TestIAMPermissionsResponse Source #

Response message for `TestIamPermissions` method.

See: testIAMPermissionsResponse smart constructor.

Instances
Eq TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: TestIAMPermissionsResponse -> Constr #

dataTypeOf :: TestIAMPermissionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep TestIAMPermissionsResponse :: Type -> Type #

ToJSON TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep TestIAMPermissionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep TestIAMPermissionsResponse = D1 (MetaData "TestIAMPermissionsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "TestIAMPermissionsResponse'" PrefixI True) (S1 (MetaSel (Just "_tiamprPermissions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

testIAMPermissionsResponse :: TestIAMPermissionsResponse Source #

Creates a value of TestIAMPermissionsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text] Source #

A subset of `TestPermissionsRequest.permissions` that the caller is allowed.

Policy

data Policy Source #

Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **JSON Example** { "bindings": [ { "role": "roles/owner", "members": [ "user:mike'example.com", "group:admins'example.com", "domain:google.com", "serviceAccount:my-other-app'appspot.gserviceaccount.com" ] }, { "role": "roles/viewer", "members": ["user:sean'example.com"] } ] } **YAML Example** bindings: - members: - user:mike'example.com - group:admins'example.com - domain:google.com - serviceAccount:my-other-app'appspot.gserviceaccount.com role: roles/owner - members: - user:sean'example.com role: roles/viewer For a description of IAM and its features, see the IAM developer's guide.

See: policy smart constructor.

Instances
Eq Policy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

(==) :: Policy -> Policy -> Bool #

(/=) :: Policy -> Policy -> Bool #

Data Policy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: Policy -> Constr #

dataTypeOf :: Policy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Policy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic Policy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep Policy :: Type -> Type #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

ToJSON Policy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON Policy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep Policy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep Policy = D1 (MetaData "Policy" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "Policy'" PrefixI True) (S1 (MetaSel (Just "_pEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: (S1 (MetaSel (Just "_pVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pBindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Binding])))))

policy :: Policy Source #

Creates a value of Policy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pEtag :: Lens' Policy (Maybe ByteString) Source #

`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.

pBindings :: Lens' Policy [Binding] Source #

Associates a list of `members` to a `role`. `bindings` with no members will result in an error.

SeekResponse

data SeekResponse Source #

Response for the `Seek` method (this response is empty).

See: seekResponse smart constructor.

Instances
Eq SeekResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data SeekResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: SeekResponse -> Constr #

dataTypeOf :: SeekResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SeekResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic SeekResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep SeekResponse :: Type -> Type #

ToJSON SeekResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON SeekResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep SeekResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep SeekResponse = D1 (MetaData "SeekResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "SeekResponse'" PrefixI False) (U1 :: Type -> Type))

seekResponse :: SeekResponse Source #

Creates a value of SeekResponse with the minimum fields required to make a request.

ExpirationPolicy

data ExpirationPolicy Source #

A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).

See: expirationPolicy smart constructor.

Instances
Eq ExpirationPolicy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data ExpirationPolicy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: ExpirationPolicy -> Constr #

dataTypeOf :: ExpirationPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ExpirationPolicy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic ExpirationPolicy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep ExpirationPolicy :: Type -> Type #

ToJSON ExpirationPolicy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON ExpirationPolicy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ExpirationPolicy Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ExpirationPolicy = D1 (MetaData "ExpirationPolicy" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "ExpirationPolicy'" PrefixI True) (S1 (MetaSel (Just "_epTtl") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe GDuration))))

expirationPolicy :: ExpirationPolicy Source #

Creates a value of ExpirationPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

epTtl :: Lens' ExpirationPolicy (Maybe Scientific) Source #

Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires.

PushConfigAttributes

data PushConfigAttributes Source #

Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the `CreateSubscription` call, it will default to the version of the API used to make such call. If not present during a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.

See: pushConfigAttributes smart constructor.

Instances
Eq PushConfigAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data PushConfigAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: PushConfigAttributes -> Constr #

dataTypeOf :: PushConfigAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PushConfigAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic PushConfigAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep PushConfigAttributes :: Type -> Type #

ToJSON PushConfigAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON PushConfigAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PushConfigAttributes Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep PushConfigAttributes = D1 (MetaData "PushConfigAttributes" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "PushConfigAttributes'" PrefixI True) (S1 (MetaSel (Just "_pcaAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

pushConfigAttributes Source #

Creates a value of PushConfigAttributes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Subscription

data Subscription Source #

A subscription resource.

See: subscription smart constructor.

Instances
Eq Subscription Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data Subscription Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: Subscription -> Constr #

dataTypeOf :: Subscription -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Subscription Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic Subscription Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep Subscription :: Type -> Type #

ToJSON Subscription Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON Subscription Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep Subscription Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

subscription :: Subscription Source #

Creates a value of Subscription with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

subPushConfig :: Lens' Subscription (Maybe PushConfig) Source #

If push delivery is used with this subscription, this field is used to configure it. An empty `pushConfig` signifies that the subscriber will pull and ack messages using API methods.

subMessageRetentionDuration :: Lens' Subscription (Maybe Scientific) Source #

How long to retain unacknowledged messages in the subscription's backlog, from the moment a message is published. If `retain_acked_messages` is true, then this also configures the retention of acknowledged messages, and thus configures how far back in time a `Seek` can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 minutes. BETA: This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

subTopic :: Lens' Subscription (Maybe Text) Source #

The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-topic_` if the topic has been deleted.

subName :: Lens' Subscription (Maybe Text) Source #

The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.

subRetainAckedMessages :: Lens' Subscription (Maybe Bool) Source #

Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to Seek to a timestamp. BETA: This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

subAckDeadlineSeconds :: Lens' Subscription (Maybe Int32) Source #

The approximate amount of time (on a best-effort basis) Pub/Sub waits for the subscriber to acknowledge receipt before resending the message. In the interval after the message is delivered and before it is acknowledged, it is considered to be outstanding. During that time period, the message will not be redelivered (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using non-streaming pull or send the `ack_id` in a `StreamingModifyAckDeadlineRequest` if using streaming pull. The minimum custom deadline you can specify is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message.

subExpirationPolicy :: Lens' Subscription (Maybe ExpirationPolicy) Source #

A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If `expiration_policy` is not set, a *default policy* with `ttl` of 31 days will be used. The minimum allowed value for `expiration_policy.ttl` is 1 day. BETA: This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

UpdateSubscriptionRequest

data UpdateSubscriptionRequest Source #

Request for the UpdateSubscription method.

See: updateSubscriptionRequest smart constructor.

Instances
Eq UpdateSubscriptionRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data UpdateSubscriptionRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: UpdateSubscriptionRequest -> Constr #

dataTypeOf :: UpdateSubscriptionRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UpdateSubscriptionRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic UpdateSubscriptionRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep UpdateSubscriptionRequest :: Type -> Type #

ToJSON UpdateSubscriptionRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON UpdateSubscriptionRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep UpdateSubscriptionRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep UpdateSubscriptionRequest = D1 (MetaData "UpdateSubscriptionRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "UpdateSubscriptionRequest'" PrefixI True) (S1 (MetaSel (Just "_uUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_uSubscription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Subscription))))

updateSubscriptionRequest :: UpdateSubscriptionRequest Source #

Creates a value of UpdateSubscriptionRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

uUpdateMask :: Lens' UpdateSubscriptionRequest (Maybe GFieldMask) Source #

Indicates which fields in the provided subscription to update. Must be specified and non-empty.

SubscriptionLabels

data SubscriptionLabels Source #

Instances
Eq SubscriptionLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data SubscriptionLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: SubscriptionLabels -> Constr #

dataTypeOf :: SubscriptionLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubscriptionLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic SubscriptionLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep SubscriptionLabels :: Type -> Type #

ToJSON SubscriptionLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON SubscriptionLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep SubscriptionLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep SubscriptionLabels = D1 (MetaData "SubscriptionLabels" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "SubscriptionLabels'" PrefixI True) (S1 (MetaSel (Just "_slAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

subscriptionLabels Source #

Creates a value of SubscriptionLabels with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

SnapshotLabels

data SnapshotLabels Source #

See Creating and managing labels.

See: snapshotLabels smart constructor.

Instances
Eq SnapshotLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data SnapshotLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: SnapshotLabels -> Constr #

dataTypeOf :: SnapshotLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SnapshotLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic SnapshotLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep SnapshotLabels :: Type -> Type #

ToJSON SnapshotLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON SnapshotLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep SnapshotLabels Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep SnapshotLabels = D1 (MetaData "SnapshotLabels" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "SnapshotLabels'" PrefixI True) (S1 (MetaSel (Just "_sAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

snapshotLabels Source #

Creates a value of SnapshotLabels with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ListSubscriptionsResponse

data ListSubscriptionsResponse Source #

Response for the `ListSubscriptions` method.

See: listSubscriptionsResponse smart constructor.

Instances
Eq ListSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data ListSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: ListSubscriptionsResponse -> Constr #

dataTypeOf :: ListSubscriptionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic ListSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep ListSubscriptionsResponse :: Type -> Type #

ToJSON ListSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON ListSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ListSubscriptionsResponse Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep ListSubscriptionsResponse = D1 (MetaData "ListSubscriptionsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ListSubscriptionsResponse'" PrefixI True) (S1 (MetaSel (Just "_lisNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lisSubscriptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Subscription]))))

listSubscriptionsResponse :: ListSubscriptionsResponse Source #

Creates a value of ListSubscriptionsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lisNextPageToken :: Lens' ListSubscriptionsResponse (Maybe Text) Source #

If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions.

lisSubscriptions :: Lens' ListSubscriptionsResponse [Subscription] Source #

The subscriptions that match the request.

Binding

data Binding Source #

Associates `members` with a `role`.

See: binding smart constructor.

Instances
Eq Binding Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

(==) :: Binding -> Binding -> Bool #

(/=) :: Binding -> Binding -> Bool #

Data Binding Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: Binding -> Constr #

dataTypeOf :: Binding -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Binding Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic Binding Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep Binding :: Type -> Type #

Methods

from :: Binding -> Rep Binding x #

to :: Rep Binding x -> Binding #

ToJSON Binding Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON Binding Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep Binding Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep Binding = D1 (MetaData "Binding" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "Binding'" PrefixI True) (S1 (MetaSel (Just "_bMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_bRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bCondition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Expr)))))

binding :: Binding Source #

Creates a value of Binding with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

bMembers :: Lens' Binding [Text] Source #

Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice'gmail.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app'appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins'example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.

bRole :: Lens' Binding (Maybe Text) Source #

Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

bCondition :: Lens' Binding (Maybe Expr) Source #

Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.

UpdateTopicRequest

data UpdateTopicRequest Source #

Request for the UpdateTopic method.

See: updateTopicRequest smart constructor.

Instances
Eq UpdateTopicRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data UpdateTopicRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: UpdateTopicRequest -> Constr #

dataTypeOf :: UpdateTopicRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UpdateTopicRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic UpdateTopicRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep UpdateTopicRequest :: Type -> Type #

ToJSON UpdateTopicRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON UpdateTopicRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep UpdateTopicRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep UpdateTopicRequest = D1 (MetaData "UpdateTopicRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "UpdateTopicRequest'" PrefixI True) (S1 (MetaSel (Just "_utrUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_utrTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Topic))))

updateTopicRequest :: UpdateTopicRequest Source #

Creates a value of UpdateTopicRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

utrUpdateMask :: Lens' UpdateTopicRequest (Maybe GFieldMask) Source #

Indicates which fields in the provided topic to update. Must be specified and non-empty. Note that if `update_mask` contains "message_storage_policy" then the new value will be determined based on the policy configured at the project or organization level. The `message_storage_policy` must not be set in the `topic` provided above.

utrTopic :: Lens' UpdateTopicRequest (Maybe Topic) Source #

The updated topic object.

AcknowledgeRequest

data AcknowledgeRequest Source #

Request for the Acknowledge method.

See: acknowledgeRequest smart constructor.

Instances
Eq AcknowledgeRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Data AcknowledgeRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Methods

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

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

toConstr :: AcknowledgeRequest -> Constr #

dataTypeOf :: AcknowledgeRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AcknowledgeRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Generic AcknowledgeRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

Associated Types

type Rep AcknowledgeRequest :: Type -> Type #

ToJSON AcknowledgeRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

FromJSON AcknowledgeRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep AcknowledgeRequest Source # 
Instance details

Defined in Network.Google.PubSub.Types.Product

type Rep AcknowledgeRequest = D1 (MetaData "AcknowledgeRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" True) (C1 (MetaCons "AcknowledgeRequest'" PrefixI True) (S1 (MetaSel (Just "_arAckIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

acknowledgeRequest :: AcknowledgeRequest Source #

Creates a value of AcknowledgeRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

arAckIds :: Lens' AcknowledgeRequest [Text] Source #

The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the `Pull` response. Must not be empty.