Class ProjectsResource.TopicsResource.SnapshotsResource
The "snapshots" collection of methods.
Inherited Members
Namespace: Google.Apis.Pubsub.v1
Assembly: Google.Apis.Pubsub.v1.dll
Syntax
public class ProjectsResource.TopicsResource.SnapshotsResource
Constructors
SnapshotsResource(IClientService)
Constructs a new resource.
Declaration
public SnapshotsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
List(string)
Lists the names of the snapshots on this topic. Snapshots are used in Seek 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.
Declaration
public virtual ProjectsResource.TopicsResource.SnapshotsResource.ListRequest List(string topic)
Parameters
Type | Name | Description |
---|---|---|
string | topic | Required. The name of the topic that snapshots are attached to. Format is
|
Returns
Type | Description |
---|---|
ProjectsResource.TopicsResource.SnapshotsResource.ListRequest |