google-cloud-tasks-v2beta3 0.12.0 → 0.12.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: ef9317d4413dbab1dfbec8e2307bdeb2927de2caa30fc1dd781235d9b9f258c6
4
- data.tar.gz: 6b67b22d8b4bf1d61986adbbe491dba675fe4cf4c421f28e71ec278dc65ee21d
3
+ metadata.gz: b2ec596ff6f35cd029863f0f4e02bf466ce29b4f7bc26d68782bb1ce2f043888
4
+ data.tar.gz: dea02758a9cf8900ce7f6c8ed68f6c14d18feedea387677ece437a61bf781271
5
5
  SHA512:
6
- metadata.gz: 39f4b7361742e36b99587e674203121d942ccae1151abe762e32b7f87bf87736006bf8d8c966f45b0495b93061dabccf2ebaa7ccf3f5818df16128e6fe940c85
7
- data.tar.gz: f8262dcdeeba38597ca9682544c62cb670d8b47c5525570effb4caff622419bdc32d9527a6c80a0323f7219f0d5526325fde1b71f3bb7493905392e9daf88a51
6
+ metadata.gz: ef844f6a2c0b112992ab7a1ef28bbc2d75cbf3a0e1f9231da881c48024530f8878c1ac5fe5892ce7b5824335bd959f255cf212a05ff7151f7674b2c683ef5c74
7
+ data.tar.gz: 9fb920601a0aef6c54d7872c9bb765b37738d59689a01d5f853e90a71c8bb922c485f9a711d5cc622c2a279c61ba3e26102d7e9d43edb2760fdb2f3e839b560d
@@ -206,13 +206,6 @@ module Google
206
206
  @quota_project_id = @config.quota_project
207
207
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
208
208
 
209
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
210
- config.credentials = credentials
211
- config.quota_project = @quota_project_id
212
- config.endpoint = @config.endpoint
213
- config.universe_domain = @config.universe_domain
214
- end
215
-
216
209
  @cloud_tasks_stub = ::Gapic::ServiceStub.new(
217
210
  ::Google::Cloud::Tasks::V2beta3::CloudTasks::Stub,
218
211
  credentials: credentials,
@@ -223,6 +216,13 @@ module Google
223
216
  interceptors: @config.interceptors,
224
217
  channel_pool_config: @config.channel_pool
225
218
  )
219
+
220
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
221
+ config.credentials = credentials
222
+ config.quota_project = @quota_project_id
223
+ config.endpoint = @cloud_tasks_stub.endpoint
224
+ config.universe_domain = @cloud_tasks_stub.universe_domain
225
+ end
226
226
  end
227
227
 
228
228
  ##
@@ -203,20 +203,20 @@ module Google
203
203
  @quota_project_id = @config.quota_project
204
204
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
205
205
 
206
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
207
- config.credentials = credentials
208
- config.quota_project = @quota_project_id
209
- config.endpoint = @config.endpoint
210
- config.universe_domain = @config.universe_domain
211
- config.bindings_override = @config.bindings_override
212
- end
213
-
214
206
  @cloud_tasks_stub = ::Google::Cloud::Tasks::V2beta3::CloudTasks::Rest::ServiceStub.new(
215
207
  endpoint: @config.endpoint,
216
208
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
217
209
  universe_domain: @config.universe_domain,
218
210
  credentials: credentials
219
211
  )
212
+
213
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
214
+ config.credentials = credentials
215
+ config.quota_project = @quota_project_id
216
+ config.endpoint = @cloud_tasks_stub.endpoint
217
+ config.universe_domain = @cloud_tasks_stub.universe_domain
218
+ config.bindings_override = @config.bindings_override
219
+ end
220
220
  end
221
221
 
222
222
  ##
@@ -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 V2beta3
24
- VERSION = "0.12.0"
24
+ VERSION = "0.12.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-v2beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.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