google-cloud-firestore 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/google/cloud/firestore/admin/v1/firestore_admin_client.rb +3 -0
- data/lib/google/cloud/firestore/v1/firestore_client.rb +3 -0
- data/lib/google/cloud/firestore/v1beta1/firestore_client.rb +3 -0
- data/lib/google/cloud/firestore/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 889cb510f153ac1dd619ffddc1cac4c2dce575eef604576ffffdaf801be49568
|
4
|
+
data.tar.gz: 8a3aa5693f9e4e972048d663904f49744a8a6a03c122c8bac1c50c5aa77a50e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab41a1196f01e81a2a1a4b7a35422aadee0b9174d729592aeae98247a8b736e559219df95276e4d35a2ff623dc7afa259b665cd9d66d619587b3be05a12f4688
|
7
|
+
data.tar.gz: 5c721933e97977aa82cb2ff4de9a04efd2b1f4230aafb11348b24def72f40ede03f6ac877f42af113d31a6c74063d735753190bfc211a33ebc1b23516cd8540e
|
data/CHANGELOG.md
CHANGED
@@ -230,6 +230,9 @@ module Google
|
|
230
230
|
google_api_client.freeze
|
231
231
|
|
232
232
|
headers = { :"x-goog-api-client" => google_api_client }
|
233
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
234
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
235
|
+
end
|
233
236
|
headers.merge!(metadata) unless metadata.nil?
|
234
237
|
client_config_file = Pathname.new(__dir__).join(
|
235
238
|
"firestore_admin_client_config.json"
|
@@ -231,6 +231,9 @@ module Google
|
|
231
231
|
google_api_client.freeze
|
232
232
|
|
233
233
|
headers = { :"x-goog-api-client" => google_api_client }
|
234
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
235
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
236
|
+
end
|
234
237
|
headers.merge!(metadata) unless metadata.nil?
|
235
238
|
client_config_file = Pathname.new(__dir__).join(
|
236
239
|
"firestore_client_config.json"
|
@@ -239,6 +239,9 @@ module Google
|
|
239
239
|
google_api_client.freeze
|
240
240
|
|
241
241
|
headers = { :"x-goog-api-client" => google_api_client }
|
242
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
243
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
244
|
+
end
|
242
245
|
headers.merge!(metadata) unless metadata.nil?
|
243
246
|
client_config_file = Pathname.new(__dir__).join(
|
244
247
|
"firestore_client_config.json"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-firestore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|