google-cloud-monitoring-dashboard-v1 0.10.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/client.rb +6 -8
  4. data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/rest/client.rb +683 -0
  5. data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/rest/service_stub.rb +347 -0
  6. data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/rest.rb +55 -0
  7. data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service.rb +6 -0
  8. data/lib/google/cloud/monitoring/dashboard/v1/rest.rb +39 -0
  9. data/lib/google/cloud/monitoring/dashboard/v1/version.rb +1 -1
  10. data/lib/google/cloud/monitoring/dashboard/v1.rb +5 -0
  11. data/lib/google/monitoring/dashboard/v1/alertchart_pb.rb +24 -4
  12. data/lib/google/monitoring/dashboard/v1/collapsible_group_pb.rb +24 -4
  13. data/lib/google/monitoring/dashboard/v1/common_pb.rb +25 -70
  14. data/lib/google/monitoring/dashboard/v1/dashboard_filter_pb.rb +24 -17
  15. data/lib/google/monitoring/dashboard/v1/dashboard_pb.rb +26 -14
  16. data/lib/google/monitoring/dashboard/v1/dashboards_service_pb.rb +25 -25
  17. data/lib/google/monitoring/dashboard/v1/drilldowns_pb.rb +25 -2
  18. data/lib/google/monitoring/dashboard/v1/layouts_pb.rb +25 -30
  19. data/lib/google/monitoring/dashboard/v1/logs_panel_pb.rb +24 -5
  20. data/lib/google/monitoring/dashboard/v1/metrics_pb.rb +25 -59
  21. data/lib/google/monitoring/dashboard/v1/scorecard_pb.rb +26 -17
  22. data/lib/google/monitoring/dashboard/v1/service_pb.rb +25 -2
  23. data/lib/google/monitoring/dashboard/v1/table_display_options_pb.rb +24 -4
  24. data/lib/google/monitoring/dashboard/v1/table_pb.rb +27 -21
  25. data/lib/google/monitoring/dashboard/v1/text_pb.rb +24 -10
  26. data/lib/google/monitoring/dashboard/v1/widget_pb.rb +32 -14
  27. data/lib/google/monitoring/dashboard/v1/xychart_pb.rb +26 -47
  28. data/proto_docs/google/api/client.rb +67 -4
  29. metadata +11 -7
@@ -1,11 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/monitoring/dashboard/v1/service.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/monitoring/dashboard/v1/service.proto", :syntax => :proto3) do
7
+
8
+ descriptor_data = "\n,google/monitoring/dashboard/v1/service.proto\x12\x1egoogle.monitoring.dashboard.v1B\xff\x01\n\"com.google.monitoring.dashboard.v1B\x16ServiceMonitoringProtoP\x01ZFcloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb\xaa\x02$Google.Cloud.Monitoring.Dashboard.V1\xca\x02$Google\\Cloud\\Monitoring\\Dashboard\\V1\xea\x02(Google::Cloud::Monitoring::Dashboard::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
+ end
8
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
9
32
  end
10
33
 
11
34
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/monitoring/dashboard/v1/table_display_options.proto
3
4
 
@@ -5,12 +6,31 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/api/field_behavior_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/monitoring/dashboard/v1/table_display_options.proto", :syntax => :proto3) do
10
- add_message "google.monitoring.dashboard.v1.TableDisplayOptions" do
11
- repeated :shown_columns, :string, 1
9
+
10
+ descriptor_data = "\n:google/monitoring/dashboard/v1/table_display_options.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\"3\n\x13TableDisplayOptions\x12\x1c\n\rshown_columns\x18\x01 \x03(\tB\x05\x18\x01\xe0\x41\x01\x42\x81\x02\n\"com.google.monitoring.dashboard.v1B\x18TableDisplayOptionsProtoP\x01ZFcloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb\xaa\x02$Google.Cloud.Monitoring.Dashboard.V1\xca\x02$Google\\Cloud\\Monitoring\\Dashboard\\V1\xea\x02(Google::Cloud::Monitoring::Dashboard::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
12
30
  end
