google-cloud-monitoring-dashboard-v1 0.6.6 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/monitoring/dashboard/v1/version.rb +1 -1
  4. data/lib/google/cloud/monitoring/dashboard/v1.rb +2 -0
  5. data/lib/google/monitoring/dashboard/v1/collapsible_group_pb.rb +24 -0
  6. data/lib/google/monitoring/dashboard/v1/common_pb.rb +0 -1
  7. data/lib/google/monitoring/dashboard/v1/dashboard_filter_pb.rb +39 -0
  8. data/lib/google/monitoring/dashboard/v1/dashboard_pb.rb +3 -0
  9. data/lib/google/monitoring/dashboard/v1/dashboards_service_pb.rb +1 -2
  10. data/lib/google/monitoring/dashboard/v1/drilldowns_pb.rb +0 -1
  11. data/lib/google/monitoring/dashboard/v1/logs_panel_pb.rb +25 -0
  12. data/lib/google/monitoring/dashboard/v1/metrics_pb.rb +7 -0
  13. data/lib/google/monitoring/dashboard/v1/scorecard_pb.rb +0 -1
  14. data/lib/google/monitoring/dashboard/v1/table_display_options_pb.rb +25 -0
  15. data/lib/google/monitoring/dashboard/v1/table_pb.rb +35 -0
  16. data/lib/google/monitoring/dashboard/v1/widget_pb.rb +6 -0
  17. data/lib/google/monitoring/dashboard/v1/xychart_pb.rb +8 -0
  18. data/proto_docs/google/monitoring/dashboard/v1/collapsible_group.rb +38 -0
  19. data/proto_docs/google/monitoring/dashboard/v1/dashboard.rb +15 -0
  20. data/proto_docs/google/monitoring/dashboard/v1/dashboard_filter.rb +69 -0
  21. data/proto_docs/google/monitoring/dashboard/v1/logs_panel.rb +44 -0
  22. data/proto_docs/google/monitoring/dashboard/v1/metrics.rb +16 -0
  23. data/proto_docs/google/monitoring/dashboard/v1/table.rb +63 -0
  24. data/proto_docs/google/monitoring/dashboard/v1/table_display_options.rb +38 -0
  25. data/proto_docs/google/monitoring/dashboard/v1/widget.rb +10 -0
  26. data/proto_docs/google/monitoring/dashboard/v1/xychart.rb +18 -0
  27. metadata +13 -7
  28. data/proto_docs/google/api/distribution.rb +0 -225
  29. data/proto_docs/google/protobuf/any.rb +0 -141
  30. data/proto_docs/google/protobuf/field_mask.rb +0 -229
  31. data/proto_docs/google/protobuf/timestamp.rb +0 -129
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7957ad5be04ea070779f02066047bdf05178b0db27a8f19b91fa9246b810814
4
- data.tar.gz: 4ab8b28187411616568b0bb1e7a73045e8bd99d6469ea859737415361c8b9c1e
3
+ metadata.gz: 4d8f56dc4eabc4cf454732122324dfb6bd66ba224275adbea28706fba54688a0
4
+ data.tar.gz: 9b406e497f64e4523d96e9decf640beb06a4f9d109ceeebdb59ee67d80c02b36
5
5
  SHA512:
6
- metadata.gz: 86b6aa50d6565ae768c2cec63dc6c6ddf9a4a80b6d4cd2248aecf16d7421e7378dab22c9da7c292d409cf24821a58d6c9cabfc92e106ca756548221baf7dd3b1
7
- data.tar.gz: c04a5e62708409587a25cff1564384d97cba587a9023c07a867eceebc505913c21b5ae9d0abe2a6e64ceedbbf32fedde040e6794ddde50099f7ad0c0ff677fb1
6
+ metadata.gz: edb9f1a557e703d41a56d4d90245b7fd2ab65979d8302479677b547d6a9c316e3b18988ef7e302081eed59e695cbc64c60ccee00141613a539dc54d37bc576ac
7
+ data.tar.gz: b981ab39dc3c269b57e9a995017f5d03ffd242d04c9a759d07847095371d5221fc11523ddc1deb78c1dcac02b9a0a2e332bcaa55e1b9a0d6a6d0b31e1576e334
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Monitoring::Dashboard::V1::CreateDashboardRequest.new
37
37
  response = client.create_dashboard request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-monitoring-dashboard-v1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/monitoring)
