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,76 @@
1
+ {
2
+ "interfaces": {
3
+ "google.monitoring.v3.ServiceMonitoringService": {
4
+ "retry_codes": {
5
+ "idempotent": [
6
+ "DEADLINE_EXCEEDED",
7
+ "UNAVAILABLE"
8
+ ],
9
+ "non_idempotent": []
10
+ },
11
+ "retry_params": {
12
+ "default": {
13
+ "initial_retry_delay_millis": 100,
14
+ "retry_delay_multiplier": 1.3,
15
+ "max_retry_delay_millis": 60000,
16
+ "initial_rpc_timeout_millis": 20000,
17
+ "rpc_timeout_multiplier": 1.0,
18
+ "max_rpc_timeout_millis": 20000,
19
+ "total_timeout_millis": 600000
20
+ }
21
+ },
22
+ "methods": {
23
+ "CreateService": {
24
+ "timeout_millis": 60000,
25
+ "retry_codes_name": "non_idempotent",
26
+ "retry_params_name": "default"
27
+ },
28
+ "GetService": {
29
+ "timeout_millis": 60000,
30
+ "retry_codes_name": "idempotent",
31
+ "retry_params_name": "default"
32
+ },
33
+ "ListServices": {
34
+ "timeout_millis": 60000,
35
+ "retry_codes_name": "idempotent",
36
+ "retry_params_name": "default"
37
+ },
38
+ "UpdateService": {
39
+ "timeout_millis": 60000,
40
+ "retry_codes_name": "non_idempotent",
41
+ "retry_params_name": "default"
42
+ },
43
+ "DeleteService": {
44
+ "timeout_millis": 60000,
45
+ "retry_codes_name": "idempotent",
46
+ "retry_params_name": "default"
47
+ },
48
+ "CreateServiceLevelObjective": {
49
+ "timeout_millis": 60000,
50
+ "retry_codes_name": "non_idempotent",
51
+ "retry_params_name": "default"
52
+ },
53
+ "GetServiceLevelObjective": {
54
+ "timeout_millis": 60000,
55
+ "retry_codes_name": "idempotent",
56
+ "retry_params_name": "default"
57
+ },
58
+ "ListServiceLevelObjectives": {
59
+ "timeout_millis": 60000,
60
+ "retry_codes_name": "idempotent",
61
+ "retry_params_name": "default"
62
+ },
63
+ "UpdateServiceLevelObjective": {
64
+ "timeout_millis": 60000,
65
+ "retry_codes_name": "non_idempotent",
66
+ "retry_params_name": "default"
67
+ },
68
+ "DeleteServiceLevelObjective": {
69
+ "timeout_millis": 60000,
70
+ "retry_codes_name": "idempotent",
71
+ "retry_params_name": "default"
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Monitoring
19
- VERSION = "0.33.1".freeze
19
+ VERSION = "0.34.0".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -0,0 +1,95 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/common.proto
3
+
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/protobuf/duration_pb'
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_message "google.monitoring.dashboard.v1.Aggregation" do
10
+ optional :alignment_period, :message, 1, "google.protobuf.Duration"
11
+ optional :per_series_aligner, :enum, 2, "google.monitoring.dashboard.v1.Aggregation.Aligner"
12
+ optional :cross_series_reducer, :enum, 4, "google.monitoring.dashboard.v1.Aggregation.Reducer"
13
+ repeated :group_by_fields, :string, 5
14
+ end
15
+ add_enum "google.monitoring.dashboard.v1.Aggregation.Aligner" do
16
+ value :ALIGN_NONE, 0
17
+ value :ALIGN_DELTA, 1
18
+ value :ALIGN_RATE, 2
19
+ value :ALIGN_INTERPOLATE, 3
20
+ value :ALIGN_NEXT_OLDER, 4
21
+ value :ALIGN_MIN, 10
22
+ value :ALIGN_MAX, 11
23
+ value :ALIGN_MEAN, 12
24
+ value :ALIGN_COUNT, 13
25
+ value :ALIGN_SUM, 14
26
+ value :ALIGN_STDDEV, 15
27
+ value :ALIGN_COUNT_TRUE, 16
28
+ value :ALIGN_COUNT_FALSE, 24
29
+ value :ALIGN_FRACTION_TRUE, 17
30
+ value :ALIGN_PERCENTILE_99, 18
31
+ value :ALIGN_PERCENTILE_95, 19
32
+ value :ALIGN_PERCENTILE_50, 20
33
+ value :ALIGN_PERCENTILE_05, 21
34
+ value :ALIGN_PERCENT_CHANGE, 23
35
+ end
36
+ add_enum "google.monitoring.dashboard.v1.Aggregation.Reducer" do
37
+ value :REDUCE_NONE, 0
38
+ value :REDUCE_MEAN, 1
39
+ value :REDUCE_MIN, 2
40
+ value :REDUCE_MAX, 3
41
+ value :REDUCE_SUM, 4
42
+ value :REDUCE_STDDEV, 5
43
+ value :REDUCE_COUNT, 6
44
+ value :REDUCE_COUNT_TRUE, 7
45
+ value :REDUCE_COUNT_FALSE, 15
46
+ value :REDUCE_FRACTION_TRUE, 8
47
+ value :REDUCE_PERCENTILE_99, 9
48
+ value :REDUCE_PERCENTILE_95, 10
49
+ value :REDUCE_PERCENTILE_50, 11
50
+ value :REDUCE_PERCENTILE_05, 12
51
+ end
52
+ add_message "google.monitoring.dashboard.v1.PickTimeSeriesFilter" do
53
+ optional :ranking_method, :enum, 1, "google.monitoring.dashboard.v1.PickTimeSeriesFilter.Method"
54
+ optional :num_time_series, :int32, 2
55
+ optional :direction, :enum, 3, "google.monitoring.dashboard.v1.PickTimeSeriesFilter.Direction"
56
+ end
57
+ add_enum "google.monitoring.dashboard.v1.PickTimeSeriesFilter.Method" do
58
+ value :METHOD_UNSPECIFIED, 0
59
+ value :METHOD_MEAN, 1
60
+ value :METHOD_MAX, 2
61
+ value :METHOD_MIN, 3
62
+ value :METHOD_SUM, 4
63
+ value :METHOD_LATEST, 5
64
+ end
65
+ add_enum "google.monitoring.dashboard.v1.PickTimeSeriesFilter.Direction" do
66
+ value :DIRECTION_UNSPECIFIED, 0
67
+ value :TOP, 1
68
+ value :BOTTOM, 2
69
+ end
70
+ add_message "google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter" do
71
+ optional :ranking_method, :enum, 1, "google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter.Method"
72
+ optional :num_time_series, :int32, 2
73
+ end
74
+ add_enum "google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter.Method" do
75
+ value :METHOD_UNSPECIFIED, 0
76
+ value :METHOD_CLUSTER_OUTLIER, 1
77
+ end
78
+ end
79
+
80
+ module Google
81
+ module Monitoring
82
+ module Dashboard
83
+ module V1
84
+ Aggregation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Aggregation").msgclass
85
+ Aggregation::Aligner = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Aggregation.Aligner").enummodule
86
+ Aggregation::Reducer = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Aggregation.Reducer").enummodule
87
+ PickTimeSeriesFilter = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.PickTimeSeriesFilter").msgclass
88
+ PickTimeSeriesFilter::Method = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.PickTimeSeriesFilter.Method").enummodule
89
+ PickTimeSeriesFilter::Direction = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.PickTimeSeriesFilter.Direction").enummodule
90
+ StatisticalTimeSeriesFilter = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter").msgclass
91
+ StatisticalTimeSeriesFilter::Method = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter.Method").enummodule
92
+ end
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,29 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/dashboard.proto
3
+
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/monitoring/dashboard/v1/layouts_pb'
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_message "google.monitoring.dashboard.v1.Dashboard" do
10
+ optional :name, :string, 1
11
+ optional :display_name, :string, 2
12
+ optional :etag, :string, 4
13
+ oneof :layout do
14
+ optional :grid_layout, :message, 5, "google.monitoring.dashboard.v1.GridLayout"
15
+ optional :row_layout, :message, 8, "google.monitoring.dashboard.v1.RowLayout"
16
+ optional :column_layout, :message, 9, "google.monitoring.dashboard.v1.ColumnLayout"
17
+ end
18
+ end
19
+ end
20
+
21
+ module Google
22
+ module Monitoring
23
+ module Dashboard
24
+ module V1
25
+ Dashboard = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Dashboard").msgclass
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,51 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/dashboards_service.proto
3
+
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/field_behavior_pb'
9
+ require 'google/monitoring/dashboard/v1/dashboard_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.dashboard.v1.CreateDashboardRequest" do
15
+ optional :parent, :string, 1
16
+ optional :dashboard, :message, 2, "google.monitoring.dashboard.v1.Dashboard"
17
+ end
18
+ add_message "google.monitoring.dashboard.v1.ListDashboardsRequest" do
19
+ optional :parent, :string, 1
20
+ optional :page_size, :int32, 2
21
+ optional :page_token, :string, 3
22
+ end
23
+ add_message "google.monitoring.dashboard.v1.ListDashboardsResponse" do
24
+ repeated :dashboards, :message, 1, "google.monitoring.dashboard.v1.Dashboard"
25
+ optional :next_page_token, :string, 2
26
+ end
27
+ add_message "google.monitoring.dashboard.v1.GetDashboardRequest" do
28
+ optional :name, :string, 1
29
+ end
30
+ add_message "google.monitoring.dashboard.v1.DeleteDashboardRequest" do
31
+ optional :name, :string, 1
32
+ end
33
+ add_message "google.monitoring.dashboard.v1.UpdateDashboardRequest" do
34
+ optional :dashboard, :message, 1, "google.monitoring.dashboard.v1.Dashboard"
35
+ end
36
+ end
37
+
38
+ module Google
39
+ module Monitoring
40
+ module Dashboard
41
+ module V1
42
+ CreateDashboardRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.CreateDashboardRequest").msgclass
43
+ ListDashboardsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.ListDashboardsRequest").msgclass
44
+ ListDashboardsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.ListDashboardsResponse").msgclass
45
+ GetDashboardRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.GetDashboardRequest").msgclass
46
+ DeleteDashboardRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.DeleteDashboardRequest").msgclass
47
+ UpdateDashboardRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.UpdateDashboardRequest").msgclass
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,76 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/monitoring/dashboard/v1/dashboards_service.proto for package 'google.monitoring.dashboard.v1'
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/dashboard/v1/dashboards_service_pb'
23
+
24
+ module Google
25
+ module Monitoring
26
+ module Dashboard
27
+ module V1
28
+ module DashboardsService
29
+ # Manages Stackdriver dashboards. A dashboard is an arrangement of data display
30
+ # widgets in a specific layout.
31
+ class Service
32
+
33
+ include GRPC::GenericService
34
+
35
+ self.marshal_class_method = :encode
36
+ self.unmarshal_class_method = :decode
37
+ self.service_name = 'google.monitoring.dashboard.v1.DashboardsService'
38
+
39
+ # Creates a new custom dashboard.
40
+ #
41
+ # This method requires the `monitoring.dashboards.create` permission
42
+ # on the specified project. For more information, see
43
+ # [Google Cloud IAM](https://cloud.google.com/iam).
44
+ rpc :CreateDashboard, CreateDashboardRequest, Dashboard
45
+ # Lists the existing dashboards.
46
+ #
47
+ # This method requires the `monitoring.dashboards.list` permission
48
+ # on the specified project. For more information, see
49
+ # [Google Cloud IAM](https://cloud.google.com/iam).
50
+ rpc :ListDashboards, ListDashboardsRequest, ListDashboardsResponse
51
+ # Fetches a specific dashboard.
52
+ #
53
+ # This method requires the `monitoring.dashboards.get` permission
54
+ # on the specified dashboard. For more information, see
55
+ # [Google Cloud IAM](https://cloud.google.com/iam).
56
+ rpc :GetDashboard, GetDashboardRequest, Dashboard
57
+ # Deletes an existing custom dashboard.
58
+ #
59
+ # This method requires the `monitoring.dashboards.delete` permission
60
+ # on the specified dashboard. For more information, see
61
+ # [Google Cloud IAM](https://cloud.google.com/iam).
62
+ rpc :DeleteDashboard, DeleteDashboardRequest, Google::Protobuf::Empty
63
+ # Replaces an existing custom dashboard with a new definition.
64
+ #
65
+ # This method requires the `monitoring.dashboards.update` permission
66
+ # on the specified dashboard. For more information, see
67
+ # [Google Cloud IAM](https://cloud.google.com/iam).
68
+ rpc :UpdateDashboard, UpdateDashboardRequest, Dashboard
69
+ end
70
+
71
+ Stub = Service.rpc_stub_class
72
+ end
73
+ end
74
+ end
75
+ end
76
+ end
@@ -0,0 +1,17 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/drilldowns.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,41 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/layouts.proto
3
+
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/monitoring/dashboard/v1/widget_pb'
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_message "google.monitoring.dashboard.v1.GridLayout" do
10
+ optional :columns, :int64, 1
11
+ repeated :widgets, :message, 2, "google.monitoring.dashboard.v1.Widget"
12
+ end
13
+ add_message "google.monitoring.dashboard.v1.RowLayout" do
14
+ repeated :rows, :message, 1, "google.monitoring.dashboard.v1.RowLayout.Row"
15
+ end
16
+ add_message "google.monitoring.dashboard.v1.RowLayout.Row" do
17
+ optional :weight, :int64, 1
18
+ repeated :widgets, :message, 2, "google.monitoring.dashboard.v1.Widget"
19
+ end
20
+ add_message "google.monitoring.dashboard.v1.ColumnLayout" do
21
+ repeated :columns, :message, 1, "google.monitoring.dashboard.v1.ColumnLayout.Column"
22
+ end
23
+ add_message "google.monitoring.dashboard.v1.ColumnLayout.Column" do
24
+ optional :weight, :int64, 1
25
+ repeated :widgets, :message, 2, "google.monitoring.dashboard.v1.Widget"
26
+ end
27
+ end
28
+
29
+ module Google
30
+ module Monitoring
31
+ module Dashboard
32
+ module V1
33
+ GridLayout = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.GridLayout").msgclass
34
+ RowLayout = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.RowLayout").msgclass
35
+ RowLayout::Row = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.RowLayout.Row").msgclass
36
+ ColumnLayout = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.ColumnLayout").msgclass
37
+ ColumnLayout::Column = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.ColumnLayout.Column").msgclass
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,76 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/metrics.proto
3
+
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/monitoring/dashboard/v1/common_pb'
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_message "google.monitoring.dashboard.v1.TimeSeriesQuery" do
11
+ optional :unit_override, :string, 5
12
+ oneof :source do
13
+ optional :time_series_filter, :message, 1, "google.monitoring.dashboard.v1.TimeSeriesFilter"
14
+ optional :time_series_filter_ratio, :message, 2, "google.monitoring.dashboard.v1.TimeSeriesFilterRatio"
15
+ end
16
+ end
17
+ add_message "google.monitoring.dashboard.v1.TimeSeriesFilter" do
18
+ optional :filter, :string, 1
19
+ optional :aggregation, :message, 2, "google.monitoring.dashboard.v1.Aggregation"
20
+ oneof :output_filter do
21
+ optional :pick_time_series_filter, :message, 4, "google.monitoring.dashboard.v1.PickTimeSeriesFilter"
22
+ optional :statistical_time_series_filter, :message, 5, "google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter"
23
+ end
24
+ end
25
+ add_message "google.monitoring.dashboard.v1.TimeSeriesFilterRatio" do
26
+ optional :numerator, :message, 1, "google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart"
27
+ optional :denominator, :message, 2, "google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart"
28
+ optional :secondary_aggregation, :message, 3, "google.monitoring.dashboard.v1.Aggregation"
29
+ oneof :output_filter do
30
+ optional :pick_time_series_filter, :message, 4, "google.monitoring.dashboard.v1.PickTimeSeriesFilter"
31
+ optional :statistical_time_series_filter, :message, 5, "google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter"
32
+ end
33
+ end
34
+ add_message "google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart" do
35
+ optional :filter, :string, 1
36
+ optional :aggregation, :message, 2, "google.monitoring.dashboard.v1.Aggregation"
37
+ end
38
+ add_message "google.monitoring.dashboard.v1.Threshold" do
39
+ optional :label, :string, 1
40
+ optional :value, :double, 2
41
+ optional :color, :enum, 3, "google.monitoring.dashboard.v1.Threshold.Color"
42
+ optional :direction, :enum, 4, "google.monitoring.dashboard.v1.Threshold.Direction"
43
+ end
44
+ add_enum "google.monitoring.dashboard.v1.Threshold.Color" do
45
+ value :COLOR_UNSPECIFIED, 0
46
+ value :YELLOW, 4
47
+ value :RED, 6
48
+ end
49
+ add_enum "google.monitoring.dashboard.v1.Threshold.Direction" do
50
+ value :DIRECTION_UNSPECIFIED, 0
51
+ value :ABOVE, 1
52
+ value :BELOW, 2
53
+ end
54
+ add_enum "google.monitoring.dashboard.v1.SparkChartType" do
55
+ value :SPARK_CHART_TYPE_UNSPECIFIED, 0
56
+ value :SPARK_LINE, 1
57
+ value :SPARK_BAR, 2
58
+ end
59
+ end
60
+
61
+ module Google
62
+ module Monitoring
63
+ module Dashboard
64
+ module V1
65
+ TimeSeriesQuery = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TimeSeriesQuery").msgclass
66
+ TimeSeriesFilter = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TimeSeriesFilter").msgclass
67
+ TimeSeriesFilterRatio = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TimeSeriesFilterRatio").msgclass
68
+ TimeSeriesFilterRatio::RatioPart = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart").msgclass
69
+ Threshold = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Threshold").msgclass
70
+ Threshold::Color = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Threshold.Color").enummodule
71
+ Threshold::Direction = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Threshold.Direction").enummodule
72
+ SparkChartType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.SparkChartType").enummodule
73
+ end
74
+ end
75
+ end
76
+ end