google-cloud-monitoring 0.33.1 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -1
  3. data/lib/google/cloud/monitoring.rb +63 -1
  4. data/lib/google/cloud/monitoring/dashboard.rb +147 -0
  5. data/lib/google/cloud/monitoring/dashboard/v1.rb +148 -0
  6. data/lib/google/cloud/monitoring/dashboard/v1/credentials.rb +46 -0
  7. data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service_client.rb +454 -0
  8. data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service_client_config.json +51 -0
  9. data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/common.rb +394 -0
  10. data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/dashboard.rb +53 -0
  11. data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/dashboards_service.rb +82 -0
  12. data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/layouts.rb +71 -0
  13. data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/metrics.rb +151 -0
  14. data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/scorecard.rb +102 -0
  15. data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/text.rb +43 -0
  16. data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/widget.rb +41 -0
  17. data/lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/xychart.rb +141 -0
  18. data/lib/google/cloud/monitoring/dashboard/v1/doc/google/protobuf/duration.rb +91 -0
  19. data/lib/google/cloud/monitoring/dashboard/v1/doc/google/protobuf/empty.rb +29 -0
  20. data/lib/google/cloud/monitoring/v3.rb +72 -1
  21. data/lib/google/cloud/monitoring/v3/alert_policy_service_client_config.json +5 -5
  22. data/lib/google/cloud/monitoring/v3/doc/google/api/metric.rb +29 -45
  23. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/alert.rb +6 -8
  24. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb +8 -8
  25. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric_service.rb +6 -4
  26. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/service.rb +341 -0
  27. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/service_service.rb +187 -0
  28. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/uptime.rb +16 -12
  29. data/lib/google/cloud/monitoring/v3/group_service_client_config.json +6 -6
  30. data/lib/google/cloud/monitoring/v3/metric_service_client.rb +6 -4
  31. data/lib/google/cloud/monitoring/v3/metric_service_client_config.json +7 -7
  32. data/lib/google/cloud/monitoring/v3/notification_channel_service_client_config.json +10 -10
  33. data/lib/google/cloud/monitoring/v3/service_monitoring_service_client.rb +775 -0
  34. data/lib/google/cloud/monitoring/v3/service_monitoring_service_client_config.json +76 -0
  35. data/lib/google/cloud/monitoring/version.rb +1 -1
  36. data/lib/google/monitoring/dashboard/v1/common_pb.rb +95 -0
  37. data/lib/google/monitoring/dashboard/v1/dashboard_pb.rb +29 -0
  38. data/lib/google/monitoring/dashboard/v1/dashboards_service_pb.rb +51 -0
  39. data/lib/google/monitoring/dashboard/v1/dashboards_service_services_pb.rb +76 -0
  40. data/lib/google/monitoring/dashboard/v1/drilldowns_pb.rb +17 -0
  41. data/lib/google/monitoring/dashboard/v1/layouts_pb.rb +41 -0
  42. data/lib/google/monitoring/dashboard/v1/metrics_pb.rb +76 -0
  43. data/lib/google/monitoring/dashboard/v1/scorecard_pb.rb +38 -0
  44. data/lib/google/monitoring/dashboard/v1/service_pb.rb +17 -0
  45. data/lib/google/monitoring/dashboard/v1/text_pb.rb +28 -0
  46. data/lib/google/monitoring/dashboard/v1/widget_pb.rb +32 -0
  47. data/lib/google/monitoring/dashboard/v1/xychart_pb.rb +66 -0
  48. data/lib/google/monitoring/v3/metric_service_pb.rb +11 -0
  49. data/lib/google/monitoring/v3/notification_pb.rb +1 -0
  50. data/lib/google/monitoring/v3/service_pb.rb +141 -0
  51. data/lib/google/monitoring/v3/service_service_pb.rb +85 -0
  52. data/lib/google/monitoring/v3/service_service_services_pb.rb +66 -0
  53. metadata +37 -2
@@ -0,0 +1,66 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/monitoring/v3/service_service.proto for package 'google.monitoring.v3'
3
+ # Original file comments:
4
+ # Copyright 2019 Google LLC.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+ #
19
+
20
+
21
+ require 'grpc'
22
+ require 'google/monitoring/v3/service_service_pb'
23
+
24
+ module Google
25
+ module Monitoring
26
+ module V3
27
+ module ServiceMonitoringService
28
+ # The Stackdriver Monitoring Service-Oriented Monitoring API has endpoints for
29
+ # managing and querying aspects of a workspace's services. These include the
30
+ # `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
31
+ # of categorized Health Metrics.
32
+ class Service
33
+
34
+ include GRPC::GenericService
35
+
36
+ self.marshal_class_method = :encode
37
+ self.unmarshal_class_method = :decode
38
+ self.service_name = 'google.monitoring.v3.ServiceMonitoringService'
39
+
40
+ # Create a `Service`.
41
+ rpc :CreateService, CreateServiceRequest, Google::Monitoring::V3::Service
42
+ # Get the named `Service`.
43
+ rpc :GetService, GetServiceRequest, Google::Monitoring::V3::Service
44
+ # List `Service`s for this workspace.
45
+ rpc :ListServices, ListServicesRequest, ListServicesResponse
46
+ # Update this `Service`.
47
+ rpc :UpdateService, UpdateServiceRequest, Google::Monitoring::V3::Service
48
+ # Soft delete this `Service`.
49
+ rpc :DeleteService, DeleteServiceRequest, Google::Protobuf::Empty
50
+ # Create a `ServiceLevelObjective` for the given `Service`.
51
+ rpc :CreateServiceLevelObjective, CreateServiceLevelObjectiveRequest, Google::Monitoring::V3::ServiceLevelObjective
52
+ # Get a `ServiceLevelObjective` by name.
53
+ rpc :GetServiceLevelObjective, GetServiceLevelObjectiveRequest, Google::Monitoring::V3::ServiceLevelObjective
54
+ # List the `ServiceLevelObjective`s for the given `Service`.
55
+ rpc :ListServiceLevelObjectives, ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse
56
+ # Update the given `ServiceLevelObjective`.
57
+ rpc :UpdateServiceLevelObjective, UpdateServiceLevelObjectiveRequest, Google::Monitoring::V3::ServiceLevelObjective
58
+ # Delete the given `ServiceLevelObjective`.
59
+ rpc :DeleteServiceLevelObjective, DeleteServiceLevelObjectiveRequest, Google::Protobuf::Empty
60
+ end
61
+
62
+ Stub = Service.rpc_stub_class
63
+ end
64
+ end
65
+ end
66
+ 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.33.1
4
+ version: 0.34.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: 2019-11-07 00:00:00.000000000 Z
11
+ date: 2019-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -147,6 +147,22 @@ files:
147
147
  - README.md
