| Package | Description |
|---|---|
| com.google.cloud.pubsub |
A client to Google Cloud Pub/Sub.
|
| Modifier and Type | Method and Description |
|---|---|
PushConfig |
PushConfig.Builder.build()
Creates a
PushConfig object. |
static PushConfig |
PushConfig.of(String endpoint)
Creates a
PushConfig object given the push endpoint. |
static PushConfig |
PushConfig.of(String endpoint,
Map<String,String> attributes)
Creates a
PushConfig object given the push endpoint and the API-supported attributes
that can be used to control different aspects of the message delivery. |
PushConfig |
SubscriptionInfo.pushConfig()
Returns the push configuration for the subscription.
|
| Modifier and Type | Method and Description |
|---|---|
abstract SubscriptionInfo.Builder |
SubscriptionInfo.Builder.pushConfig(PushConfig pushConfig)
Sets the push configuration for the subscription.
|
Subscription.Builder |
Subscription.Builder.pushConfig(PushConfig pushConfig) |
void |
Subscription.replacePushConfig(PushConfig pushConfig)
Sets the push configuration for this subscription.
|
void |
PubSub.replacePushConfig(String subscription,
PushConfig pushConfig)
Sets the push configuration for a specified subscription.
|
Future<Void> |
Subscription.replacePushConfigAsync(PushConfig pushConfig)
Sends a request for updating the push configuration for a specified subscription.
|
Future<Void> |
PubSub.replacePushConfigAsync(String subscription,
PushConfig pushConfig)
Sends a request for updating the push configuration for a specified subscription.
|
Copyright © 2016 Google. All rights reserved.