google-cloud-firestore-admin-v1 0.14.0 → 0.14.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: 82b9e3bc129b384d9980d9c76be20b095638908338cde74514dcbfcb45312c19
4
- data.tar.gz: 78ebaecf5aeaee77603a3fceb78e2e69bb9cf6422b86f419a0d5e2df739b4875
3
+ metadata.gz: 4907d6a45d180c15aab41b37e20f74121521e3f9ba83c4e50810ffdbba2fa842
4
+ data.tar.gz: 3d22117f4e89e41ac00929e40d752fc9033a2a63d9c13ed152b6a936aeccdd36
5
5
  SHA512:
6
- metadata.gz: 85b53435eb6822b7d412c9ca611a97f8016a16c9b187a7b4079801be0519a5d63f8e83754b1e619e00210b27b17435aff73ce07c9145994beac048f1d1da217a
7
- data.tar.gz: c7a839510a1d703912e6bc7243a1920ec59bddc98ff73088b5ce47650df8f1b9c4e81f2385857aeae74b3bbcb4b72b7e04760ab3f665949dcf6afa4243701c05
6
+ metadata.gz: 8ba678786c058daa81aa15d4397a6080ca44db331dddb418d42f07f3c97e56d3a3561cd4a82bec088f7dbb194cd451d1679cf81ba24b3998a86036c94e9cf0a3
7
+ data.tar.gz: 29660c719bbde9a8754ec41f2b792abf3d701de11beeeee1996a5ff224f1ec9894cb68f35f2ecda1b26c77ab282b8c90b68694c93c7d700004fa0307e3ee8f23
@@ -215,13 +215,6 @@ module Google
215
215
  config.universe_domain = @config.universe_domain
216
216
  end
217
217
 
218
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
219
- config.credentials = credentials
220
- config.quota_project = @quota_project_id
221
- config.endpoint = @config.endpoint
222
- config.universe_domain = @config.universe_domain
223
- end
224
-
225
218
  @firestore_admin_stub = ::Gapic::ServiceStub.new(
226
219
  ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Stub,
227
220
  credentials: credentials,
@@ -232,6 +225,13 @@ module Google
232
225
  interceptors: @config.interceptors,
233
226
  channel_pool_config: @config.channel_pool
234
227
  )
228
+
229
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
230
+ config.credentials = credentials
231
+ config.quota_project = @quota_project_id
232
+ config.endpoint = @firestore_admin_stub.endpoint
233
+ config.universe_domain = @firestore_admin_stub.universe_domain
234
+ end
235
235
  end
236
236
 
237
237
  ##
@@ -212,19 +212,19 @@ module Google
212
212
  config.universe_domain = @config.universe_domain
213
213
  end
214
214
 
215
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
216
- config.credentials = credentials
217
- config.quota_project = @quota_project_id
218
- config.endpoint = @config.endpoint
219
- config.universe_domain = @config.universe_domain
220
- end
221
-
222
215
  @firestore_admin_stub = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Rest::ServiceStub.new(
223
216
  endpoint: @config.endpoint,
224
217
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
225
218
  universe_domain: @config.universe_domain,
226
219
  credentials: credentials
227
220
  )
221
+
222
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
223
+ config.credentials = credentials
224
+ config.quota_project = @quota_project_id
225
+ config.endpoint = @firestore_admin_stub.endpoint
226
+ config.universe_domain = @firestore_admin_stub.universe_domain
227
+ end
228
228
  end
229
229
 
230
230
  ##
@@ -53,6 +53,15 @@ module Google
53
53
  @client_stub.universe_domain
54
54
  end
55
55
 
56
+ ##
57
+ # The effective endpoint
58
+ #
59
+ # @return [String]
60
+ #
61
+ def endpoint
62
+ @client_stub.endpoint
63
+ end
64
+
56
65
  ##
57
66
  # Baseline implementation for the create_index REST call
58
67
  #
@@ -22,7 +22,7 @@ module Google
22
22
  module Firestore
23
23
  module Admin
24
24
  module V1
25
- VERSION = "0.14.0"
25
+ VERSION = "0.14.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-firestore-admin-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.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