google-cloud-monitoring-dashboard-v1 0.14.2 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/client.rb +4 -3
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/rest/client.rb +4 -3
- data/lib/google/cloud/monitoring/dashboard/v1/version.rb +1 -1
- data/lib/google/monitoring/dashboard/v1/alertchart_pb.rb +1 -1
- data/lib/google/monitoring/dashboard/v1/common_pb.rb +3 -1
- data/lib/google/monitoring/dashboard/v1/dashboard_filter_pb.rb +1 -1
- data/lib/google/monitoring/dashboard/v1/dashboard_pb.rb +1 -1
- data/lib/google/monitoring/dashboard/v1/dashboards_service_pb.rb +1 -1
- data/lib/google/monitoring/dashboard/v1/error_reporting_panel_pb.rb +42 -0
- data/lib/google/monitoring/dashboard/v1/incident_list_pb.rb +48 -0
- data/lib/google/monitoring/dashboard/v1/metrics_pb.rb +1 -1
- data/lib/google/monitoring/dashboard/v1/piechart_pb.rb +52 -0
- data/lib/google/monitoring/dashboard/v1/scorecard_pb.rb +3 -1
- data/lib/google/monitoring/dashboard/v1/section_header_pb.rb +44 -0
- data/lib/google/monitoring/dashboard/v1/single_view_group_pb.rb +44 -0
- data/lib/google/monitoring/dashboard/v1/table_display_options_pb.rb +1 -1
- data/lib/google/monitoring/dashboard/v1/table_pb.rb +1 -1
- data/lib/google/monitoring/dashboard/v1/text_pb.rb +7 -1
- data/lib/google/monitoring/dashboard/v1/widget_pb.rb +11 -1
- data/lib/google/monitoring/dashboard/v1/xychart_pb.rb +1 -1
- data/proto_docs/google/api/label.rb +49 -0
- data/proto_docs/google/api/monitored_resource.rb +150 -0
- data/proto_docs/google/monitoring/dashboard/v1/common.rb +3 -0
- data/proto_docs/google/monitoring/dashboard/v1/dashboard.rb +1 -1
- data/proto_docs/google/monitoring/dashboard/v1/dashboards_service.rb +4 -3
- data/proto_docs/google/monitoring/dashboard/v1/error_reporting_panel.rb +55 -0
- data/proto_docs/google/monitoring/dashboard/v1/incident_list.rb +45 -0
- data/proto_docs/google/monitoring/dashboard/v1/metrics.rb +9 -0
- data/proto_docs/google/monitoring/dashboard/v1/piechart.rb +80 -0
- data/proto_docs/google/monitoring/dashboard/v1/scorecard.rb +4 -0
- data/proto_docs/google/monitoring/dashboard/v1/section_header.rb +41 -0
- data/proto_docs/google/monitoring/dashboard/v1/single_view_group.rb +36 -0
- data/proto_docs/google/monitoring/dashboard/v1/text.rb +146 -0
- data/proto_docs/google/monitoring/dashboard/v1/widget.rb +20 -0
- data/proto_docs/google/monitoring/dashboard/v1/xychart.rb +5 -5
- data/proto_docs/google/protobuf/struct.rb +96 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/type/interval.rb +45 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47022abc818cfcb7637eee9f87650c67c97c83b5643be23464657bb5f0c4ec75
|
4
|
+
data.tar.gz: 3a806b704e4d8ec0293f1eb4f36171d07946091f4aab215f8defef3049cba40c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c228d19e7020c04d3076220bcd0e5cada21eaeed47fe13636b1568320413342b5500c8445be7c678cca65a8f6c80a3241c83e4fe31fde5c70a8eb46baea88944
|
7
|
+
data.tar.gz: 2a2e29ea35a9015145b4cb288820890c8989e6196516469c96a99b9cb28994bb90816ce02c10217963a20192a2050afb8af02b5613a8358ddbf549b5ab6d28ab
|
@@ -302,9 +302,10 @@ module Google
|
|
302
302
|
# A positive number that is the maximum number of results to return.
|
303
303
|
# If unspecified, a default of 1000 is used.
|
304
304
|
# @param page_token [::String]
|
305
|
-
# If this field is not empty then it must contain the
|
306
|
-
# returned by a previous call to this method. Using
|
307
|
-
# method to return additional results from the previous
|
305
|
+
# Optional. If this field is not empty then it must contain the
|
306
|
+
# `nextPageToken` value returned by a previous call to this method. Using
|
307
|
+
# this field causes the method to return additional results from the previous
|
308
|
+
# method call.
|
308
309
|
#
|
309
310
|
# @yield [response, operation] Access the result along with the RPC operation
|
310
311
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Monitoring::Dashboard::V1::Dashboard>]
|
@@ -288,9 +288,10 @@ module Google
|
|
288
288
|
# A positive number that is the maximum number of results to return.
|
289
289
|
# If unspecified, a default of 1000 is used.
|
290
290
|
# @param page_token [::String]
|
291
|
-
# If this field is not empty then it must contain the
|
292
|
-
# returned by a previous call to this method. Using
|
293
|
-
# method to return additional results from the previous
|
291
|
+
# Optional. If this field is not empty then it must contain the
|
292
|
+
# `nextPageToken` value returned by a previous call to this method. Using
|
293
|
+
# this field causes the method to return additional results from the previous
|
294
|
+
# method call.
|
294
295
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
295
296
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Monitoring::Dashboard::V1::Dashboard>]
|
296
297
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n/google/monitoring/dashboard/v1/alertchart.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"
|
11
|
+
descriptor_data = "\n/google/monitoring/dashboard/v1/alertchart.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"|\n\nAlertChart\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02:[\xea\x41X\n%monitoring.googleapis.com/AlertPolicy\x12/projects/{project}/alertPolicies/{alert_policy}B\xf8\x01\n\"com.google.monitoring.dashboard.v1B\x0f\x41lertChartProtoP\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"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -5,9 +5,10 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
require 'google/protobuf/duration_pb'
|
8
|
+
require 'google/type/interval_pb'
|
8
9
|
|
9
10
|
|
10
|
-
descriptor_data = "\n+google/monitoring/dashboard/v1/common.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1egoogle/protobuf/duration.proto\"\xc1\x07\n\x0b\x41ggregation\x12\x33\n\x10\x61lignment_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12O\n\x12per_series_aligner\x18\x02 \x01(\x0e\x32\x33.google.monitoring.dashboard.v1.Aggregation.Aligner\x12Q\n\x14\x63ross_series_reducer\x18\x04 \x01(\x0e\x32\x33.google.monitoring.dashboard.v1.Aggregation.Reducer\x12\x17\n\x0fgroup_by_fields\x18\x05 \x03(\t\"\x8b\x03\n\x07\x41ligner\x12\x0e\n\nALIGN_NONE\x10\x00\x12\x0f\n\x0b\x41LIGN_DELTA\x10\x01\x12\x0e\n\nALIGN_RATE\x10\x02\x12\x15\n\x11\x41LIGN_INTERPOLATE\x10\x03\x12\x14\n\x10\x41LIGN_NEXT_OLDER\x10\x04\x12\r\n\tALIGN_MIN\x10\n\x12\r\n\tALIGN_MAX\x10\x0b\x12\x0e\n\nALIGN_MEAN\x10\x0c\x12\x0f\n\x0b\x41LIGN_COUNT\x10\r\x12\r\n\tALIGN_SUM\x10\x0e\x12\x10\n\x0c\x41LIGN_STDDEV\x10\x0f\x12\x14\n\x10\x41LIGN_COUNT_TRUE\x10\x10\x12\x15\n\x11\x41LIGN_COUNT_FALSE\x10\x18\x12\x17\n\x13\x41LIGN_FRACTION_TRUE\x10\x11\x12\x17\n\x13\x41LIGN_PERCENTILE_99\x10\x12\x12\x17\n\x13\x41LIGN_PERCENTILE_95\x10\x13\x12\x17\n\x13\x41LIGN_PERCENTILE_50\x10\x14\x12\x17\n\x13\x41LIGN_PERCENTILE_05\x10\x15\x12\x18\n\x14\x41LIGN_PERCENT_CHANGE\x10\x17\"\xb1\x02\n\x07Reducer\x12\x0f\n\x0bREDUCE_NONE\x10\x00\x12\x0f\n\x0bREDUCE_MEAN\x10\x01\x12\x0e\n\nREDUCE_MIN\x10\x02\x12\x0e\n\nREDUCE_MAX\x10\x03\x12\x0e\n\nREDUCE_SUM\x10\x04\x12\x11\n\rREDUCE_STDDEV\x10\x05\x12\x10\n\x0cREDUCE_COUNT\x10\x06\x12\x15\n\x11REDUCE_COUNT_TRUE\x10\x07\x12\x16\n\x12REDUCE_COUNT_FALSE\x10\x0f\x12\x18\n\x14REDUCE_FRACTION_TRUE\x10\x08\x12\x18\n\x14REDUCE_PERCENTILE_99\x10\t\x12\x18\n\x14REDUCE_PERCENTILE_95\x10\n\x12\x18\n\x14REDUCE_PERCENTILE_50\x10\x0b\x12\x18\n\x14REDUCE_PERCENTILE_05\x10\x0c\"\
|
11
|
+
descriptor_data = "\n+google/monitoring/dashboard/v1/common.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1agoogle/type/interval.proto\"\xc1\x07\n\x0b\x41ggregation\x12\x33\n\x10\x61lignment_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12O\n\x12per_series_aligner\x18\x02 \x01(\x0e\x32\x33.google.monitoring.dashboard.v1.Aggregation.Aligner\x12Q\n\x14\x63ross_series_reducer\x18\x04 \x01(\x0e\x32\x33.google.monitoring.dashboard.v1.Aggregation.Reducer\x12\x17\n\x0fgroup_by_fields\x18\x05 \x03(\t\"\x8b\x03\n\x07\x41ligner\x12\x0e\n\nALIGN_NONE\x10\x00\x12\x0f\n\x0b\x41LIGN_DELTA\x10\x01\x12\x0e\n\nALIGN_RATE\x10\x02\x12\x15\n\x11\x41LIGN_INTERPOLATE\x10\x03\x12\x14\n\x10\x41LIGN_NEXT_OLDER\x10\x04\x12\r\n\tALIGN_MIN\x10\n\x12\r\n\tALIGN_MAX\x10\x0b\x12\x0e\n\nALIGN_MEAN\x10\x0c\x12\x0f\n\x0b\x41LIGN_COUNT\x10\r\x12\r\n\tALIGN_SUM\x10\x0e\x12\x10\n\x0c\x41LIGN_STDDEV\x10\x0f\x12\x14\n\x10\x41LIGN_COUNT_TRUE\x10\x10\x12\x15\n\x11\x41LIGN_COUNT_FALSE\x10\x18\x12\x17\n\x13\x41LIGN_FRACTION_TRUE\x10\x11\x12\x17\n\x13\x41LIGN_PERCENTILE_99\x10\x12\x12\x17\n\x13\x41LIGN_PERCENTILE_95\x10\x13\x12\x17\n\x13\x41LIGN_PERCENTILE_50\x10\x14\x12\x17\n\x13\x41LIGN_PERCENTILE_05\x10\x15\x12\x18\n\x14\x41LIGN_PERCENT_CHANGE\x10\x17\"\xb1\x02\n\x07Reducer\x12\x0f\n\x0bREDUCE_NONE\x10\x00\x12\x0f\n\x0bREDUCE_MEAN\x10\x01\x12\x0e\n\nREDUCE_MIN\x10\x02\x12\x0e\n\nREDUCE_MAX\x10\x03\x12\x0e\n\nREDUCE_SUM\x10\x04\x12\x11\n\rREDUCE_STDDEV\x10\x05\x12\x10\n\x0cREDUCE_COUNT\x10\x06\x12\x15\n\x11REDUCE_COUNT_TRUE\x10\x07\x12\x16\n\x12REDUCE_COUNT_FALSE\x10\x0f\x12\x18\n\x14REDUCE_FRACTION_TRUE\x10\x08\x12\x18\n\x14REDUCE_PERCENTILE_99\x10\t\x12\x18\n\x14REDUCE_PERCENTILE_95\x10\n\x12\x18\n\x14REDUCE_PERCENTILE_50\x10\x0b\x12\x18\n\x14REDUCE_PERCENTILE_05\x10\x0c\"\xb3\x03\n\x14PickTimeSeriesFilter\x12S\n\x0eranking_method\x18\x01 \x01(\x0e\x32;.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Method\x12\x17\n\x0fnum_time_series\x18\x02 \x01(\x05\x12Q\n\tdirection\x18\x03 \x01(\x0e\x32>.google.monitoring.dashboard.v1.PickTimeSeriesFilter.Direction\x12\'\n\x08interval\x18\x04 \x01(\x0b\x32\x15.google.type.Interval\"t\n\x06Method\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\x0f\n\x0bMETHOD_MEAN\x10\x01\x12\x0e\n\nMETHOD_MAX\x10\x02\x12\x0e\n\nMETHOD_MIN\x10\x03\x12\x0e\n\nMETHOD_SUM\x10\x04\x12\x11\n\rMETHOD_LATEST\x10\x05\";\n\tDirection\x12\x19\n\x15\x44IRECTION_UNSPECIFIED\x10\x00\x12\x07\n\x03TOP\x10\x01\x12\n\n\x06\x42OTTOM\x10\x02\"\xd0\x01\n\x1bStatisticalTimeSeriesFilter\x12Z\n\x0eranking_method\x18\x01 \x01(\x0e\x32\x42.google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter.Method\x12\x17\n\x0fnum_time_series\x18\x02 \x01(\x05\"<\n\x06Method\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\x1a\n\x16METHOD_CLUSTER_OUTLIER\x10\x01\x42\xf4\x01\n\"com.google.monitoring.dashboard.v1B\x0b\x43ommonProtoP\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
|
|
12
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
14
|
|
@@ -23,6 +24,7 @@ rescue TypeError
|
|
23
24
|
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
25
|
imports = [
|
25
26
|
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
27
|
+
["google.type.Interval", "google/type/interval.proto"],
|
26
28
|
]
|
27
29
|
imports.each do |type_name, expected_filename|
|
28
30
|
import_file = pool.lookup(type_name).file_descriptor
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n5google/monitoring/dashboard/v1/dashboard_filter.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\"\
|
10
|
+
descriptor_data = "\n5google/monitoring/dashboard/v1/dashboard_filter.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xcf\x02\n\x0f\x44\x61shboardFilter\x12\x16\n\tlabel_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x11template_variable\x18\x03 \x01(\t\x12\x16\n\x0cstring_value\x18\x04 \x01(\tH\x00\x12O\n\x0b\x66ilter_type\x18\x05 \x01(\x0e\x32:.google.monitoring.dashboard.v1.DashboardFilter.FilterType\"\x8e\x01\n\nFilterType\x12\x1b\n\x17\x46ILTER_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eRESOURCE_LABEL\x10\x01\x12\x10\n\x0cMETRIC_LABEL\x10\x02\x12\x17\n\x13USER_METADATA_LABEL\x10\x03\x12\x19\n\x15SYSTEM_METADATA_LABEL\x10\x04\x12\t\n\x05GROUP\x10\x05\x42\x0f\n\rdefault_valueB\xfd\x01\n\"com.google.monitoring.dashboard.v1B\x14\x44\x61shboardFilterProtoP\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
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -10,7 +10,7 @@ require 'google/monitoring/dashboard/v1/dashboard_filter_pb'
|
|
10
10
|
require 'google/monitoring/dashboard/v1/layouts_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n.google/monitoring/dashboard/v1/dashboard.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/monitoring/dashboard/v1/dashboard_filter.proto\x1a,google/monitoring/dashboard/v1/layouts.proto\"\
|
13
|
+
descriptor_data = "\n.google/monitoring/dashboard/v1/dashboard.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/monitoring/dashboard/v1/dashboard_filter.proto\x1a,google/monitoring/dashboard/v1/layouts.proto\"\xfa\x04\n\tDashboard\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\x12\x41\n\x0bgrid_layout\x18\x05 \x01(\x0b\x32*.google.monitoring.dashboard.v1.GridLayoutH\x00\x12\x45\n\rmosaic_layout\x18\x06 \x01(\x0b\x32,.google.monitoring.dashboard.v1.MosaicLayoutH\x00\x12?\n\nrow_layout\x18\x08 \x01(\x0b\x32).google.monitoring.dashboard.v1.RowLayoutH\x00\x12\x45\n\rcolumn_layout\x18\t \x01(\x0b\x32,.google.monitoring.dashboard.v1.ColumnLayoutH\x00\x12J\n\x11\x64\x61shboard_filters\x18\x0b \x03(\x0b\x32/.google.monitoring.dashboard.v1.DashboardFilter\x12\x45\n\x06labels\x18\x0c \x03(\x0b\x32\x35.google.monitoring.dashboard.v1.Dashboard.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:S\xea\x41P\n#monitoring.googleapis.com/Dashboard\x12)projects/{project}/dashboards/{dashboard}B\x08\n\x06layoutB\xf8\x01\n\"com.google.monitoring.dashboard.v1B\x0f\x44\x61shboardsProtoP\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
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -12,7 +12,7 @@ require 'google/monitoring/dashboard/v1/dashboard_pb'
|
|
12
12
|
require 'google/protobuf/empty_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n7google/monitoring/dashboard/v1/dashboards_service.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/monitoring/dashboard/v1/dashboard.proto\x1a\x1bgoogle/protobuf/empty.proto\"\
|
15
|
+
descriptor_data = "\n7google/monitoring/dashboard/v1/dashboards_service.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/monitoring/dashboard/v1/dashboard.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xb7\x01\n\x16\x43reateDashboardRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x41\n\tdashboard\x18\x02 \x01(\x0b\x32).google.monitoring.dashboard.v1.DashboardB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"\x88\x01\n\x15ListDashboardsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"p\n\x16ListDashboardsResponse\x12=\n\ndashboards\x18\x01 \x03(\x0b\x32).google.monitoring.dashboard.v1.Dashboard\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"P\n\x13GetDashboardRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#monitoring.googleapis.com/Dashboard\"S\n\x16\x44\x65leteDashboardRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#monitoring.googleapis.com/Dashboard\"r\n\x16UpdateDashboardRequest\x12\x41\n\tdashboard\x18\x01 \x01(\x0b\x32).google.monitoring.dashboard.v1.DashboardB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x32\xdb\x08\n\x11\x44\x61shboardsService\x12\xbe\x01\n\x0f\x43reateDashboard\x12\x36.google.monitoring.dashboard.v1.CreateDashboardRequest\x1a).google.monitoring.dashboard.v1.Dashboard\"H\xda\x41\x10parent,dashboard\x82\xd3\xe4\x93\x02/\"\"/v1/{parent=projects/*}/dashboards:\tdashboard\x12\xb4\x01\n\x0eListDashboards\x12\x35.google.monitoring.dashboard.v1.ListDashboardsRequest\x1a\x36.google.monitoring.dashboard.v1.ListDashboardsResponse\"3\xda\x41\x06parent\x82\xd3\xe4\x93\x02$\x12\"/v1/{parent=projects/*}/dashboards\x12\xa1\x01\n\x0cGetDashboard\x12\x33.google.monitoring.dashboard.v1.GetDashboardRequest\x1a).google.monitoring.dashboard.v1.Dashboard\"1\xda\x41\x04name\x82\xd3\xe4\x93\x02$\x12\"/v1/{name=projects/*/dashboards/*}\x12\x94\x01\n\x0f\x44\x65leteDashboard\x12\x36.google.monitoring.dashboard.v1.DeleteDashboardRequest\x1a\x16.google.protobuf.Empty\"1\xda\x41\x04name\x82\xd3\xe4\x93\x02$*\"/v1/{name=projects/*/dashboards/*}\x12\xb5\x01\n\x0fUpdateDashboard\x12\x36.google.monitoring.dashboard.v1.UpdateDashboardRequest\x1a).google.monitoring.dashboard.v1.Dashboard\"?\x82\xd3\xe4\x93\x02\x39\x32,/v1/{dashboard.name=projects/*/dashboards/*}:\tdashboard\x1a\xda\x01\xca\x41\x19monitoring.googleapis.com\xd2\x41\xba\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/monitoring,https://www.googleapis.com/auth/monitoring.read,https://www.googleapis.com/auth/monitoring.writeB\xff\x01\n\"com.google.monitoring.dashboard.v1B\x16\x44\x61shboardsServiceProtoP\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"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/monitoring/dashboard/v1/error_reporting_panel.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n:google/monitoring/dashboard/v1/error_reporting_panel.proto\x12\x1egoogle.monitoring.dashboard.v1\"P\n\x13\x45rrorReportingPanel\x12\x15\n\rproject_names\x18\x01 \x03(\t\x12\x10\n\x08services\x18\x02 \x03(\t\x12\x10\n\x08versions\x18\x03 \x03(\tB\xd6\x01\n\"com.google.monitoring.dashboard.v1B\x18\x45rrorReportingPanelProtoP\x01ZFcloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb\xaa\x02$Google.Cloud.Monitoring.Dashboard.V1\xca\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
|
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
|
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."
|
32
|
+
end
|
33
|
+
|
34
|
+
module Google
|
35
|
+
module Monitoring
|
36
|
+
module Dashboard
|
37
|
+
module V1
|
38
|
+
ErrorReportingPanel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.ErrorReportingPanel").msgclass
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/monitoring/dashboard/v1/incident_list.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/monitored_resource_pb'
|
9
|
+
|
10
|
+
|
11
|
+
descriptor_data = "\n2google/monitoring/dashboard/v1/incident_list.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a#google/api/monitored_resource.proto\"j\n\x0cIncidentList\x12?\n\x13monitored_resources\x18\x01 \x03(\x0b\x32\x1d.google.api.MonitoredResourceB\x03\xe0\x41\x01\x12\x19\n\x0cpolicy_names\x18\x02 \x03(\tB\x03\xe0\x41\x01\x42\xfa\x01\n\"com.google.monitoring.dashboard.v1B\x11IncidentListProtoP\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"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
["google.api.MonitoredResource", "google/api/monitored_resource.proto"],
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
36
|
+
end
|
37
|
+
|
38
|
+
module Google
|
39
|
+
module Cloud
|
40
|
+
module Monitoring
|
41
|
+
module Dashboard
|
42
|
+
module V1
|
43
|
+
IncidentList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.IncidentList").msgclass
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/monitoring/dashboard/v1/common_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n,google/monitoring/dashboard/v1/metrics.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a+google/monitoring/dashboard/v1/common.proto\"\
|
11
|
+
descriptor_data = "\n,google/monitoring/dashboard/v1/metrics.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a+google/monitoring/dashboard/v1/common.proto\"\xc2\x02\n\x0fTimeSeriesQuery\x12N\n\x12time_series_filter\x18\x01 \x01(\x0b\x32\x30.google.monitoring.dashboard.v1.TimeSeriesFilterH\x00\x12Y\n\x18time_series_filter_ratio\x18\x02 \x01(\x0b\x32\x35.google.monitoring.dashboard.v1.TimeSeriesFilterRatioH\x00\x12$\n\x1atime_series_query_language\x18\x03 \x01(\tH\x00\x12\x1a\n\x10prometheus_query\x18\x06 \x01(\tH\x00\x12\x15\n\runit_override\x18\x05 \x01(\t\x12!\n\x14output_full_duration\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x42\x08\n\x06source\"\x8a\x03\n\x10TimeSeriesFilter\x12\x13\n\x06\x66ilter\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12@\n\x0b\x61ggregation\x18\x02 \x01(\x0b\x32+.google.monitoring.dashboard.v1.Aggregation\x12J\n\x15secondary_aggregation\x18\x03 \x01(\x0b\x32+.google.monitoring.dashboard.v1.Aggregation\x12W\n\x17pick_time_series_filter\x18\x04 \x01(\x0b\x32\x34.google.monitoring.dashboard.v1.PickTimeSeriesFilterH\x00\x12i\n\x1estatistical_time_series_filter\x18\x05 \x01(\x0b\x32;.google.monitoring.dashboard.v1.StatisticalTimeSeriesFilterB\x02\x18\x01H\x00\x42\x0f\n\routput_filter\"\xc6\x04\n\x15TimeSeriesFilterRatio\x12R\n\tnumerator\x18\x01 \x01(\x0b\x32?.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart\x12T\n\x0b\x64\x65nominator\x18\x02 \x01(\x0b\x32?.google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart\x12J\n\x15secondary_aggregation\x18\x03 \x01(\x0b\x32+.google.monitoring.dashboard.v1.Aggregation\x12W\n\x17pick_time_series_filter\x18\x04 \x01(\x0b\x32\x34.google.monitoring.dashboard.v1.PickTimeSeriesFilterH\x00\x12i\n\x1estatistical_time_series_filter\x18\x05 \x01(\x0b\x32;.google.monitoring.dashboard.v1.StatisticalTimeSeriesFilterB\x02\x18\x01H\x00\x1a\x62\n\tRatioPart\x12\x13\n\x06\x66ilter\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12@\n\x0b\x61ggregation\x18\x02 \x01(\x0b\x32+.google.monitoring.dashboard.v1.AggregationB\x0f\n\routput_filter\"\xaa\x03\n\tThreshold\x12\r\n\x05label\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01\x12>\n\x05\x63olor\x18\x03 \x01(\x0e\x32/.google.monitoring.dashboard.v1.Threshold.Color\x12\x46\n\tdirection\x18\x04 \x01(\x0e\x32\x33.google.monitoring.dashboard.v1.Threshold.Direction\x12I\n\x0btarget_axis\x18\x05 \x01(\x0e\x32\x34.google.monitoring.dashboard.v1.Threshold.TargetAxis\"3\n\x05\x43olor\x12\x15\n\x11\x43OLOR_UNSPECIFIED\x10\x00\x12\n\n\x06YELLOW\x10\x04\x12\x07\n\x03RED\x10\x06\"<\n\tDirection\x12\x19\n\x15\x44IRECTION_UNSPECIFIED\x10\x00\x12\t\n\x05\x41\x42OVE\x10\x01\x12\t\n\x05\x42\x45LOW\x10\x02\"9\n\nTargetAxis\x12\x1b\n\x17TARGET_AXIS_UNSPECIFIED\x10\x00\x12\x06\n\x02Y1\x10\x01\x12\x06\n\x02Y2\x10\x02*Q\n\x0eSparkChartType\x12 \n\x1cSPARK_CHART_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nSPARK_LINE\x10\x01\x12\r\n\tSPARK_BAR\x10\x02\x42\xf5\x01\n\"com.google.monitoring.dashboard.v1B\x0cMetricsProtoP\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"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/monitoring/dashboard/v1/piechart.proto
|
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
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n-google/monitoring/dashboard/v1/piechart.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a,google/monitoring/dashboard/v1/metrics.proto\x1a\x1egoogle/protobuf/duration.proto\"\xcf\x03\n\x08PieChart\x12P\n\tdata_sets\x18\x01 \x03(\x0b\x32\x38.google.monitoring.dashboard.v1.PieChart.PieChartDataSetB\x03\xe0\x41\x02\x12N\n\nchart_type\x18\x02 \x01(\x0e\x32\x35.google.monitoring.dashboard.v1.PieChart.PieChartTypeB\x03\xe0\x41\x02\x12\x18\n\x0bshow_labels\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xc2\x01\n\x0fPieChartDataSet\x12O\n\x11time_series_query\x18\x01 \x01(\x0b\x32/.google.monitoring.dashboard.v1.TimeSeriesQueryB\x03\xe0\x41\x02\x12 \n\x13slice_name_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\"B\n\x0cPieChartType\x12\x1e\n\x1aPIE_CHART_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03PIE\x10\x01\x12\t\n\x05\x44ONUT\x10\x02\x42\xf6\x01\n\"com.google.monitoring.dashboard.v1B\rPieChartProtoP\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
|
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.monitoring.dashboard.v1.TimeSeriesQuery", "google/monitoring/dashboard/v1/metrics.proto"],
|
28
|
+
["google.protobuf.Duration", "google/protobuf/duration.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}"
|
34
|
+
end
|
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."
|
38
|
+
end
|
39
|
+
|
40
|
+
module Google
|
41
|
+
module Cloud
|
42
|
+
module Monitoring
|
43
|
+
module Dashboard
|
44
|
+
module V1
|
45
|
+
PieChart = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.PieChart").msgclass
|
46
|
+
PieChart::PieChartDataSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.PieChart.PieChartDataSet").msgclass
|
47
|
+
PieChart::PieChartType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.PieChart.PieChartType").enummodule
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -7,9 +7,10 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
require 'google/monitoring/dashboard/v1/metrics_pb'
|
9
9
|
require 'google/protobuf/duration_pb'
|
10
|
+
require 'google/protobuf/empty_pb'
|
10
11
|
|
11
12
|
|
12
|
-
descriptor_data = "\n.google/monitoring/dashboard/v1/scorecard.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a,google/monitoring/dashboard/v1/metrics.proto\x1a\x1egoogle/protobuf/duration.proto\"\
|
13
|
+
descriptor_data = "\n.google/monitoring/dashboard/v1/scorecard.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a,google/monitoring/dashboard/v1/metrics.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xc9\x04\n\tScorecard\x12O\n\x11time_series_query\x18\x01 \x01(\x0b\x32/.google.monitoring.dashboard.v1.TimeSeriesQueryB\x03\xe0\x41\x02\x12I\n\ngauge_view\x18\x04 \x01(\x0b\x32\x33.google.monitoring.dashboard.v1.Scorecard.GaugeViewH\x00\x12T\n\x10spark_chart_view\x18\x05 \x01(\x0b\x32\x38.google.monitoring.dashboard.v1.Scorecard.SparkChartViewH\x00\x12,\n\nblank_view\x18\x07 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12=\n\nthresholds\x18\x06 \x03(\x0b\x32).google.monitoring.dashboard.v1.Threshold\x1a\x35\n\tGaugeView\x12\x13\n\x0blower_bound\x18\x01 \x01(\x01\x12\x13\n\x0bupper_bound\x18\x02 \x01(\x01\x1a\x98\x01\n\x0eSparkChartView\x12M\n\x10spark_chart_type\x18\x01 \x01(\x0e\x32..google.monitoring.dashboard.v1.SparkChartTypeB\x03\xe0\x41\x02\x12\x37\n\x14min_alignment_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x0b\n\tdata_viewB\xf7\x01\n\"com.google.monitoring.dashboard.v1B\x0eScorecardProtoP\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
|
|
14
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
16
|
|
@@ -25,6 +26,7 @@ rescue TypeError
|
|
25
26
|
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
27
|
imports = [
|
27
28
|
["google.monitoring.dashboard.v1.TimeSeriesQuery", "google/monitoring/dashboard/v1/metrics.proto"],
|
29
|
+
["google.protobuf.Empty", "google/protobuf/empty.proto"],
|
28
30
|
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
29
31
|
]
|
30
32
|
imports.each do |type_name, expected_filename|
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/monitoring/dashboard/v1/section_header.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n3google/monitoring/dashboard/v1/section_header.proto\x12\x1egoogle.monitoring.dashboard.v1\"8\n\rSectionHeader\x12\x10\n\x08subtitle\x18\x01 \x01(\t\x12\x15\n\rdivider_below\x18\x02 \x01(\x08\x42\xfb\x01\n\"com.google.monitoring.dashboard.v1B\x12SectionHeaderProtoP\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
|
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
|
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."
|
32
|
+
end
|
33
|
+
|
34
|
+
module Google
|
35
|
+
module Cloud
|
36
|
+
module Monitoring
|
37
|
+
module Dashboard
|
38
|
+
module V1
|
39
|
+
SectionHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.SectionHeader").msgclass
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/monitoring/dashboard/v1/single_view_group.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n6google/monitoring/dashboard/v1/single_view_group.proto\x12\x1egoogle.monitoring.dashboard.v1\"\x11\n\x0fSingleViewGroupB\xfd\x01\n\"com.google.monitoring.dashboard.v1B\x14SingleViewGroupProtoP\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
|
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
|
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."
|
32
|
+
end
|
33
|
+
|
34
|
+
module Google
|
35
|
+
module Cloud
|
36
|
+
module Monitoring
|
37
|
+
module Dashboard
|
38
|
+
module V1
|
39
|
+
SingleViewGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.SingleViewGroup").msgclass
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n:google/monitoring/dashboard/v1/table_display_options.proto\x12\x1egoogle.monitoring.dashboard.v1\x1a\x1fgoogle/api/field_behavior.proto\"
|
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
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -10,7 +10,7 @@ require 'google/monitoring/dashboard/v1/table_display_options_pb'
|
|
10
10
|
require 'google/protobuf/duration_pb'
|
11
11
|
|
12
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\"\
|
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
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
|
8
|
-
descriptor_data = "\n)google/monitoring/dashboard/v1/text.proto\x12\x1egoogle.monitoring.dashboard.v1\"\
|
8
|
+
descriptor_data = "\n)google/monitoring/dashboard/v1/text.proto\x12\x1egoogle.monitoring.dashboard.v1\"\xf8\n\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\x12=\n\x05style\x18\x03 \x01(\x0b\x32..google.monitoring.dashboard.v1.Text.TextStyle\x1a\xa9\t\n\tTextStyle\x12\x18\n\x10\x62\x61\x63kground_color\x18\x01 \x01(\t\x12\x12\n\ntext_color\x18\x02 \x01(\t\x12`\n\x14horizontal_alignment\x18\x03 \x01(\x0e\x32\x42.google.monitoring.dashboard.v1.Text.TextStyle.HorizontalAlignment\x12\\\n\x12vertical_alignment\x18\x04 \x01(\x0e\x32@.google.monitoring.dashboard.v1.Text.TextStyle.VerticalAlignment\x12K\n\x07padding\x18\x05 \x01(\x0e\x32:.google.monitoring.dashboard.v1.Text.TextStyle.PaddingSize\x12J\n\tfont_size\x18\x06 \x01(\x0e\x32\x37.google.monitoring.dashboard.v1.Text.TextStyle.FontSize\x12X\n\x10pointer_location\x18\x07 \x01(\x0e\x32>.google.monitoring.dashboard.v1.Text.TextStyle.PointerLocation\"b\n\x13HorizontalAlignment\x12$\n HORIZONTAL_ALIGNMENT_UNSPECIFIED\x10\x00\x12\n\n\x06H_LEFT\x10\x01\x12\x0c\n\x08H_CENTER\x10\x02\x12\x0b\n\x07H_RIGHT\x10\x03\"^\n\x11VerticalAlignment\x12\"\n\x1eVERTICAL_ALIGNMENT_UNSPECIFIED\x10\x00\x12\t\n\x05V_TOP\x10\x01\x12\x0c\n\x08V_CENTER\x10\x02\x12\x0c\n\x08V_BOTTOM\x10\x03\"y\n\x0bPaddingSize\x12\x1c\n\x18PADDING_SIZE_UNSPECIFIED\x10\x00\x12\x11\n\rP_EXTRA_SMALL\x10\x01\x12\x0b\n\x07P_SMALL\x10\x02\x12\x0c\n\x08P_MEDIUM\x10\x03\x12\x0b\n\x07P_LARGE\x10\x04\x12\x11\n\rP_EXTRA_LARGE\x10\x05\"x\n\x08\x46ontSize\x12\x19\n\x15\x46ONT_SIZE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x46S_EXTRA_SMALL\x10\x01\x12\x0c\n\x08\x46S_SMALL\x10\x02\x12\r\n\tFS_MEDIUM\x10\x03\x12\x0c\n\x08\x46S_LARGE\x10\x04\x12\x12\n\x0e\x46S_EXTRA_LARGE\x10\x05\"\x81\x02\n\x0fPointerLocation\x12 \n\x1cPOINTER_LOCATION_UNSPECIFIED\x10\x00\x12\n\n\x06PL_TOP\x10\x01\x12\x0c\n\x08PL_RIGHT\x10\x02\x12\r\n\tPL_BOTTOM\x10\x03\x12\x0b\n\x07PL_LEFT\x10\x04\x12\x0f\n\x0bPL_TOP_LEFT\x10\x05\x12\x10\n\x0cPL_TOP_RIGHT\x10\x06\x12\x10\n\x0cPL_RIGHT_TOP\x10\x07\x12\x13\n\x0fPL_RIGHT_BOTTOM\x10\x08\x12\x13\n\x0fPL_BOTTOM_RIGHT\x10\t\x12\x12\n\x0ePL_BOTTOM_LEFT\x10\n\x12\x12\n\x0ePL_LEFT_BOTTOM\x10\x0b\x12\x0f\n\x0bPL_LEFT_TOP\x10\x0c\"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
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
11
|
|
@@ -37,6 +37,12 @@ module Google
|
|
37
37
|
module Dashboard
|
38
38
|
module V1
|
39
39
|
Text = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text").msgclass
|
40
|
+
Text::TextStyle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.TextStyle").msgclass
|
41
|
+
Text::TextStyle::HorizontalAlignment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.TextStyle.HorizontalAlignment").enummodule
|
42
|
+
Text::TextStyle::VerticalAlignment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.TextStyle.VerticalAlignment").enummodule
|
43
|
+
Text::TextStyle::PaddingSize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.TextStyle.PaddingSize").enummodule
|
44
|
+
Text::TextStyle::FontSize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.TextStyle.FontSize").enummodule
|
45
|
+
Text::TextStyle::PointerLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.TextStyle.PointerLocation").enummodule
|
40
46
|
Text::Format = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.Format").enummodule
|
41
47
|
end
|
42
48
|
end
|
@@ -7,15 +7,20 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
require 'google/monitoring/dashboard/v1/alertchart_pb'
|
9
9
|
require 'google/monitoring/dashboard/v1/collapsible_group_pb'
|
10
|
+
require 'google/monitoring/dashboard/v1/error_reporting_panel_pb'
|
11
|
+
require 'google/monitoring/dashboard/v1/incident_list_pb'
|
10
12
|
require 'google/monitoring/dashboard/v1/logs_panel_pb'
|
13
|
+
require 'google/monitoring/dashboard/v1/piechart_pb'
|
11
14
|
require 'google/monitoring/dashboard/v1/scorecard_pb'
|
15
|
+
require 'google/monitoring/dashboard/v1/section_header_pb'
|
16
|
+
require 'google/monitoring/dashboard/v1/single_view_group_pb'
|
12
17
|
require 'google/monitoring/dashboard/v1/table_pb'
|
13
18
|
require 'google/monitoring/dashboard/v1/text_pb'
|
14
19
|
require 'google/monitoring/dashboard/v1/xychart_pb'
|
15
20
|
require 'google/protobuf/empty_pb'
|
16
21
|
|
17
22
|
|
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\"\
|
23
|
+
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/error_reporting_panel.proto\x1a\x32google/monitoring/dashboard/v1/incident_list.proto\x1a/google/monitoring/dashboard/v1/logs_panel.proto\x1a-google/monitoring/dashboard/v1/piechart.proto\x1a.google/monitoring/dashboard/v1/scorecard.proto\x1a\x33google/monitoring/dashboard/v1/section_header.proto\x1a\x36google/monitoring/dashboard/v1/single_view_group.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\"\xa8\x07\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\x12\x45\n\rincident_list\x18\x0c \x01(\x0b\x32,.google.monitoring.dashboard.v1.IncidentListH\x00\x12=\n\tpie_chart\x18\x0e \x01(\x0b\x32(.google.monitoring.dashboard.v1.PieChartH\x00\x12T\n\x15\x65rror_reporting_panel\x18\x13 \x01(\x0b\x32\x33.google.monitoring.dashboard.v1.ErrorReportingPanelH\x00\x12G\n\x0esection_header\x18\x15 \x01(\x0b\x32-.google.monitoring.dashboard.v1.SectionHeaderH\x00\x12L\n\x11single_view_group\x18\x16 \x01(\x0b\x32/.google.monitoring.dashboard.v1.SingleViewGroupH\x00\x12\x0f\n\x02id\x18\x11 \x01(\tB\x03\xe0\x41\x01\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
24
|
|
20
25
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
26
|
|
@@ -38,6 +43,11 @@ rescue TypeError
|
|
38
43
|
["google.monitoring.dashboard.v1.TimeSeriesTable", "google/monitoring/dashboard/v1/table.proto"],
|
39
44
|
["google.monitoring.dashboard.v1.CollapsibleGroup", "google/monitoring/dashboard/v1/collapsible_group.proto"],
|
40
45
|
["google.monitoring.dashboard.v1.LogsPanel", "google/monitoring/dashboard/v1/logs_panel.proto"],
|
46
|
+
["google.monitoring.dashboard.v1.IncidentList", "google/monitoring/dashboard/v1/incident_list.proto"],
|
47
|
+
["google.monitoring.dashboard.v1.PieChart", "google/monitoring/dashboard/v1/piechart.proto"],
|
48
|
+
["google.monitoring.dashboard.v1.ErrorReportingPanel", "google/monitoring/dashboard/v1/error_reporting_panel.proto"],
|
49
|
+
["google.monitoring.dashboard.v1.SectionHeader", "google/monitoring/dashboard/v1/section_header.proto"],
|
50
|
+
["google.monitoring.dashboard.v1.SingleViewGroup", "google/monitoring/dashboard/v1/single_view_group.proto"],
|
41
51
|
]
|
42
52
|
imports.each do |type_name, expected_filename|
|
43
53
|
import_file = pool.lookup(type_name).file_descriptor
|
@@ -9,7 +9,7 @@ require 'google/monitoring/dashboard/v1/metrics_pb'
|
|
9
9
|
require 'google/protobuf/duration_pb'
|
10
10
|
|
11
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\"\
|
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
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 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 Api
|
22
|
+
# A description of a label.
|
23
|
+
# @!attribute [rw] key
|
24
|
+
# @return [::String]
|
25
|
+
# The label key.
|
26
|
+
# @!attribute [rw] value_type
|
27
|
+
# @return [::Google::Api::LabelDescriptor::ValueType]
|
28
|
+
# The type of data that can be assigned to the label.
|
29
|
+
# @!attribute [rw] description
|
30
|
+
# @return [::String]
|
31
|
+
# A human-readable description for the label.
|
32
|
+
class LabelDescriptor
|
33
|
+
include ::Google::Protobuf::MessageExts
|
34
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
35
|
+
|
36
|
+
# Value types that can be used as label values.
|
37
|
+
module ValueType
|
38
|
+
# A variable-length string. This is the default.
|
39
|
+
STRING = 0
|
40
|
+
|
41
|
+
# Boolean; true or false.
|
42
|
+
BOOL = 1
|
43
|
+
|
44
|
+
# A 64-bit signed integer.
|
45
|
+
INT64 = 2
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|