public sealed class AcknowledgeRequest : IMessage<AcknowledgeRequest>, IEquatable<AcknowledgeRequest>, IDeepCloneable<AcknowledgeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class AcknowledgeRequest.
Request for the Acknowledge method.
Implements
IMessageAcknowledgeRequest, IEquatableAcknowledgeRequest, IDeepCloneableAcknowledgeRequest, IBufferMessage, IMessageNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
AcknowledgeRequest()
public AcknowledgeRequest()
AcknowledgeRequest(AcknowledgeRequest)
public AcknowledgeRequest(AcknowledgeRequest other)
Parameter | |
---|---|
Name | Description |
other |
AcknowledgeRequest |
Properties
AckIds
public RepeatedField<string> AckIds { get; }
Required. The acknowledgment ID for the messages being acknowledged that
was returned by the Pub/Sub system in the Pull
response. Must not be
empty.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Subscription
public string Subscription { get; set; }
Required. The subscription whose message is being acknowledged.
Format is projects/{project}/subscriptions/{sub}
.
Property Value | |
---|---|
Type | Description |
string |
SubscriptionAsSubscriptionName
public SubscriptionName SubscriptionAsSubscriptionName { get; set; }
SubscriptionName-typed view over the Subscription resource name property.
Property Value | |
---|---|
Type | Description |
SubscriptionName |