@@ -22,7 +22,7 @@ module Google
22
22
  module Monitoring
23
23
  module Dashboard
24
24
  module V1
25
- VERSION = "0.6.6"
25
+ VERSION = "0.7.0"
26
26
  end
27
27
  end
28
28
  end
@@ -26,6 +26,8 @@ module Google
26
26
  ##
27
27
  # To load this package, including all its services, and instantiate a client:
28
28
  #
29
+ # @example
30
+ #
29
31
  # require "google/cloud/monitoring/dashboard/v1"
30
32
  # client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new
31
33
  #
@@ -0,0 +1,24 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/collapsible_group.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/monitoring/dashboard/v1/collapsible_group.proto", :syntax => :proto3) do
8
+ add_message "google.monitoring.dashboard.v1.CollapsibleGroup" do
9
+ optional :collapsed, :bool, 1
10
+ end
11
+ end
12
+ end
13
+
14
+ module Google
15
+ module Cloud
16
+ module Monitoring
17
+ module Dashboard
18
+ module V1
19
+ CollapsibleGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.CollapsibleGroup").msgclass
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/monitoring/dashboard/v1/common.proto
3
3
 
4
- require 'google/api/distribution_pb'
5
4
  require 'google/protobuf/duration_pb'
6
5
  require 'google/protobuf'
7
6
 
@@ -0,0 +1,39 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/dashboard_filter.proto
3
+
4
+ require 'google/api/field_behavior_pb'
5
+ require 'google/protobuf'
6
+
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_file("google/monitoring/dashboard/v1/dashboard_filter.proto", :syntax => :proto3) do
9
+ add_message "google.monitoring.dashboard.v1.DashboardFilter" do
10
+ optional :label_key, :string, 1
11
+ optional :template_variable, :string, 3
12
+ optional :filter_type, :enum, 5, "google.monitoring.dashboard.v1.DashboardFilter.FilterType"
13
+ oneof :default_value do
14
+ optional :string_value, :string, 4
15
+ end
16
+ end
17
+ add_enum "google.monitoring.dashboard.v1.DashboardFilter.FilterType" do
18
+ value :FILTER_TYPE_UNSPECIFIED, 0
19
+ value :RESOURCE_LABEL, 1
20
+ value :METRIC_LABEL, 2
21
+ value :USER_METADATA_LABEL, 3
22
+ value :SYSTEM_METADATA_LABEL, 4
23
+ value :GROUP, 5
24
+ end
25
+ end
26
+ end
27
+
28
+ module Google
29
+ module Cloud
30
+ module Monitoring
31
+ module Dashboard
32
+ module V1
33
+ DashboardFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.DashboardFilter").msgclass
34
+ DashboardFilter::FilterType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.DashboardFilter.FilterType").enummodule
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/api/field_behavior_pb'
5
5
  require 'google/api/resource_pb'
6
+ require 'google/monitoring/dashboard/v1/dashboard_filter_pb'
6
7
  require 'google/monitoring/dashboard/v1/layouts_pb'
7
8
  require 'google/protobuf'
8
9
 
@@ -12,6 +13,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
12
13
  optional :name, :string, 1
13
14
  optional :display_name, :string, 2
14
15
  optional :etag, :string, 4
16
+ repeated :dashboard_filters, :message, 11, "google.monitoring.dashboard.v1.DashboardFilter"
17
+ map :labels, :string, :string, 12
15
18
  oneof :layout do
16
19
  optional :grid_layout, :message, 5, "google.monitoring.dashboard.v1.GridLayout"
17
20
  optional :mosaic_layout, :message, 6, "google.monitoring.dashboard.v1.MosaicLayout"
@@ -2,12 +2,11 @@
2
2
  # source: google/monitoring/dashboard/v1/dashboards_service.proto
3
3
 
4
4
  require 'google/api/annotations_pb'
5
+ require 'google/api/client_pb'
5
6
  require 'google/api/field_behavior_pb'
