gogol-pubsub-0.3.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.Types

Contents

Description

 

Synopsis

Service Configuration

pubSubService :: ServiceConfig #

Default request referring to version v1 of the Google 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"] #

View and manage your data across Google Cloud Platform services

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

View and manage Pub/Sub topics and subscriptions

PushConfig

data PushConfig #

Configuration for a push delivery endpoint.

See: pushConfig smart constructor.

Instances

Eq PushConfig # 
Data PushConfig # 

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 # 
Generic PushConfig # 

Associated Types

type Rep PushConfig :: * -> * #

ToJSON PushConfig # 
FromJSON PushConfig # 
type Rep PushConfig # 
type Rep PushConfig = D1 (MetaData "PushConfig" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" False) (C1 (MetaCons "PushConfig'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pcAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PushConfigAttributes))) (S1 (MetaSel (Just Symbol "_pcPushEndpoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

pushConfig :: PushConfig #

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) #

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 push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (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) #

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 #

A message and its corresponding acknowledgment ID.

See: receivedMessage smart constructor.

Instances

Eq ReceivedMessage # 
Data ReceivedMessage # 

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 # 
Generic ReceivedMessage # 
ToJSON ReceivedMessage # 
FromJSON ReceivedMessage # 
type Rep ReceivedMessage # 
type Rep ReceivedMessage = D1 (MetaData "ReceivedMessage" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" False) (C1 (MetaCons "ReceivedMessage'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rmAckId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rmMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PubsubMessage)))))

receivedMessage :: ReceivedMessage #

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) #

This ID can be used to acknowledge the received message.

ModifyAckDeadlineRequest

data ModifyAckDeadlineRequest #

Request for the ModifyAckDeadline method.

See: modifyAckDeadlineRequest smart constructor.

Instances

Eq ModifyAckDeadlineRequest # 
Data ModifyAckDeadlineRequest # 

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 # 
Generic ModifyAckDeadlineRequest # 
ToJSON ModifyAckDeadlineRequest # 
FromJSON ModifyAckDeadlineRequest # 
type Rep ModifyAckDeadlineRequest # 
type Rep ModifyAckDeadlineRequest = D1 (MetaData "ModifyAckDeadlineRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" False) (C1 (MetaCons "ModifyAckDeadlineRequest'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_madrAckIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_madrAckDeadlineSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))

modifyAckDeadlineRequest :: ModifyAckDeadlineRequest #

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] #

List of acknowledgment IDs.

madrAckDeadlineSeconds :: Lens' ModifyAckDeadlineRequest (Maybe Int32) #

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 may immediately make the message available for another pull request. The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify is 600 seconds (10 minutes).

ModifyPushConfigRequest

data ModifyPushConfigRequest #

Request for the ModifyPushConfig method.

See: modifyPushConfigRequest smart constructor.

Instances

Eq ModifyPushConfigRequest # 
Data ModifyPushConfigRequest # 

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 # 
Generic ModifyPushConfigRequest # 
ToJSON ModifyPushConfigRequest # 
FromJSON ModifyPushConfigRequest # 
type Rep ModifyPushConfigRequest # 
type Rep ModifyPushConfigRequest = D1 (MetaData "ModifyPushConfigRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" True) (C1 (MetaCons "ModifyPushConfigRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_mpcrPushConfig") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe PushConfig))))

