Class ProjectsResource.SnapshotsResource.GetRequest
Gets the configuration details of a snapshot. 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.
Inheritance
ProjectsResource.SnapshotsResource.GetRequest
Inherited Members
Namespace: Google.Apis.Pubsub.v1
Assembly: Google.Apis.Pubsub.v1.dll
Syntax
public class ProjectsResource.SnapshotsResource.GetRequest : PubsubBaseServiceRequest<Snapshot>, IClientServiceRequest<Snapshot>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string snapshot)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | snapshot |
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
Snapshot
Required. The name of the snapshot to get. Format is projects/{project}/snapshots/{snap}
.
Declaration
[RequestParameter("snapshot", RequestParameterType.Path)]
public virtual string Snapshot { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()