6
7
  require 'google/api/resource_pb'
7
8
  require 'google/monitoring/dashboard/v1/dashboard_pb'
8
9
  require 'google/protobuf/empty_pb'
9
- require 'google/protobuf/field_mask_pb'
10
- require 'google/api/client_pb'
11
10
  require 'google/protobuf'
12
11
 
13
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/monitoring/dashboard/v1/drilldowns.proto
3
3
 
4
- require 'google/monitoring/dashboard/v1/common_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -0,0 +1,25 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/logs_panel.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/monitoring/dashboard/v1/logs_panel.proto", :syntax => :proto3) do
8
+ add_message "google.monitoring.dashboard.v1.LogsPanel" do
9
+ optional :filter, :string, 1
10
+ repeated :resource_names, :string, 2
11
+ end
12
+ end
13
+ end
14
+
15
+ module Google
16
+ module Cloud
17
+ module Monitoring
18
+ module Dashboard
19
+ module V1
20
+ LogsPanel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.LogsPanel").msgclass
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -42,6 +42,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
42
42
  optional :value, :double, 2
43
43
  optional :color, :enum, 3, "google.monitoring.dashboard.v1.Threshold.Color"
44
44
  optional :direction, :enum, 4, "google.monitoring.dashboard.v1.Threshold.Direction"
45
+ optional :target_axis, :enum, 5, "google.monitoring.dashboard.v1.Threshold.TargetAxis"
45
46
  end
46
47
  add_enum "google.monitoring.dashboard.v1.Threshold.Color" do
47
48
  value :COLOR_UNSPECIFIED, 0
@@ -53,6 +54,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
53
54
  value :ABOVE, 1
54
55
  value :BELOW, 2
55
56
  end
57
+ add_enum "google.monitoring.dashboard.v1.Threshold.TargetAxis" do
58
+ value :TARGET_AXIS_UNSPECIFIED, 0
59
+ value :Y1, 1
60
+ value :Y2, 2
61
+ end
56
62
  add_enum "google.monitoring.dashboard.v1.SparkChartType" do
57
63
  value :SPARK_CHART_TYPE_UNSPECIFIED, 0
58
64
  value :SPARK_LINE, 1
@@ -73,6 +79,7 @@ module Google
73
79
  Threshold = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Threshold").msgclass
74
80
  Threshold::Color = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Threshold.Color").enummodule
75
81
  Threshold::Direction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Threshold.Direction").enummodule
82
+ Threshold::TargetAxis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Threshold.TargetAxis").enummodule
76
83
  SparkChartType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.SparkChartType").enummodule
77
84
  end
78
85
  end
@@ -4,7 +4,6 @@
4
4
  require 'google/api/field_behavior_pb'
5
5
  require 'google/monitoring/dashboard/v1/metrics_pb'
6
6
  require 'google/protobuf/duration_pb'
7
- require 'google/protobuf/empty_pb'
8
7
  require 'google/protobuf'
9
8
 
10
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -0,0 +1,25 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/table_display_options.proto
3
+
4
+ require 'google/api/field_behavior_pb'
5
+ require 'google/protobuf'
6
+
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_file("google/monitoring/dashboard/v1/table_display_options.proto", :syntax => :proto3) do
9
+ add_message "google.monitoring.dashboard.v1.TableDisplayOptions" do
10
+ repeated :shown_columns, :string, 1
11
+ end
12
+ end
13
+ end
14
+
15
+ module Google
16
+ module Cloud
17
+ module Monitoring
18
+ module Dashboard
19
+ module V1
20
+ TableDisplayOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TableDisplayOptions").msgclass
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,35 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/table.proto
3
+
4
+ require 'google/api/field_behavior_pb'
5
+ require 'google/monitoring/dashboard/v1/metrics_pb'
6
+ require 'google/monitoring/dashboard/v1/table_display_options_pb'
7
+ require 'google/protobuf/duration_pb'
8
+ require 'google/protobuf'
9
+
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("google/monitoring/dashboard/v1/table.proto", :syntax => :proto3) do
12
+ add_message "google.monitoring.dashboard.v1.TimeSeriesTable" do
13
+ repeated :data_sets, :message, 1, "google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet"
14
+ end
15
+ add_message "google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet" do
16
+ optional :time_series_query, :message, 1, "google.monitoring.dashboard.v1.TimeSeriesQuery"
17
+ optional :table_template, :string, 2
18
+ optional :min_alignment_period, :message, 3, "google.protobuf.Duration"
19
+ optional :table_display_options, :message, 4, "google.monitoring.dashboard.v1.TableDisplayOptions"
20
+ end
21
+ end
22
+ end
23
+
24
+ module Google
25
+ module Cloud
26
+ module Monitoring
27
+ module Dashboard
28
+ module V1
29
+ TimeSeriesTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TimeSeriesTable").msgclass
30
+ TimeSeriesTable::TableDataSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet").msgclass
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -3,7 +3,10 @@
3
3
 
