Show / Hide Table of Contents

Class ProjectsResource.TopicsResource.SnapshotsResource

The "snapshots" collection of methods.

Inheritance
object
ProjectsResource.TopicsResource.SnapshotsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 projects/{project}/topics/{topic}.

Returns
Type Description
ProjectsResource.TopicsResource.SnapshotsResource.ListRequest
In this article
Back to top Generated by DocFX