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,38 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/scorecard.proto
3
+
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/monitoring/dashboard/v1/metrics_pb'
8
+ require 'google/protobuf/duration_pb'
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_message "google.monitoring.dashboard.v1.Scorecard" do
11
+ optional :time_series_query, :message, 1, "google.monitoring.dashboard.v1.TimeSeriesQuery"
12
+ repeated :thresholds, :message, 6, "google.monitoring.dashboard.v1.Threshold"
13
+ oneof :data_view do
14
+ optional :gauge_view, :message, 4, "google.monitoring.dashboard.v1.Scorecard.GaugeView"
15
+ optional :spark_chart_view, :message, 5, "google.monitoring.dashboard.v1.Scorecard.SparkChartView"
16
+ end
17
+ end
18
+ add_message "google.monitoring.dashboard.v1.Scorecard.GaugeView" do
19
+ optional :lower_bound, :double, 1
20
+ optional :upper_bound, :double, 2
21
+ end
22
+ add_message "google.monitoring.dashboard.v1.Scorecard.SparkChartView" do
23
+ optional :spark_chart_type, :enum, 1, "google.monitoring.dashboard.v1.SparkChartType"
24
+ optional :min_alignment_period, :message, 2, "google.protobuf.Duration"
25
+ end
26
+ end
27
+
28
+ module Google
29
+ module Monitoring
30
+ module Dashboard
31
+ module V1
32
+ Scorecard = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Scorecard").msgclass
33
+ Scorecard::GaugeView = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Scorecard.GaugeView").msgclass
34
+ Scorecard::SparkChartView = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Scorecard.SparkChartView").msgclass
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,17 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/service.proto
3
+
4
+
5
+ require 'google/protobuf'
6
+
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ end
9
+
10
+ module Google
11
+ module Monitoring
12
+ module Dashboard
13
+ module V1
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,28 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/text.proto
3
+
4
+
5
+ require 'google/protobuf'
6
+
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "google.monitoring.dashboard.v1.Text" do
9
+ optional :content, :string, 1
10
+ optional :format, :enum, 2, "google.monitoring.dashboard.v1.Text.Format"
11
+ end
12
+ add_enum "google.monitoring.dashboard.v1.Text.Format" do
13
+ value :FORMAT_UNSPECIFIED, 0
14
+ value :MARKDOWN, 1
15
+ value :RAW, 2
16
+ end
17
+ end
18
+
19
+ module Google
20
+ module Monitoring
21
+ module Dashboard
22
+ module V1
23
+ Text = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text").msgclass
24
+ Text::Format = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.Format").enummodule
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,32 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/widget.proto
3
+
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/monitoring/dashboard/v1/scorecard_pb'
9
+ require 'google/monitoring/dashboard/v1/text_pb'
10
+ require 'google/monitoring/dashboard/v1/xychart_pb'
11
+ require 'google/protobuf/empty_pb'
12
+ Google::Protobuf::DescriptorPool.generated_pool.build do
13
+ add_message "google.monitoring.dashboard.v1.Widget" do
14
+ optional :title, :string, 1
15
+ oneof :content do
16
+ optional :xy_chart, :message, 2, "google.monitoring.dashboard.v1.XyChart"
17
+ optional :scorecard, :message, 3, "google.monitoring.dashboard.v1.Scorecard"
18
+ optional :text, :message, 4, "google.monitoring.dashboard.v1.Text"
19
+ optional :blank, :message, 5, "google.protobuf.Empty"
20
+ end
21
+ end
22
+ end
23
+
24
+ module Google
25
+ module Monitoring
26
+ module Dashboard
27
+ module V1
28
+ Widget = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Widget").msgclass
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,66 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/xychart.proto
3
+
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/monitoring/dashboard/v1/metrics_pb'
9
+ require 'google/protobuf/duration_pb'
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_message "google.monitoring.dashboard.v1.XyChart" do
12
+ repeated :data_sets, :message, 1, "google.monitoring.dashboard.v1.XyChart.DataSet"
13
+ optional :timeshift_duration, :message, 4, "google.protobuf.Duration"
14
+ repeated :thresholds, :message, 5, "google.monitoring.dashboard.v1.Threshold"
15
+ optional :x_axis, :message, 6, "google.monitoring.dashboard.v1.XyChart.Axis"
16
+ optional :y_axis, :message, 7, "google.monitoring.dashboard.v1.XyChart.Axis"
17
+ optional :chart_options, :message, 8, "google.monitoring.dashboard.v1.ChartOptions"
18
+ end
19
+ add_message "google.monitoring.dashboard.v1.XyChart.DataSet" do
20
+ optional :time_series_query, :message, 1, "google.monitoring.dashboard.v1.TimeSeriesQuery"
21
+ optional :plot_type, :enum, 2, "google.monitoring.dashboard.v1.XyChart.DataSet.PlotType"
22
+ optional :legend_template, :string, 3
23
+ optional :min_alignment_period, :message, 4, "google.protobuf.Duration"
24
+ end
25
+ add_enum "google.monitoring.dashboard.v1.XyChart.DataSet.PlotType" do
26
+ value :PLOT_TYPE_UNSPECIFIED, 0
27
+ value :LINE, 1
28
+ value :STACKED_AREA, 2
29
+ value :STACKED_BAR, 3
30
+ value :HEATMAP, 4
31
+ end
32
+ add_message "google.monitoring.dashboard.v1.XyChart.Axis" do
33
+ optional :label, :string, 1
34
+ optional :scale, :enum, 2, "google.monitoring.dashboard.v1.XyChart.Axis.Scale"
35
+ end
36
+ add_enum "google.monitoring.dashboard.v1.XyChart.Axis.Scale" do
37
+ value :SCALE_UNSPECIFIED, 0
38
+ value :LINEAR, 1
39
+ value :LOG10, 2
40
+ end
41
+ add_message "google.monitoring.dashboard.v1.ChartOptions" do
42
+ optional :mode, :enum, 1, "google.monitoring.dashboard.v1.ChartOptions.Mode"
43
+ end
44
+ add_enum "google.monitoring.dashboard.v1.ChartOptions.Mode" do
45
+ value :MODE_UNSPECIFIED, 0
46
+ value :COLOR, 1
47
+ value :X_RAY, 2
48
+ value :STATS, 3
49
+ end
50
+ end
51
+
52
+ module Google
53
+ module Monitoring
54
+ module Dashboard
55
+ module V1
56
+ XyChart = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart").msgclass
57
+ XyChart::DataSet = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.DataSet").msgclass
58
+ XyChart::DataSet::PlotType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.DataSet.PlotType").enummodule
59
+ XyChart::Axis = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.Axis").msgclass
60
+ XyChart::Axis::Scale = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.Axis.Scale").enummodule
61
+ ChartOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.ChartOptions").msgclass
62
+ ChartOptions::Mode = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.ChartOptions.Mode").enummodule
63
+ end
64
+ end
65
+ end
66
+ end
@@ -75,6 +75,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
75
75
  optional :time_series, :message, 1, "google.monitoring.v3.TimeSeries"
