google-cloud-tasks-v2beta2 0.11.0 → 0.11.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: 2947dfcb365dc3834d1ccf6ad8b1a73ae654b0cdf7ca21dc85d4cd2c56eb8c1a
4
- data.tar.gz: c71e9dffca9509866ff7ef3c4df4cd4648de394447e21362e2b59e1b5541f8da
3
+ metadata.gz: 536d5248fc2cc98b2988bb416263aa3d04d9b69ccbd6648ee64e7914dc7b92b8
4
+ data.tar.gz: 476c3a5a36ed95297ab15378702ad85dad8be846f386fc1114d17b09273ec32c
5
5
  SHA512:
6
- metadata.gz: 8a071b11eb2912f1a5505af9221a6dfe5790bb243d1b933d7166affaba8ffef25efdbb100c5786fc18b7380af5d0949d58b7653c36641cd19e3a4ee1acdbd095
7
- data.tar.gz: 6f02ecf6240e60648f1879b65d60ddccc65066660e2d4a91dc11bf57694c623e64dca644b946ef73079c54ff109183e3a3f9f49f2502a2e7a6860c769441849c
6
+ metadata.gz: 5f00f6a93c3b9dcd29dbda15dfff6d455d2734367718fb9b4bb12d518388639ee4e9104a2aa3e9e27e9bd7ce4455ebe8672614ae25ae5e290fee045771f163cf
7
+ data.tar.gz: 0b5e511c3a48d5308498f7cf039aa0a7f94264e899689e33b64fa023c1700b0340f3ed18545e150bc772fc5801b0db351b5470abd8846e50add9efe18efdac9a
@@ -216,13 +216,6 @@ module Google
216
216
  @quota_project_id = @config.quota_project
217
217
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
218
218
 
219
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
220
- config.credentials = credentials
221
- config.quota_project = @quota_project_id
222
- config.endpoint = @config.endpoint
223
- config.universe_domain = @config.universe_domain
224
- end
225
-
226
219
  @cloud_tasks_stub = ::Gapic::ServiceStub.new(
227
220
  ::Google::Cloud::Tasks::V2beta2::CloudTasks::Stub,
228
221
  credentials: credentials,
@@ -233,6 +226,13 @@ module Google
233
226
  interceptors: @config.interceptors,
234
227
  channel_pool_config: @config.channel_pool
235
228
  )
229
+
230
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
231
+ config.credentials = credentials
232
+ config.quota_project = @quota_project_id
233
+ config.endpoint = @cloud_tasks_stub.endpoint
234
+ config.universe_domain = @cloud_tasks_stub.universe_domain
235
+ end
236
236
  end
237
237
 
238
238
  ##
@@ -211,20 +211,20 @@ module Google
211
211
  @quota_project_id = @config.quota_project
212
212
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
213
213
 
214
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
215
- config.credentials = credentials
216
- config.quota_project = @quota_project_id
217
- config.endpoint = @config.endpoint
218
- config.universe_domain = @config.universe_domain
219
- config.bindings_override = @config.bindings_override
220
- end
221
-
222
214
  @cloud_tasks_stub = ::Google::Cloud::Tasks::V2beta2::CloudTasks::Rest::ServiceStub.new(
223
215
  endpoint: @config.endpoint,
224
216
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
225
217
  universe_domain: @config.universe_domain,
226
218
  credentials: credentials
227
219
  )
220
+
221
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
222
+ config.credentials = credentials
223
+ config.quota_project = @quota_project_id
224
+ config.endpoint = @cloud_tasks_stub.endpoint
225
+ config.universe_domain = @cloud_tasks_stub.universe_domain
226
+ config.bindings_override = @config.bindings_override
227
+ end
228
228
  end
229
229
 
230
230
  ##
@@ -52,6 +52,15 @@ module Google
52
52
  @client_stub.universe_domain
53
53
  end
54
54
 
55
+ ##
56
+ # The effective endpoint
57
+ #
58
+ # @return [String]
59
+ #
60
+ def endpoint
61
+ @client_stub.endpoint
62
+ end
63
+
55
64
  ##
56
65
  # Baseline implementation for the list_queues REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Tasks
23
23
  module V2beta2
24
- VERSION = "0.11.0"
24
+ VERSION = "0.11.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-tasks-v2beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.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