Class AcknowledgeRequest (3.2.0)

public sealed class AcknowledgeRequest : IMessage<AcknowledgeRequest>, IEquatable<AcknowledgeRequest>, IDeepCloneable<AcknowledgeRequest>, IBufferMessage, IMessage

Request for the Acknowledge method.

Inheritance

Object > AcknowledgeRequest

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

AcknowledgeRequest()

public AcknowledgeRequest()

AcknowledgeRequest(AcknowledgeRequest)

public AcknowledgeRequest(AcknowledgeRequest other)
Parameter
NameDescription
otherAcknowledgeRequest

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
TypeDescription
RepeatedField<String>

Subscription

public string Subscription { get; set; }

Required. The subscription whose message is being acknowledged. Format is projects/{project}/subscriptions/{sub}.

Property Value
TypeDescription
String

SubscriptionAsSubscriptionName

public SubscriptionName SubscriptionAsSubscriptionName { get; set; }

SubscriptionName-typed view over the Subscription resource name property.

Property Value
TypeDescription
SubscriptionName