4
4
  require 'google/api/field_behavior_pb'
5
5
  require 'google/monitoring/dashboard/v1/alertchart_pb'
6
+ require 'google/monitoring/dashboard/v1/collapsible_group_pb'
7
+ require 'google/monitoring/dashboard/v1/logs_panel_pb'
6
8
  require 'google/monitoring/dashboard/v1/scorecard_pb'
9
+ require 'google/monitoring/dashboard/v1/table_pb'
7
10
  require 'google/monitoring/dashboard/v1/text_pb'
8
11
  require 'google/monitoring/dashboard/v1/xychart_pb'
9
12
  require 'google/protobuf/empty_pb'
@@ -19,6 +22,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
22
  optional :text, :message, 4, "google.monitoring.dashboard.v1.Text"
20
23
  optional :blank, :message, 5, "google.protobuf.Empty"
21
24
  optional :alert_chart, :message, 7, "google.monitoring.dashboard.v1.AlertChart"
25
+ optional :time_series_table, :message, 8, "google.monitoring.dashboard.v1.TimeSeriesTable"
26
+ optional :collapsible_group, :message, 9, "google.monitoring.dashboard.v1.CollapsibleGroup"
27
+ optional :logs_panel, :message, 10, "google.monitoring.dashboard.v1.LogsPanel"
22
28
  end
23
29
  end
24
30
  end
@@ -14,6 +14,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  repeated :thresholds, :message, 5, "google.monitoring.dashboard.v1.Threshold"
15
15
  optional :x_axis, :message, 6, "google.monitoring.dashboard.v1.XyChart.Axis"
16
16
  optional :y_axis, :message, 7, "google.monitoring.dashboard.v1.XyChart.Axis"
17
+ optional :y2_axis, :message, 9, "google.monitoring.dashboard.v1.XyChart.Axis"
17
18
  optional :chart_options, :message, 8, "google.monitoring.dashboard.v1.ChartOptions"
18
19
  end
19
20
  add_message "google.monitoring.dashboard.v1.XyChart.DataSet" do
@@ -21,6 +22,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
21
22
  optional :plot_type, :enum, 2, "google.monitoring.dashboard.v1.XyChart.DataSet.PlotType"
22
23
  optional :legend_template, :string, 3
23
24
  optional :min_alignment_period, :message, 4, "google.protobuf.Duration"
25
+ optional :target_axis, :enum, 5, "google.monitoring.dashboard.v1.XyChart.DataSet.TargetAxis"
24
26
  end
25
27
  add_enum "google.monitoring.dashboard.v1.XyChart.DataSet.PlotType" do
26
28
  value :PLOT_TYPE_UNSPECIFIED, 0
@@ -29,6 +31,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
29
31
  value :STACKED_BAR, 3
30
32
  value :HEATMAP, 4
31
33
  end
34
+ add_enum "google.monitoring.dashboard.v1.XyChart.DataSet.TargetAxis" do
35
+ value :TARGET_AXIS_UNSPECIFIED, 0
36
+ value :Y1, 1
37
+ value :Y2, 2
38
+ end
32
39
  add_message "google.monitoring.dashboard.v1.XyChart.Axis" do
33
40
  optional :label, :string, 1
34
41
  optional :scale, :enum, 2, "google.monitoring.dashboard.v1.XyChart.Axis.Scale"
