google-cloud-firestore-admin-v1 0.14.0 → 0.14.2

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: 8efac1bc792b1e92b67302574fffee2307c1277227a3678ec6bc822f4aebbea9
4
+ data.tar.gz: c1215aa79e630983d0f8422a1d873e72440a2897e49e68bddf578a99efdfa5df
5
5
  SHA512:
6
- metadata.gz: 85b53435eb6822b7d412c9ca611a97f8016a16c9b187a7b4079801be0519a5d63f8e83754b1e619e00210b27b17435aff73ce07c9145994beac048f1d1da217a
7
- data.tar.gz: c7a839510a1d703912e6bc7243a1920ec59bddc98ff73088b5ce47650df8f1b9c4e81f2385857aeae74b3bbcb4b72b7e04760ab3f665949dcf6afa4243701c05
6
+ metadata.gz: 4743edc003b66578b1a7c6454c48ab7e48eb09e84138e5d271f7a946808417e3887d80c1dbcda347a2cddc8be3c1df57842b280c0cc8c0f5f7328d0f5312fc04
7
+ data.tar.gz: e1f016a985a65c33db80232613a912cd3b98f1e3a616c643b02aaec53d1c4fbe25d2570524ef28bc915ae86369626839f90a7fd9ff0f9f9375cc3dce1b47a8f7
@@ -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
  ##
@@ -826,7 +826,7 @@ module Google
826
826
  # only supports listing fields that have been explicitly overridden. To issue
827
827
  # this query, call
828
828
  # {::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client#list_fields FirestoreAdmin.ListFields}
829
- # with the filter set to `indexConfig.usesAncestorConfig:false or
829
+ # with the filter set to `indexConfig.usesAncestorConfig:false` or
830
830
  # `ttlConfig:*`.
831
831
  #
832
832
  # @overload list_fields(request, options = nil)
@@ -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
  ##
@@ -777,7 +777,7 @@ module Google
777
777
  # only supports listing fields that have been explicitly overridden. To issue
778
778
  # this query, call
779
779
  # {::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Rest::Client#list_fields FirestoreAdmin.ListFields}
780
- # with the filter set to `indexConfig.usesAncestorConfig:false or
780
+ # with the filter set to `indexConfig.usesAncestorConfig:false` or
781
781
  # `ttlConfig:*`.
782
782
  #
783
783
  # @overload list_fields(request, options = nil)
@@ -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.2"
26
26
  end
27
27
  end
28
28
  end
@@ -99,7 +99,7 @@ module Google
99
99
  # only supports listing fields that have been explicitly overridden. To issue
100
100
  # this query, call
101
101
  # [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
102
- # with the filter set to `indexConfig.usesAncestorConfig:false or
102
+ # with the filter set to `indexConfig.usesAncestorConfig:false` or
103
103
  # `ttlConfig:*`.
104
104
  rpc :ListFields, ::Google::Cloud::Firestore::Admin::V1::ListFieldsRequest, ::Google::Cloud::Firestore::Admin::V1::ListFieldsResponse
105
105
  # Exports a copy of all or a subset of documents from Google Cloud Firestore
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.2
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-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common