13
31
  end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
14
34
  end
15
35
 
16
36
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/monitoring/dashboard/v1/table.proto
3
4
 
@@ -8,29 +9,34 @@ require 'google/monitoring/dashboard/v1/metrics_pb'
8
9
  require 'google/monitoring/dashboard/v1/table_display_options_pb'
9
10
  require 'google/protobuf/duration_pb'
10
11
 
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_file("google/monitoring/dashboard/v1/table.proto", :syntax => :proto3) do
13
- add_message "google.monitoring.dashboard.v1.TimeSeriesTable" do
14
- repeated :data_sets, :message, 1, "google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet"
15
- optional :metric_visualization, :enum, 2, "google.monitoring.dashboard.v1.TimeSeriesTable.MetricVisualization"
16
- repeated :column_settings, :message, 4, "google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings"
17
- end
18
- add_message "google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet" do
19
- optional :time_series_query, :message, 1, "google.monitoring.dashboard.v1.TimeSeriesQuery"
20
- optional :table_template, :string, 2
21
- optional :min_alignment_period, :message, 3, "google.protobuf.Duration"
22
- optional :table_display_options, :message, 4, "google.monitoring.dashboard.v1.TableDisplayOptions"
23
- end
24
- add_message "google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings" do
25
- optional :column, :string, 1
26
- optional :visible, :bool, 2
27
- end
28
- add_enum "google.monitoring.dashboard.v1.TimeSeriesTable.MetricVisualization" do
29
- value :METRIC_VISUALIZATION_UNSPECIFIED, 0
30
- value :NUMBER, 1
31
- value :BAR, 2
12
+
13
+ descriptor_data = "\n*google/monitoring/dashboard/v1/table.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a,google/monitoring/dashboard/v1/metrics.proto\x1a:google/monitoring/dashboard/v1/table_display_options.proto\x1a\x1egoogle/protobuf/duration.proto\"\xd2\x05\n\x0fTimeSeriesTable\x12T\n\tdata_sets\x18\x01 \x03(\x0b\x32<.google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSetB\x03\xe0\x41\x02\x12\x66\n\x14metric_visualization\x18\x02 \x01(\x0e\x32\x43.google.monitoring.dashboard.v1.TimeSeriesTable.MetricVisualizationB\x03\xe0\x41\x01\x12\\\n\x0f\x63olumn_settings\x18\x04 \x03(\x0b\x32>.google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettingsB\x03\xe0\x41\x01\x1a\x93\x02\n\x0cTableDataSet\x12O\n\x11time_series_query\x18\x01 \x01(\x0b\x32/.google.monitoring.dashboard.v1.TimeSeriesQueryB\x03\xe0\x41\x02\x12\x1b\n\x0etable_template\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12<\n\x14min_alignment_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12W\n\x15table_display_options\x18\x04 \x01(\x0b\x32\x33.google.monitoring.dashboard.v1.TableDisplayOptionsB\x03\xe0\x41\x01\x1a;\n\x0e\x43olumnSettings\x12\x13\n\x06\x63olumn\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07visible\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02\"P\n\x13MetricVisualization\x12$\n METRIC_VISUALIZATION_UNSPECIFIED\x10\x00\x12\n\n\x06NUMBER\x10\x01\x12\x07\n\x03\x42\x41R\x10\x02\x42\xf3\x01\n\"com.google.monitoring.dashboard.v1B\nTableProtoP\x01ZFcloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb\xaa\x02$Google.Cloud.Monitoring.Dashboard.V1\xca\x02$Google\\Cloud\\Monitoring\\Dashboard\\V1\xea\x02(Google::Cloud::Monitoring::Dashboard::V1b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.monitoring.dashboard.v1.TimeSeriesQuery", "google/monitoring/dashboard/v1/metrics.proto"],
29
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
30
+ ["google.monitoring.dashboard.v1.TableDisplayOptions", "google/monitoring/dashboard/v1/table_display_options.proto"],
31
+ ]
32
+ imports.each do |type_name, expected_filename|
33
+ import_file = pool.lookup(type_name).file_descriptor
34
+ if import_file.name != expected_filename
35
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
32
36
  end