@@ -58,6 +65,7 @@ module Google
58
65
  XyChart = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart").msgclass
59
66
  XyChart::DataSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.DataSet").msgclass
60
67
  XyChart::DataSet::PlotType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.DataSet.PlotType").enummodule
68
+ XyChart::DataSet::TargetAxis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.DataSet.TargetAxis").enummodule
61
69
  XyChart::Axis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.Axis").msgclass
62
70
  XyChart::Axis::Scale = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.Axis.Scale").enummodule
63
71
  ChartOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.ChartOptions").msgclass
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Monitoring
23
+ module Dashboard
24
+ module V1
25
+ # A widget that groups the other widgets. All widgets that are within
26
+ # the area spanned by the grouping widget are considered member widgets.
27
+ # @!attribute [rw] collapsed
28
+ # @return [::Boolean]
29
+ # The collapsed state of the widget on first page load.
30
+ class CollapsibleGroup
31
+ include ::Google::Protobuf::MessageExts
32
+ extend ::Google::Protobuf::MessageExts::ClassMethods
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
@@ -55,9 +55,24 @@ module Google
55
55
  # @return [::Google::Cloud::Monitoring::Dashboard::V1::ColumnLayout]
56
56
  # The content is divided into equally spaced columns and the widgets are
57
57
  # arranged vertically.
58
+ # @!attribute [rw] dashboard_filters
59
+ # @return [::Array<::Google::Cloud::Monitoring::Dashboard::V1::DashboardFilter>]
60
+ # Filters to reduce the amount of data charted based on the filter criteria.
61
+ # @!attribute [rw] labels
62
+ # @return [::Google::Protobuf::Map{::String => ::String}]
63
+ # Labels applied to the dashboard
58
64
  class Dashboard
59
65
  include ::Google::Protobuf::MessageExts
60
66
  extend ::Google::Protobuf::MessageExts::ClassMethods
67
+
68
+ # @!attribute [rw] key
69
+ # @return [::String]
70
+ # @!attribute [rw] value
71
+ # @return [::String]
72
+ class LabelsEntry
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+ end
61
76
  end
62
77
  end
63
78
  end
@@ -0,0 +1,69 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Monitoring
23
+ module Dashboard
24
+ module V1
25
+ # A filter to reduce the amount of data charted in relevant widgets.
26
+ # @!attribute [rw] label_key
27
+ # @return [::String]
28
+ # Required. The key for the label
29
+ # @!attribute [rw] template_variable
30
+ # @return [::String]
31
+ # The placeholder text that can be referenced in a filter string or MQL
32
+ # query. If omitted, the dashboard filter will be applied to all relevant
33
+ # widgets in the dashboard.
34
+ # @!attribute [rw] string_value
35
+ # @return [::String]
36
+ # A variable-length string value.
37
+ # @!attribute [rw] filter_type
38
+ # @return [::Google::Cloud::Monitoring::Dashboard::V1::DashboardFilter::FilterType]
39
+ # The specified filter type
40
+ class DashboardFilter
41
+ include ::Google::Protobuf::MessageExts
42
+ extend ::Google::Protobuf::MessageExts::ClassMethods
43
+
44
+ # The type for the dashboard filter
45
+ module FilterType
46
+ # Filter type is unspecified. This is not valid in a well-formed request.
47
+ FILTER_TYPE_UNSPECIFIED = 0
48
+
49
+ # Filter on a resource label value
50
+ RESOURCE_LABEL = 1
51
+
52
+ # Filter on a metrics label value
53
+ METRIC_LABEL = 2
54
+
55
+ # Filter on a user metadata label value
56
+ USER_METADATA_LABEL = 3
57
+
58
+ # Filter on a system metadata label value
59
+ SYSTEM_METADATA_LABEL = 4
60
+
61
+ # Filter on a group id
62
+ GROUP = 5
63
+ end
64
+ end
65
+ end
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Monitoring
23
+ module Dashboard
24
+ module V1
25
+ # A widget that displays a stream of log.
26
+ # @!attribute [rw] filter
27
+ # @return [::String]
28
+ # A filter that chooses which log entries to return. See [Advanced Logs
29
+ # Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
30
+ # Only log entries that match the filter are returned. An empty filter
31
+ # matches all log entries.
32
+ # @!attribute [rw] resource_names
33
+ # @return [::Array<::String>]
34
+ # The names of logging resources to collect logs for. Currently only projects
35
+ # are supported. If empty, the widget will default to the host project.
36
+ class LogsPanel
37
+ include ::Google::Protobuf::MessageExts
38
+ extend ::Google::Protobuf::MessageExts::ClassMethods
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
@@ -129,6 +129,10 @@ module Google
129
129
  # @return [::Google::Cloud::Monitoring::Dashboard::V1::Threshold::Direction]
