google-cloud-scheduler-v1beta1 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: b4af76750ffb54f4fc1e2da738694c5e88742678c11fad462937440e989dc1f6
4
- data.tar.gz: 965c2acb731d8c2bb1a0fb56957dca557b4151c4acfeef321c5857653b026f74
3
+ metadata.gz: f71b2b4ec38df7370d5c63c0acc9f2b1bacb0c34fe314ee0379e0f72a0b09c6d
4
+ data.tar.gz: 0d11f09720e5d14becdcf7f9dea84c28d3e009fd5c05fce99bcc6821c9e0f055
5
5
  SHA512:
6
- metadata.gz: 326744c4f6a1827dc9a09e2426a9d0dd420e429398bba712db2e885726d5c3b432f2bc22a62a8e2d07aaf245f4b02f68ee8d8851866dc3134fda06dc0499b1c0
7
- data.tar.gz: f7b4c7b918c805d08b322943e290179d512abea89390ec9d68b7acc53576ccb99d43098dac2dc4f29129bc47867b440c56986326dab88447802c49ebfcd72d3e
6
+ metadata.gz: 3ba2271bde74c5d543b864d866d936b0a736df61572403f42e1f3b304a1a4205ebbeaef4205e98ba6dc46058c447977a6d25706e48d0f467fdc723985a8a26b3
7
+ data.tar.gz: a0ca0c3e6746e7dfe1afd6e504b4ffbd8a7b99a4e51fda4515950aebddc894e3bcfcb20714e3b9c0469e1c22683a0419f702f3c81e622a737f702f4764acec31
@@ -179,13 +179,6 @@ module Google
179
179
  @quota_project_id = @config.quota_project
180
180
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
181
181
 
182
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
183
- config.credentials = credentials
184
- config.quota_project = @quota_project_id
185
- config.endpoint = @config.endpoint
186
- config.universe_domain = @config.universe_domain
187
- end
188
-
189
182
  @cloud_scheduler_stub = ::Gapic::ServiceStub.new(
190
183
  ::Google::Cloud::Scheduler::V1beta1::CloudScheduler::Stub,
191
184
  credentials: credentials,
@@ -196,6 +189,13 @@ module Google
196
189
  interceptors: @config.interceptors,
197
190
  channel_pool_config: @config.channel_pool
198
191
  )
192
+
193
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
194
+ config.credentials = credentials
195
+ config.quota_project = @quota_project_id
196
+ config.endpoint = @cloud_scheduler_stub.endpoint
197
+ config.universe_domain = @cloud_scheduler_stub.universe_domain
198
+ end
199
199
  end
200
200
 
201
201
  ##
@@ -176,20 +176,20 @@ module Google
176
176
  @quota_project_id = @config.quota_project
177
177
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
178
178
 
179
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
180
- config.credentials = credentials
181
- config.quota_project = @quota_project_id
182
- config.endpoint = @config.endpoint
183
- config.universe_domain = @config.universe_domain
184
- config.bindings_override = @config.bindings_override
185
- end
186
-
187
179
  @cloud_scheduler_stub = ::Google::Cloud::Scheduler::V1beta1::CloudScheduler::Rest::ServiceStub.new(
188
180
  endpoint: @config.endpoint,
189
181
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
190
182
  universe_domain: @config.universe_domain,
191
183
  credentials: credentials
192
184
  )
185
+
186
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
187
+ config.credentials = credentials
188
+ config.quota_project = @quota_project_id
189
+ config.endpoint = @cloud_scheduler_stub.endpoint
190
+ config.universe_domain = @cloud_scheduler_stub.universe_domain
191
+ config.bindings_override = @config.bindings_override
192
+ end
193
193
  end
194
194
 
195
195
  ##
@@ -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 V1beta1
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-v1beta1
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