class Google::Apis::PubsubV1beta1a::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_id[RW]

The acknowledgment ID. Either this or ack_ids must be populated, not both. Corresponds to the JSON property `ackId` @return [String]

ack_ids[RW]

List of acknowledgment IDs. Either this field or ack_id should be populated, not both. Corresponds to the JSON property `ackIds` @return [Array<String>]

subscription[RW]

Next Index: 5 The name of the subscription from which messages are being pulled. Corresponds to the JSON property `subscription` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/pubsub_v1beta1a/classes.rb, line 193
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/pubsub_v1beta1a/classes.rb, line 198
def update!(**args)
  @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
  @ack_id = args[:ack_id] if args.key?(:ack_id)
  @ack_ids = args[:ack_ids] if args.key?(:ack_ids)
  @subscription = args[:subscription] if args.key?(:subscription)
end