Class: Google::Pubsub::V1::ModifyAckDeadlineRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb

Overview

Request for the ModifyAckDeadline method.

Instance Attribute Summary collapse

Instance Attribute Details

#ack_deadline_secondsInteger

Returns 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 may immediately make the message available for another pull request. The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify is 600 seconds (10 minutes).

Returns:

  • (Integer)

    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 may immediately make the message available for another pull request. The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify is 600 seconds (10 minutes).



415
# File 'lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb', line 415

class ModifyAckDeadlineRequest; end

#ack_idsArray<String>

Returns List of acknowledgment IDs.

Returns:

  • (Array<String>)

    List of acknowledgment IDs.



415
# File 'lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb', line 415

class ModifyAckDeadlineRequest; end

#subscriptionString

Returns The name of the subscription. Format is +projects/project/subscriptions/sub+.

Returns:

  • (String)

    The name of the subscription. Format is +projects/project/subscriptions/sub+.



415
# File 'lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb', line 415

class ModifyAckDeadlineRequest; end