google-cloud-error_reporting 0.34.2 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/google/cloud/error_reporting/v1beta1/error_group_service_client.rb +3 -0
- data/lib/google/cloud/error_reporting/v1beta1/error_stats_service_client.rb +3 -0
- data/lib/google/cloud/error_reporting/v1beta1/report_errors_service_client.rb +3 -0
- data/lib/google/cloud/error_reporting/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: 14b7376e46c49c261ee4387207a28bbe055c6f248559e7fae9c91eb8a23c92d5
|
|
4
|
+
data.tar.gz: 2e276f3374ca544e9518d64ec22ebd296717cc29a22a21f6beb6fd586fc79df2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 81ce022171fa09fe64c7ef5a8104fd5b179408bbf108e59c9242195c50874c8a71bc4cccf7a955da5d4c6a9cc6d6ca84ac519d0821486a692bc8680959e3f936
|
|
7
|
+
data.tar.gz: a18c83dc1b646173cc4910f37729193e2edd18be0123dc127ed298228ca3719d9f2a7fce5c34a5e669e5a4d4e3ba78bd57ddedd1c027afb943707fe2c60d7840
|
data/CHANGELOG.md
CHANGED
|
@@ -153,6 +153,9 @@ module Google
|
|
|
153
153
|
google_api_client.freeze
|
|
154
154
|
|
|
155
155
|
headers = { :"x-goog-api-client" => google_api_client }
|
|
156
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
|
157
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
|
158
|
+
end
|
|
156
159
|
headers.merge!(metadata) unless metadata.nil?
|
|
157
160
|
client_config_file = Pathname.new(__dir__).join(
|
|
158
161
|
"error_group_service_client_config.json"
|
|
@@ -165,6 +165,9 @@ module Google
|
|
|
165
165
|
google_api_client.freeze
|
|
166
166
|
|
|
167
167
|
headers = { :"x-goog-api-client" => google_api_client }
|
|
168
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
|
169
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
|
170
|
+
end
|
|
168
171
|
headers.merge!(metadata) unless metadata.nil?
|
|
169
172
|
client_config_file = Pathname.new(__dir__).join(
|
|
170
173
|
"error_stats_service_client_config.json"
|
|
@@ -151,6 +151,9 @@ module Google
|
|
|
151
151
|
google_api_client.freeze
|
|
152
152
|
|
|
153
153
|
headers = { :"x-goog-api-client" => google_api_client }
|
|
154
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
|
155
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
|
156
|
+
end
|
|
154
157
|
headers.merge!(metadata) unless metadata.nil?
|
|
155
158
|
client_config_file = Pathname.new(__dir__).join(
|
|
156
159
|
"report_errors_service_client_config.json"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-error_reporting
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.35.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-
|
|
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
|