33
37
  end
38
+ warn "Each proto file must use a consistent fully-qualified name."
39
+ warn "This will become an error in the next major version."
34
40
  end
35
41
 
36
42
  module Google
@@ -1,20 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/monitoring/dashboard/v1/text.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/monitoring/dashboard/v1/text.proto", :syntax => :proto3) 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
7
+
8
+ descriptor_data = "\n)google/monitoring/dashboard/v1/text.proto\x12\x1egoogle.monitoring.dashboard.v1\"\x8d\x01\n\x04Text\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12;\n\x06\x66ormat\x18\x02 \x01(\x0e\x32+.google.monitoring.dashboard.v1.Text.Format\"7\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0c\n\x08MARKDOWN\x10\x01\x12\x07\n\x03RAW\x10\x02\x42\xf2\x01\n\"com.google.monitoring.dashboard.v1B\tTextProtoP\x01ZFcloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb\xaa\x02$Google.Cloud.Monitoring.Dashboard.V1\xca\x02$Google\\Cloud\\Monitoring\\Dashboard\\V1\xea\x02(Google::Cloud::Monitoring::Dashboard::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
16
28
  end
17
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
18
32
  end
19
33
 
20
34
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/monitoring/dashboard/v1/widget.proto
3
4
 
@@ -13,22 +14,39 @@ require 'google/monitoring/dashboard/v1/text_pb'
13
14
  require 'google/monitoring/dashboard/v1/xychart_pb'
14
15
  require 'google/protobuf/empty_pb'
15
16
 