modifyPushConfigRequest :: ModifyPushConfigRequest #

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) #

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` is not called.

Empty

data Empty #

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 # 

Methods

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

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

Data Empty # 

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 # 

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty # 

Associated Types

type Rep Empty :: * -> * #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty # 
FromJSON Empty # 
type Rep Empty # 
type Rep Empty = D1 (MetaData "Empty" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" False) (C1 (MetaCons "Empty'" PrefixI False) U1)

empty :: Empty #

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

PubsubMessage

data PubsubMessage #

A message data and its attributes. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.

See: pubsubMessage smart constructor.

Instances

Eq PubsubMessage # 
Data PubsubMessage # 

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 # 
Generic PubsubMessage # 

Associated Types

type Rep PubsubMessage :: * -> * #

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

pubsubMessage :: PubsubMessage #

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) #

The message payload.

pmPublishTime :: Lens' PubsubMessage (Maybe UTCTime) #

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) #

Optional attributes for this message.

pmMessageId :: Lens' PubsubMessage (Maybe Text) #

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 #

Response for the `ListTopicSubscriptions` method.

See: listTopicSubscriptionsResponse smart constructor.

Instances

Eq ListTopicSubscriptionsResponse # 
Data ListTopicSubscriptionsResponse # 

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 # 
Generic ListTopicSubscriptionsResponse # 
ToJSON ListTopicSubscriptionsResponse # 
FromJSON ListTopicSubscriptionsResponse # 
type Rep ListTopicSubscriptionsResponse # 
type Rep ListTopicSubscriptionsResponse = D1 (MetaData "ListTopicSubscriptionsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" False) (C1 (MetaCons "ListTopicSubscriptionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltsrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ltsrSubscriptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))

listTopicSubscriptionsResponse :: ListTopicSubscriptionsResponse #

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:

ltsrNextPageToken :: Lens' ListTopicSubscriptionsResponse (Maybe Text) #

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.

ltsrSubscriptions :: Lens' ListTopicSubscriptionsResponse [Text] #

The names of the subscriptions that match the request.

ListTopicsResponse

data ListTopicsResponse #

Response for the `ListTopics` method.

See: listTopicsResponse smart constructor.

Instances

Eq ListTopicsResponse # 
Data ListTopicsResponse # 

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 # 
Generic ListTopicsResponse # 
ToJSON ListTopicsResponse # 
FromJSON ListTopicsResponse # 
type Rep ListTopicsResponse # 
type Rep ListTopicsResponse = D1 (MetaData "ListTopicsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" False) (C1 (MetaCons "ListTopicsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ltrTopics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Topic])))))

listTopicsResponse :: ListTopicsResponse #

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) #

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] #

The resulting topics.

PullResponse

data PullResponse #

Response for the `Pull` method.

See: pullResponse smart constructor.

Instances

Eq PullResponse # 
Data PullResponse # 

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 # 
Generic PullResponse # 

Associated Types

type Rep PullResponse :: * -> * #

ToJSON PullResponse # 
FromJSON PullResponse # 
type Rep PullResponse # 
type Rep PullResponse = D1 (MetaData "PullResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" True) (C1 (MetaCons "PullResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_prReceivedMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ReceivedMessage]))))

pullResponse :: PullResponse #

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] #

Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the `maxMessages` requested even if there are more messages available in the backlog.

SetIAMPolicyRequest

data SetIAMPolicyRequest #

Request message for `SetIamPolicy` method.

See: setIAMPolicyRequest smart constructor.

Instances

Eq SetIAMPolicyRequest # 
Data SetIAMPolicyRequest # 

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 # 
Generic SetIAMPolicyRequest # 
ToJSON SetIAMPolicyRequest # 
FromJSON SetIAMPolicyRequest # 
type Rep SetIAMPolicyRequest # 
type Rep SetIAMPolicyRequest = D1 (MetaData "SetIAMPolicyRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" True) (C1 (MetaCons "SetIAMPolicyRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_siprPolicy") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Policy))))

setIAMPolicyRequest :: SetIAMPolicyRequest #

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) #

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.

Topic

data Topic #

A topic resource.

See: topic smart constructor.

Instances

Eq Topic # 

Methods

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

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

Data Topic # 

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 # 

Methods

showsPrec :: Int -> Topic -> ShowS #

show :: Topic -> String #

showList :: [Topic] -> ShowS #

Generic Topic # 

Associated Types

type Rep Topic :: * -> * #

Methods

from :: Topic -> Rep Topic x #

to :: Rep Topic x -> Topic #

ToJSON Topic # 
FromJSON Topic # 
type Rep Topic # 
type Rep Topic = D1 (MetaData "Topic" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" True) (C1 (MetaCons "Topic'" PrefixI True) (S1 (MetaSel (Just Symbol "_tName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

topic :: Topic #

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) #

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

PullRequest

data PullRequest #

Request for the `Pull` method.

See: pullRequest smart constructor.

Instances

Eq PullRequest # 
Data PullRequest # 

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 # 
Generic PullRequest # 

Associated Types

type Rep PullRequest :: * -> * #

ToJSON PullRequest # 
FromJSON PullRequest # 
type Rep PullRequest # 
type Rep PullRequest = D1 (MetaData "PullRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" False) (C1 (MetaCons "PullRequest'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_prMaxMessages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_prReturnImmediately") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))

pullRequest :: PullRequest #

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) #

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) #

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. The client may cancel the request if it does not wish to wait any longer for the response.

PubsubMessageAttributes

data PubsubMessageAttributes #

Optional attributes for this message.

See: pubsubMessageAttributes smart constructor.

Instances

Eq PubsubMessageAttributes # 
Data PubsubMessageAttributes # 

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 # 
Generic PubsubMessageAttributes # 
ToJSON PubsubMessageAttributes # 
FromJSON PubsubMessageAttributes # 
type Rep PubsubMessageAttributes # 
type Rep PubsubMessageAttributes = D1 (MetaData "PubsubMessageAttributes" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" True) (C1 (MetaCons "PubsubMessageAttributes'" PrefixI True) (S1 (MetaSel (Just Symbol "_pmaAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

pubsubMessageAttributes #

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 #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances

Enum Xgafv # 
Eq Xgafv # 

Methods

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

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

Data Xgafv # 

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 # 

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 # 
Show Xgafv # 

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv # 

Associated Types

type Rep Xgafv :: * -> * #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv # 

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv # 
FromJSON Xgafv # 
FromHttpApiData Xgafv # 
ToHttpApiData Xgafv # 
type Rep Xgafv # 
type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.PubSub.Types.Sum" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" False) ((:+:) (C1 (MetaCons "X1" PrefixI False) U1) (C1 (MetaCons "X2" PrefixI False) U1))

TestIAMPermissionsRequest

data TestIAMPermissionsRequest #

Request message for `TestIamPermissions` method.

See: testIAMPermissionsRequest smart constructor.

Instances

Eq TestIAMPermissionsRequest # 
Data TestIAMPermissionsRequest # 

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 # 
Generic TestIAMPermissionsRequest # 
ToJSON TestIAMPermissionsRequest # 
FromJSON TestIAMPermissionsRequest # 
type Rep TestIAMPermissionsRequest # 
type Rep TestIAMPermissionsRequest = D1 (MetaData "TestIAMPermissionsRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" True) (C1 (MetaCons "TestIAMPermissionsRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_tiprPermissions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

testIAMPermissionsRequest :: TestIAMPermissionsRequest #

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] #

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 #

Response for the `Publish` method.

See: publishResponse smart constructor.

Instances

Eq PublishResponse # 
Data PublishResponse # 

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 # 
Generic PublishResponse # 
ToJSON PublishResponse # 
FromJSON PublishResponse # 
type Rep PublishResponse # 
type Rep PublishResponse = D1 (MetaData "PublishResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" True) (C1 (MetaCons "PublishResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_prMessageIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

publishResponse :: PublishResponse #

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] #

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 #

Request for the Publish method.

See: publishRequest smart constructor.

Instances

Eq PublishRequest # 
Data PublishRequest # 

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 # 
Generic PublishRequest # 

Associated Types

type Rep PublishRequest :: * -> * #

ToJSON PublishRequest # 
FromJSON PublishRequest # 
type Rep PublishRequest # 
type Rep PublishRequest = D1 (MetaData "PublishRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" True) (C1 (MetaCons "PublishRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_prMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [PubsubMessage]))))

publishRequest :: PublishRequest #

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] #

The messages to publish.

TestIAMPermissionsResponse

data TestIAMPermissionsResponse #

Response message for `TestIamPermissions` method.

See: testIAMPermissionsResponse smart constructor.

Instances

Eq TestIAMPermissionsResponse # 
Data TestIAMPermissionsResponse # 

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 # 
Generic TestIAMPermissionsResponse # 
ToJSON TestIAMPermissionsResponse # 
FromJSON TestIAMPermissionsResponse # 
type Rep TestIAMPermissionsResponse # 
type Rep TestIAMPermissionsResponse = D1 (MetaData "TestIAMPermissionsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" True) (C1 (MetaCons "TestIAMPermissionsResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_tiamprPermissions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

testIAMPermissionsResponse :: TestIAMPermissionsResponse #

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] #

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

Policy

data Policy #

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. **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"] } ] } For a description of IAM and its features, see the IAM developer's guide.

See: policy smart constructor.

Instances

Eq Policy # 

Methods

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

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

Data Policy # 

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 # 
Generic Policy # 

Associated Types

type Rep Policy :: * -> * #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

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

policy :: Policy #

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) #

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

pVersion :: Lens' Policy (Maybe Int32) #

Version of the `Policy`. The default version is 0.

pBindings :: Lens' Policy [Binding] #

Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.

PushConfigAttributes

data PushConfigAttributes #

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 push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (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 # 
Data PushConfigAttributes # 

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 # 
Generic PushConfigAttributes # 
ToJSON PushConfigAttributes # 
FromJSON PushConfigAttributes # 
type Rep PushConfigAttributes # 
type Rep PushConfigAttributes = D1 (MetaData "PushConfigAttributes" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" True) (C1 (MetaCons "PushConfigAttributes'" PrefixI True) (S1 (MetaSel (Just Symbol "_pcaAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

pushConfigAttributes #

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 #

A subscription resource.

See: subscription smart constructor.

Instances

Eq Subscription # 
Data Subscription # 

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 # 
Generic Subscription # 

Associated Types

type Rep Subscription :: * -> * #

ToJSON Subscription # 
FromJSON Subscription # 
type Rep Subscription # 
type Rep Subscription = D1 (MetaData "Subscription" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" False) (C1 (MetaCons "Subscription'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sPushConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PushConfig))) (S1 (MetaSel (Just Symbol "_sTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_sName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sAckDeadlineSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

subscription :: Subscription #

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:

sPushConfig :: Lens' Subscription (Maybe PushConfig) #

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.

sTopic :: Lens' Subscription (Maybe Text) #

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.

sName :: Lens' Subscription (Maybe Text) #

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

sAckDeadlineSeconds :: Lens' Subscription (Maybe Int32) #

This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (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 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.

ListSubscriptionsResponse

data ListSubscriptionsResponse #

Response for the `ListSubscriptions` method.

See: listSubscriptionsResponse smart constructor.

Instances

Eq ListSubscriptionsResponse # 
Data ListSubscriptionsResponse # 

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 # 
Generic ListSubscriptionsResponse # 
ToJSON ListSubscriptionsResponse # 
FromJSON ListSubscriptionsResponse # 
type Rep ListSubscriptionsResponse # 
type Rep ListSubscriptionsResponse = D1 (MetaData "ListSubscriptionsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" False) (C1 (MetaCons "ListSubscriptionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lsrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lsrSubscriptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Subscription])))))

listSubscriptionsResponse :: ListSubscriptionsResponse #

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:

lsrNextPageToken :: Lens' ListSubscriptionsResponse (Maybe Text) #

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.

lsrSubscriptions :: Lens' ListSubscriptionsResponse [Subscription] #

The subscriptions that match the request.

Binding

data Binding #

Associates `members` with a `role`.

See: binding smart constructor.

Instances

Eq Binding # 

Methods

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

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

Data Binding # 

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 # 
Generic Binding # 

Associated Types

type Rep Binding :: * -> * #

Methods

from :: Binding -> Rep Binding x #

to :: Rep Binding x -> Binding #

ToJSON Binding # 
FromJSON Binding # 
type Rep Binding # 
type Rep Binding = D1 (MetaData "Binding" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" False) (C1 (MetaCons "Binding'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_bRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

binding :: Binding #

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] #

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` or `joe'example.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) #

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

AcknowledgeRequest

data AcknowledgeRequest #

Request for the Acknowledge method.

See: acknowledgeRequest smart constructor.

Instances

Eq AcknowledgeRequest # 
Data AcknowledgeRequest # 

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 # 
Generic AcknowledgeRequest # 
ToJSON AcknowledgeRequest # 
FromJSON AcknowledgeRequest # 
type Rep AcknowledgeRequest # 
type Rep AcknowledgeRequest = D1 (MetaData "AcknowledgeRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.3.0-27kHjlMctZ133hT632pkZL" True) (C1 (MetaCons "AcknowledgeRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_arAckIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

acknowledgeRequest :: AcknowledgeRequest #

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] #

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