class Google::Apis::PubsubV1::ModifyAckDeadlineRequest
Request for the ModifyAckDeadline method.
Attributes
ack_deadline_seconds[RW]
The new ack deadline with respect to the time this request was sent to the Pub/ Sub system. Must be >= 0. For example, if the value is 10, the new ack deadline will expire 10 seconds after the `ModifyAckDeadline` call was made. Specifying zero may immediately make the message available for another pull request. Corresponds to the JSON property `ackDeadlineSeconds` @return [Fixnum]
ack_ids[RW]
List of acknowledgment IDs. Corresponds to the JSON property `ackIds` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/pubsub_v1/classes.rb, line 492 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/pubsub_v1/classes.rb, line 497 def update!(**args) @ack_ids = args[:ack_ids] if args.key?(:ack_ids) @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds) end