google-cloud-pubsub 2.23.0 → 3.0.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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -0
  3. data/OVERVIEW.md +188 -144
  4. data/lib/google/cloud/pubsub/admin_clients.rb +116 -0
  5. data/lib/google/cloud/pubsub/async_publisher.rb +9 -9
  6. data/lib/google/cloud/pubsub/batch_publisher.rb +4 -4
  7. data/lib/google/cloud/pubsub/errors.rb +3 -3
  8. data/lib/google/cloud/pubsub/message.rb +8 -8
  9. data/lib/google/cloud/pubsub/{subscriber → message_listener}/enumerator_queue.rb +1 -1
  10. data/lib/google/cloud/pubsub/{subscriber → message_listener}/inventory.rb +2 -4
  11. data/lib/google/cloud/pubsub/{subscriber → message_listener}/sequencer.rb +1 -1
  12. data/lib/google/cloud/pubsub/{subscriber → message_listener}/stream.rb +10 -10
  13. data/lib/google/cloud/pubsub/{subscriber → message_listener}/timed_unary_buffer.rb +1 -1
  14. data/lib/google/cloud/pubsub/message_listener.rb +413 -0
  15. data/lib/google/cloud/pubsub/project.rb +98 -531
  16. data/lib/google/cloud/pubsub/publisher.rb +373 -0
  17. data/lib/google/cloud/pubsub/received_message.rb +44 -39
  18. data/lib/google/cloud/pubsub/service.rb +24 -386
  19. data/lib/google/cloud/pubsub/subscriber.rb +442 -279
  20. data/lib/google/cloud/pubsub/version.rb +1 -1
  21. data/lib/google/cloud/pubsub.rb +8 -15
  22. data/lib/google-cloud-pubsub.rb +5 -4
  23. metadata +9 -17
  24. data/lib/google/cloud/pubsub/policy.rb +0 -188
  25. data/lib/google/cloud/pubsub/retry_policy.rb +0 -88
  26. data/lib/google/cloud/pubsub/schema/list.rb +0 -180
  27. data/lib/google/cloud/pubsub/schema.rb +0 -378
  28. data/lib/google/cloud/pubsub/snapshot/list.rb +0 -178
  29. data/lib/google/cloud/pubsub/snapshot.rb +0 -205
  30. data/lib/google/cloud/pubsub/subscription/list.rb +0 -205
  31. data/lib/google/cloud/pubsub/subscription/push_config.rb +0 -268
  32. data/lib/google/cloud/pubsub/subscription.rb +0 -1467
  33. data/lib/google/cloud/pubsub/topic/list.rb +0 -171
  34. data/lib/google/cloud/pubsub/topic.rb +0 -1100
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24cac3a1712ee177e68209cfa51b6608e821d3cd0372f4097a0c034cb33c2e84
4
- data.tar.gz: 8af4d2f8bd1f5262f9d0e604bae5fefd14bbf47afdece6d3185d7da159a9406f
3
+ metadata.gz: 8fdc0e3e831265c7d0fafc5bd1efcff64a80c61a679a995758bdd85855894fb6
4
+ data.tar.gz: e93ff8f11efb5ead461e38760268d2cbad095e53d5151911bd92a9ed6b76f37d
5
5
  SHA512:
6
- metadata.gz: b5a42f52420c9e8ed940690f9eb5dfa5aa9feee8a1091e4013f4884f2e8a859f2abf8e4451d7f136fe03c0482ccb42def169464ad57da08faef15c57a95b913b
7
- data.tar.gz: eb8fe09a16a9348c89738af001c0d7cb4bc3d52a009753106f6c8241088b0141d1c08c384494b8c91414775394d096104b901f90b7c98015a59397c9419ba2be
6
+ metadata.gz: ae1376a0bfb012e5ff57ff5ec7ef7cb42fd2ea5d998b6389b4a9a4bc8294980af6da75a883c9dbefbba61842a9450d009620fd72986357183bf4f68d1310b83c
7
+ data.tar.gz: 6060aeb08f744dd8259502bbdafcb3acfa3c6492a785ce051dbab9df8401292f4613ac1e0aace012b0cd8100ee4c639514eb3834976cad61c451c9fba371d733
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Release History
2
2
 
3
+ ### 3.0.1 (2025-08-07)
4
+
5
+ #### Documentation
6
+
7
+ * Update README.md to v3.x ([#30751](https://github.com/googleapis/google-cloud-ruby/issues/30751))
8
+
9
+ ### 3.0.0 (2025-07-29)
10
+
11
+ ### ⚠ BREAKING CHANGES
12
+
13
+ * The existing resource management API has been removed and replaced with the gRPC autogenerated surface. It includes CRUDL operations for topics, subscriptions, snapshots, and schemas as well as IAM. All legacy handwritten resource management classes are now deleted and operations will be performed via the generated clients.
14
+ * Rename Topic and Subscription to Publisher and Subscriber, which now serve as dedicated objects for sending and receiving messages.
15
+ * Remove Policy and RetryPolicy in favor of auto-generated counterparts ([#30725](https://github.com/googleapis/google-cloud-ruby/issues/30725))
16
+ * Removal of legacy settings and parameters (e.g. use_legacy_flow_control, project, keyfile)
17
+
18
+ #### Features
19
+
20
+ * The existing resource management API has been removed and replaced with the gRPC autogenerated surface. It includes CRUDL operations for topics, subscriptions, snapshots, and schemas as well as IAM. All legacy handwritten resource management classes are now deleted and operations will be performed via the generated clients.
21
+ * Rename Topic and Subscription to Publisher and Subscriber, which now serve as dedicated objects for sending and receiving messages.
22
+ * Introduce path helper methods for accessing resources
23
+ * Removal of legacy settings and parameters (e.g. use_legacy_flow_control, project, keyfile)
24
+ * Remove Policy and RetryPolicy in favor of auto-generated counterparts ([#30725](https://github.com/googleapis/google-cloud-ruby/issues/30725))
25
+ * Change default number of concurrent streams to 1 ([#30742](https://github.com/googleapis/google-cloud-ruby/issues/30742))
26
+
3
27
  ### 2.23.0 (2025-07-08)
4
28
 
5
29
  #### Features