public class Pubsub.Subscriptions
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Pubsub.Subscriptions.Acknowledge |
class |
Pubsub.Subscriptions.Create |
class |
Pubsub.Subscriptions.Delete |
class |
Pubsub.Subscriptions.Get |
class |
Pubsub.Subscriptions.List |
class |
Pubsub.Subscriptions.ModifyAckDeadline |
class |
Pubsub.Subscriptions.ModifyPushConfig |
class |
Pubsub.Subscriptions.Pull |
class |
Pubsub.Subscriptions.PullBatch |
| Constructor and Description |
|---|
Subscriptions() |
| Modifier and Type | Method and Description |
|---|---|
Pubsub.Subscriptions.Acknowledge |
acknowledge(AcknowledgeRequest content)
Acknowledges a particular received message: the Pub/Sub system can remove the given message from
the subscription.
|
Pubsub.Subscriptions.Create |
create(Subscription content)
Creates a subscription on a given topic for a given subscriber.
|
Pubsub.Subscriptions.Delete |
delete(java.lang.String subscription)
Deletes an existing subscription.
|
Pubsub.Subscriptions.Get |
get(java.lang.String subscription)
Gets the configuration details of a subscription.
|
Pubsub.Subscriptions.List |
list()
Lists matching subscriptions.
|
Pubsub.Subscriptions.ModifyAckDeadline |
modifyAckDeadline(ModifyAckDeadlineRequest content)
Modifies the Ack deadline for a message received from a pull request.
|
Pubsub.Subscriptions.ModifyPushConfig |
modifyPushConfig(ModifyPushConfigRequest content)
Modifies the PushConfig for a specified subscription.
|
Pubsub.Subscriptions.Pull |
pull(PullRequest content)
Pulls a single message from the server.
|
Pubsub.Subscriptions.PullBatch |
pullBatch(PullBatchRequest content)
Pulls messages from the server.
|
public Pubsub.Subscriptions.Acknowledge acknowledge(AcknowledgeRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the AcknowledgeRequestjava.io.IOExceptionpublic Pubsub.Subscriptions.Create create(Subscription content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the Subscriptionjava.io.IOExceptionpublic Pubsub.Subscriptions.Delete delete(java.lang.String subscription) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.subscription - The subscription to delete.java.io.IOExceptionpublic Pubsub.Subscriptions.Get get(java.lang.String subscription) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.subscription - The name of the subscription to get.java.io.IOExceptionpublic Pubsub.Subscriptions.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.java.io.IOExceptionpublic Pubsub.Subscriptions.ModifyAckDeadline modifyAckDeadline(ModifyAckDeadlineRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the ModifyAckDeadlineRequestjava.io.IOExceptionpublic Pubsub.Subscriptions.ModifyPushConfig modifyPushConfig(ModifyPushConfigRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the ModifyPushConfigRequestjava.io.IOExceptionpublic Pubsub.Subscriptions.Pull pull(PullRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the PullRequestjava.io.IOExceptionpublic Pubsub.Subscriptions.PullBatch pullBatch(PullBatchRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the PullBatchRequestjava.io.IOException