16
- Google::Protobuf::DescriptorPool.generated_pool.build do
17
- add_file("google/monitoring/dashboard/v1/widget.proto", :syntax => :proto3) do
18
- add_message "google.monitoring.dashboard.v1.Widget" do
19
- optional :title, :string, 1
20
- oneof :content do
21
- optional :xy_chart, :message, 2, "google.monitoring.dashboard.v1.XyChart"
22
- optional :scorecard, :message, 3, "google.monitoring.dashboard.v1.Scorecard"
23
- optional :text, :message, 4, "google.monitoring.dashboard.v1.Text"
24
- optional :blank, :message, 5, "google.protobuf.Empty"
25
- optional :alert_chart, :message, 7, "google.monitoring.dashboard.v1.AlertChart"
26
- optional :time_series_table, :message, 8, "google.monitoring.dashboard.v1.TimeSeriesTable"
27
- optional :collapsible_group, :message, 9, "google.monitoring.dashboard.v1.CollapsibleGroup"
28
- optional :logs_panel, :message, 10, "google.monitoring.dashboard.v1.LogsPanel"
29
- end
17
+
18
+ descriptor_data = "\n+google/monitoring/dashboard/v1/widget.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a/google/monitoring/dashboard/v1/alertchart.proto\x1a\x36google/monitoring/dashboard/v1/collapsible_group.proto\x1a/google/monitoring/dashboard/v1/logs_panel.proto\x1a.google/monitoring/dashboard/v1/scorecard.proto\x1a*google/monitoring/dashboard/v1/table.proto\x1a)google/monitoring/dashboard/v1/text.proto\x1a,google/monitoring/dashboard/v1/xychart.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xa4\x04\n\x06Widget\x12\x12\n\x05title\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12;\n\x08xy_chart\x18\x02 \x01(\x0b\x32\'.google.monitoring.dashboard.v1.XyChartH\x00\x12>\n\tscorecard\x18\x03 \x01(\x0b\x32).google.monitoring.dashboard.v1.ScorecardH\x00\x12\x34\n\x04text\x18\x04 \x01(\x0b\x32$.google.monitoring.dashboard.v1.TextH\x00\x12\'\n\x05\x62lank\x18\x05 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x41\n\x0b\x61lert_chart\x18\x07 \x01(\x0b\x32*.google.monitoring.dashboard.v1.AlertChartH\x00\x12L\n\x11time_series_table\x18\x08 \x01(\x0b\x32/.google.monitoring.dashboard.v1.TimeSeriesTableH\x00\x12M\n\x11\x63ollapsible_group\x18\t \x01(\x0b\x32\x30.google.monitoring.dashboard.v1.CollapsibleGroupH\x00\x12?\n\nlogs_panel\x18\n \x01(\x0b\x32).google.monitoring.dashboard.v1.LogsPanelH\x00\x42\t\n\x07\x63ontentB\xf4\x01\n\"com.google.monitoring.dashboard.v1B\x0bWidgetProtoP\x01ZFcloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb\xaa\x02$Google.Cloud.Monitoring.Dashboard.V1\xca\x02$Google\\Cloud\\Monitoring\\Dashboard\\V1\xea\x02(Google::Cloud::Monitoring::Dashboard::V1b\x06proto3"
19
+
20
+ pool = Google::Protobuf::DescriptorPool.generated_pool
21
+
22
+ begin
23
+ pool.add_serialized_file(descriptor_data)
24
+ rescue TypeError => e
25
+ # Compatibility code: will be removed in the next major version.
26
+ require 'google/protobuf/descriptor_pb'
27
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
+ parsed.clear_dependency
29
+ serialized = parsed.class.encode(parsed)
30
+ file = pool.add_serialized_file(serialized)
31
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
+ imports = [
33
+ ["google.monitoring.dashboard.v1.XyChart", "google/monitoring/dashboard/v1/xychart.proto"],
34
+ ["google.monitoring.dashboard.v1.Scorecard", "google/monitoring/dashboard/v1/scorecard.proto"],
35
+ ["google.monitoring.dashboard.v1.Text", "google/monitoring/dashboard/v1/text.proto"],
36
+ ["google.protobuf.Empty", "google/protobuf/empty.proto"],
37
+ ["google.monitoring.dashboard.v1.AlertChart", "google/monitoring/dashboard/v1/alertchart.proto"],
38
+ ["google.monitoring.dashboard.v1.TimeSeriesTable", "google/monitoring/dashboard/v1/table.proto"],
39
+ ["google.monitoring.dashboard.v1.CollapsibleGroup", "google/monitoring/dashboard/v1/collapsible_group.proto"],
40
+ ["google.monitoring.dashboard.v1.LogsPanel", "google/monitoring/dashboard/v1/logs_panel.proto"],
41
+ ]
42
+ imports.each do |type_name, expected_filename|
43
+ import_file = pool.lookup(type_name).file_descriptor
44
+ if import_file.name != expected_filename
45
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
46
  end
31
47
  end
48
+ warn "Each proto file must use a consistent fully-qualified name."
49
+ warn "This will become an error in the next major version."
32
50
  end
33
51
 
34
52
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/monitoring/dashboard/v1/xychart.proto
3
4
 
@@ -7,55 +8,33 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/monitoring/dashboard/v1/metrics_pb'
8
9
  require 'google/protobuf/duration_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/monitoring/dashboard/v1/xychart.proto", :syntax => :proto3) do
