All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.pubsub.Pubsub.Projects.Topics.Snapshots.html Maven / Gradle / Ivy

There is a newer version: v1-rev20240730-2.0.0
Show newest version






Pubsub.Projects.Topics.Snapshots (Cloud Pub/Sub API v1-rev20240918-2.0.0)












com.google.api.services.pubsub

Class Pubsub.Projects.Topics.Snapshots

  • java.lang.Object
    • com.google.api.services.pubsub.Pubsub.Projects.Topics.Snapshots
  • Enclosing class:
    Pubsub.Projects.Topics


    public class Pubsub.Projects.Topics.Snapshots
    extends Object
    The "snapshots" collection of methods.
    • Constructor Detail

      • Snapshots

        public Snapshots()
    • Method Detail

      • list

        public Pubsub.Projects.Topics.Snapshots.List list(String topic)
                                                   throws IOException
        Lists the names of the snapshots on this topic. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. Create a request for the method "snapshots.list". This request holds the parameters needed by the pubsub server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        topic - Required. The name of the topic that snapshots are attached to. Format is `projects/{project}/topics/{topic}`.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy