google-cloud-pubsub-v1 0.17.3 → 0.18.0
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 +4 -4
- data/lib/google/cloud/pubsub/v1/publisher/client.rb +11 -2
- data/lib/google/cloud/pubsub/v1/schema_service/client.rb +10 -1
- data/lib/google/cloud/pubsub/v1/subscriber/client.rb +11 -2
- data/lib/google/cloud/pubsub/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12d16feda97cb020129b72d0bdeb3aab4c1503634dfbc4847e387bce79bb9b59
|
|
4
|
+
data.tar.gz: b1b147f9de049e9669a6cdcd4795d976fc0ba855c5b4945897631c395f924195
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aafc8d5642b7f8063b90065d04f4860e11481109bc59c9b5e66c74896a7d8711abd17b8026b469cda34f209cf825b9a8106b26c233a0ff2fc6b011b7aaa39d2f
|
|
7
|
+
data.tar.gz: 3fac852e64a02652cdf770b1fad324a78b581ab7a8a847a9813bf60861f726d063e577771b2d5ec552b0bbe6dd511bd6d0430a83076ce69265edb7bfde3c12ae
|
|
@@ -78,7 +78,7 @@ module Google
|
|
|
78
78
|
|
|
79
79
|
default_config.rpcs.publish.timeout = 60.0
|
|
80
80
|
default_config.rpcs.publish.retry_policy = {
|
|
81
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier:
|
|
81
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 4.0, retry_codes: [10, 1, 13, 8, 2, 14, 4]
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
default_config.rpcs.get_topic.timeout = 60.0
|
|
@@ -191,7 +191,8 @@ module Google
|
|
|
191
191
|
credentials: credentials,
|
|
192
192
|
endpoint: @config.endpoint,
|
|
193
193
|
channel_args: @config.channel_args,
|
|
194
|
-
interceptors: @config.interceptors
|
|
194
|
+
interceptors: @config.interceptors,
|
|
195
|
+
channel_pool_config: @config.channel_pool
|
|
195
196
|
)
|
|
196
197
|
end
|
|
197
198
|
|
|
@@ -1171,6 +1172,14 @@ module Google
|
|
|
1171
1172
|
end
|
|
1172
1173
|
end
|
|
1173
1174
|
|
|
1175
|
+
##
|
|
1176
|
+
# Configuration for the channel pool
|
|
1177
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
|
1178
|
+
#
|
|
1179
|
+
def channel_pool
|
|
1180
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
|
1181
|
+
end
|
|
1182
|
+
|
|
1174
1183
|
##
|
|
1175
1184
|
# Configuration RPC class for the Publisher API.
|
|
1176
1185
|
#
|
|
@@ -195,7 +195,8 @@ module Google
|
|
|
195
195
|
credentials: credentials,
|
|
196
196
|
endpoint: @config.endpoint,
|
|
197
197
|
channel_args: @config.channel_args,
|
|
198
|
-
interceptors: @config.interceptors
|
|
198
|
+
interceptors: @config.interceptors,
|
|
199
|
+
channel_pool_config: @config.channel_pool
|
|
199
200
|
)
|
|
200
201
|
end
|
|
201
202
|
|
|
@@ -1254,6 +1255,14 @@ module Google
|
|
|
1254
1255
|
end
|
|
1255
1256
|
end
|
|
1256
1257
|
|
|
1258
|
+
##
|
|
1259
|
+
# Configuration for the channel pool
|
|
1260
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
|
1261
|
+
#
|
|
1262
|
+
def channel_pool
|
|
1263
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
|
1264
|
+
end
|
|
1265
|
+
|
|
1257
1266
|
##
|
|
1258
1267
|
# Configuration RPC class for the SchemaService API.
|
|
1259
1268
|
#
|
|
@@ -109,7 +109,7 @@ module Google
|
|
|
109
109
|
|
|
110
110
|
default_config.rpcs.streaming_pull.timeout = 900.0
|
|
111
111
|
default_config.rpcs.streaming_pull.retry_policy = {
|
|
112
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier:
|
|
112
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 4.0, retry_codes: [4, 8, 10, 13, 14]
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
default_config.rpcs.modify_push_config.timeout = 60.0
|
|
@@ -227,7 +227,8 @@ module Google
|
|
|
227
227
|
credentials: credentials,
|
|
228
228
|
endpoint: @config.endpoint,
|
|
229
229
|
channel_args: @config.channel_args,
|
|
230
|
-
interceptors: @config.interceptors
|
|
230
|
+
interceptors: @config.interceptors,
|
|
231
|
+
channel_pool_config: @config.channel_pool
|
|
231
232
|
)
|
|
232
233
|
end
|
|
233
234
|
|
|
@@ -2005,6 +2006,14 @@ module Google
|
|
|
2005
2006
|
end
|
|
2006
2007
|
end
|
|
2007
2008
|
|
|
2009
|
+
##
|
|
2010
|
+
# Configuration for the channel pool
|
|
2011
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
|
2012
|
+
#
|
|
2013
|
+
def channel_pool
|
|
2014
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
|
2015
|
+
end
|
|
2016
|
+
|
|
2008
2017
|
##
|
|
2009
2018
|
# Configuration RPC class for the Subscriber API.
|
|
2010
2019
|
#
|
|
@@ -66,6 +66,20 @@ module Google
|
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
|
67
67
|
# non-empty value to expect.
|
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
|
69
|
+
|
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
|
73
|
+
# `name` field on the resource.
|
|
74
|
+
#
|
|
75
|
+
# This behavior should not be applied to references to other resources within
|
|
76
|
+
# the message.
|
|
77
|
+
#
|
|
78
|
+
# The identifier field of resources often have different field behavior
|
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
|
82
|
+
IDENTIFIER = 8
|
|
69
83
|
end
|
|
70
84
|
end
|
|
71
85
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-pubsub-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.18.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.
|
|
19
|
+
version: 0.20.0
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: 2.a
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0.
|
|
29
|
+
version: 0.20.0
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 2.a
|
|
@@ -245,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
245
245
|
- !ruby/object:Gem::Version
|
|
246
246
|
version: '0'
|
|
247
247
|
requirements: []
|
|
248
|
-
rubygems_version: 3.4.
|
|
248
|
+
rubygems_version: 3.4.19
|
|
249
249
|
signing_key:
|
|
250
250
|
specification_version: 4
|
|
251
251
|
summary: Provides reliable, many-to-many, asynchronous messaging between applications.
|