| Package | Description |
|---|---|
| com.google.api.services.pubsub | |
| com.google.api.services.pubsub.model |
| Modifier and Type | Method and Description |
|---|---|
Pubsub.Projects.Subscriptions.Create |
Pubsub.Projects.Subscriptions.create(java.lang.String name,
Subscription content)
Creates a subscription to a given topic.
|
| Constructor and Description |
|---|
Pubsub.Projects.Subscriptions.Create(java.lang.String name,
Subscription content)
Creates a subscription to a given topic.
|
| Modifier and Type | Method and Description |
|---|---|
Subscription |
Subscription.clone() |
Subscription |
Subscription.set(java.lang.String fieldName,
java.lang.Object value) |
Subscription |
Subscription.setAckDeadlineSeconds(java.lang.Integer ackDeadlineSeconds)
This value is the maximum time after a subscriber receives a message before the subscriber
should acknowledge the message.
|
Subscription |
Subscription.setName(java.lang.String name)
The name of the subscription.
|
Subscription |
Subscription.setPushConfig(PushConfig pushConfig)
If push delivery is used with this subscription, this field is used to configure it.
|
Subscription |
Subscription.setTopic(java.lang.String topic)
The name of the topic from which this subscription is receiving messages.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Subscription> |
ListSubscriptionsResponse.getSubscriptions()
The subscriptions that match the request.
|
| Modifier and Type | Method and Description |
|---|---|
ListSubscriptionsResponse |
ListSubscriptionsResponse.setSubscriptions(java.util.List<Subscription> subscriptions)
The subscriptions that match the request.
|