google-cloud-pubsub-v1 0.20.0 → 0.20.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5479709940e3c5ec0a3e6d1ed4501f5bb5bce26a606a82257b7a9c2defbb44e7
4
- data.tar.gz: 2700385f177b6d24507c97690211a89a8c0bb75afd47e53ecd799f9afd61c160
3
+ metadata.gz: 6639128a22c1cbe8201f8caa384ff84f096e9422a9ca4bf0c447f9af487fe726
4
+ data.tar.gz: ef9ca3ae1525e3dcc846acc8076c9f18af7815aa1a913db7813137bd1f874c17
5
5
  SHA512:
6
- metadata.gz: ad29abe317f624519de2ae3b4ff3efe01def663bb1d5c0298537993fc0ea3f2bdeaa88e831bc18864fd92de26fa65edb50d07677541bcfb24cd62c81c9896fc4
7
- data.tar.gz: 99ae9125c5cebe7f28a77d3458960906e9581801a9e87b598cf8a1f52d5a90264a9c7bfb0cfa14a5d1b661954f3c9cf761f91319493ae5e961e8cf476cb1ad58
6
+ metadata.gz: a9996f0310778f78d21b1492204795c18b546a469c103d0315a5d29b9186dd18fb7d62595d1d3622f076f4599a66d5757b8f233f3126e50405d97b8895a3543b
7
+ data.tar.gz: bc61c235cab9c61a9ee0bb3a2798d6f73240f2cbc975a79a5f8e0369ac131fee0eb545df8c61ee70903284f254c08782c7bcd3eb3541d3b332d235aa2042f70e
@@ -193,13 +193,6 @@ module Google
193
193
  @quota_project_id = @config.quota_project
194
194
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
195
195
 
196
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
197
- config.credentials = credentials
198
- config.quota_project = @quota_project_id
199
- config.endpoint = @config.endpoint
200
- config.universe_domain = @config.universe_domain
201
- end
202
-
203
196
  @publisher_stub = ::Gapic::ServiceStub.new(
204
197
  ::Google::Cloud::PubSub::V1::Publisher::Stub,
205
198
  credentials: credentials,
@@ -210,6 +203,13 @@ module Google
210
203
  interceptors: @config.interceptors,
211
204
  channel_pool_config: @config.channel_pool
212
205
  )
206
+
207
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
208
+ config.credentials = credentials
209
+ config.quota_project = @quota_project_id
210
+ config.endpoint = @publisher_stub.endpoint
211
+ config.universe_domain = @publisher_stub.universe_domain
212
+ end
213
213
  end
214
214
 
215
215
  ##
@@ -197,13 +197,6 @@ module Google
197
197
  @quota_project_id = @config.quota_project
198
198
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
199
199
 
200
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
201
- config.credentials = credentials
202
- config.quota_project = @quota_project_id
203
- config.endpoint = @config.endpoint
204
- config.universe_domain = @config.universe_domain
205
- end
206
-
207
200
  @schema_service_stub = ::Gapic::ServiceStub.new(
208
201
  ::Google::Cloud::PubSub::V1::SchemaService::Stub,
209
202
  credentials: credentials,
@@ -214,6 +207,13 @@ module Google
214
207
  interceptors: @config.interceptors,
215
208
  channel_pool_config: @config.channel_pool
216
209
  )
210
+
211
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
212
+ config.credentials = credentials
213
+ config.quota_project = @quota_project_id
214
+ config.endpoint = @schema_service_stub.endpoint
215
+ config.universe_domain = @schema_service_stub.universe_domain
216
+ end
217
217
  end
218
218
 
219
219
  ##
@@ -229,13 +229,6 @@ module Google
229
229
  @quota_project_id = @config.quota_project
230
230
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
231
231
 
232
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
233
- config.credentials = credentials
234
- config.quota_project = @quota_project_id
235
- config.endpoint = @config.endpoint
236
- config.universe_domain = @config.universe_domain
237
- end
238
-
239
232
  @subscriber_stub = ::Gapic::ServiceStub.new(
240
233
  ::Google::Cloud::PubSub::V1::Subscriber::Stub,
241
234
  credentials: credentials,
@@ -246,6 +239,13 @@ module Google
246
239
  interceptors: @config.interceptors,
247
240
  channel_pool_config: @config.channel_pool
248
241
  )
242
+
243
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
244
+ config.credentials = credentials
245
+ config.quota_project = @quota_project_id
246
+ config.endpoint = @subscriber_stub.endpoint
247
+ config.universe_domain = @subscriber_stub.universe_domain
248
+ end
249
249
  end
250
250
 
251
251
  ##
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PubSub
23
23
  module V1
24
- VERSION = "0.20.0"
24
+ VERSION = "0.20.1"
25
25
  end
26
26
  end
27
27
  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.20.0
4
+ version: 0.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-11 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common