google-cloud-managed_kafka-schema_registry-v1 0.4.0 → 0.5.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: 044aa489f839e4d2dd7b8226d9d8ab763e34643a69aa7e0fc2ec18db89ffcf2b
4
- data.tar.gz: a9e730b20da1d4c7df162d5b2624617fc8d43f933e47255786db64fdee697731
3
+ metadata.gz: 01b2b3a3a08e93284e64291a5f62c2cf20c3d353ac0419a4a9c5ec0a53916182
4
+ data.tar.gz: cd88b449ca812395a0ff58cd16b3b1d7008abc2829e0d8b7e75f56c154aa982c
5
5
  SHA512:
6
- metadata.gz: 19497cea933b2d65e73e8a2a0a946b587433332180b5e2f3e38af3df6480fc78f7dbc58ad02393d31cdb14df47399af1ee98551d9efb0df143c709924eab6e61
7
- data.tar.gz: fdbc1431a9b2584b7f6778a6ac31388ec8f16caab089a24bedea3cd70e8a1fd766e168d26a4ea6ca93ce1617070fbbeac3049cddbb88b55e87062ec7c344d658
6
+ metadata.gz: 77df41edb37b252ed69eaeb3f1238c89d5d314fb53e0ad1665a37042fea9e7e4dc97dc792644a20ce61bc7186ec6d9d773eeac213285bf1441a2f7345519be2a
7
+ data.tar.gz: 0c92007f3e09c0aaf4350802e42442d820e713fe7627d906bf536a79c7db3f7674c3dc6f84c70ab96a8fedb30c2fb48637a7c3c7ca2aaf08d20ff88f80807b75
data/README.md CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
85
85
 
86
86
  ## Supported Ruby Versions
87
87
 
88
- This library is supported on Ruby 3.0+.
88
+ This library is supported on Ruby 3.2+.
89
89
 
90
90
  Google provides official support for Ruby versions that are actively supported
91
91
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -2834,6 +2834,7 @@ module Google
2834
2834
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2835
2835
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2836
2836
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2837
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2837
2838
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2838
2839
  # trigger a retry.
2839
2840
  # @return [::Hash]
@@ -2917,6 +2918,7 @@ module Google
2917
2918
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2918
2919
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2919
2920
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2921
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2920
2922
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2921
2923
  # trigger a retry.
2922
2924
  #
@@ -2613,6 +2613,7 @@ module Google
2613
2613
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2614
2614
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2615
2615
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2616
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2616
2617
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2617
2618
  # trigger a retry.
2618
2619
  # @return [::Hash]
@@ -2692,6 +2693,7 @@ module Google
2692
2693
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2693
2694
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2694
2695
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2696
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2695
2697
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2696
2698
  # trigger a retry.
2697
2699
  #
@@ -1296,14 +1296,14 @@ module Google
1296
1296
  uri_method: :get,
1297
1297
  uri_template: "/v1/{name}",
1298
1298
  matches: [
1299
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas(?:/.*)?$}, true]
1299
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas(?:/(?<__wildcard__>.*))?$}, true]
1300
1300
  ]
1301
1301
  )
1302
1302
  .with_bindings(
1303
1303
  uri_method: :get,
1304
1304
  uri_template: "/v1/{name}",
1305
1305
  matches: [
1306
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas(?:/.*)?$}, true]
1306
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas(?:/(?<__wildcard__>.*))?$}, true]
1307
1307
  ]
1308
1308
  )
1309
1309
  transcoder.transcode request_pb
@@ -1324,14 +1324,14 @@ module Google
1324
1324
  uri_method: :get,
1325
1325
  uri_template: "/v1/{name}/schema",
1326
1326
  matches: [
1327
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas(?:/.*)?$}, true]
1327
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas(?:/(?<__wildcard__>.*))?$}, true]
1328
1328
  ]
1329
1329
  )
1330
1330
  .with_bindings(
1331
1331
  uri_method: :get,
1332
1332
  uri_template: "/v1/{name}/schema",
1333
1333
  matches: [
1334
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas(?:/.*)?$}, true]
1334
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas(?:/(?<__wildcard__>.*))?$}, true]
1335
1335
  ]
1336
1336
  )
1337
1337
  transcoder.transcode request_pb
@@ -1352,14 +1352,14 @@ module Google
1352
1352
  uri_method: :get,
1353
1353
  uri_template: "/v1/{parent}/versions",
1354
1354
  matches: [
1355
- ["parent", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas(?:/.*)?$}, true]
1355
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas(?:/(?<__wildcard__>.*))?$}, true]
1356
1356
  ]
1357
1357
  )
1358
1358
  .with_bindings(
1359
1359
  uri_method: :get,
1360
1360
  uri_template: "/v1/{parent}/versions",
1361
1361
  matches: [
1362
- ["parent", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas(?:/.*)?$}, true]
1362
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas(?:/(?<__wildcard__>.*))?$}, true]
1363
1363
  ]
1364
1364
  )
1365
1365
  transcoder.transcode request_pb
@@ -1436,14 +1436,14 @@ module Google
1436
1436
  uri_method: :get,
1437
1437
  uri_template: "/v1/{parent}/subjects",
1438
1438
  matches: [
1439
- ["parent", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas(?:/.*)?$}, true]
1439
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas(?:/(?<__wildcard__>.*))?$}, true]
1440
1440
  ]
1441
1441
  )
1442
1442
  .with_bindings(
1443
1443
  uri_method: :get,
1444
1444
  uri_template: "/v1/{parent}/subjects",
1445
1445
  matches: [
1446
- ["parent", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas(?:/.*)?$}, true]
1446
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas(?:/(?<__wildcard__>.*))?$}, true]
1447
1447
  ]
1448
1448
  )
1449
1449
  transcoder.transcode request_pb
