yandexcloud 0.343.0__py3-none-any.whl → 0.345.0__py3-none-any.whl
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.
- yandex/cloud/ai/tts/v3/tts_pb2.py +13 -1
- yandex/cloud/ai/tts/v3/tts_pb2.pyi +171 -0
- yandex/cloud/ai/tts/v3/tts_service_pb2.py +2 -2
- yandex/cloud/ai/tts/v3/tts_service_pb2_grpc.py +44 -0
- yandex/cloud/ai/tts/v3/tts_service_pb2_grpc.pyi +20 -0
- yandex/cloud/clouddesktop/__init__.py +0 -0
- yandex/cloud/clouddesktop/v1/__init__.py +0 -0
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.py +71 -0
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +232 -0
- yandex/cloud/clouddesktop/v1/desktop_group_pb2_grpc.py +24 -0
- yandex/cloud/clouddesktop/v1/desktop_group_pb2_grpc.pyi +17 -0
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.py +146 -0
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.pyi +443 -0
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2_grpc.py +502 -0
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2_grpc.pyi +242 -0
- yandex/cloud/clouddesktop/v1/desktop_image_pb2.py +44 -0
- yandex/cloud/clouddesktop/v1/desktop_image_pb2.pyi +111 -0
- yandex/cloud/clouddesktop/v1/desktop_image_pb2_grpc.py +24 -0
- yandex/cloud/clouddesktop/v1/desktop_image_pb2_grpc.pyi +17 -0
- yandex/cloud/clouddesktop/v1/desktop_image_service_pb2.py +115 -0
- yandex/cloud/clouddesktop/v1/desktop_image_service_pb2.pyi +275 -0
- yandex/cloud/clouddesktop/v1/desktop_image_service_pb2_grpc.py +323 -0
- yandex/cloud/clouddesktop/v1/desktop_image_service_pb2_grpc.pyi +152 -0
- yandex/cloud/clouddesktop/v1/desktop_pb2.py +65 -0
- yandex/cloud/clouddesktop/v1/desktop_pb2.pyi +208 -0
- yandex/cloud/clouddesktop/v1/desktop_pb2_grpc.py +24 -0
- yandex/cloud/clouddesktop/v1/desktop_pb2_grpc.pyi +17 -0
- yandex/cloud/clouddesktop/v1/desktop_service_pb2.py +171 -0
- yandex/cloud/clouddesktop/v1/desktop_service_pb2.pyi +541 -0
- yandex/cloud/clouddesktop/v1/desktop_service_pb2_grpc.py +589 -0
- yandex/cloud/clouddesktop/v1/desktop_service_pb2_grpc.pyi +281 -0
- yandex/cloud/clouddesktop/v1/disk_pb2.py +44 -0
- yandex/cloud/clouddesktop/v1/disk_pb2.pyi +61 -0
- yandex/cloud/clouddesktop/v1/disk_pb2_grpc.py +24 -0
- yandex/cloud/clouddesktop/v1/disk_pb2_grpc.pyi +17 -0
- yandex/cloud/marketplace/metering/v1/product_usage_service_pb2_grpc.py +6 -3
- yandex/cloud/marketplace/metering/v1/product_usage_service_pb2_grpc.pyi +6 -0
- yandex/cloud/metastore/__init__.py +0 -0
- yandex/cloud/metastore/v1/__init__.py +0 -0
- yandex/cloud/metastore/v1/cluster_pb2.py +67 -0
- yandex/cloud/metastore/v1/cluster_pb2.pyi +325 -0
- yandex/cloud/metastore/v1/cluster_pb2_grpc.py +24 -0
- yandex/cloud/metastore/v1/cluster_pb2_grpc.pyi +17 -0
- yandex/cloud/metastore/v1/cluster_service_pb2.py +176 -0
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +628 -0
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +502 -0
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +247 -0
- yandex/cloud/metastore/v1/maintenance_pb2.py +53 -0
- yandex/cloud/metastore/v1/maintenance_pb2.pyi +123 -0
- yandex/cloud/metastore/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/metastore/v1/maintenance_pb2_grpc.pyi +17 -0
- yandex/cloud/monitoring/v3/chart_widget_pb2.py +52 -47
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +52 -5
- yandex/cloud/monitoring/v3/dashboard_pb2.py +6 -5
- yandex/cloud/monitoring/v3/dashboard_pb2.pyi +8 -1
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +30 -29
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +15 -2
- yandex/cloud/monitoring/v3/link_item_pb2.py +40 -0
- yandex/cloud/monitoring/v3/link_item_pb2.pyi +53 -0
- yandex/cloud/monitoring/v3/link_item_pb2_grpc.py +24 -0
- yandex/cloud/monitoring/v3/link_item_pb2_grpc.pyi +17 -0
- yandex/cloud/monitoring/v3/link_pb2.py +39 -0
- yandex/cloud/monitoring/v3/link_pb2.pyi +70 -0
- yandex/cloud/monitoring/v3/link_pb2_grpc.py +24 -0
- yandex/cloud/monitoring/v3/link_pb2_grpc.pyi +17 -0
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +60 -55
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +52 -5
- yandex/cloud/monitoring/v3/thresholds_pb2.py +41 -0
- yandex/cloud/monitoring/v3/thresholds_pb2.pyi +73 -0
- yandex/cloud/monitoring/v3/thresholds_pb2_grpc.py +24 -0
- yandex/cloud/monitoring/v3/thresholds_pb2_grpc.pyi +17 -0
- yandex/cloud/monitoring/v3/widget_pb2.py +6 -5
- yandex/cloud/monitoring/v3/widget_pb2.pyi +8 -1
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +25 -25
- yandex/cloud/speechsense/v1/talk_service_pb2.py +39 -31
- yandex/cloud/speechsense/v1/talk_service_pb2.pyi +38 -0
- yandex/cloud/speechsense/v1/talk_service_pb2_grpc.py +46 -0
- yandex/cloud/speechsense/v1/talk_service_pb2_grpc.pyi +27 -0
- yandex/cloud/storage/v1/bucket_service_pb2.py +30 -30
- yandex/cloud/storage/v1/bucket_service_pb2.pyi +26 -4
- yandexcloud/__init__.py +1 -1
- yandexcloud/_sdk.py +5 -3
- {yandexcloud-0.343.0.dist-info → yandexcloud-0.345.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.343.0.dist-info → yandexcloud-0.345.0.dist-info}/RECORD +88 -32
- {yandexcloud-0.343.0.dist-info → yandexcloud-0.345.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.343.0.dist-info → yandexcloud-0.345.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.343.0.dist-info → yandexcloud-0.345.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.343.0.dist-info → yandexcloud-0.345.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -25,9 +25,10 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
26
26
|
from yandex.cloud.monitoring.v3 import downsampling_pb2 as yandex_dot_cloud_dot_monitoring_dot_v3_dot_downsampling__pb2
|
|
27
27
|
from yandex.cloud.monitoring.v3 import unit_format_pb2 as yandex_dot_cloud_dot_monitoring_dot_v3_dot_unit__format__pb2
|
|
28
|
+
from yandex.cloud.monitoring.v3 import thresholds_pb2 as yandex_dot_cloud_dot_monitoring_dot_v3_dot_thresholds__pb2
|
|
28
29
|
|
|
29
30
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/monitoring/v3/multi_source_chart_widget.proto\x12\x1ayandex.cloud.monitoring.v3\x1a\x1egoogle/protobuf/wrappers.proto\x1a-yandex/cloud/monitoring/v3/downsampling.proto\x1a,yandex/cloud/monitoring/v3/unit_format.proto\"\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/monitoring/v3/multi_source_chart_widget.proto\x12\x1ayandex.cloud.monitoring.v3\x1a\x1egoogle/protobuf/wrappers.proto\x1a-yandex/cloud/monitoring/v3/downsampling.proto\x1a,yandex/cloud/monitoring/v3/unit_format.proto\x1a+yandex/cloud/monitoring/v3/thresholds.proto\"\xe8.\n\x16MultiSourceChartWidget\x12\n\n\x02id\x18\x01 \x01(\t\x12J\n\x07targets\x18\x02 \x03(\x0b\x32\x39.yandex.cloud.monitoring.v3.MultiSourceChartWidget.Target\x12S\n\x0c\x64\x61ta_sources\x18\x03 \x03(\x0b\x32=.yandex.cloud.monitoring.v3.MultiSourceChartWidget.DataSource\x12h\n\x16visualization_settings\x18\x04 \x01(\x0b\x32H.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings\x12\\\n\x10series_overrides\x18\x05 \x03(\x0b\x32\x42.yandex.cloud.monitoring.v3.MultiSourceChartWidget.SeriesOverrides\x12\x63\n\x14name_hiding_settings\x18\x06 \x01(\x0b\x32\x45.yandex.cloud.monitoring.v3.MultiSourceChartWidget.NameHidingSettings\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\r\n\x05title\x18\x08 \x01(\t\x12\x16\n\x0e\x64isplay_legend\x18\t \x01(\x08\x12Q\n\x06\x66reeze\x18\n \x01(\x0e\x32\x41.yandex.cloud.monitoring.v3.MultiSourceChartWidget.FreezeDuration\x12Q\n\x06repeat\x18\x0b \x01(\x0b\x32\x41.yandex.cloud.monitoring.v3.MultiSourceChartWidget.RepeatSettings\x12:\n\nthresholds\x18\x0c \x01(\x0b\x32&.yandex.cloud.monitoring.v3.Thresholds\x1a\xd3\x03\n\x06Target\x12g\n\x11monitoring_target\x18\x01 \x01(\x0b\x32J.yandex.cloud.monitoring.v3.MultiSourceChartWidget.Target.MonitoringTargetH\x00\x12g\n\x11prometheus_target\x18\x02 \x01(\x0b\x32J.yandex.cloud.monitoring.v3.MultiSourceChartWidget.Target.PrometheusTargetH\x00\x1aj\n\x10MonitoringTarget\x12\x16\n\x0e\x64\x61ta_source_id\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x11\n\ttext_mode\x18\x03 \x01(\x08\x12\x0e\n\x06hidden\x18\x04 \x01(\x08\x12\x0c\n\x04name\x18\x05 \x01(\t\x1a\x80\x01\n\x10PrometheusTarget\x12\x16\n\x0e\x64\x61ta_source_id\x18\x01 \x01(\t\x12\x14\n\x0cworkspace_id\x18\x02 \x01(\t\x12\r\n\x05query\x18\x03 \x01(\t\x12\x11\n\ttext_mode\x18\x04 \x01(\x08\x12\x0e\n\x06hidden\x18\x05 \x01(\x08\x12\x0c\n\x04name\x18\x06 \x01(\tB\x08\n\x06target\x1a\x9d\x03\n\nDataSource\x12t\n\x16monitoring_data_source\x18\x01 \x01(\x0b\x32R.yandex.cloud.monitoring.v3.MultiSourceChartWidget.DataSource.MonitoringDataSourceH\x00\x12t\n\x16prometheus_data_source\x18\x02 \x01(\x0b\x32R.yandex.cloud.monitoring.v3.MultiSourceChartWidget.DataSource.PrometheusDataSourceH\x00\x1a\x62\n\x14MonitoringDataSource\x12\n\n\x02id\x18\x01 \x01(\t\x12>\n\x0c\x64ownsampling\x18\x02 \x01(\x0b\x32(.yandex.cloud.monitoring.v3.Downsampling\x1a\x30\n\x14PrometheusDataSource\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04step\x18\x02 \x01(\x03\x42\r\n\x0b\x64\x61ta_source\x1a\xa8\x19\n\x15VisualizationSettings\x12h\n\x04type\x18\x01 \x01(\x0e\x32Z.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.VisualizationType\x12\x11\n\tnormalize\x18\x02 \x01(\x08\x12i\n\x0binterpolate\x18\x03 \x01(\x0e\x32T.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.Interpolate\x12o\n\x0b\x61ggregation\x18\x04 \x01(\x0e\x32Z.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.SeriesAggregation\x12{\n\x15\x63olor_scheme_settings\x18\x05 \x01(\x0b\x32\\.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings\x12r\n\x10heatmap_settings\x18\x06 \x01(\x0b\x32X.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.HeatmapSettings\x12n\n\x0eyaxis_settings\x18\x07 \x01(\x0b\x32V.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.YaxisSettings\x12\r\n\x05title\x18\x08 \x01(\t\x12\x13\n\x0bshow_labels\x18\t \x01(\x08\x1a\xb3\t\n\x13\x43olorSchemeSettings\x12\x86\x01\n\tautomatic\x18\x01 \x01(\x0b\x32q.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.AutomaticColorSchemeH\x00\x12\x84\x01\n\x08standard\x18\x02 \x01(\x0b\x32p.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.StandardColorSchemeH\x00\x12\x84\x01\n\x08gradient\x18\x03 \x01(\x0b\x32p.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.GradientColorSchemeH\x00\x12|\n\x04hash\x18\x04 \x01(\x0b\x32l.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.HashColorSchemeH\x00\x12\x88\x01\n\nthresholds\x18\x05 \x01(\x0b\x32r.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorSchemeH\x00\x1a\x16\n\x14\x41utomaticColorScheme\x1a\x15\n\x13StandardColorScheme\x1ai\n\x13GradientColorScheme\x12\x13\n\x0bgreen_value\x18\x02 \x01(\t\x12\x14\n\x0cyellow_value\x18\x03 \x01(\t\x12\x11\n\tred_value\x18\x04 \x01(\t\x12\x14\n\x0cviolet_value\x18\x05 \x01(\t\x1a\x11\n\x0fHashColorScheme\x1a\xc4\x02\n\x15ThresholdsColorScheme\x12\x93\x01\n\x0b\x61ggregation\x18\x01 \x01(\x0e\x32~.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme.Aggregation\"\x94\x01\n\x0b\x41ggregation\x12\x1b\n\x17\x41GGREGATION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41GGREGATION_LAST\x10\x01\x12\x13\n\x0f\x41GGREGATION_MIN\x10\x02\x12\x13\n\x0f\x41GGREGATION_MAX\x10\x03\x12\x13\n\x0f\x41GGREGATION_AVG\x10\x04\x12\x13\n\x0f\x41GGREGATION_SUM\x10\x05\x42\x08\n\x06scheme\x1a\x65\n\x0fHeatmapSettings\x12\x13\n\x0bgreen_value\x18\x02 \x01(\t\x12\x14\n\x0cyellow_value\x18\x03 \x01(\t\x12\x11\n\tred_value\x18\x04 \x01(\t\x12\x14\n\x0cviolet_value\x18\x05 \x01(\t\x1a\xff\x01\n\x05Yaxis\x12`\n\x04type\x18\x01 \x01(\x0e\x32R.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.YaxisType\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0b\n\x03min\x18\x03 \x01(\t\x12\x0b\n\x03max\x18\x04 \x01(\t\x12;\n\x0bunit_format\x18\x05 \x01(\x0e\x32&.yandex.cloud.monitoring.v3.UnitFormat\x12.\n\tprecision\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1a\xcc\x01\n\rYaxisSettings\x12\\\n\x04left\x18\x01 \x01(\x0b\x32N.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.Yaxis\x12]\n\x05right\x18\x02 \x01(\x0b\x32N.yandex.cloud.monitoring.v3.MultiSourceChartWidget.VisualizationSettings.Yaxis\"\xae\x02\n\x11VisualizationType\x12\"\n\x1eVISUALIZATION_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17VISUALIZATION_TYPE_LINE\x10\x01\x12\x1c\n\x18VISUALIZATION_TYPE_STACK\x10\x02\x12\x1d\n\x19VISUALIZATION_TYPE_COLUMN\x10\x03\x12\x1d\n\x19VISUALIZATION_TYPE_POINTS\x10\x04\x12\x1a\n\x16VISUALIZATION_TYPE_PIE\x10\x05\x12\x1b\n\x17VISUALIZATION_TYPE_BARS\x10\x06\x12#\n\x1fVISUALIZATION_TYPE_DISTRIBUTION\x10\x07\x12\x1e\n\x1aVISUALIZATION_TYPE_HEATMAP\x10\x08\"o\n\x0bInterpolate\x12\x1b\n\x17INTERPOLATE_UNSPECIFIED\x10\x00\x12\x16\n\x12INTERPOLATE_LINEAR\x10\x01\x12\x14\n\x10INTERPOLATE_LEFT\x10\x02\x12\x15\n\x11INTERPOLATE_RIGHT\x10\x03\"Z\n\tYaxisType\x12\x1a\n\x16YAXIS_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11YAXIS_TYPE_LINEAR\x10\x01\x12\x1a\n\x16YAXIS_TYPE_LOGARITHMIC\x10\x02\"\xc4\x01\n\x11SeriesAggregation\x12\"\n\x1eSERIES_AGGREGATION_UNSPECIFIED\x10\x00\x12\x1a\n\x16SERIES_AGGREGATION_AVG\x10\x01\x12\x1a\n\x16SERIES_AGGREGATION_MIN\x10\x02\x12\x1a\n\x16SERIES_AGGREGATION_MAX\x10\x03\x12\x1b\n\x17SERIES_AGGREGATION_LAST\x10\x04\x12\x1a\n\x16SERIES_AGGREGATION_SUM\x10\x05\x1a\xa1\x06\n\x0fSeriesOverrides\x12\x0e\n\x04name\x18\x01 \x01(\tH\x00\x12\x16\n\x0ctarget_index\x18\x02 \x01(\tH\x00\x12k\n\x08settings\x18\x03 \x01(\x0b\x32Y.yandex.cloud.monitoring.v3.MultiSourceChartWidget.SeriesOverrides.SeriesOverrideSettings\x1a\xb0\x02\n\x16SeriesOverrideSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x63olor\x18\x02 \x01(\t\x12h\n\x04type\x18\x03 \x01(\x0e\x32Z.yandex.cloud.monitoring.v3.MultiSourceChartWidget.SeriesOverrides.SeriesVisualizationType\x12\x12\n\nstack_name\x18\x04 \x01(\t\x12\x11\n\tgrow_down\x18\x05 \x01(\x08\x12h\n\x0eyaxis_position\x18\x06 \x01(\x0e\x32P.yandex.cloud.monitoring.v3.MultiSourceChartWidget.SeriesOverrides.YaxisPosition\"b\n\rYaxisPosition\x12\x1e\n\x1aYAXIS_POSITION_UNSPECIFIED\x10\x00\x12\x17\n\x13YAXIS_POSITION_LEFT\x10\x01\x12\x18\n\x14YAXIS_POSITION_RIGHT\x10\x02\"\xd9\x01\n\x17SeriesVisualizationType\x12)\n%SERIES_VISUALIZATION_TYPE_UNSPECIFIED\x10\x00\x12\"\n\x1eSERIES_VISUALIZATION_TYPE_LINE\x10\x01\x12#\n\x1fSERIES_VISUALIZATION_TYPE_STACK\x10\x02\x12$\n SERIES_VISUALIZATION_TYPE_COLUMN\x10\x03\x12$\n SERIES_VISUALIZATION_TYPE_POINTS\x10\x04\x42\x06\n\x04type\x1a\x35\n\x12NameHidingSettings\x12\x10\n\x08positive\x18\x01 \x01(\x08\x12\r\n\x05names\x18\x02 \x03(\t\x1a>\n\x0eRepeatSettings\x12\x11\n\trepeat_by\x18\x01 \x03(\t\x12\x19\n\x11max_charts_in_row\x18\x02 \x01(\x03\"\x99\x01\n\x0e\x46reezeDuration\x12\x1f\n\x1b\x46REEZE_DURATION_UNSPECIFIED\x10\x00\x12\x18\n\x14\x46REEZE_DURATION_HOUR\x10\x01\x12\x17\n\x13\x46REEZE_DURATION_DAY\x10\x02\x12\x18\n\x14\x46REEZE_DURATION_WEEK\x10\x03\x12\x19\n\x15\x46REEZE_DURATION_MONTH\x10\x04\x42k\n\x1eyandex.cloud.api.monitoring.v3ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/monitoring/v3;monitoringb\x06proto3')
|
|
31
32
|
|
|
32
33
|
_globals = globals()
|
|
33
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -35,58 +36,62 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.monitoring.v3.
|
|
|
35
36
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
37
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
38
|
_globals['DESCRIPTOR']._serialized_options = b'\n\036yandex.cloud.api.monitoring.v3ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/monitoring/v3;monitoring'
|
|
38
|
-
_globals['_MULTISOURCECHARTWIDGET']._serialized_start=
|
|
39
|
-
_globals['_MULTISOURCECHARTWIDGET']._serialized_end=
|
|
40
|
-
_globals['_MULTISOURCECHARTWIDGET_TARGET']._serialized_start=
|
|
41
|
-
_globals['_MULTISOURCECHARTWIDGET_TARGET']._serialized_end=
|
|
42
|
-
_globals['_MULTISOURCECHARTWIDGET_TARGET_MONITORINGTARGET']._serialized_start=
|
|
43
|
-
_globals['_MULTISOURCECHARTWIDGET_TARGET_MONITORINGTARGET']._serialized_end=
|
|
44
|
-
_globals['_MULTISOURCECHARTWIDGET_TARGET_PROMETHEUSTARGET']._serialized_start=
|
|
45
|
-
_globals['_MULTISOURCECHARTWIDGET_TARGET_PROMETHEUSTARGET']._serialized_end=
|
|
46
|
-
_globals['_MULTISOURCECHARTWIDGET_DATASOURCE']._serialized_start=
|
|
47
|
-
_globals['_MULTISOURCECHARTWIDGET_DATASOURCE']._serialized_end=
|
|
48
|
-
_globals['_MULTISOURCECHARTWIDGET_DATASOURCE_MONITORINGDATASOURCE']._serialized_start=
|
|
49
|
-
_globals['_MULTISOURCECHARTWIDGET_DATASOURCE_MONITORINGDATASOURCE']._serialized_end=
|
|
50
|
-
_globals['_MULTISOURCECHARTWIDGET_DATASOURCE_PROMETHEUSDATASOURCE']._serialized_start=
|
|
51
|
-
_globals['_MULTISOURCECHARTWIDGET_DATASOURCE_PROMETHEUSDATASOURCE']._serialized_end=
|
|
52
|
-
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS']._serialized_start=
|
|
53
|
-
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS']._serialized_end=
|
|
54
|
-
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS']._serialized_start=
|
|
55
|
-
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS']._serialized_end=
|
|
56
|
-
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_AUTOMATICCOLORSCHEME']._serialized_start=
|
|
57
|
-
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_AUTOMATICCOLORSCHEME']._serialized_end=
|
|
58
|
-
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_STANDARDCOLORSCHEME']._serialized_start=
|
|
59
|
-
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_STANDARDCOLORSCHEME']._serialized_end=
|
|
60
|
-
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_GRADIENTCOLORSCHEME']._serialized_start=
|
|
61
|
-
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_GRADIENTCOLORSCHEME']._serialized_end=
|
|
62
|
-
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_HASHCOLORSCHEME']._serialized_start=
|
|
63
|
-
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_HASHCOLORSCHEME']._serialized_end=
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
77
|
-
_globals['
|
|
78
|
-
_globals['
|
|
79
|
-
_globals['
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
39
|
+
_globals['_MULTISOURCECHARTWIDGET']._serialized_start=261
|
|
40
|
+
_globals['_MULTISOURCECHARTWIDGET']._serialized_end=6253
|
|
41
|
+
_globals['_MULTISOURCECHARTWIDGET_TARGET']._serialized_start=1048
|
|
42
|
+
_globals['_MULTISOURCECHARTWIDGET_TARGET']._serialized_end=1515
|
|
43
|
+
_globals['_MULTISOURCECHARTWIDGET_TARGET_MONITORINGTARGET']._serialized_start=1268
|
|
44
|
+
_globals['_MULTISOURCECHARTWIDGET_TARGET_MONITORINGTARGET']._serialized_end=1374
|
|
45
|
+
_globals['_MULTISOURCECHARTWIDGET_TARGET_PROMETHEUSTARGET']._serialized_start=1377
|
|
46
|
+
_globals['_MULTISOURCECHARTWIDGET_TARGET_PROMETHEUSTARGET']._serialized_end=1505
|
|
47
|
+
_globals['_MULTISOURCECHARTWIDGET_DATASOURCE']._serialized_start=1518
|
|
48
|
+
_globals['_MULTISOURCECHARTWIDGET_DATASOURCE']._serialized_end=1931
|
|
49
|
+
_globals['_MULTISOURCECHARTWIDGET_DATASOURCE_MONITORINGDATASOURCE']._serialized_start=1768
|
|
50
|
+
_globals['_MULTISOURCECHARTWIDGET_DATASOURCE_MONITORINGDATASOURCE']._serialized_end=1866
|
|
51
|
+
_globals['_MULTISOURCECHARTWIDGET_DATASOURCE_PROMETHEUSDATASOURCE']._serialized_start=1868
|
|
52
|
+
_globals['_MULTISOURCECHARTWIDGET_DATASOURCE_PROMETHEUSDATASOURCE']._serialized_end=1916
|
|
53
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS']._serialized_start=1934
|
|
54
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS']._serialized_end=5174
|
|
55
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS']._serialized_start=2694
|
|
56
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS']._serialized_end=3897
|
|
57
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_AUTOMATICCOLORSCHEME']._serialized_start=3389
|
|
58
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_AUTOMATICCOLORSCHEME']._serialized_end=3411
|
|
59
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_STANDARDCOLORSCHEME']._serialized_start=3413
|
|
60
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_STANDARDCOLORSCHEME']._serialized_end=3434
|
|
61
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_GRADIENTCOLORSCHEME']._serialized_start=3436
|
|
62
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_GRADIENTCOLORSCHEME']._serialized_end=3541
|
|
63
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_HASHCOLORSCHEME']._serialized_start=3543
|
|
64
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_HASHCOLORSCHEME']._serialized_end=3560
|
|
65
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_THRESHOLDSCOLORSCHEME']._serialized_start=3563
|
|
66
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_THRESHOLDSCOLORSCHEME']._serialized_end=3887
|
|
67
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_THRESHOLDSCOLORSCHEME_AGGREGATION']._serialized_start=3739
|
|
68
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_COLORSCHEMESETTINGS_THRESHOLDSCOLORSCHEME_AGGREGATION']._serialized_end=3887
|
|
69
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_HEATMAPSETTINGS']._serialized_start=3899
|
|
70
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_HEATMAPSETTINGS']._serialized_end=4000
|
|
71
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_YAXIS']._serialized_start=4003
|
|
72
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_YAXIS']._serialized_end=4258
|
|
73
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_YAXISSETTINGS']._serialized_start=4261
|
|
74
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_YAXISSETTINGS']._serialized_end=4465
|
|
75
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_VISUALIZATIONTYPE']._serialized_start=4468
|
|
76
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_VISUALIZATIONTYPE']._serialized_end=4770
|
|
77
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_INTERPOLATE']._serialized_start=4772
|
|
78
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_INTERPOLATE']._serialized_end=4883
|
|
79
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_YAXISTYPE']._serialized_start=4885
|
|
80
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_YAXISTYPE']._serialized_end=4975
|
|
81
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_SERIESAGGREGATION']._serialized_start=4978
|
|
82
|
+
_globals['_MULTISOURCECHARTWIDGET_VISUALIZATIONSETTINGS_SERIESAGGREGATION']._serialized_end=5174
|
|
83
|
+
_globals['_MULTISOURCECHARTWIDGET_SERIESOVERRIDES']._serialized_start=5177
|
|
84
|
+
_globals['_MULTISOURCECHARTWIDGET_SERIESOVERRIDES']._serialized_end=5978
|
|
85
|
+
_globals['_MULTISOURCECHARTWIDGET_SERIESOVERRIDES_SERIESOVERRIDESETTINGS']._serialized_start=5346
|
|
86
|
+
_globals['_MULTISOURCECHARTWIDGET_SERIESOVERRIDES_SERIESOVERRIDESETTINGS']._serialized_end=5650
|
|
87
|
+
_globals['_MULTISOURCECHARTWIDGET_SERIESOVERRIDES_YAXISPOSITION']._serialized_start=5652
|
|
88
|
+
_globals['_MULTISOURCECHARTWIDGET_SERIESOVERRIDES_YAXISPOSITION']._serialized_end=5750
|
|
89
|
+
_globals['_MULTISOURCECHARTWIDGET_SERIESOVERRIDES_SERIESVISUALIZATIONTYPE']._serialized_start=5753
|
|
90
|
+
_globals['_MULTISOURCECHARTWIDGET_SERIESOVERRIDES_SERIESVISUALIZATIONTYPE']._serialized_end=5970
|
|
91
|
+
_globals['_MULTISOURCECHARTWIDGET_NAMEHIDINGSETTINGS']._serialized_start=5980
|
|
92
|
+
_globals['_MULTISOURCECHARTWIDGET_NAMEHIDINGSETTINGS']._serialized_end=6033
|
|
93
|
+
_globals['_MULTISOURCECHARTWIDGET_REPEATSETTINGS']._serialized_start=6035
|
|
94
|
+
_globals['_MULTISOURCECHARTWIDGET_REPEATSETTINGS']._serialized_end=6097
|
|
95
|
+
_globals['_MULTISOURCECHARTWIDGET_FREEZEDURATION']._serialized_start=6100
|
|
96
|
+
_globals['_MULTISOURCECHARTWIDGET_FREEZEDURATION']._serialized_end=6253
|
|
92
97
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -13,6 +13,7 @@ import google.protobuf.wrappers_pb2
|
|
|
13
13
|
import sys
|
|
14
14
|
import typing
|
|
15
15
|
import yandex.cloud.monitoring.v3.downsampling_pb2
|
|
16
|
+
import yandex.cloud.monitoring.v3.thresholds_pb2
|
|
16
17
|
import yandex.cloud.monitoring.v3.unit_format_pb2
|
|
17
18
|
|
|
18
19
|
if sys.version_info >= (3, 10):
|
|
@@ -400,10 +401,45 @@ class MultiSourceChartWidget(google.protobuf.message.Message):
|
|
|
400
401
|
self,
|
|
401
402
|
) -> None: ...
|
|
402
403
|
|
|
404
|
+
@typing.final
|
|
405
|
+
class ThresholdsColorScheme(google.protobuf.message.Message):
|
|
406
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
407
|
+
|
|
408
|
+
class _Aggregation:
|
|
409
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
410
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
411
|
+
|
|
412
|
+
class _AggregationEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme._Aggregation.ValueType], builtins.type):
|
|
413
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
414
|
+
AGGREGATION_UNSPECIFIED: MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme._Aggregation.ValueType # 0
|
|
415
|
+
AGGREGATION_LAST: MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme._Aggregation.ValueType # 1
|
|
416
|
+
AGGREGATION_MIN: MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme._Aggregation.ValueType # 2
|
|
417
|
+
AGGREGATION_MAX: MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme._Aggregation.ValueType # 3
|
|
418
|
+
AGGREGATION_AVG: MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme._Aggregation.ValueType # 4
|
|
419
|
+
AGGREGATION_SUM: MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme._Aggregation.ValueType # 5
|
|
420
|
+
|
|
421
|
+
class Aggregation(_Aggregation, metaclass=_AggregationEnumTypeWrapper): ...
|
|
422
|
+
AGGREGATION_UNSPECIFIED: MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme.Aggregation.ValueType # 0
|
|
423
|
+
AGGREGATION_LAST: MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme.Aggregation.ValueType # 1
|
|
424
|
+
AGGREGATION_MIN: MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme.Aggregation.ValueType # 2
|
|
425
|
+
AGGREGATION_MAX: MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme.Aggregation.ValueType # 3
|
|
426
|
+
AGGREGATION_AVG: MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme.Aggregation.ValueType # 4
|
|
427
|
+
AGGREGATION_SUM: MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme.Aggregation.ValueType # 5
|
|
428
|
+
|
|
429
|
+
AGGREGATION_FIELD_NUMBER: builtins.int
|
|
430
|
+
aggregation: global___MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme.Aggregation.ValueType
|
|
431
|
+
def __init__(
|
|
432
|
+
self,
|
|
433
|
+
*,
|
|
434
|
+
aggregation: global___MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme.Aggregation.ValueType = ...,
|
|
435
|
+
) -> None: ...
|
|
436
|
+
def ClearField(self, field_name: typing.Literal["aggregation", b"aggregation"]) -> None: ...
|
|
437
|
+
|
|
403
438
|
AUTOMATIC_FIELD_NUMBER: builtins.int
|
|
404
439
|
STANDARD_FIELD_NUMBER: builtins.int
|
|
405
440
|
GRADIENT_FIELD_NUMBER: builtins.int
|
|
406
441
|
HASH_FIELD_NUMBER: builtins.int
|
|
442
|
+
THRESHOLDS_FIELD_NUMBER: builtins.int
|
|
407
443
|
@property
|
|
408
444
|
def automatic(self) -> global___MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.AutomaticColorScheme:
|
|
409
445
|
"""Automatic color scheme."""
|
|
@@ -420,6 +456,10 @@ class MultiSourceChartWidget(google.protobuf.message.Message):
|
|
|
420
456
|
def hash(self) -> global___MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.HashColorScheme:
|
|
421
457
|
"""Hash color scheme. Based on line name or value."""
|
|
422
458
|
|
|
459
|
+
@property
|
|
460
|
+
def thresholds(self) -> global___MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme:
|
|
461
|
+
"""Threshold settings color scheme."""
|
|
462
|
+
|
|
423
463
|
def __init__(
|
|
424
464
|
self,
|
|
425
465
|
*,
|
|
@@ -427,10 +467,11 @@ class MultiSourceChartWidget(google.protobuf.message.Message):
|
|
|
427
467
|
standard: global___MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.StandardColorScheme | None = ...,
|
|
428
468
|
gradient: global___MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.GradientColorScheme | None = ...,
|
|
429
469
|
hash: global___MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.HashColorScheme | None = ...,
|
|
470
|
+
thresholds: global___MultiSourceChartWidget.VisualizationSettings.ColorSchemeSettings.ThresholdsColorScheme | None = ...,
|
|
430
471
|
) -> None: ...
|
|
431
|
-
def HasField(self, field_name: typing.Literal["automatic", b"automatic", "gradient", b"gradient", "hash", b"hash", "scheme", b"scheme", "standard", b"standard"]) -> builtins.bool: ...
|
|
432
|
-
def ClearField(self, field_name: typing.Literal["automatic", b"automatic", "gradient", b"gradient", "hash", b"hash", "scheme", b"scheme", "standard", b"standard"]) -> None: ...
|
|
433
|
-
def WhichOneof(self, oneof_group: typing.Literal["scheme", b"scheme"]) -> typing.Literal["automatic", "standard", "gradient", "hash"] | None: ...
|
|
472
|
+
def HasField(self, field_name: typing.Literal["automatic", b"automatic", "gradient", b"gradient", "hash", b"hash", "scheme", b"scheme", "standard", b"standard", "thresholds", b"thresholds"]) -> builtins.bool: ...
|
|
473
|
+
def ClearField(self, field_name: typing.Literal["automatic", b"automatic", "gradient", b"gradient", "hash", b"hash", "scheme", b"scheme", "standard", b"standard", "thresholds", b"thresholds"]) -> None: ...
|
|
474
|
+
def WhichOneof(self, oneof_group: typing.Literal["scheme", b"scheme"]) -> typing.Literal["automatic", "standard", "gradient", "hash", "thresholds"] | None: ...
|
|
434
475
|
|
|
435
476
|
@typing.final
|
|
436
477
|
class HeatmapSettings(google.protobuf.message.Message):
|
|
@@ -734,6 +775,7 @@ class MultiSourceChartWidget(google.protobuf.message.Message):
|
|
|
734
775
|
DISPLAY_LEGEND_FIELD_NUMBER: builtins.int
|
|
735
776
|
FREEZE_FIELD_NUMBER: builtins.int
|
|
736
777
|
REPEAT_FIELD_NUMBER: builtins.int
|
|
778
|
+
THRESHOLDS_FIELD_NUMBER: builtins.int
|
|
737
779
|
id: builtins.str
|
|
738
780
|
"""Required. Chart ID."""
|
|
739
781
|
description: builtins.str
|
|
@@ -768,6 +810,10 @@ class MultiSourceChartWidget(google.protobuf.message.Message):
|
|
|
768
810
|
def repeat(self) -> global___MultiSourceChartWidget.RepeatSettings:
|
|
769
811
|
"""Setting for repeat panel / repeat row"""
|
|
770
812
|
|
|
813
|
+
@property
|
|
814
|
+
def thresholds(self) -> yandex.cloud.monitoring.v3.thresholds_pb2.Thresholds:
|
|
815
|
+
"""Threshold settings"""
|
|
816
|
+
|
|
771
817
|
def __init__(
|
|
772
818
|
self,
|
|
773
819
|
*,
|
|
@@ -782,8 +828,9 @@ class MultiSourceChartWidget(google.protobuf.message.Message):
|
|
|
782
828
|
display_legend: builtins.bool = ...,
|
|
783
829
|
freeze: global___MultiSourceChartWidget.FreezeDuration.ValueType = ...,
|
|
784
830
|
repeat: global___MultiSourceChartWidget.RepeatSettings | None = ...,
|
|
831
|
+
thresholds: yandex.cloud.monitoring.v3.thresholds_pb2.Thresholds | None = ...,
|
|
785
832
|
) -> None: ...
|
|
786
|
-
def HasField(self, field_name: typing.Literal["name_hiding_settings", b"name_hiding_settings", "repeat", b"repeat", "visualization_settings", b"visualization_settings"]) -> builtins.bool: ...
|
|
787
|
-
def ClearField(self, field_name: typing.Literal["data_sources", b"data_sources", "description", b"description", "display_legend", b"display_legend", "freeze", b"freeze", "id", b"id", "name_hiding_settings", b"name_hiding_settings", "repeat", b"repeat", "series_overrides", b"series_overrides", "targets", b"targets", "title", b"title", "visualization_settings", b"visualization_settings"]) -> None: ...
|
|
833
|
+
def HasField(self, field_name: typing.Literal["name_hiding_settings", b"name_hiding_settings", "repeat", b"repeat", "thresholds", b"thresholds", "visualization_settings", b"visualization_settings"]) -> builtins.bool: ...
|
|
834
|
+
def ClearField(self, field_name: typing.Literal["data_sources", b"data_sources", "description", b"description", "display_legend", b"display_legend", "freeze", b"freeze", "id", b"id", "name_hiding_settings", b"name_hiding_settings", "repeat", b"repeat", "series_overrides", b"series_overrides", "targets", b"targets", "thresholds", b"thresholds", "title", b"title", "visualization_settings", b"visualization_settings"]) -> None: ...
|
|
788
835
|
|
|
789
836
|
global___MultiSourceChartWidget = MultiSourceChartWidget
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/monitoring/v3/thresholds.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/monitoring/v3/thresholds.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/monitoring/v3/thresholds.proto\x12\x1ayandex.cloud.monitoring.v3\"\xf6\x01\n\nThresholds\x12:\n\x05items\x18\x01 \x03(\x0b\x32+.yandex.cloud.monitoring.v3.Thresholds.Item\x12\x42\n\tshow_mode\x18\x02 \x01(\x0e\x32/.yandex.cloud.monitoring.v3.Thresholds.ShowMode\x1a$\n\x04Item\x12\r\n\x05\x63olor\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01\"B\n\x08ShowMode\x12\x19\n\x15SHOW_MODE_UNSPECIFIED\x10\x00\x12\x1b\n\x17SHOW_MODE_CONSTANT_LINE\x10\x01\x42k\n\x1eyandex.cloud.api.monitoring.v3ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/monitoring/v3;monitoringb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.monitoring.v3.thresholds_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\036yandex.cloud.api.monitoring.v3ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/monitoring/v3;monitoring'
|
|
35
|
+
_globals['_THRESHOLDS']._serialized_start=76
|
|
36
|
+
_globals['_THRESHOLDS']._serialized_end=322
|
|
37
|
+
_globals['_THRESHOLDS_ITEM']._serialized_start=218
|
|
38
|
+
_globals['_THRESHOLDS_ITEM']._serialized_end=254
|
|
39
|
+
_globals['_THRESHOLDS_SHOWMODE']._serialized_start=256
|
|
40
|
+
_globals['_THRESHOLDS_SHOWMODE']._serialized_end=322
|
|
41
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import sys
|
|
13
|
+
import typing
|
|
14
|
+
|
|
15
|
+
if sys.version_info >= (3, 10):
|
|
16
|
+
import typing as typing_extensions
|
|
17
|
+
else:
|
|
18
|
+
import typing_extensions
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class Thresholds(google.protobuf.message.Message):
|
|
24
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
25
|
+
|
|
26
|
+
class _ShowMode:
|
|
27
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
28
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
29
|
+
|
|
30
|
+
class _ShowModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Thresholds._ShowMode.ValueType], builtins.type):
|
|
31
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
32
|
+
SHOW_MODE_UNSPECIFIED: Thresholds._ShowMode.ValueType # 0
|
|
33
|
+
SHOW_MODE_CONSTANT_LINE: Thresholds._ShowMode.ValueType # 1
|
|
34
|
+
|
|
35
|
+
class ShowMode(_ShowMode, metaclass=_ShowModeEnumTypeWrapper): ...
|
|
36
|
+
SHOW_MODE_UNSPECIFIED: Thresholds.ShowMode.ValueType # 0
|
|
37
|
+
SHOW_MODE_CONSTANT_LINE: Thresholds.ShowMode.ValueType # 1
|
|
38
|
+
|
|
39
|
+
@typing.final
|
|
40
|
+
class Item(google.protobuf.message.Message):
|
|
41
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
42
|
+
|
|
43
|
+
COLOR_FIELD_NUMBER: builtins.int
|
|
44
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
45
|
+
color: builtins.str
|
|
46
|
+
"""Color in hexadecimal format"""
|
|
47
|
+
value: builtins.float
|
|
48
|
+
"""Threshold value"""
|
|
49
|
+
def __init__(
|
|
50
|
+
self,
|
|
51
|
+
*,
|
|
52
|
+
color: builtins.str = ...,
|
|
53
|
+
value: builtins.float = ...,
|
|
54
|
+
) -> None: ...
|
|
55
|
+
def ClearField(self, field_name: typing.Literal["color", b"color", "value", b"value"]) -> None: ...
|
|
56
|
+
|
|
57
|
+
ITEMS_FIELD_NUMBER: builtins.int
|
|
58
|
+
SHOW_MODE_FIELD_NUMBER: builtins.int
|
|
59
|
+
show_mode: global___Thresholds.ShowMode.ValueType
|
|
60
|
+
"""Thresholds visualisation mode"""
|
|
61
|
+
@property
|
|
62
|
+
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Thresholds.Item]:
|
|
63
|
+
"""Thresholds"""
|
|
64
|
+
|
|
65
|
+
def __init__(
|
|
66
|
+
self,
|
|
67
|
+
*,
|
|
68
|
+
items: collections.abc.Iterable[global___Thresholds.Item] | None = ...,
|
|
69
|
+
show_mode: global___Thresholds.ShowMode.ValueType = ...,
|
|
70
|
+
) -> None: ...
|
|
71
|
+
def ClearField(self, field_name: typing.Literal["items", b"items", "show_mode", b"show_mode"]) -> None: ...
|
|
72
|
+
|
|
73
|
+
global___Thresholds = Thresholds
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/monitoring/v3/thresholds_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -26,9 +26,10 @@ from yandex.cloud.monitoring.v3 import chart_widget_pb2 as yandex_dot_cloud_dot_
|
|
|
26
26
|
from yandex.cloud.monitoring.v3 import text_widget_pb2 as yandex_dot_cloud_dot_monitoring_dot_v3_dot_text__widget__pb2
|
|
27
27
|
from yandex.cloud.monitoring.v3 import title_widget_pb2 as yandex_dot_cloud_dot_monitoring_dot_v3_dot_title__widget__pb2
|
|
28
28
|
from yandex.cloud.monitoring.v3 import multi_source_chart_widget_pb2 as yandex_dot_cloud_dot_monitoring_dot_v3_dot_multi__source__chart__widget__pb2
|
|
29
|
+
from yandex.cloud.monitoring.v3 import link_item_pb2 as yandex_dot_cloud_dot_monitoring_dot_v3_dot_link__item__pb2
|
|
29
30
|
|
|
30
31
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/monitoring/v3/widget.proto\x12\x1ayandex.cloud.monitoring.v3\x1a-yandex/cloud/monitoring/v3/chart_widget.proto\x1a,yandex/cloud/monitoring/v3/text_widget.proto\x1a-yandex/cloud/monitoring/v3/title_widget.proto\x1a:yandex/cloud/monitoring/v3/multi_source_chart_widget.proto\"\
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/monitoring/v3/widget.proto\x12\x1ayandex.cloud.monitoring.v3\x1a-yandex/cloud/monitoring/v3/chart_widget.proto\x1a,yandex/cloud/monitoring/v3/text_widget.proto\x1a-yandex/cloud/monitoring/v3/title_widget.proto\x1a:yandex/cloud/monitoring/v3/multi_source_chart_widget.proto\x1a*yandex/cloud/monitoring/v3/link_item.proto\"\xda\x03\n\x06Widget\x12\x43\n\x08position\x18\x01 \x01(\x0b\x32\x31.yandex.cloud.monitoring.v3.Widget.LayoutPosition\x12\x36\n\x04text\x18\x02 \x01(\x0b\x32&.yandex.cloud.monitoring.v3.TextWidgetH\x00\x12\x38\n\x05title\x18\x03 \x01(\x0b\x32\'.yandex.cloud.monitoring.v3.TitleWidgetH\x00\x12\x38\n\x05\x63hart\x18\x05 \x01(\x0b\x32\'.yandex.cloud.monitoring.v3.ChartWidgetH\x00\x12P\n\x12multi_source_chart\x18\n \x01(\x0b\x32\x32.yandex.cloud.monitoring.v3.MultiSourceChartWidgetH\x00\x12\x33\n\x05links\x18\x0c \x03(\x0b\x32$.yandex.cloud.monitoring.v3.LinkItem\x1a<\n\x0eLayoutPosition\x12\t\n\x01x\x18\x01 \x01(\x03\x12\t\n\x01y\x18\x02 \x01(\x03\x12\t\n\x01w\x18\x03 \x01(\x03\x12\t\n\x01h\x18\x04 \x01(\x03\x42\x08\n\x06widgetJ\x04\x08\x04\x10\x05J\x04\x08\x06\x10\nJ\x04\x08\x0b\x10\x0c\x42k\n\x1eyandex.cloud.api.monitoring.v3ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/monitoring/v3;monitoringb\x06proto3')
|
|
32
33
|
|
|
33
34
|
_globals = globals()
|
|
34
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -36,8 +37,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.monitoring.v3.
|
|
|
36
37
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
38
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
39
|
_globals['DESCRIPTOR']._serialized_options = b'\n\036yandex.cloud.api.monitoring.v3ZIgithub.com/yandex-cloud/go-genproto/yandex/cloud/monitoring/v3;monitoring'
|
|
39
|
-
_globals['_WIDGET']._serialized_start=
|
|
40
|
-
_globals['_WIDGET']._serialized_end=
|
|
41
|
-
_globals['_WIDGET_LAYOUTPOSITION']._serialized_start=
|
|
42
|
-
_globals['_WIDGET_LAYOUTPOSITION']._serialized_end=
|
|
40
|
+
_globals['_WIDGET']._serialized_start=316
|
|
41
|
+
_globals['_WIDGET']._serialized_end=790
|
|
42
|
+
_globals['_WIDGET_LAYOUTPOSITION']._serialized_start=702
|
|
43
|
+
_globals['_WIDGET_LAYOUTPOSITION']._serialized_end=762
|
|
43
44
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -4,10 +4,13 @@ isort:skip_file
|
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
6
|
import builtins
|
|
7
|
+
import collections.abc
|
|
7
8
|
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
8
10
|
import google.protobuf.message
|
|
9
11
|
import typing
|
|
10
12
|
import yandex.cloud.monitoring.v3.chart_widget_pb2
|
|
13
|
+
import yandex.cloud.monitoring.v3.link_item_pb2
|
|
11
14
|
import yandex.cloud.monitoring.v3.multi_source_chart_widget_pb2
|
|
12
15
|
import yandex.cloud.monitoring.v3.text_widget_pb2
|
|
13
16
|
import yandex.cloud.monitoring.v3.title_widget_pb2
|
|
@@ -53,6 +56,7 @@ class Widget(google.protobuf.message.Message):
|
|
|
53
56
|
TITLE_FIELD_NUMBER: builtins.int
|
|
54
57
|
CHART_FIELD_NUMBER: builtins.int
|
|
55
58
|
MULTI_SOURCE_CHART_FIELD_NUMBER: builtins.int
|
|
59
|
+
LINKS_FIELD_NUMBER: builtins.int
|
|
56
60
|
@property
|
|
57
61
|
def position(self) -> global___Widget.LayoutPosition:
|
|
58
62
|
"""Required. Widget layout position."""
|
|
@@ -73,6 +77,8 @@ class Widget(google.protobuf.message.Message):
|
|
|
73
77
|
def multi_source_chart(self) -> yandex.cloud.monitoring.v3.multi_source_chart_widget_pb2.MultiSourceChartWidget:
|
|
74
78
|
"""Multi-source chart widget."""
|
|
75
79
|
|
|
80
|
+
@property
|
|
81
|
+
def links(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.monitoring.v3.link_item_pb2.LinkItem]: ...
|
|
76
82
|
def __init__(
|
|
77
83
|
self,
|
|
78
84
|
*,
|
|
@@ -81,9 +87,10 @@ class Widget(google.protobuf.message.Message):
|
|
|
81
87
|
title: yandex.cloud.monitoring.v3.title_widget_pb2.TitleWidget | None = ...,
|
|
82
88
|
chart: yandex.cloud.monitoring.v3.chart_widget_pb2.ChartWidget | None = ...,
|
|
83
89
|
multi_source_chart: yandex.cloud.monitoring.v3.multi_source_chart_widget_pb2.MultiSourceChartWidget | None = ...,
|
|
90
|
+
links: collections.abc.Iterable[yandex.cloud.monitoring.v3.link_item_pb2.LinkItem] | None = ...,
|
|
84
91
|
) -> None: ...
|
|
85
92
|
def HasField(self, field_name: typing.Literal["chart", b"chart", "multi_source_chart", b"multi_source_chart", "position", b"position", "text", b"text", "title", b"title", "widget", b"widget"]) -> builtins.bool: ...
|
|
86
|
-
def ClearField(self, field_name: typing.Literal["chart", b"chart", "multi_source_chart", b"multi_source_chart", "position", b"position", "text", b"text", "title", b"title", "widget", b"widget"]) -> None: ...
|
|
93
|
+
def ClearField(self, field_name: typing.Literal["chart", b"chart", "links", b"links", "multi_source_chart", b"multi_source_chart", "position", b"position", "text", b"text", "title", b"title", "widget", b"widget"]) -> None: ...
|
|
87
94
|
def WhichOneof(self, oneof_group: typing.Literal["widget", b"widget"]) -> typing.Literal["text", "title", "chart", "multi_source_chart"] | None: ...
|
|
88
95
|
|
|
89
96
|
global___Widget = Widget
|