gogol-pubsub-0.2.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 Source #

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

PushConfig

data PushConfig Source #

Configuration for a push delivery endpoint.

See: pushConfig smart constructor.

Instances

Eq PushConfig Source # 
Data PushConfig Source # 

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

Associated Types

type Rep PushConfig :: * -> * #

ToJSON PushConfig Source # 
FromJSON PushConfig Source # 
type Rep PushConfig Source # 
type Rep PushConfig = D1 (MetaData "PushConfig" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" 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 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 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) 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 # 
Data ReceivedMessage Source # 

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 # 
Generic ReceivedMessage Source # 
ToJSON ReceivedMessage Source # 
FromJSON ReceivedMessage Source # 
type Rep ReceivedMessage Source # 
type Rep ReceivedMessage = D1 (MetaData "ReceivedMessage" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" 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 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.

ModifyAckDeadlineRequest

data ModifyAckDeadlineRequest Source #

Request for the ModifyAckDeadline method.

See: modifyAckDeadlineRequest smart constructor.

Instances

Eq ModifyAckDeadlineRequest Source # 
Data ModifyAckDeadlineRequest Source # 

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 # 
Generic ModifyAckDeadlineRequest Source # 
ToJSON ModifyAckDeadlineRequest Source # 
FromJSON ModifyAckDeadlineRequest Source # 
type Rep ModifyAckDeadlineRequest Source # 
type Rep ModifyAckDeadlineRequest = D1 (MetaData "ModifyAckDeadlineRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" 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 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 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 Source #

Request for the ModifyPushConfig method.

See: modifyPushConfigRequest smart constructor.

Instances

Eq ModifyPushConfigRequest Source # 
Data ModifyPushConfigRequest Source # 

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 # 
Generic ModifyPushConfigRequest Source # 
ToJSON ModifyPushConfigRequest Source # 
FromJSON ModifyPushConfigRequest Source # 
type Rep ModifyPushConfigRequest Source # 
type Rep ModifyPushConfigRequest = D1 (MetaData "ModifyPushConfigRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" True) (C1 (MetaCons "ModifyPushConfigRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_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` 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 # 

Methods

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

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

Data Empty Source # 

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 # 

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 

Associated Types

type Rep Empty :: * -> * #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
FromJSON Empty Source # 
type Rep Empty Source # 
type Rep Empty = D1 (MetaData "Empty" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" False) (C1 (MetaCons "Empty'" PrefixI False) U1)

empty :: Empty Source #

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

PubsubMessage

data PubsubMessage Source #

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 Source # 
Data PubsubMessage Source # 

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

Associated Types

type Rep PubsubMessage :: * -> * #

ToJSON PubsubMessage Source # 
FromJSON PubsubMessage Source # 
type Rep PubsubMessage Source # 
type Rep PubsubMessage = D1 (MetaData "PubsubMessage" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" 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 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 payload.

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 # 
Data ListTopicSubscriptionsResponse Source # 

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 # 
Generic ListTopicSubscriptionsResponse Source # 
ToJSON ListTopicSubscriptionsResponse Source # 
FromJSON ListTopicSubscriptionsResponse Source # 
type Rep ListTopicSubscriptionsResponse Source # 
type Rep ListTopicSubscriptionsResponse = D1 (MetaData "ListTopicSubscriptionsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" 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 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:

ltsrNextPageToken :: 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.

ltsrSubscriptions :: 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 # 
Data ListTopicsResponse Source # 

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 # 
Generic ListTopicsResponse Source # 
ToJSON ListTopicsResponse Source # 
FromJSON ListTopicsResponse Source # 
type Rep ListTopicsResponse Source # 
type Rep ListTopicsResponse = D1 (MetaData "ListTopicsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" 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 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 # 
Data PullResponse Source # 

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

Associated Types

type Rep PullResponse :: * -> * #

ToJSON PullResponse Source # 
FromJSON PullResponse Source # 
type Rep PullResponse Source # 
type Rep PullResponse = D1 (MetaData "PullResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" True) (C1 (MetaCons "PullResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_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 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 Source #

Request message for `SetIamPolicy` method.

See: setIAMPolicyRequest smart constructor.

Instances

Eq SetIAMPolicyRequest Source # 
Data SetIAMPolicyRequest Source # 

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 # 
Generic SetIAMPolicyRequest Source # 
ToJSON SetIAMPolicyRequest Source # 
FromJSON SetIAMPolicyRequest Source # 
type Rep SetIAMPolicyRequest Source # 
type Rep SetIAMPolicyRequest = D1 (MetaData "SetIAMPolicyRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" True) (C1 (MetaCons "SetIAMPolicyRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_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.

Topic

data Topic Source #

A topic resource.

See: topic smart constructor.

Instances

Eq Topic Source # 

Methods

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

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

Data Topic Source # 

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 # 

Methods

showsPrec :: Int -> Topic -> ShowS #

show :: Topic -> String #

showList :: [Topic] -> ShowS #

Generic Topic Source # 

Associated Types

type Rep Topic :: * -> * #

Methods

from :: Topic -> Rep Topic x #

to :: Rep Topic x -> Topic #

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

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

PullRequest

data PullRequest Source #

Request for the `Pull` method.

See: pullRequest smart constructor.

Instances

Eq PullRequest Source # 
Data PullRequest Source # 

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

Associated Types

type Rep PullRequest :: * -> * #

ToJSON PullRequest Source # 
FromJSON PullRequest Source # 
type Rep PullRequest Source # 
type Rep PullRequest = D1 (MetaData "PullRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" 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 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. The client may cancel the request if it does not wish to wait any longer for the response.

PubsubMessageAttributes

data PubsubMessageAttributes Source #

Optional attributes for this message.

See: pubsubMessageAttributes smart constructor.

Instances

Eq PubsubMessageAttributes Source # 
Data PubsubMessageAttributes Source # 

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 # 
Generic PubsubMessageAttributes Source # 
ToJSON PubsubMessageAttributes Source # 
FromJSON PubsubMessageAttributes Source # 
type Rep PubsubMessageAttributes Source # 
type Rep PubsubMessageAttributes = D1 (MetaData "PubsubMessageAttributes" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" True) (C1 (MetaCons "PubsubMessageAttributes'" PrefixI True) (S1 (MetaSel (Just Symbol "_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 # 
Eq Xgafv Source # 

Methods

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

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

Data Xgafv Source # 

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 # 

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

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 

Associated Types

type Rep Xgafv :: * -> * #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

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

TestIAMPermissionsRequest

data TestIAMPermissionsRequest Source #

Request message for `TestIamPermissions` method.

See: testIAMPermissionsRequest smart constructor.

Instances

Eq TestIAMPermissionsRequest Source # 
Data TestIAMPermissionsRequest Source # 

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 # 
Generic TestIAMPermissionsRequest Source # 
ToJSON TestIAMPermissionsRequest Source # 
FromJSON TestIAMPermissionsRequest Source # 
type Rep TestIAMPermissionsRequest Source # 
type Rep TestIAMPermissionsRequest = D1 (MetaData "TestIAMPermissionsRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" True) (C1 (MetaCons "TestIAMPermissionsRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_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 # 
Data PublishResponse Source # 

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 # 
Generic PublishResponse Source # 
ToJSON PublishResponse Source # 
FromJSON PublishResponse Source # 
type Rep PublishResponse Source # 
type Rep PublishResponse = D1 (MetaData "PublishResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" True) (C1 (MetaCons "PublishResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_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 # 
Data PublishRequest Source # 

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

Associated Types

type Rep PublishRequest :: * -> * #

ToJSON PublishRequest Source # 
FromJSON PublishRequest Source # 
type Rep PublishRequest Source # 
type Rep PublishRequest = D1 (MetaData "PublishRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" True) (C1 (MetaCons "PublishRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_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 # 
Data TestIAMPermissionsResponse Source # 

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 # 
Generic TestIAMPermissionsResponse Source # 
ToJSON TestIAMPermissionsResponse Source # 
FromJSON TestIAMPermissionsResponse Source # 
type Rep TestIAMPermissionsResponse Source # 
type Rep TestIAMPermissionsResponse = D1 (MetaData "TestIAMPermissionsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" True) (C1 (MetaCons "TestIAMPermissionsResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_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. **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 Source # 

Methods

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

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

Data Policy Source # 

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

Associated Types

type Rep Policy :: * -> * #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

ToJSON Policy Source # 
FromJSON Policy Source # 
type Rep Policy Source # 
type Rep Policy = D1 (MetaData "Policy" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" 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 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.

pVersion :: Lens' Policy (Maybe Int32) Source #

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

pBindings :: Lens' Policy [Binding] Source #

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 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 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 Source # 
Data PushConfigAttributes Source # 

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 # 
Generic PushConfigAttributes Source # 
ToJSON PushConfigAttributes Source # 
FromJSON PushConfigAttributes Source # 
type Rep PushConfigAttributes Source # 
type Rep PushConfigAttributes = D1 (MetaData "PushConfigAttributes" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" True) (C1 (MetaCons "PushConfigAttributes'" PrefixI True) (S1 (MetaSel (Just Symbol "_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 # 
Data Subscription Source # 

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

Associated Types

type Rep Subscription :: * -> * #

ToJSON Subscription Source # 
FromJSON Subscription Source # 
type Rep Subscription Source # 
type Rep Subscription = D1 (MetaData "Subscription" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" 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 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:

sPushConfig :: 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.

sTopic :: 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.

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

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

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

Response for the `ListSubscriptions` method.

See: listSubscriptionsResponse smart constructor.

Instances

Eq ListSubscriptionsResponse Source # 
Data ListSubscriptionsResponse Source # 

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 # 
Generic ListSubscriptionsResponse Source # 
ToJSON ListSubscriptionsResponse Source # 
FromJSON ListSubscriptionsResponse Source # 
type Rep ListSubscriptionsResponse Source # 
type Rep ListSubscriptionsResponse = D1 (MetaData "ListSubscriptionsResponse" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" 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 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:

lsrNextPageToken :: 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.

lsrSubscriptions :: 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 # 

Methods

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

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

Data Binding Source # 

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

Associated Types

type Rep Binding :: * -> * #

Methods

from :: Binding -> Rep Binding x #

to :: Rep Binding x -> Binding #

ToJSON Binding Source # 
FromJSON Binding Source # 
type Rep Binding Source # 
type Rep Binding = D1 (MetaData "Binding" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" 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 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` 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) Source #

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

AcknowledgeRequest

data AcknowledgeRequest Source #

Request for the Acknowledge method.

See: acknowledgeRequest smart constructor.

Instances

Eq AcknowledgeRequest Source # 
Data AcknowledgeRequest Source # 

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 # 
Generic AcknowledgeRequest Source # 
ToJSON AcknowledgeRequest Source # 
FromJSON AcknowledgeRequest Source # 
type Rep AcknowledgeRequest Source # 
type Rep AcknowledgeRequest = D1 (MetaData "AcknowledgeRequest" "Network.Google.PubSub.Types.Product" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" True) (C1 (MetaCons "AcknowledgeRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_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.