Cloud Pub/Sub v1 API - Class AcknowledgeRequest (3.3.0)

Stay organized with collections Save and categorize content based on your preferences.
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.

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