google-cloud-pubsub 2.17.0 → 2.18.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: 9baf526a8b94705a0743ca0614706046c014c11e9823a255aef8de94eb927962
4
- data.tar.gz: b90d14a0b11cbfd8685ed11d631d61ba27032d4a91ee71f5ae245e505c3e755b
3
+ metadata.gz: 9094e657754d64197c73fd8966bf8cc1e9559521417e27fac94d20e2131d1348
4
+ data.tar.gz: 8efd1a5f5d5e4cf261aa69a649f58d1096a9de712bc222e4d52bda0210d6de7b
5
5
  SHA512:
6
- metadata.gz: dae5a2eedf9edece6daf5225271961853a1c43490ed64f44ba9f0d2e747cec8eb2943111be2ea608961313697c597e555ceb93fee795e59d992562f0c5fca01a
7
- data.tar.gz: 5e394bb76ccade24fcb11ac80055cb62fe41f8872e48a2de39ace663e4815aafcee3b977af20dd0ff80f71ad9083c703ef5a3dca4f6606d894f8bf37744c2c1a
6
+ metadata.gz: fa00be203dd6ce566a1dd5394ffa7dc19a3bd559b861ac6922194661d1c307fd6b6c0c49c6b7ce42c977fd5263e1d84590b3916851440f70432844687998ec4a
7
+ data.tar.gz: a50151bb393312ac7b34dc0075768b6ab1744d9003fbf33af2f5f9ba6d6287372eca3da1f4a272ad0360fd2f06adadb2cbd70f066f10c2c06bf21cb143fce9f6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release History
2
2
 
3
+ ### 2.18.1 (2024-06-05)
4
+
5
+ #### Bug Fixes
6
+
7
+ * Added bigdecimal to the gem dependencies ([#26012](https://github.com/googleapis/google-cloud-ruby/issues/26012))
8
+
9
+ ### 2.18.0 (2024-03-26)
10
+
11
+ #### Features
12
+
13
+ * support ingestion_data_source_settings for create_topic ([#25418](https://github.com/googleapis/google-cloud-ruby/issues/25418))
14
+
3
15
  ### 2.17.0 (2024-03-07)
4
16
 
5
17
  #### Features
@@ -263,6 +263,8 @@ module Google
263
263
  # that is up to `retention` number of seconds in the past. If this field is
264
264
  # not set, message retention is controlled by settings on individual
265
265
  # subscriptions. Cannot be less than 600 (10 minutes) or more than 604,800 (7 days).
266
+ # @param ingestion_data_source_settings [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings, ::Hash]
267
+ # Optional. Settings for ingestion from a data source into this topic.
266
268
  #
267
269
  # @return [Google::Cloud::PubSub::Topic]
268
270
  #
@@ -279,15 +281,17 @@ module Google
279
281
  async: nil,
280
282
  schema_name: nil,
281
283
  message_encoding: nil,
282
- retention: nil
284
+ retention: nil,
285
+ ingestion_data_source_settings: nil
283
286
  ensure_service!
284
287
  grpc = service.create_topic topic_name,
285
- labels: labels,
286
- kms_key_name: kms_key,
288
+ labels: labels,
289
+ kms_key_name: kms_key,
287
290
  persistence_regions: persistence_regions,
288
- schema_name: schema_name,
289
- message_encoding: message_encoding,
290
- retention: retention
291
+ schema_name: schema_name,
292
+ message_encoding: message_encoding,
293
+ retention: retention,
294
+ ingestion_data_source_settings: ingestion_data_source_settings
291
295
  Topic.from_grpc grpc, service, async: async
292
296
  end
293
297
  alias new_topic create_topic
@@ -136,6 +136,7 @@ module Google
136
136
  schema_name: nil,
137
137
  message_encoding: nil,
138
138
  retention: nil,
139
+ ingestion_data_source_settings: nil,
139
140
  options: {}
140
141
  if persistence_regions
141
142
  message_storage_policy = Google::Cloud::PubSub::V1::MessageStoragePolicy.new(
@@ -154,12 +155,13 @@ module Google
154
155
  end
155
156
 
156
157
  publisher.create_topic \
157
- name: topic_path(topic_name, options),
158
- labels: labels,
159
- kms_key_name: kms_key_name,
160
- message_storage_policy: message_storage_policy,
161
- schema_settings: schema_settings,
162
- message_retention_duration: Convert.number_to_duration(retention)
158
+ name: topic_path(topic_name, options),
159
+ labels: labels,
160
+ kms_key_name: kms_key_name,
161
+ message_storage_policy: message_storage_policy,
162
+ schema_settings: schema_settings,
163
+ message_retention_duration: Convert.number_to_duration(retention),
164
+ ingestion_data_source_settings: ingestion_data_source_settings
163
165
  end
164
166
 
165
167
  def update_topic topic_obj, *fields
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module PubSub
19
- VERSION = "2.17.0".freeze
19
+ VERSION = "2.18.1".freeze
20
20
  end
21
21
 
22
22
  Pubsub = PubSub unless const_defined? :Pubsub
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: 2.17.0
4
+ version: 2.18.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: 2024-03-07 00:00:00.000000000 Z
12
+ date: 2024-06-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: concurrent-ruby