130
130
  # The direction for the current threshold. Direction is not allowed in a
131
131
  # XyChart.
132
+ # @!attribute [rw] target_axis
133
+ # @return [::Google::Cloud::Monitoring::Dashboard::V1::Threshold::TargetAxis]
134
+ # The target axis to use for plotting the threshold. Target axis is not
135
+ # allowed in a Scorecard.
132
136
  class Threshold
133
137
  include ::Google::Protobuf::MessageExts
134
138
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -161,6 +165,18 @@ module Google
161
165
  # the threshold value.
162
166
  BELOW = 2
163
167
  end
168
+
169
+ # An axis identifier.
170
+ module TargetAxis
171
+ # The target axis was not specified. Defaults to Y1.
172
+ TARGET_AXIS_UNSPECIFIED = 0
173
+
174
+ # The y_axis (the right axis of chart).
175
+ Y1 = 1
176
+
177
+ # The y2_axis (the left axis of chart).
178
+ Y2 = 2
179
+ end
164
180
  end
165
181
 
166
182
  # Defines the possible types of spark chart supported by the `Scorecard`.
@@ -0,0 +1,63 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Monitoring
23
+ module Dashboard
24
+ module V1
25
+ # A table that displays time series data.
26
+ # @!attribute [rw] data_sets
27
+ # @return [::Array<::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesTable::TableDataSet>]
28
+ # Required. The data displayed in this table.
29
+ class TimeSeriesTable
30
+ include ::Google::Protobuf::MessageExts
31
+ extend ::Google::Protobuf::MessageExts::ClassMethods
32
+
33
+ # Groups a time series query definition with table options.
34
+ # @!attribute [rw] time_series_query
35
+ # @return [::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery]
36
+ # Required. Fields for querying time series data from the
37
+ # Stackdriver metrics API.
38
+ # @!attribute [rw] table_template
39
+ # @return [::String]
40
+ # Optional. A template string for naming `TimeSeries` in the resulting data set.
41
+ # This should be a string with interpolations of the form `${label_name}`,
42
+ # which will resolve to the label's value i.e.
43
+ # "$\\{resource.labels.project_id}."
44
+ # @!attribute [rw] min_alignment_period
45
+ # @return [::Google::Protobuf::Duration]
46
+ # Optional. The lower bound on data point frequency for this data set, implemented by
47
+ # specifying the minimum alignment period to use in a time series query
48
+ # For example, if the data is published once every 10 minutes, the
49
+ # `min_alignment_period` should be at least 10 minutes. It would not
50
+ # make sense to fetch and align data at one minute intervals.
51
+ # @!attribute [rw] table_display_options
52
+ # @return [::Google::Cloud::Monitoring::Dashboard::V1::TableDisplayOptions]
53
+ # Optional. Table display options for configuring how the table is rendered.
54
+ class TableDataSet
55
+ include ::Google::Protobuf::MessageExts
56
+ extend ::Google::Protobuf::MessageExts::ClassMethods
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Monitoring
23
+ module Dashboard
24
+ module V1
25
+ # Table display options that can be reused.
26
+ # @!attribute [rw] shown_columns
27
+ # @return [::Array<::String>]
28
+ # Optional. Columns to display in the table. Leave empty to display all available
29
+ # columns. Note: This field is for future features and is not currently used.
30
+ class TableDisplayOptions
31
+ include ::Google::Protobuf::MessageExts
32
+ extend ::Google::Protobuf::MessageExts::ClassMethods
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end