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



770
771
772
773
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 770

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.



770
771
772
773
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 770

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



770
771
772
773
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 770

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