76
76
  optional :status, :message, 2, "google.rpc.Status"
77
77
  end
78
+ add_message "google.monitoring.v3.CreateTimeSeriesSummary" do
79
+ optional :total_point_count, :int32, 1
80
+ optional :success_point_count, :int32, 2
81
+ repeated :errors, :message, 3, "google.monitoring.v3.CreateTimeSeriesSummary.Error"
82
+ end
83
+ add_message "google.monitoring.v3.CreateTimeSeriesSummary.Error" do
84
+ optional :status, :message, 1, "google.rpc.Status"
85
+ optional :point_count, :int32, 2
86
+ end
78
87
  end
79
88
 
80
89
  module Google
@@ -93,6 +102,8 @@ module Google
93
102
  ListTimeSeriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListTimeSeriesResponse").msgclass
94
103
  CreateTimeSeriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateTimeSeriesRequest").msgclass
95
104
  CreateTimeSeriesError = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateTimeSeriesError").msgclass
105
+ CreateTimeSeriesSummary = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateTimeSeriesSummary").msgclass
106
+ CreateTimeSeriesSummary::Error = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateTimeSeriesSummary.Error").msgclass
96
107
  end
97
108
  end
98
109
  end
@@ -5,6 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/label_pb'
8
+ require 'google/api/launch_stage_pb'
8
9
  require 'google/monitoring/v3/common_pb'
