Cloud Pub/Sub v1 API - Class ModifyAckDeadlineRequest (3.11.0)

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

Reference documentation and code samples for the Cloud Pub/Sub v1 API class ModifyAckDeadlineRequest.

Request for the ModifyAckDeadline method.

Inheritance

object > ModifyAckDeadlineRequest

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

ModifyAckDeadlineRequest()

public ModifyAckDeadlineRequest()

ModifyAckDeadlineRequest(ModifyAckDeadlineRequest)

public ModifyAckDeadlineRequest(ModifyAckDeadlineRequest other)
Parameter
NameDescription
otherModifyAckDeadlineRequest

Properties

AckDeadlineSeconds

public int AckDeadlineSeconds { get; set; }

Required. The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the ModifyAckDeadline call was made. Specifying zero might immediately make the message available for delivery to another subscriber client. This typically results in an increase in the rate of message redeliveries (that is, duplicates). The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify in a single request is 600 seconds (10 minutes).

Property Value
TypeDescription
int

AckIds

public RepeatedField<string> AckIds { get; }

Required. List of acknowledgment IDs.

Property Value
TypeDescription
RepeatedFieldstring

Subscription

public string Subscription { get; set; }

Required. The name of the subscription. 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