Class: Google::Cloud::PubSub::V1::ModifyAckDeadlineRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/pubsub/v1/pubsub.rb

Overview

Request for the ModifyAckDeadline method.

Instance Attribute Summary collapse

Instance Attribute Details

#ack_deadline_seconds::Integer

Returns 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).

Returns:

  • (::Integer)

    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).



1350
1351
1352
1353
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1350

class ModifyAckDeadlineRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#ack_ids::Array<::String>

Returns Required. List of acknowledgment IDs.

Returns:

  • (::Array<::String>)

    Required. List of acknowledgment IDs.



1350
1351
1352
1353
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1350

class ModifyAckDeadlineRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#subscription::String

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

Returns:

  • (::String)

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



1350
1351
1352
1353
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1350

class ModifyAckDeadlineRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end