9
10
  require 'google/protobuf/wrappers_pb'
10
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -0,0 +1,141 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/v3/service.proto
3
+
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/monitored_resource_pb'
8
+ require 'google/protobuf/duration_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+ require 'google/type/calendar_period_pb'
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_message "google.monitoring.v3.Service" do
13
+ optional :name, :string, 1
14
+ optional :display_name, :string, 2
15
+ optional :telemetry, :message, 13, "google.monitoring.v3.Service.Telemetry"
16
+ oneof :identifier do
17
+ optional :custom, :message, 6, "google.monitoring.v3.Service.Custom"
18
+ optional :app_engine, :message, 7, "google.monitoring.v3.Service.AppEngine"
19
+ optional :cloud_endpoints, :message, 8, "google.monitoring.v3.Service.CloudEndpoints"
20
+ optional :cluster_istio, :message, 9, "google.monitoring.v3.Service.ClusterIstio"
21
+ end
22
+ end
23
+ add_message "google.monitoring.v3.Service.Custom" do
24
+ end
25
+ add_message "google.monitoring.v3.Service.AppEngine" do
26
+ optional :module_id, :string, 1
27
+ end
28
+ add_message "google.monitoring.v3.Service.CloudEndpoints" do
29
+ optional :service, :string, 1
30
+ end
31
+ add_message "google.monitoring.v3.Service.ClusterIstio" do
32
+ optional :location, :string, 1
33
+ optional :cluster_name, :string, 2
34
+ optional :service_namespace, :string, 3
35
+ optional :service_name, :string, 4
36
+ end
37
+ add_message "google.monitoring.v3.Service.Telemetry" do
38
+ optional :resource_name, :string, 1
39
+ end
40
+ add_message "google.monitoring.v3.ServiceLevelObjective" do
41
+ optional :name, :string, 1
42
+ optional :display_name, :string, 11
43
+ optional :service_level_indicator, :message, 3, "google.monitoring.v3.ServiceLevelIndicator"
44
+ optional :goal, :double, 4
45
+ oneof :period do
46
+ optional :rolling_period, :message, 5, "google.protobuf.Duration"
47
+ optional :calendar_period, :enum, 6, "google.type.CalendarPeriod"
48
+ end
49
+ end
50
+ add_enum "google.monitoring.v3.ServiceLevelObjective.View" do
51
+ value :VIEW_UNSPECIFIED, 0
52
+ value :FULL, 2
53
+ value :EXPLICIT, 1
54
+ end
55
+ add_message "google.monitoring.v3.ServiceLevelIndicator" do
56
+ oneof :type do
57
+ optional :basic_sli, :message, 4, "google.monitoring.v3.BasicSli"
58
+ optional :request_based, :message, 1, "google.monitoring.v3.RequestBasedSli"
59
+ optional :windows_based, :message, 2, "google.monitoring.v3.WindowsBasedSli"
60
+ end
61
+ end
62
+ add_message "google.monitoring.v3.BasicSli" do
63
+ repeated :method, :string, 7
64
+ repeated :location, :string, 8
65
+ repeated :version, :string, 9
66
+ oneof :sli_criteria do
67
+ optional :availability, :message, 2, "google.monitoring.v3.BasicSli.AvailabilityCriteria"
68
+ optional :latency, :message, 3, "google.monitoring.v3.BasicSli.LatencyCriteria"
69
+ end
70
+ end
71
+ add_message "google.monitoring.v3.BasicSli.AvailabilityCriteria" do
72
+ end
73
+ add_message "google.monitoring.v3.BasicSli.LatencyCriteria" do
74
+ optional :threshold, :message, 3, "google.protobuf.Duration"
75
+ end
76
+ add_message "google.monitoring.v3.Range" do
77
+ optional :min, :double, 1
78
+ optional :max, :double, 2
79
+ end
80
+ add_message "google.monitoring.v3.RequestBasedSli" do
81
+ oneof :method do
82
+ optional :good_total_ratio, :message, 1, "google.monitoring.v3.TimeSeriesRatio"
83
+ optional :distribution_cut, :message, 3, "google.monitoring.v3.DistributionCut"
84
+ end
85
+ end
86
+ add_message "google.monitoring.v3.TimeSeriesRatio" do
87
+ optional :good_service_filter, :string, 4
88
+ optional :bad_service_filter, :string, 5
89
+ optional :total_service_filter, :string, 6
90
+ end
91
+ add_message "google.monitoring.v3.DistributionCut" do
92
+ optional :distribution_filter, :string, 4
93
+ optional :range, :message, 5, "google.monitoring.v3.Range"
94
+ end
95
+ add_message "google.monitoring.v3.WindowsBasedSli" do
96
+ optional :window_period, :message, 4, "google.protobuf.Duration"
97
+ oneof :window_criterion do
98
+ optional :good_bad_metric_filter, :string, 5
99
+ optional :good_total_ratio_threshold, :message, 2, "google.monitoring.v3.WindowsBasedSli.PerformanceThreshold"
100
+ optional :metric_mean_in_range, :message, 6, "google.monitoring.v3.WindowsBasedSli.MetricRange"
101
+ optional :metric_sum_in_range, :message, 7, "google.monitoring.v3.WindowsBasedSli.MetricRange"
102
+ end
103
+ end
104
+ add_message "google.monitoring.v3.WindowsBasedSli.PerformanceThreshold" do
105
+ optional :threshold, :double, 2
106
+ oneof :type do
107
+ optional :performance, :message, 1, "google.monitoring.v3.RequestBasedSli"
108
+ optional :basic_sli_performance, :message, 3, "google.monitoring.v3.BasicSli"
109
+ end
110
+ end
111
+ add_message "google.monitoring.v3.WindowsBasedSli.MetricRange" do
112
+ optional :time_series, :string, 1
113
+ optional :range, :message, 4, "google.monitoring.v3.Range"
114
+ end
115
+ end
116
+
117
+ module Google
118
+ module Monitoring
119
+ module V3
120
+ Service = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service").msgclass
121
+ Service::Custom = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.Custom").msgclass
122
+ Service::AppEngine = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.AppEngine").msgclass
123
+ Service::CloudEndpoints = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.CloudEndpoints").msgclass
124
+ Service::ClusterIstio = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.ClusterIstio").msgclass
125
+ Service::Telemetry = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Service.Telemetry").msgclass
126
+ ServiceLevelObjective = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ServiceLevelObjective").msgclass
127
+ ServiceLevelObjective::View = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ServiceLevelObjective.View").enummodule
128
+ ServiceLevelIndicator = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ServiceLevelIndicator").msgclass
129
+ BasicSli = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.BasicSli").msgclass
130
+ BasicSli::AvailabilityCriteria = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.BasicSli.AvailabilityCriteria").msgclass
131
+ BasicSli::LatencyCriteria = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.BasicSli.LatencyCriteria").msgclass
132
+ Range = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.Range").msgclass
133
+ RequestBasedSli = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.RequestBasedSli").msgclass
134
+ TimeSeriesRatio = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.TimeSeriesRatio").msgclass
135
+ DistributionCut = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.DistributionCut").msgclass
136
+ WindowsBasedSli = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.WindowsBasedSli").msgclass
137
+ WindowsBasedSli::PerformanceThreshold = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.WindowsBasedSli.PerformanceThreshold").msgclass
138
+ WindowsBasedSli::MetricRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.WindowsBasedSli.MetricRange").msgclass
139
+ end
140
+ end
141
+ end
@@ -0,0 +1,85 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/v3/service_service.proto
3
+
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/monitored_resource_pb'
9
+ require 'google/monitoring/v3/service_pb'
10
+ require 'google/protobuf/empty_pb'
11
+ require 'google/protobuf/field_mask_pb'
12
+ require 'google/api/client_pb'
13
+ Google::Protobuf::DescriptorPool.generated_pool.build do
14
+ add_message "google.monitoring.v3.CreateServiceRequest" do
15
+ optional :parent, :string, 1
16
+ optional :service_id, :string, 3
17
+ optional :service, :message, 2, "google.monitoring.v3.Service"
18
+ end
19
+ add_message "google.monitoring.v3.GetServiceRequest" do
20
+ optional :name, :string, 1
21
+ end
22
+ add_message "google.monitoring.v3.ListServicesRequest" do
23
+ optional :parent, :string, 1
24
+ optional :filter, :string, 2
25
+ optional :page_size, :int32, 3
26
+ optional :page_token, :string, 4
27
+ end
28
+ add_message "google.monitoring.v3.ListServicesResponse" do
29
+ repeated :services, :message, 1, "google.monitoring.v3.Service"
30
+ optional :next_page_token, :string, 2
31
+ end
32
+ add_message "google.monitoring.v3.UpdateServiceRequest" do
33
+ optional :service, :message, 1, "google.monitoring.v3.Service"
34
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
35
+ end
36
+ add_message "google.monitoring.v3.DeleteServiceRequest" do
37
+ optional :name, :string, 1
38
+ end
39
+ add_message "google.monitoring.v3.CreateServiceLevelObjectiveRequest" do
40
+ optional :parent, :string, 1
41
+ optional :service_level_objective_id, :string, 3
42
+ optional :service_level_objective, :message, 2, "google.monitoring.v3.ServiceLevelObjective"
43
+ end
44
+ add_message "google.monitoring.v3.GetServiceLevelObjectiveRequest" do
45
+ optional :name, :string, 1
46
+ optional :view, :enum, 2, "google.monitoring.v3.ServiceLevelObjective.View"
47
+ end
48
+ add_message "google.monitoring.v3.ListServiceLevelObjectivesRequest" do
49
+ optional :parent, :string, 1
50
+ optional :filter, :string, 2
51
+ optional :page_size, :int32, 3
52
+ optional :page_token, :string, 4
53
+ optional :view, :enum, 5, "google.monitoring.v3.ServiceLevelObjective.View"
54
+ end
55
+ add_message "google.monitoring.v3.ListServiceLevelObjectivesResponse" do
56
+ repeated :service_level_objectives, :message, 1, "google.monitoring.v3.ServiceLevelObjective"
57
+ optional :next_page_token, :string, 2
58
+ end
59
+ add_message "google.monitoring.v3.UpdateServiceLevelObjectiveRequest" do
60
+ optional :service_level_objective, :message, 1, "google.monitoring.v3.ServiceLevelObjective"
61
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
62
+ end
63
+ add_message "google.monitoring.v3.DeleteServiceLevelObjectiveRequest" do
64
+ optional :name, :string, 1
65
+ end
66
+ end
67
+
68
+ module Google
69
+ module Monitoring
70
+ module V3
71
+ CreateServiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateServiceRequest").msgclass
72
+ GetServiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetServiceRequest").msgclass
73
+ ListServicesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListServicesRequest").msgclass
74
+ ListServicesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListServicesResponse").msgclass
75
+ UpdateServiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UpdateServiceRequest").msgclass
76
+ DeleteServiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.DeleteServiceRequest").msgclass
77
+ CreateServiceLevelObjectiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.CreateServiceLevelObjectiveRequest").msgclass
78
+ GetServiceLevelObjectiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.GetServiceLevelObjectiveRequest").msgclass
79
+ ListServiceLevelObjectivesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListServiceLevelObjectivesRequest").msgclass
80
+ ListServiceLevelObjectivesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.ListServiceLevelObjectivesResponse").msgclass
81
+ UpdateServiceLevelObjectiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.UpdateServiceLevelObjectiveRequest").msgclass
82
+ DeleteServiceLevelObjectiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.v3.DeleteServiceLevelObjectiveRequest").msgclass
83
+ end
84
+ end
85
+ end