Class ProjectsResource.SubscriptionsResource.SeekRequest
Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request. 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. Note that both the subscription and the snapshot must be on the same topic.
Inheritance
ProjectsResource.SubscriptionsResource.SeekRequest
Inherited Members
Namespace: Google.Apis.Pubsub.v1
Assembly: Google.Apis.Pubsub.v1.dll
Syntax
public class ProjectsResource.SubscriptionsResource.SeekRequest : PubsubBaseServiceRequest<SeekResponse>, IClientServiceRequest<SeekResponse>, IClientServiceRequest
Constructors
SeekRequest(IClientService, SeekRequest, string)
Constructs a new Seek request.
Declaration
public SeekRequest(IClientService service, SeekRequest body, string subscription)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| SeekRequest | body | |
| string | subscription |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Subscription
Required. The subscription to affect.
Declaration
[RequestParameter("subscription", RequestParameterType.Path)]
public virtual string Subscription { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Seek parameter list.
Declaration
protected override void InitParameters()