Class ModifyAckDeadlineRequest (2.3.0)

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

Request for the ModifyAckDeadline method.

Inheritance

System.Object > ModifyAckDeadlineRequest

Implements

Google.Protobuf.IMessage<ModifyAckDeadlineRequest>, System.IEquatable<ModifyAckDeadlineRequest>, Google.Protobuf.IDeepCloneable<ModifyAckDeadlineRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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 is 600 seconds (10 minutes).

Property Value
TypeDescription
System.Int32

AckIds

public RepeatedField<string> AckIds { get; }

Required. List of acknowledgment IDs.

Property Value
TypeDescription
Google.Protobuf.Collections.RepeatedField<System.String>

Subscription

public string Subscription { get; set; }

Required. The name of the subscription. Format is projects/{project}/subscriptions/{sub}.

Property Value
TypeDescription
System.String

SubscriptionAsSubscriptionName

public SubscriptionName SubscriptionAsSubscriptionName { get; set; }

SubscriptionName-typed view over the Subscription resource name property.

Property Value
TypeDescription
SubscriptionName