Cloud Pub/Sub v1 API - Class AcknowledgeRequest (3.10.0-beta01)

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
RepeatedFieldstring

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