google-cloud-tasks 1.4.0 → 1.5.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcbaf97e3ebb4a57306fe1e16e97b7aed5ed50449994aab670ec330af99a0782
|
4
|
+
data.tar.gz: afea7a2a40feb15a2b2b44dc9515c8fd634a5b7d160fb2a687a40da21d9f39db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4ae86bbe6e744463fd3bc3b2084aededcab7822276078e2bd85669336ab2749a08718e5ca9a7f6746318e5ea7257b3e1825b7ea6792c9ce1597d758fa1fa265
|
7
|
+
data.tar.gz: ab577c823c39c2b82dbffe931fa7a8ee01028797bae1ad6f6a938ee2a2d7d2926bc42b7e4609747f6aa9213c9cf4448d918c5dc6b6198824bf6ae985df49b861
|
@@ -207,6 +207,9 @@ module Google
|
|
207
207
|
google_api_client.freeze
|
208
208
|
|
209
209
|
headers = { :"x-goog-api-client" => google_api_client }
|
210
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
211
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
212
|
+
end
|
210
213
|
headers.merge!(metadata) unless metadata.nil?
|
211
214
|
client_config_file = Pathname.new(__dir__).join(
|
212
215
|
"cloud_tasks_client_config.json"
|
@@ -207,6 +207,9 @@ module Google
|
|
207
207
|
google_api_client.freeze
|
208
208
|
|
209
209
|
headers = { :"x-goog-api-client" => google_api_client }
|
210
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
211
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
212
|
+
end
|
210
213
|
headers.merge!(metadata) unless metadata.nil?
|
211
214
|
client_config_file = Pathname.new(__dir__).join(
|
212
215
|
"cloud_tasks_client_config.json"
|
@@ -207,6 +207,9 @@ module Google
|
|
207
207
|
google_api_client.freeze
|
208
208
|
|
209
209
|
headers = { :"x-goog-api-client" => google_api_client }
|
210
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
211
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
212
|
+
end
|
210
213
|
headers.merge!(metadata) unless metadata.nil?
|
211
214
|
client_config_file = Pathname.new(__dir__).join(
|
212
215
|
"cloud_tasks_client_config.json"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|