google-cloud-pubsub 0.39.0 → 0.39.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0fd7553d4bbada28a7a6f4059d46e4251e822133d17cb083a04b227baf644f8
4
- data.tar.gz: 5533102d2f2f9ed27165c194a611d80dfa33c434cdeb28b99a07aaeb715a3e23
3
+ metadata.gz: cf882043d5708f044079a8f088e7dd086f0937699c3bb3dd84576a91104068d8
4
+ data.tar.gz: e3dcd45ebe5db15aed15e0da2a107c92886eccdb750dd48bb5ea917180fb8e62
5
5
  SHA512:
6
- metadata.gz: ce65f101dc44c8d4abb96a5c3762f55935d1bf47ad0171309f7109b66c4367e466eb0fbb7ef1341202520a1b7723b327a3764476d495976d6a644ad714679482
7
- data.tar.gz: 40c1f20213de5af4108305b8cbdb6849bdeb3101f2cfad12a595ef9daae1297b529d318bf0bb3c7f2e898705b59c663374857fde9902e9558cd23d3b17611fc5
6
+ metadata.gz: ffa8488744cc16ff26a842123b6ddbf4abc785936ae94212da3ae73c78aa4c7cc98965529ce074036befb878e05d109aca7c8024c810919d663232542d721228
7
+ data.tar.gz: daa27cdc0f831d25e0d4ece569d4ff6c8bc3150b92b7221b3ab531f3d267ed398c7fc130db815cd7df8036a6f2efbd3a544c2d36c059b739cce23db45db700da
@@ -1,5 +1,13 @@
1
1
  # Release History
2
2
 
3
+ ### 0.39.1 / 2019-09-04
4
+
5
+ #### Features
6
+
7
+ * Update Dead Letter Policy
8
+ * Add ReceivedMessage#delivery_attempt
9
+ * Experimental
10
+
3
11
  ### 0.39.0 / 2019-08-23
4
12
 
5
13
  #### Features
@@ -88,11 +88,13 @@ module Google
88
88
  # 01:30 UTC on January 15, 2017.
89
89
  #
90
90
  # In JavaScript, one can convert a Date object to this format using the
91
- # standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
91
+ # standard
92
+ # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
92
93
  # method. In Python, a standard `datetime.datetime` object can be converted
93
- # to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
94
- # with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
95
- # can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
94
+ # to this format using
95
+ # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
96
+ # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
97
+ # the Joda Time's [`ISODateTimeFormat.dateTime()`](
96
98
  # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
97
99
  # ) to obtain a formatter capable of generating timestamps in this format.
98
100
  # @!attribute [rw] seconds
@@ -412,6 +412,24 @@ module Google
412
412
  # @!attribute [rw] message
413
413
  # @return [Google::Cloud::PubSub::V1::PubsubMessage]
414
414
  # The message.
415
+ # @!attribute [rw] delivery_attempt
416
+ # @return [Integer]
417
+ # Delivery attempt counter is 1 + (the sum of number of NACKs and number of
418
+ # ack_deadline exceeds) for this message.
419
+ #
420
+ # A NACK is any call to ModifyAckDeadline with a 0 deadline. An ack_deadline
421
+ # exceeds event is whenever a message is not acknowledged within
422
+ # ack_deadline. Note that ack_deadline is initially
423
+ # Subscription.ackDeadlineSeconds, but may get extended automatically by
424
+ # the client library.
425
+ #
426
+ # The first delivery of a given message will have this value as 1. The value
427
+ # is calculated at best effort and is approximate.
428
+ #
429
+ # If a DeadLetterPolicy is not set on the subscription, this will be 0.
430
+ # <b>EXPERIMENTAL:</b> This feature is part of a closed alpha release. This
431
+ # API might be changed in backward-incompatible ways and is not recommended
432
+ # for production use. It is not subject to any SLA or deprecation policy.
415
433
  class ReceivedMessage; end
416
434
 
417
435
  # Request for the GetSubscription method.
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module PubSub
19
- VERSION = "0.39.0".freeze
19
+ VERSION = "0.39.1".freeze
20
20
  end
21
21
 
22
22
  Pubsub = PubSub unless const_defined? :Pubsub
@@ -104,6 +104,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
104
104
  add_message "google.pubsub.v1.ReceivedMessage" do
105
105
  optional :ack_id, :string, 1
106
106
  optional :message, :message, 2, "google.pubsub.v1.PubsubMessage"
107
+ optional :delivery_attempt, :int32, 3
107
108
  end
108
109
  add_message "google.pubsub.v1.GetSubscriptionRequest" do
109
110
  optional :subscription, :string, 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-pubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.0
4
+ version: 0.39.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-08-23 00:00:00.000000000 Z
12
+ date: 2019-09-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core