148
148
  - lib/google-cloud-monitoring.rb
149
149
  - lib/google/cloud/monitoring.rb
150
+ - lib/google/cloud/monitoring/dashboard.rb
151
+ - lib/google/cloud/monitoring/dashboard/v1.rb
152
+ - lib/google/cloud/monitoring/dashboard/v1/credentials.rb
153
+ - lib/google/cloud/monitoring/dashboard/v1/dashboards_service_client.rb
154
+ - lib/google/cloud/monitoring/dashboard/v1/dashboards_service_client_config.json
155
+ - lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/common.rb
156
+ - lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/dashboard.rb
157
+ - lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/dashboards_service.rb
158
+ - lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/layouts.rb
159
+ - lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/metrics.rb
160
+ - lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/scorecard.rb
161
+ - lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/text.rb
162
+ - lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/widget.rb
163
+ - lib/google/cloud/monitoring/dashboard/v1/doc/google/monitoring/dashboard/v1/xychart.rb
164
+ - lib/google/cloud/monitoring/dashboard/v1/doc/google/protobuf/duration.rb
165
+ - lib/google/cloud/monitoring/dashboard/v1/doc/google/protobuf/empty.rb
150
166
  - lib/google/cloud/monitoring/v3.rb
151
167
  - lib/google/cloud/monitoring/v3/alert_policy_service_client.rb
152
168
  - lib/google/cloud/monitoring/v3/alert_policy_service_client_config.json
@@ -165,6 +181,8 @@ files:
165
181
  - lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/mutation_record.rb
166
182
  - lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/notification.rb
167
183
  - lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/notification_service.rb
184
+ - lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/service.rb
185
+ - lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/service_service.rb
168
186
  - lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/uptime.rb
169
187
  - lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/uptime_service.rb
170
188
  - lib/google/cloud/monitoring/v3/doc/google/protobuf/any.rb
@@ -181,9 +199,23 @@ files:
181
199
  - lib/google/cloud/monitoring/v3/metric_service_client_config.json
182
200
  - lib/google/cloud/monitoring/v3/notification_channel_service_client.rb
183
201
  - lib/google/cloud/monitoring/v3/notification_channel_service_client_config.json
202
+ - lib/google/cloud/monitoring/v3/service_monitoring_service_client.rb
203
+ - lib/google/cloud/monitoring/v3/service_monitoring_service_client_config.json
184
204
  - lib/google/cloud/monitoring/v3/uptime_check_service_client.rb
185
205
  - lib/google/cloud/monitoring/v3/uptime_check_service_client_config.json
186
206
  - lib/google/cloud/monitoring/version.rb
207
+ - lib/google/monitoring/dashboard/v1/common_pb.rb
208
+ - lib/google/monitoring/dashboard/v1/dashboard_pb.rb
209
+ - lib/google/monitoring/dashboard/v1/dashboards_service_pb.rb
210
+ - lib/google/monitoring/dashboard/v1/dashboards_service_services_pb.rb
211
+ - lib/google/monitoring/dashboard/v1/drilldowns_pb.rb
212
+ - lib/google/monitoring/dashboard/v1/layouts_pb.rb
213
+ - lib/google/monitoring/dashboard/v1/metrics_pb.rb
214
+ - lib/google/monitoring/dashboard/v1/scorecard_pb.rb
215
+ - lib/google/monitoring/dashboard/v1/service_pb.rb
216
+ - lib/google/monitoring/dashboard/v1/text_pb.rb
217
+ - lib/google/monitoring/dashboard/v1/widget_pb.rb
218
+ - lib/google/monitoring/dashboard/v1/xychart_pb.rb
187
219
  - lib/google/monitoring/v3/alert_pb.rb
188
220
  - lib/google/monitoring/v3/alert_service_pb.rb
189
221
  - lib/google/monitoring/v3/alert_service_services_pb.rb
@@ -199,6 +231,9 @@ files:
199
231
  - lib/google/monitoring/v3/notification_pb.rb
200
232
  - lib/google/monitoring/v3/notification_service_pb.rb
201
233
  - lib/google/monitoring/v3/notification_service_services_pb.rb
234
+ - lib/google/monitoring/v3/service_pb.rb
235
+ - lib/google/monitoring/v3/service_service_pb.rb
236
+ - lib/google/monitoring/v3/service_service_services_pb.rb
202
237
  - lib/google/monitoring/v3/span_context_pb.rb
203
238
  - lib/google/monitoring/v3/uptime_pb.rb
204
239
  - lib/google/monitoring/v3/uptime_service_pb.rb