google-cloud-scheduler-v1 0.10.0 → 0.10.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: 19ee29dec8647cbb9bd68feb3852d31c61e9a91e7abe1470a9f44a2fb4e0db35
4
- data.tar.gz: a46da7f83e4b05a3df3ecd25e0b449c0fe8085a7aeabf8b6fa560671dde7f62f
3
+ metadata.gz: d2814b879197be5374101cb431590ab28341ed3de7f17090f51545faa2f297db
4
+ data.tar.gz: fee11c2348426c102593fbb61c1ae32350686f8dafdc35044b45d1626d77a028
5
5
  SHA512:
6
- metadata.gz: 9dde9956b35af48d842ceb4607150de936eecd3f1fe086fe867b6e4f1db3b353e05a96bd07fceb7641405129486edc1e95c8a9799e83010a08d0adec19459eb5
7
- data.tar.gz: dbccd1a8d4a541f72198902951c227fa67fae102f2c61e2608d7b4050e078fa6ab679adf82e620a061a6d10b10ab3fb2cd11f2fa546cc8e0abece1d65cfd8224
6
+ metadata.gz: 89d5a0786479435bd21b699844f422d90d140ccaf61eed764116302b05bc77dee782a2b40bf33a88dbf37986600ff04a33598ec17b5d113b3146615ad10e6eda
7
+ data.tar.gz: 444229ce14eeae6859823243595fa86277cdcf6449981f1535382a0966c5c248005485e19f0ceee700881b67e058c079e28a7a486fe07bcb693f2378f76f5a83
@@ -173,13 +173,6 @@ module Google
173
173
  @quota_project_id = @config.quota_project
174
174
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
175
175
 
176
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
177
- config.credentials = credentials
178
- config.quota_project = @quota_project_id
179
- config.endpoint = @config.endpoint
180
- config.universe_domain = @config.universe_domain
181
- end
182
-
183
176
  @cloud_scheduler_stub = ::Gapic::ServiceStub.new(
184
177
  ::Google::Cloud::Scheduler::V1::CloudScheduler::Stub,
185
178
  credentials: credentials,
@@ -190,6 +183,13 @@ module Google
190
183
  interceptors: @config.interceptors,
191
184
  channel_pool_config: @config.channel_pool
192
185
  )
186
+
187
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
188
+ config.credentials = credentials
189
+ config.quota_project = @quota_project_id
190
+ config.endpoint = @cloud_scheduler_stub.endpoint
191
+ config.universe_domain = @cloud_scheduler_stub.universe_domain
192
+ end
193
193
  end
194
194
 
195
195
  ##
@@ -170,20 +170,20 @@ module Google
170
170
  @quota_project_id = @config.quota_project
171
171
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
172
172
 
173
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
174
- config.credentials = credentials
175
- config.quota_project = @quota_project_id
176
- config.endpoint = @config.endpoint
177
- config.universe_domain = @config.universe_domain
178
- config.bindings_override = @config.bindings_override
179
- end
180
-
181
173
  @cloud_scheduler_stub = ::Google::Cloud::Scheduler::V1::CloudScheduler::Rest::ServiceStub.new(
182
174
  endpoint: @config.endpoint,
183
175
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
184
176
  universe_domain: @config.universe_domain,
185
177
  credentials: credentials
186
178
  )
179
+
180
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
181
+ config.credentials = credentials
182
+ config.quota_project = @quota_project_id
183
+ config.endpoint = @cloud_scheduler_stub.endpoint
184
+ config.universe_domain = @cloud_scheduler_stub.universe_domain
185
+ config.bindings_override = @config.bindings_override
186
+ end
187
187
  end
188
188
 
189
189
  ##
@@ -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_jobs REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Scheduler
23
23
  module V1
24
- VERSION = "0.10.0"
24
+ VERSION = "0.10.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-scheduler-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.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