@@ -1693,7 +1693,7 @@ module Google
1693
1693
  uri_template: "/v1/{name}",
1694
1694
  body: "*",
1695
1695
  matches: [
1696
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/compatibility(?:/.*)?$}, true]
1696
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/compatibility(?:/(?<__wildcard__>.*))?$}, true]
1697
1697
  ]
1698
1698
  )
1699
1699
  .with_bindings(
@@ -1701,7 +1701,7 @@ module Google
1701
1701
  uri_template: "/v1/{name}",
1702
1702
  body: "*",
1703
1703
  matches: [
1704
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/compatibility(?:/.*)?$}, true]
1704
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/compatibility(?:/(?<__wildcard__>.*))?$}, true]
1705
1705
  ]
1706
1706
  )
1707
1707
  transcoder.transcode request_pb
@@ -1722,14 +1722,14 @@ module Google
1722
1722
  uri_method: :get,
1723
1723
  uri_template: "/v1/{name}",
1724
1724
  matches: [
1725
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/config(?:/.*)?$}, true]
1725
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/config(?:/(?<__wildcard__>.*))?$}, true]
1726
1726
  ]
1727
1727
  )
1728
1728
  .with_bindings(
1729
1729
  uri_method: :get,
1730
1730
  uri_template: "/v1/{name}",
1731
1731
  matches: [
1732
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/config(?:/.*)?$}, true]
1732
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/config(?:/(?<__wildcard__>.*))?$}, true]
1733
1733
  ]
1734
1734
  )
1735
1735
  transcoder.transcode request_pb
@@ -1751,7 +1751,7 @@ module Google
1751
1751
  uri_template: "/v1/{name}",
1752
1752
  body: "*",
1753
1753
  matches: [
1754
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/config(?:/.*)?$}, true]
1754
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/config(?:/(?<__wildcard__>.*))?$}, true]
1755
1755
  ]
1756
1756
  )
1757
1757
  .with_bindings(
@@ -1759,7 +1759,7 @@ module Google
1759
1759
  uri_template: "/v1/{name}",
1760
1760
  body: "*",
1761
1761
  matches: [
1762
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/config(?:/.*)?$}, true]
1762
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/config(?:/(?<__wildcard__>.*))?$}, true]
1763
1763
  ]
1764
1764
  )
1765
1765
  transcoder.transcode request_pb
@@ -1780,14 +1780,14 @@ module Google
1780
1780
  uri_method: :delete,
1781
1781
  uri_template: "/v1/{name}",
1782
1782
  matches: [
1783
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/config(?:/.*)?$}, true]
1783
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/config(?:/(?<__wildcard__>.*))?$}, true]
1784
1784
  ]
1785
1785
  )
1786
1786
  .with_bindings(
1787
1787
  uri_method: :delete,
1788
1788
  uri_template: "/v1/{name}",
1789
1789
  matches: [
1790
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/config(?:/.*)?$}, true]
1790
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/config(?:/(?<__wildcard__>.*))?$}, true]
1791
1791
  ]
1792
1792
  )
1793
1793
  transcoder.transcode request_pb
@@ -1808,14 +1808,14 @@ module Google
1808
1808
  uri_method: :get,
1809
1809
  uri_template: "/v1/{name}",
1810
1810
  matches: [
1811
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/mode(?:/.*)?$}, true]
1811
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/mode(?:/(?<__wildcard__>.*))?$}, true]
1812
1812
  ]
1813
1813
  )
1814
1814
  .with_bindings(
1815
1815
  uri_method: :get,
1816
1816
  uri_template: "/v1/{name}",
1817
1817
  matches: [
1818
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/mode(?:/.*)?$}, true]
1818
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/mode(?:/(?<__wildcard__>.*))?$}, true]
1819
1819
  ]
1820
1820
  )
1821
1821
  transcoder.transcode request_pb
@@ -1837,7 +1837,7 @@ module Google
1837
1837
  uri_template: "/v1/{name}",
1838
1838
  body: "*",
1839
1839
  matches: [
1840
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/mode(?:/.*)?$}, true]
1840
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/mode(?:/(?<__wildcard__>.*))?$}, true]
1841
1841
  ]
1842
1842
  )
1843
1843
  .with_bindings(
@@ -1845,7 +1845,7 @@ module Google
1845
1845
  uri_template: "/v1/{name}",
1846
1846
  body: "*",
1847
1847
  matches: [
1848
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/mode(?:/.*)?$}, true]
1848
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/mode(?:/(?<__wildcard__>.*))?$}, true]
1849
1849
  ]
1850
1850
  )
1851
1851
  transcoder.transcode request_pb
@@ -1866,14 +1866,14 @@ module Google
1866
1866
  uri_method: :delete,
1867
1867
  uri_template: "/v1/{name}",
1868
1868
  matches: [
1869
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/mode(?:/.*)?$}, true]
1869
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/mode(?:/(?<__wildcard__>.*))?$}, true]
1870
1870
  ]
1871
1871
  )
1872
1872
  .with_bindings(
1873
1873
  uri_method: :delete,
1874
1874
  uri_template: "/v1/{name}",
1875
1875
  matches: [
1876
- ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/mode(?:/.*)?$}, true]
1876
+ ["name", %r{^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/mode(?:/(?<__wildcard__>.*))?$}, true]
1877
1877
  ]
1878
1878
  )
1879
1879
  transcoder.transcode request_pb
@@ -22,7 +22,7 @@ module Google
22
22
  module ManagedKafka
23
23
  module SchemaRegistry
24
24
  module V1
25
- VERSION = "0.4.0"
25
+ VERSION = "0.5.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-managed_kafka-schema_registry-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.2'
18
+ version: '1.3'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.2'
25
+ version: '1.3'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement