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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fe73f9d4a1602ca1e55b66e8ebb2e119941dd9d4ed43f721d0dbd07450b08e9
4
- data.tar.gz: 97caf88a49d78aa17e80e02fa243ae5a76f34cd5355007edf236744007d6ff77
3
+ metadata.gz: 2612470d049bd952c6d196cf80384d2563741e95b30683537364004d5ca5c97a
4
+ data.tar.gz: f454cd84a27301e079783c37d61e26532da45fa7962010c9cb9d1b5088689800
5
5
  SHA512:
6
- metadata.gz: 577f9b68ae57ff571eedddea778a34fae7944f407eb16e1e15958a80544185b3c2a333cad9b253bbb6476644265beda3dc3df1918af51716f559c2790119b20d
7
- data.tar.gz: 2c9e3fcc24fb324fdba6b301efb5186436dd82bff2a6edfe7b2a51bac09e113734dfb0b2f779e418f2353afc8abad889e7ed9e3809c9a211b8c631de2288e6f4
6
+ metadata.gz: 41df5610f17353955d9b594dc315447113e1c7242163ded4e1b97c33cdf7f705205f5f242150eee17b6b352cb782e7000a84dfd1896097ecdfd7bba65dd7ae4e
7
+ data.tar.gz: 8b1f7dc9a7737d6edb53687090960d04546f1ceabfb7066bc9129321058b77e8d6b19482ea33a05b00e9af4a41fd020034fdbef10ef5099f560e5971cadcb55d
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Ruby Client for Stackdriver Monitoring API ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
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 ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
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 ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
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 ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
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 ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
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"
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Monitoring
19
- VERSION = "0.35.1".freeze
19
+ VERSION = "0.36.0".freeze
20
20
  end
21
21
  end
22
22
  end
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.35.1
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-02-18 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax