Cloud Pub/Sub v1 API - Class ModifyAckDeadlineRequest (3.14.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
Name Description
other ModifyAckDeadlineRequest

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
Type Description
int

AckIds

public RepeatedField<string> AckIds { get; }

Required. List of acknowledgment IDs.

Property Value
Type Description
RepeatedFieldstring

Subscription

public string Subscription { get; set; }

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