Class CreateSnapshotRequest
Request for the CreateSnapshot
method.
Implements
Inherited Members
Namespace: Google.Apis.Pubsub.v1.Data
Assembly: Google.Apis.Pubsub.v1.dll
Syntax
public class CreateSnapshotRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
Optional. See Creating and managing labels.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Subscription
Required. The subscription whose backlog the snapshot retains. Specifically, the created snapshot is
guaranteed to retain: (a) The existing backlog on the subscription. More precisely, this is defined as the
messages in the subscription's backlog that are unacknowledged upon the successful completion of the
CreateSnapshot
request; as well as: (b) Any messages published to the subscription's topic following the
successful completion of the CreateSnapshot request. Format is projects/{project}/subscriptions/{sub}
.
Declaration
[JsonProperty("subscription")]
public virtual string Subscription { get; set; }
Property Value
Type | Description |
---|---|
string |