google-cloud-monitoring 0.35.1 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/monitoring.rb +1 -1
- data/lib/google/cloud/monitoring/dashboard.rb +1 -1
- data/lib/google/cloud/monitoring/dashboard/v1.rb +1 -1
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service_client.rb +3 -0
- data/lib/google/cloud/monitoring/v3.rb +1 -1
- data/lib/google/cloud/monitoring/v3/alert_policy_service_client.rb +3 -0
- data/lib/google/cloud/monitoring/v3/group_service_client.rb +3 -0
- data/lib/google/cloud/monitoring/v3/metric_service_client.rb +3 -0
- data/lib/google/cloud/monitoring/v3/notification_channel_service_client.rb +3 -0
- data/lib/google/cloud/monitoring/v3/service_monitoring_service_client.rb +3 -0
- data/lib/google/cloud/monitoring/v3/uptime_check_service_client.rb +3 -0
- data/lib/google/cloud/monitoring/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: 2612470d049bd952c6d196cf80384d2563741e95b30683537364004d5ca5c97a
|
4
|
+
data.tar.gz: f454cd84a27301e079783c37d61e26532da45fa7962010c9cb9d1b5088689800
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41df5610f17353955d9b594dc315447113e1c7242163ded4e1b97c33cdf7f705205f5f242150eee17b6b352cb782e7000a84dfd1896097ecdfd7bba65dd7ae4e
|
7
|
+
data.tar.gz: 8b1f7dc9a7737d6edb53687090960d04546f1ceabfb7066bc9129321058b77e8d6b19482ea33a05b00e9af4a41fd020034fdbef10ef5099f560e5971cadcb55d
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Ruby Client for Stackdriver Monitoring API
|
1
|
+
# Ruby Client for Stackdriver Monitoring API
|
2
2
|
|
3
3
|
[Stackdriver Monitoring API][Product Documentation]:
|
4
4
|
Manages your Stackdriver Monitoring data and configurations. Most projects
|
@@ -21,7 +21,7 @@ module Google
|
|
21
21
|
# rubocop:disable LineLength
|
22
22
|
|
23
23
|
##
|
24
|
-
# # Ruby Client for Stackdriver Monitoring API
|
24
|
+
# # Ruby Client for Stackdriver Monitoring API
|
25
25
|
#
|
26
26
|
# [Stackdriver Monitoring API][Product Documentation]:
|
27
27
|
# Manages your Stackdriver Monitoring data and configurations. Most projects
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
# rubocop:disable LineLength
|
23
23
|
|
24
24
|
##
|
25
|
-
# # Ruby Client for Stackdriver Monitoring Dashboards API
|
25
|
+
# # Ruby Client for Stackdriver Monitoring Dashboards API
|
26
26
|
#
|
27
27
|
# [Stackdriver Monitoring Dashboards API][Product Documentation]:
|
28
28
|
# Manages dashboard configurations used in the Stackdriver UI.
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
# rubocop:disable LineLength
|
23
23
|
|
24
24
|
##
|
25
|
-
# # Ruby Client for Stackdriver Monitoring Dashboards API
|
25
|
+
# # Ruby Client for Stackdriver Monitoring Dashboards API
|
26
26
|
#
|
27
27
|
# [Stackdriver Monitoring Dashboards API][Product Documentation]:
|
28
28
|
# Manages dashboard configurations used in the Stackdriver UI.
|
@@ -149,6 +149,9 @@ module Google
|
|
149
149
|
google_api_client.freeze
|
150
150
|
|
151
151
|
headers = { :"x-goog-api-client" => google_api_client }
|
152
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
153
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
154
|
+
end
|
152
155
|
headers.merge!(metadata) unless metadata.nil?
|
153
156
|
client_config_file = Pathname.new(__dir__).join(
|
154
157
|
"dashboards_service_client_config.json"
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
# rubocop:disable LineLength
|
29
29
|
|
30
30
|
##
|
31
|
-
# # Ruby Client for Stackdriver Monitoring API
|
31
|
+
# # Ruby Client for Stackdriver Monitoring API
|
32
32
|
#
|
33
33
|
# [Stackdriver Monitoring API][Product Documentation]:
|
34
34
|
# Manages your Stackdriver Monitoring data and configurations. Most projects
|
@@ -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
|
"alert_policy_service_client_config.json"
|
@@ -195,6 +195,9 @@ module Google
|
|
195
195
|
google_api_client.freeze
|
196
196
|
|
197
197
|
headers = { :"x-goog-api-client" => google_api_client }
|
198
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
199
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
200
|
+
end
|
198
201
|
headers.merge!(metadata) unless metadata.nil?
|
199
202
|
client_config_file = Pathname.new(__dir__).join(
|
200
203
|
"group_service_client_config.json"
|
@@ -206,6 +206,9 @@ module Google
|
|
206
206
|
google_api_client.freeze
|
207
207
|
|
208
208
|
headers = { :"x-goog-api-client" => google_api_client }
|
209
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
210
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
211
|
+
end
|
209
212
|
headers.merge!(metadata) unless metadata.nil?
|
210
213
|
client_config_file = Pathname.new(__dir__).join(
|
211
214
|
"metric_service_client_config.json"
|
@@ -202,6 +202,9 @@ module Google
|
|
202
202
|
google_api_client.freeze
|
203
203
|
|
204
204
|
headers = { :"x-goog-api-client" => google_api_client }
|
205
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
206
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
207
|
+
end
|
205
208
|
headers.merge!(metadata) unless metadata.nil?
|
206
209
|
client_config_file = Pathname.new(__dir__).join(
|
207
210
|
"notification_channel_service_client_config.json"
|
@@ -206,6 +206,9 @@ module Google
|
|
206
206
|
google_api_client.freeze
|
207
207
|
|
208
208
|
headers = { :"x-goog-api-client" => google_api_client }
|
209
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
210
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
211
|
+
end
|
209
212
|
headers.merge!(metadata) unless metadata.nil?
|
210
213
|
client_config_file = Pathname.new(__dir__).join(
|
211
214
|
"service_monitoring_service_client_config.json"
|
@@ -191,6 +191,9 @@ module Google
|
|
191
191
|
google_api_client.freeze
|
192
192
|
|
193
193
|
headers = { :"x-goog-api-client" => google_api_client }
|
194
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
195
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
196
|
+
end
|
194
197
|
headers.merge!(metadata) unless metadata.nil?
|
195
198
|
client_config_file = Pathname.new(__dir__).join(
|
196
199
|
"uptime_check_service_client_config.json"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-monitoring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.36.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
|