12
- add_message "google.monitoring.dashboard.v1.XyChart" do
13
- repeated :data_sets, :message, 1, "google.monitoring.dashboard.v1.XyChart.DataSet"
14
- optional :timeshift_duration, :message, 4, "google.protobuf.Duration"
15
- repeated :thresholds, :message, 5, "google.monitoring.dashboard.v1.Threshold"
16
- optional :x_axis, :message, 6, "google.monitoring.dashboard.v1.XyChart.Axis"
17
- optional :y_axis, :message, 7, "google.monitoring.dashboard.v1.XyChart.Axis"
18
- optional :y2_axis, :message, 9, "google.monitoring.dashboard.v1.XyChart.Axis"
19
- optional :chart_options, :message, 8, "google.monitoring.dashboard.v1.ChartOptions"
20
- end
21
- add_message "google.monitoring.dashboard.v1.XyChart.DataSet" do
22
- optional :time_series_query, :message, 1, "google.monitoring.dashboard.v1.TimeSeriesQuery"
23
- optional :plot_type, :enum, 2, "google.monitoring.dashboard.v1.XyChart.DataSet.PlotType"
24
- optional :legend_template, :string, 3
25
- optional :min_alignment_period, :message, 4, "google.protobuf.Duration"
26
- optional :target_axis, :enum, 5, "google.monitoring.dashboard.v1.XyChart.DataSet.TargetAxis"
27
- end
28
- add_enum "google.monitoring.dashboard.v1.XyChart.DataSet.PlotType" do
29
- value :PLOT_TYPE_UNSPECIFIED, 0
30
- value :LINE, 1
31
- value :STACKED_AREA, 2
32
- value :STACKED_BAR, 3
33
- value :HEATMAP, 4
34
- end
35
- add_enum "google.monitoring.dashboard.v1.XyChart.DataSet.TargetAxis" do
36
- value :TARGET_AXIS_UNSPECIFIED, 0
37
- value :Y1, 1
38
- value :Y2, 2
39
- end
40
- add_message "google.monitoring.dashboard.v1.XyChart.Axis" do
41
- optional :label, :string, 1
42
- optional :scale, :enum, 2, "google.monitoring.dashboard.v1.XyChart.Axis.Scale"
43
- end
44
- add_enum "google.monitoring.dashboard.v1.XyChart.Axis.Scale" do
45
- value :SCALE_UNSPECIFIED, 0
46
- value :LINEAR, 1
47
- value :LOG10, 2
48
- end
49
- add_message "google.monitoring.dashboard.v1.ChartOptions" do
50
- optional :mode, :enum, 1, "google.monitoring.dashboard.v1.ChartOptions.Mode"
51
- end
52
- add_enum "google.monitoring.dashboard.v1.ChartOptions.Mode" do
53
- value :MODE_UNSPECIFIED, 0
54
- value :COLOR, 1
55
- value :X_RAY, 2
56
- value :STATS, 3
11
+
12
+ descriptor_data = "\n,google/monitoring/dashboard/v1/xychart.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a,google/monitoring/dashboard/v1/metrics.proto\x1a\x1egoogle/protobuf/duration.proto\"\xcd\x08\n\x07XyChart\x12G\n\tdata_sets\x18\x01 \x03(\x0b\x32/.google.monitoring.dashboard.v1.XyChart.DataSetB\x03\xe0\x41\x02\x12\x35\n\x12timeshift_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12=\n\nthresholds\x18\x05 \x03(\x0b\x32).google.monitoring.dashboard.v1.Threshold\x12<\n\x06x_axis\x18\x06 \x01(\x0b\x32,.google.monitoring.dashboard.v1.XyChart.Axis\x12<\n\x06y_axis\x18\x07 \x01(\x0b\x32,.google.monitoring.dashboard.v1.XyChart.Axis\x12=\n\x07y2_axis\x18\t \x01(\x0b\x32,.google.monitoring.dashboard.v1.XyChart.Axis\x12\x43\n\rchart_options\x18\x08 \x01(\x0b\x32,.google.monitoring.dashboard.v1.ChartOptions\x1a\xf0\x03\n\x07\x44\x61taSet\x12O\n\x11time_series_query\x18\x01 \x01(\x0b\x32/.google.monitoring.dashboard.v1.TimeSeriesQueryB\x03\xe0\x41\x02\x12K\n\tplot_type\x18\x02 \x01(\x0e\x32\x38.google.monitoring.dashboard.v1.XyChart.DataSet.PlotType\x12\x17\n\x0flegend_template\x18\x03 \x01(\t\x12<\n\x14min_alignment_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12T\n\x0btarget_axis\x18\x05 \x01(\x0e\x32:.google.monitoring.dashboard.v1.XyChart.DataSet.TargetAxisB\x03\xe0\x41\x01\"_\n\x08PlotType\x12\x19\n\x15PLOT_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04LINE\x10\x01\x12\x10\n\x0cSTACKED_AREA\x10\x02\x12\x0f\n\x0bSTACKED_BAR\x10\x03\x12\x0b\n\x07HEATMAP\x10\x04\"9\n\nTargetAxis\x12\x1b\n\x17TARGET_AXIS_UNSPECIFIED\x10\x00\x12\x06\n\x02Y1\x10\x01\x12\x06\n\x02Y2\x10\x02\x1a\x8f\x01\n\x04\x41xis\x12\r\n\x05label\x18\x01 \x01(\t\x12\x41\n\x05scale\x18\x02 \x01(\x0e\x32\x32.google.monitoring.dashboard.v1.XyChart.Axis.Scale\"5\n\x05Scale\x12\x15\n\x11SCALE_UNSPECIFIED\x10\x00\x12\n\n\x06LINEAR\x10\x01\x12\t\n\x05LOG10\x10\x02\"\x8e\x01\n\x0c\x43hartOptions\x12?\n\x04mode\x18\x01 \x01(\x0e\x32\x31.google.monitoring.dashboard.v1.ChartOptions.Mode\"=\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\t\n\x05\x43OLOR\x10\x01\x12\t\n\x05X_RAY\x10\x02\x12\t\n\x05STATS\x10\x03\x42\xf5\x01\n\"com.google.monitoring.dashboard.v1B\x0cXyChartProtoP\x01ZFcloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb\xaa\x02$Google.Cloud.Monitoring.Dashboard.V1\xca\x02$Google\\Cloud\\Monitoring\\Dashboard\\V1\xea\x02(Google::Cloud::Monitoring::Dashboard::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
28
+ ["google.monitoring.dashboard.v1.Threshold", "google/monitoring/dashboard/v1/metrics.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
57
34
  end
58
35
  end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
59
38
  end
60
39
 
61
40
  module Google
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -81,7 +83,7 @@ module Google
81
83
  # long-running operation pattern.
82
84
  # @!attribute [rw] new_issue_uri
83
85
  # @return [::String]
84
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
85
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
88
  # @!attribute [rw] documentation_uri
87
89
  # @return [::String]
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -299,6 +353,15 @@ module Google
299
353
 
300
354
  # Street View Org.
301
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
302
365
  end
303
366
 
304
367
  # To where should client libraries be published?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-monitoring-dashboard-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.12.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: 2023-01-12 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.16.0
19
+ version: 0.19.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.16.0
29
+ version: 0.19.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.26.1
53
+ version: 1.26.3
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.26.1
60
+ version: 1.26.3
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -176,6 +176,10 @@ files:
176
176
  - lib/google/cloud/monitoring/dashboard/v1/dashboards_service/client.rb
177
177
  - lib/google/cloud/monitoring/dashboard/v1/dashboards_service/credentials.rb
178
178
  - lib/google/cloud/monitoring/dashboard/v1/dashboards_service/paths.rb
179
+ - lib/google/cloud/monitoring/dashboard/v1/dashboards_service/rest.rb
180
+ - lib/google/cloud/monitoring/dashboard/v1/dashboards_service/rest/client.rb
181
+ - lib/google/cloud/monitoring/dashboard/v1/dashboards_service/rest/service_stub.rb
182
+ - lib/google/cloud/monitoring/dashboard/v1/rest.rb
179
183
  - lib/google/cloud/monitoring/dashboard/v1/version.rb
180
184
  - lib/google/monitoring/dashboard/v1/alertchart_pb.rb
181
185
  - lib/google/monitoring/dashboard/v1/collapsible_group_pb.rb
@@ -239,5 +243,5 @@ requirements: []
239
243
  rubygems_version: 3.4.2
240
244
  signing_key:
241
245
  specification_version: 4
242
- summary: API Client library for the Cloud Monitoring Dashboards V1 API
246
+ summary: Manages your Cloud Monitoring data and configurations.
243
247
  test_files: []