yandexcloud 0.350.0__py3-none-any.whl → 0.352.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.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +23 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +80 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +86 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +34 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +4 -4
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +4 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +39 -37
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +110 -87
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +96 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.py +88 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.pyi +40 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.py +4 -4
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_group_pb2.py +3 -3
- yandex/cloud/cdn/v1/origin_group_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_group_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_group_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_pb2.py +10 -10
- yandex/cloud/cdn/v1/origin_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/resource_pb2.py +64 -64
- yandex/cloud/cdn/v1/resource_pb2.pyi +9 -1
- yandex/cloud/cdn/v1/resource_service_pb2.py +26 -26
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.py +20 -14
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +31 -2
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.py +16 -16
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.pyi +11 -2
- yandex/cloud/dataproc/v1/cluster_pb2.py +20 -20
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/dataproc/v1/cluster_service_pb2.py +40 -40
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +10 -2
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +8 -8
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +1 -5
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.py +12 -10
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.pyi +26 -3
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +1 -1
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +1 -1
- yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
- yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +26 -26
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +15 -15
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +25 -25
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +16 -16
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.py +22 -22
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.pyi +18 -18
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +132 -132
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/clickhouse/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/clickhouse/v1/database_pb2.pyi +35 -3
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +9 -5
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.pyi +4 -0
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -38
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +48 -4
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -76
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +12 -2
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +12 -2
- yandex/cloud/mdb/postgresql/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/postgresql/v1/database_pb2.pyi +1 -1
- yandex/cloud/metastore/v1/cluster_pb2.py +19 -23
- yandex/cloud/metastore/v1/cluster_pb2.pyi +40 -63
- yandex/cloud/metastore/v1/cluster_service_pb2.py +54 -60
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +92 -125
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +63 -66
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +62 -77
- yandex/cloud/monitoring/v3/chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +151 -6
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +36 -34
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +13 -7
- yandex/cloud/monitoring/v3/link_pb2.py +8 -4
- yandex/cloud/monitoring/v3/link_pb2.pyi +27 -1
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +151 -6
- yandex/cloud/quotamanager/v1/quota_request_service_pb2.py +3 -3
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +26 -31
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +6 -1
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +8 -8
- yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +5 -1
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +12 -10
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +17 -3
- yandex/cloud/spark/v1/cluster_pb2.py +29 -25
- yandex/cloud/spark/v1/cluster_pb2.pyi +53 -0
- yandex/cloud/spark/v1/cluster_service_pb2.py +54 -31
- yandex/cloud/spark/v1/cluster_service_pb2.pyi +93 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/channel_pb2.py +12 -12
- yandex/cloud/video/v1/channel_pb2.pyi +88 -22
- yandex/cloud/video/v1/channel_service_pb2.py +14 -14
- yandex/cloud/video/v1/channel_service_pb2.pyi +77 -41
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +26 -9
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +87 -30
- yandex/cloud/video/v1/episode_pb2.py +8 -10
- yandex/cloud/video/v1/episode_pb2.pyi +52 -36
- yandex/cloud/video/v1/episode_service_pb2.py +44 -42
- yandex/cloud/video/v1/episode_service_pb2.pyi +131 -82
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +30 -10
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +102 -33
- yandex/cloud/video/v1/manifest_pb2.pyi +24 -1
- yandex/cloud/video/v1/playlist_pb2.py +4 -6
- yandex/cloud/video/v1/playlist_pb2.pyi +24 -12
- yandex/cloud/video/v1/playlist_service_pb2.py +28 -24
- yandex/cloud/video/v1/playlist_service_pb2.pyi +99 -47
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +20 -7
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +75 -24
- yandex/cloud/video/v1/stream_line_pb2.py +16 -16
- yandex/cloud/video/v1/stream_line_pb2.pyi +11 -12
- yandex/cloud/video/v1/stream_line_service_pb2.py +54 -56
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +110 -65
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +25 -10
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +96 -33
- yandex/cloud/video/v1/stream_pb2.pyi +49 -36
- yandex/cloud/video/v1/stream_service_pb2.pyi +123 -52
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +25 -8
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +84 -27
- yandex/cloud/video/v1/style_preset_pb2.py +49 -0
- yandex/cloud/video/v1/style_preset_pb2.pyi +200 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.py +24 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/style_preset_service_pb2.py +141 -0
- yandex/cloud/video/v1/style_preset_service_pb2.pyi +348 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.py +290 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.pyi +171 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +32 -26
- yandex/cloud/video/v1/subtitle_service_pb2.py +17 -17
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +26 -17
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +18 -5
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +63 -18
- yandex/cloud/video/v1/thumbnail_pb2.py +3 -3
- yandex/cloud/video/v1/thumbnail_pb2.pyi +18 -5
- yandex/cloud/video/v1/thumbnail_service_pb2.py +39 -31
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +94 -33
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +21 -6
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +75 -21
- yandex/cloud/video/v1/video_pb2.py +24 -24
- yandex/cloud/video/v1/video_pb2.pyi +105 -64
- yandex/cloud/video/v1/video_service_pb2.py +80 -74
- yandex/cloud/video/v1/video_service_pb2.pyi +197 -102
- yandex/cloud/video/v1/video_service_pb2_grpc.py +35 -12
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +123 -39
- yandex/cloud/ytsaurus/v1/package_options_pb2.py +35 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.pyi +17 -0
- yandexcloud/__init__.py +1 -1
- yandexcloud/_wrappers/dataproc/__init__.py +4 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/RECORD +157 -145
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/top_level.txt +0 -0
|
@@ -11,6 +11,7 @@ import google.protobuf.internal.enum_type_wrapper
|
|
|
11
11
|
import google.protobuf.message
|
|
12
12
|
import sys
|
|
13
13
|
import typing
|
|
14
|
+
import yandex.cloud.searchapi.v2.search_query_pb2
|
|
14
15
|
|
|
15
16
|
if sys.version_info >= (3, 10):
|
|
16
17
|
import typing as typing_extensions
|
|
@@ -175,12 +176,15 @@ class GenSearchRequest(google.protobuf.message.Message):
|
|
|
175
176
|
FIX_MISSPELL_FIELD_NUMBER: builtins.int
|
|
176
177
|
ENABLE_NRFM_DOCS_FIELD_NUMBER: builtins.int
|
|
177
178
|
SEARCH_FILTERS_FIELD_NUMBER: builtins.int
|
|
179
|
+
SEARCH_TYPE_FIELD_NUMBER: builtins.int
|
|
178
180
|
folder_id: builtins.str
|
|
179
181
|
"""ID of the folder."""
|
|
180
182
|
fix_misspell: builtins.bool
|
|
181
183
|
"""Fix query misspells."""
|
|
182
184
|
enable_nrfm_docs: builtins.bool
|
|
183
185
|
"""Use the documents inaccessible from the site's front page."""
|
|
186
|
+
search_type: yandex.cloud.searchapi.v2.search_query_pb2.SearchQuery.SearchType.ValueType
|
|
187
|
+
"""Search type that determines the domain name that will be used for the search queries."""
|
|
184
188
|
@property
|
|
185
189
|
def messages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GenSearchMessage]:
|
|
186
190
|
"""Single search query or a search query with context in the form of chat with the model."""
|
|
@@ -206,9 +210,10 @@ class GenSearchRequest(google.protobuf.message.Message):
|
|
|
206
210
|
fix_misspell: builtins.bool = ...,
|
|
207
211
|
enable_nrfm_docs: builtins.bool = ...,
|
|
208
212
|
search_filters: collections.abc.Iterable[global___GenSearchRequest.SearchFilter] | None = ...,
|
|
213
|
+
search_type: yandex.cloud.searchapi.v2.search_query_pb2.SearchQuery.SearchType.ValueType = ...,
|
|
209
214
|
) -> None: ...
|
|
210
215
|
def HasField(self, field_name: typing.Literal["host", b"host", "site", b"site", "site_options", b"site_options", "url", b"url"]) -> builtins.bool: ...
|
|
211
|
-
def ClearField(self, field_name: typing.Literal["enable_nrfm_docs", b"enable_nrfm_docs", "fix_misspell", b"fix_misspell", "folder_id", b"folder_id", "host", b"host", "messages", b"messages", "search_filters", b"search_filters", "site", b"site", "site_options", b"site_options", "url", b"url"]) -> None: ...
|
|
216
|
+
def ClearField(self, field_name: typing.Literal["enable_nrfm_docs", b"enable_nrfm_docs", "fix_misspell", b"fix_misspell", "folder_id", b"folder_id", "host", b"host", "messages", b"messages", "search_filters", b"search_filters", "search_type", b"search_type", "site", b"site", "site_options", b"site_options", "url", b"url"]) -> None: ...
|
|
212
217
|
def WhichOneof(self, oneof_group: typing.Literal["site_options", b"site_options"]) -> typing.Literal["site", "host", "url"] | None: ...
|
|
213
218
|
|
|
214
219
|
global___GenSearchRequest = GenSearchRequest
|
|
@@ -27,7 +27,7 @@ from yandex.cloud.searchapi.v2 import search_query_pb2 as yandex_dot_cloud_dot_s
|
|
|
27
27
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/img_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"\x80\x08\n\tImageSpec\x12@\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12<\n\x04size\x18\x02 \x01(\x0e\x32..yandex.cloud.searchapi.v2.ImageSpec.ImageSize\x12J\n\x0borientation\x18\x03 \x01(\x0e\x32\x35.yandex.cloud.searchapi.v2.ImageSpec.ImageOrientation\x12>\n\x05\x63olor\x18\x04 \x01(\x0e\x32/.yandex.cloud.searchapi.v2.ImageSpec.ImageColor\"n\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_FORMAT_JPEG\x10\x01\x12\x14\n\x10IMAGE_FORMAT_GIF\x10\x02\x12\x14\n\x10IMAGE_FORMAT_PNG\x10\x03\"\x95\x01\n\x10ImageOrientation\x12!\n\x1dIMAGE_ORIENTATION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aIMAGE_ORIENTATION_VERTICAL\x10\x01\x12 \n\x1cIMAGE_ORIENTATION_HORIZONTAL\x10\x02\x12\x1c\n\x18IMAGE_ORIENTATION_SQUARE\x10\x03\"\xb2\x01\n\tImageSize\x12\x1a\n\x16IMAGE_SIZE_UNSPECIFIED\x10\x00\x12\x17\n\x13IMAGE_SIZE_ENORMOUS\x10\x01\x12\x14\n\x10IMAGE_SIZE_LARGE\x10\x02\x12\x15\n\x11IMAGE_SIZE_MEDIUM\x10\x03\x12\x14\n\x10IMAGE_SIZE_SMALL\x10\x04\x12\x13\n\x0fIMAGE_SIZE_TINY\x10\x05\x12\x18\n\x14IMAGE_SIZE_WALLPAPER\x10\x06\"\xa9\x02\n\nImageColor\x12\x1b\n\x17IMAGE_COLOR_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_COLOR_COLOR\x10\x01\x12\x19\n\x15IMAGE_COLOR_GRAYSCALE\x10\x02\x12\x13\n\x0fIMAGE_COLOR_RED\x10\x03\x12\x16\n\x12IMAGE_COLOR_ORANGE\x10\x04\x12\x16\n\x12IMAGE_COLOR_YELLOW\x10\x05\x12\x15\n\x11IMAGE_COLOR_GREEN\x10\x06\x12\x14\n\x10IMAGE_COLOR_CYAN\x10\x07\x12\x14\n\x10IMAGE_COLOR_BLUE\x10\x08\x12\x16\n\x12IMAGE_COLOR_VIOLET\x10\t\x12\x15\n\x11IMAGE_COLOR_WHITE\x10\n\x12\x15\n\x11IMAGE_COLOR_BLACK\x10\x0b\"\xf6\x01\n\x12ImageSearchRequest\x12;\n\x05query\x18\x01 \x01(\x0b\x32&.yandex.cloud.searchapi.v2.SearchQueryB\x04\xe8\xc7\x31\x01\x12\x38\n\nimage_spec\x18\x02 \x01(\x0b\x32$.yandex.cloud.searchapi.v2.ImageSpec\x12\x0c\n\x04site\x18\x03 \x01(\t\x12\x1f\n\x0c\x64ocs_on_page\x18\x04 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100\x12\x1b\n\tfolder_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\nuser_agent\x18\x06 \x01(\tB\t\x8a\xc8\x31\x05<=200\"-\n\x13ImageSearchResponse\x12\x16\n\x08raw_data\x18\x01 \x01(\x0c\x42\x04\xe8\xc7\x31\x01\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/img_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"\x80\x08\n\tImageSpec\x12@\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12<\n\x04size\x18\x02 \x01(\x0e\x32..yandex.cloud.searchapi.v2.ImageSpec.ImageSize\x12J\n\x0borientation\x18\x03 \x01(\x0e\x32\x35.yandex.cloud.searchapi.v2.ImageSpec.ImageOrientation\x12>\n\x05\x63olor\x18\x04 \x01(\x0e\x32/.yandex.cloud.searchapi.v2.ImageSpec.ImageColor\"n\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_FORMAT_JPEG\x10\x01\x12\x14\n\x10IMAGE_FORMAT_GIF\x10\x02\x12\x14\n\x10IMAGE_FORMAT_PNG\x10\x03\"\x95\x01\n\x10ImageOrientation\x12!\n\x1dIMAGE_ORIENTATION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aIMAGE_ORIENTATION_VERTICAL\x10\x01\x12 \n\x1cIMAGE_ORIENTATION_HORIZONTAL\x10\x02\x12\x1c\n\x18IMAGE_ORIENTATION_SQUARE\x10\x03\"\xb2\x01\n\tImageSize\x12\x1a\n\x16IMAGE_SIZE_UNSPECIFIED\x10\x00\x12\x17\n\x13IMAGE_SIZE_ENORMOUS\x10\x01\x12\x14\n\x10IMAGE_SIZE_LARGE\x10\x02\x12\x15\n\x11IMAGE_SIZE_MEDIUM\x10\x03\x12\x14\n\x10IMAGE_SIZE_SMALL\x10\x04\x12\x13\n\x0fIMAGE_SIZE_TINY\x10\x05\x12\x18\n\x14IMAGE_SIZE_WALLPAPER\x10\x06\"\xa9\x02\n\nImageColor\x12\x1b\n\x17IMAGE_COLOR_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_COLOR_COLOR\x10\x01\x12\x19\n\x15IMAGE_COLOR_GRAYSCALE\x10\x02\x12\x13\n\x0fIMAGE_COLOR_RED\x10\x03\x12\x16\n\x12IMAGE_COLOR_ORANGE\x10\x04\x12\x16\n\x12IMAGE_COLOR_YELLOW\x10\x05\x12\x15\n\x11IMAGE_COLOR_GREEN\x10\x06\x12\x14\n\x10IMAGE_COLOR_CYAN\x10\x07\x12\x14\n\x10IMAGE_COLOR_BLUE\x10\x08\x12\x16\n\x12IMAGE_COLOR_VIOLET\x10\t\x12\x15\n\x11IMAGE_COLOR_WHITE\x10\n\x12\x15\n\x11IMAGE_COLOR_BLACK\x10\x0b\"\xf6\x01\n\x12ImageSearchRequest\x12;\n\x05query\x18\x01 \x01(\x0b\x32&.yandex.cloud.searchapi.v2.SearchQueryB\x04\xe8\xc7\x31\x01\x12\x38\n\nimage_spec\x18\x02 \x01(\x0b\x32$.yandex.cloud.searchapi.v2.ImageSpec\x12\x0c\n\x04site\x18\x03 \x01(\t\x12\x1f\n\x0c\x64ocs_on_page\x18\x04 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100\x12\x1b\n\tfolder_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\nuser_agent\x18\x06 \x01(\tB\t\x8a\xc8\x31\x05<=200\"-\n\x13ImageSearchResponse\x12\x16\n\x08raw_data\x18\x01 \x01(\x0c\x42\x04\xe8\xc7\x31\x01\"\x9a\x02\n\x19ImageSearchByImageRequest\x12\x18\n\x04site\x18\x01 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x1b\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\x03url\x18\x03 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12!\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x42\x11\xe8\xc7\x31\x01\x8a\xc8\x31\t<=3145728H\x00\x12\x1c\n\x02id\x18\x05 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12\x15\n\x04page\x18\x06 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12\x46\n\x0b\x66\x61mily_mode\x18\x07 \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.FamilyModeB\x07\n\x05image\"\xda\x02\n\x1aImageSearchByImageResponse\x12O\n\x06images\x18\x01 \x03(\x0b\x32?.yandex.cloud.searchapi.v2.ImageSearchByImageResponse.ImageInfo\x12\x0c\n\x04page\x18\x02 \x01(\x03\x12\x10\n\x08max_page\x18\x03 \x01(\x03\x12\n\n\x02id\x18\x04 \x01(\t\x1a\xbe\x01\n\tImageInfo\x12\x0b\n\x03url\x18\x01 \x01(\t\x12@\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12\r\n\x05width\x18\x03 \x01(\x03\x12\x0e\n\x06height\x18\x04 \x01(\x03\x12\x0f\n\x07passage\x18\x05 \x01(\t\x12\x0c\n\x04host\x18\x06 \x01(\t\x12\x12\n\npage_title\x18\x07 \x01(\t\x12\x10\n\x08page_url\x18\x08 \x01(\t2\xc0\x02\n\x12ImageSearchService\x12\x84\x01\n\x06Search\x12-.yandex.cloud.searchapi.v2.ImageSearchRequest\x1a..yandex.cloud.searchapi.v2.ImageSearchResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v2/image/search:\x01*\x12\xa2\x01\n\rSearchByImage\x12\x34.yandex.cloud.searchapi.v2.ImageSearchByImageRequest\x1a\x35.yandex.cloud.searchapi.v2.ImageSearchByImageResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/v2/image/search_by_image:\x01*Be\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -76,11 +76,11 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
76
76
|
_globals['_IMAGESEARCHRESPONSE']._serialized_start=1464
|
|
77
77
|
_globals['_IMAGESEARCHRESPONSE']._serialized_end=1509
|
|
78
78
|
_globals['_IMAGESEARCHBYIMAGEREQUEST']._serialized_start=1512
|
|
79
|
-
_globals['_IMAGESEARCHBYIMAGEREQUEST']._serialized_end=
|
|
80
|
-
_globals['_IMAGESEARCHBYIMAGERESPONSE']._serialized_start=
|
|
81
|
-
_globals['_IMAGESEARCHBYIMAGERESPONSE']._serialized_end=
|
|
82
|
-
_globals['_IMAGESEARCHBYIMAGERESPONSE_IMAGEINFO']._serialized_start=
|
|
83
|
-
_globals['_IMAGESEARCHBYIMAGERESPONSE_IMAGEINFO']._serialized_end=
|
|
84
|
-
_globals['_IMAGESEARCHSERVICE']._serialized_start=
|
|
85
|
-
_globals['_IMAGESEARCHSERVICE']._serialized_end=
|
|
79
|
+
_globals['_IMAGESEARCHBYIMAGEREQUEST']._serialized_end=1794
|
|
80
|
+
_globals['_IMAGESEARCHBYIMAGERESPONSE']._serialized_start=1797
|
|
81
|
+
_globals['_IMAGESEARCHBYIMAGERESPONSE']._serialized_end=2143
|
|
82
|
+
_globals['_IMAGESEARCHBYIMAGERESPONSE_IMAGEINFO']._serialized_start=1953
|
|
83
|
+
_globals['_IMAGESEARCHBYIMAGERESPONSE_IMAGEINFO']._serialized_end=2143
|
|
84
|
+
_globals['_IMAGESEARCHSERVICE']._serialized_start=2146
|
|
85
|
+
_globals['_IMAGESEARCHSERVICE']._serialized_end=2466
|
|
86
86
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -251,6 +251,7 @@ class ImageSearchByImageRequest(google.protobuf.message.Message):
|
|
|
251
251
|
DATA_FIELD_NUMBER: builtins.int
|
|
252
252
|
ID_FIELD_NUMBER: builtins.int
|
|
253
253
|
PAGE_FIELD_NUMBER: builtins.int
|
|
254
|
+
FAMILY_MODE_FIELD_NUMBER: builtins.int
|
|
254
255
|
site: builtins.str
|
|
255
256
|
"""Restricts the search to the specific website."""
|
|
256
257
|
folder_id: builtins.str
|
|
@@ -263,6 +264,8 @@ class ImageSearchByImageRequest(google.protobuf.message.Message):
|
|
|
263
264
|
"""CBIR ID of the image to use for the search."""
|
|
264
265
|
page: builtins.int
|
|
265
266
|
"""The number of a requested page with search results."""
|
|
267
|
+
family_mode: yandex.cloud.searchapi.v2.search_query_pb2.SearchQuery.FamilyMode.ValueType
|
|
268
|
+
"""Rule for filtering search results and determines whether any documents should be excluded."""
|
|
266
269
|
def __init__(
|
|
267
270
|
self,
|
|
268
271
|
*,
|
|
@@ -272,9 +275,10 @@ class ImageSearchByImageRequest(google.protobuf.message.Message):
|
|
|
272
275
|
data: builtins.bytes = ...,
|
|
273
276
|
id: builtins.str = ...,
|
|
274
277
|
page: builtins.int = ...,
|
|
278
|
+
family_mode: yandex.cloud.searchapi.v2.search_query_pb2.SearchQuery.FamilyMode.ValueType = ...,
|
|
275
279
|
) -> None: ...
|
|
276
280
|
def HasField(self, field_name: typing.Literal["data", b"data", "id", b"id", "image", b"image", "url", b"url"]) -> builtins.bool: ...
|
|
277
|
-
def ClearField(self, field_name: typing.Literal["data", b"data", "folder_id", b"folder_id", "id", b"id", "image", b"image", "page", b"page", "site", b"site", "url", b"url"]) -> None: ...
|
|
281
|
+
def ClearField(self, field_name: typing.Literal["data", b"data", "family_mode", b"family_mode", "folder_id", b"folder_id", "id", b"id", "image", b"image", "page", b"page", "site", b"site", "url", b"url"]) -> None: ...
|
|
278
282
|
def WhichOneof(self, oneof_group: typing.Literal["image", b"image"]) -> typing.Literal["url", "data", "id"] | None: ...
|
|
279
283
|
|
|
280
284
|
global___ImageSearchByImageRequest = ImageSearchByImageRequest
|
|
@@ -27,7 +27,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
27
27
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/serverless/eventrouter/v1/connector.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xe3\x04\n\tConnector\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06\x62us_id\x18\x02 \x01(\t\x12\x11\n\tfolder_id\x18\x03 \x01(\t\x12\x10\n\x08\x63loud_id\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12M\n\x06labels\x18\x08 \x03(\x0b\x32=.yandex.cloud.serverless.eventrouter.v1.Connector.LabelsEntry\x12>\n\x06source\x18\t \x01(\x0b\x32..yandex.cloud.serverless.eventrouter.v1.Source\x12\x1b\n\x13\x64\x65letion_protection\x18\n \x01(\x08\x12H\n\x06status\x18\x0b \x01(\x0e\x32\x38.yandex.cloud.serverless.eventrouter.v1.Connector.Status\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\x16\n\x12RESOURCE_NOT_FOUND\x10\x03\x12\x15\n\x11PERMISSION_DENIED\x10\x04\x12\x15\n\x11SUBJECT_NOT_FOUND\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x07\x12\x0c\n\x08\x43REATING\x10\x08\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/serverless/eventrouter/v1/connector.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xe3\x04\n\tConnector\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06\x62us_id\x18\x02 \x01(\t\x12\x11\n\tfolder_id\x18\x03 \x01(\t\x12\x10\n\x08\x63loud_id\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12M\n\x06labels\x18\x08 \x03(\x0b\x32=.yandex.cloud.serverless.eventrouter.v1.Connector.LabelsEntry\x12>\n\x06source\x18\t \x01(\x0b\x32..yandex.cloud.serverless.eventrouter.v1.Source\x12\x1b\n\x13\x64\x65letion_protection\x18\n \x01(\x08\x12H\n\x06status\x18\x0b \x01(\x0e\x32\x38.yandex.cloud.serverless.eventrouter.v1.Connector.Status\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\x16\n\x12RESOURCE_NOT_FOUND\x10\x03\x12\x15\n\x11PERMISSION_DENIED\x10\x04\x12\x15\n\x11SUBJECT_NOT_FOUND\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x07\x12\x0c\n\x08\x43REATING\x10\x08\"\x9b\x03\n\x06Source\x12I\n\x0b\x64\x61ta_stream\x18\x01 \x01(\x0b\x32\x32.yandex.cloud.serverless.eventrouter.v1.DataStreamH\x00\x12M\n\rmessage_queue\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.serverless.eventrouter.v1.MessageQueueH\x00\x12>\n\x05timer\x18\x03 \x01(\x0b\x32-.yandex.cloud.serverless.eventrouter.v1.TimerH\x00\x12Z\n\x14\x65vent_service_source\x18\x04 \x01(\x0b\x32:.yandex.cloud.serverless.eventrouter.v1.EventServiceSourceH\x00\x12K\n\x0c\x61udit_trails\x18\x05 \x01(\x0b\x32\x33.yandex.cloud.serverless.eventrouter.v1.AuditTrailsH\x00\x42\x0e\n\x06source\x12\x04\xc0\xc1\x31\x01\"y\n\nDataStream\x12\x16\n\x08\x64\x61tabase\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x19\n\x0bstream_name\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x16\n\x08\x63onsumer\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\x12 \n\x12service_account_id\x18\x04 \x01(\tB\x04\xe8\xc7\x31\x01\"\xf0\x01\n\x0cMessageQueue\x12\x17\n\tqueue_arn\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12(\n\x12service_account_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12@\n\x12visibility_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\t\xfa\xc7\x31\x05<=12h\x12\x1c\n\nbatch_size\x18\x04 \x01(\x03\x42\x08\xfa\xc7\x31\x04<=10\x12=\n\x0fpolling_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\t\xfa\xc7\x31\x05<=20s\"\x14\n\x12\x45ventServiceSource\"e\n\x05Timer\x12&\n\x0f\x63ron_expression\x18\x01 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=100\x12\x11\n\ttime_zone\x18\x02 \x01(\t\x12\x1b\n\x07payload\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=4096J\x04\x08\x03\x10\x04\"\r\n\x0b\x41uditTrailsB\x8a\x01\n*yandex.cloud.api.serverless.eventrouter.v1B\x04PERCZVgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/eventrouter/v1;eventrouterb\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -68,13 +68,15 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
68
68
|
_globals['_CONNECTOR_STATUS']._serialized_start=650
|
|
69
69
|
_globals['_CONNECTOR_STATUS']._serialized_end=806
|
|
70
70
|
_globals['_SOURCE']._serialized_start=809
|
|
71
|
-
_globals['_SOURCE']._serialized_end=
|
|
72
|
-
_globals['_DATASTREAM']._serialized_start=
|
|
73
|
-
_globals['_DATASTREAM']._serialized_end=
|
|
74
|
-
_globals['_MESSAGEQUEUE']._serialized_start=
|
|
75
|
-
_globals['_MESSAGEQUEUE']._serialized_end=
|
|
76
|
-
_globals['_EVENTSERVICESOURCE']._serialized_start=
|
|
77
|
-
_globals['_EVENTSERVICESOURCE']._serialized_end=
|
|
78
|
-
_globals['_TIMER']._serialized_start=
|
|
79
|
-
_globals['_TIMER']._serialized_end=
|
|
71
|
+
_globals['_SOURCE']._serialized_end=1220
|
|
72
|
+
_globals['_DATASTREAM']._serialized_start=1222
|
|
73
|
+
_globals['_DATASTREAM']._serialized_end=1343
|
|
74
|
+
_globals['_MESSAGEQUEUE']._serialized_start=1346
|
|
75
|
+
_globals['_MESSAGEQUEUE']._serialized_end=1586
|
|
76
|
+
_globals['_EVENTSERVICESOURCE']._serialized_start=1588
|
|
77
|
+
_globals['_EVENTSERVICESOURCE']._serialized_end=1608
|
|
78
|
+
_globals['_TIMER']._serialized_start=1610
|
|
79
|
+
_globals['_TIMER']._serialized_end=1711
|
|
80
|
+
_globals['_AUDITTRAILS']._serialized_start=1713
|
|
81
|
+
_globals['_AUDITTRAILS']._serialized_end=1726
|
|
80
82
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -147,6 +147,7 @@ class Source(google.protobuf.message.Message):
|
|
|
147
147
|
MESSAGE_QUEUE_FIELD_NUMBER: builtins.int
|
|
148
148
|
TIMER_FIELD_NUMBER: builtins.int
|
|
149
149
|
EVENT_SERVICE_SOURCE_FIELD_NUMBER: builtins.int
|
|
150
|
+
AUDIT_TRAILS_FIELD_NUMBER: builtins.int
|
|
150
151
|
@property
|
|
151
152
|
def data_stream(self) -> global___DataStream: ...
|
|
152
153
|
@property
|
|
@@ -155,6 +156,8 @@ class Source(google.protobuf.message.Message):
|
|
|
155
156
|
def timer(self) -> global___Timer: ...
|
|
156
157
|
@property
|
|
157
158
|
def event_service_source(self) -> global___EventServiceSource: ...
|
|
159
|
+
@property
|
|
160
|
+
def audit_trails(self) -> global___AuditTrails: ...
|
|
158
161
|
def __init__(
|
|
159
162
|
self,
|
|
160
163
|
*,
|
|
@@ -162,10 +165,11 @@ class Source(google.protobuf.message.Message):
|
|
|
162
165
|
message_queue: global___MessageQueue | None = ...,
|
|
163
166
|
timer: global___Timer | None = ...,
|
|
164
167
|
event_service_source: global___EventServiceSource | None = ...,
|
|
168
|
+
audit_trails: global___AuditTrails | None = ...,
|
|
165
169
|
) -> None: ...
|
|
166
|
-
def HasField(self, field_name: typing.Literal["data_stream", b"data_stream", "event_service_source", b"event_service_source", "message_queue", b"message_queue", "source", b"source", "timer", b"timer"]) -> builtins.bool: ...
|
|
167
|
-
def ClearField(self, field_name: typing.Literal["data_stream", b"data_stream", "event_service_source", b"event_service_source", "message_queue", b"message_queue", "source", b"source", "timer", b"timer"]) -> None: ...
|
|
168
|
-
def WhichOneof(self, oneof_group: typing.Literal["source", b"source"]) -> typing.Literal["data_stream", "message_queue", "timer", "event_service_source"] | None: ...
|
|
170
|
+
def HasField(self, field_name: typing.Literal["audit_trails", b"audit_trails", "data_stream", b"data_stream", "event_service_source", b"event_service_source", "message_queue", b"message_queue", "source", b"source", "timer", b"timer"]) -> builtins.bool: ...
|
|
171
|
+
def ClearField(self, field_name: typing.Literal["audit_trails", b"audit_trails", "data_stream", b"data_stream", "event_service_source", b"event_service_source", "message_queue", b"message_queue", "source", b"source", "timer", b"timer"]) -> None: ...
|
|
172
|
+
def WhichOneof(self, oneof_group: typing.Literal["source", b"source"]) -> typing.Literal["data_stream", "message_queue", "timer", "event_service_source", "audit_trails"] | None: ...
|
|
169
173
|
|
|
170
174
|
global___Source = Source
|
|
171
175
|
|
|
@@ -271,3 +275,13 @@ class Timer(google.protobuf.message.Message):
|
|
|
271
275
|
def ClearField(self, field_name: typing.Literal["cron_expression", b"cron_expression", "payload", b"payload", "time_zone", b"time_zone"]) -> None: ...
|
|
272
276
|
|
|
273
277
|
global___Timer = Timer
|
|
278
|
+
|
|
279
|
+
@typing.final
|
|
280
|
+
class AuditTrails(google.protobuf.message.Message):
|
|
281
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
282
|
+
|
|
283
|
+
def __init__(
|
|
284
|
+
self,
|
|
285
|
+
) -> None: ...
|
|
286
|
+
|
|
287
|
+
global___AuditTrails = AuditTrails
|
|
@@ -27,7 +27,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
27
27
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/spark/v1/cluster.proto\x12\x15yandex.cloud.spark.v1\x1a\'yandex/cloud/spark/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf8\x06\n\x07\x43luster\x12\x18\n\x02id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12:\n\x06labels\x18\x06 \x03(\x0b\x32*.yandex.cloud.spark.v1.Cluster.LabelsEntry\x12\x34\n\x06\x63onfig\x18\x07 \x01(\x0b\x32$.yandex.cloud.spark.v1.ClusterConfig\x12\x35\n\x06status\x18\x08 \x01(\x0e\x32%.yandex.cloud.spark.v1.Cluster.Status\x12\x35\n\x07network\x18\t \x01(\x0b\x32$.yandex.cloud.spark.v1.NetworkConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\n \x01(\x08\x12$\n\x12service_account_id\x18\x0b \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\x0c \x01(\x0b\x32$.yandex.cloud.spark.v1.LoggingConfig\x12-\n\x06health\x18\r \x01(\x0e\x32\x1d.yandex.cloud.spark.v1.Health\x12,\n\x05links\x18\x0e \x03(\x0b\x32\x1d.yandex.cloud.spark.v1.UILink\x12\x44\n\x12maintenance_window\x18\x0f \x01(\x0b\x32(.yandex.cloud.spark.v1.MaintenanceWindow\x12\x46\n\x11planned_operation\x18\x10 \x01(\x0b\x32+.yandex.cloud.spark.v1.MaintenanceOperation\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06\x12\x0c\n\x08STARTING\x10\x07\"\x87\x02\n\rClusterConfig\x12\x42\n\x0eresource_pools\x18\x01 \x01(\x0b\x32$.yandex.cloud.spark.v1.ResourcePoolsB\x04\xe8\xc7\x31\x01\x12\x42\n\x0ehistory_server\x18\x02 \x01(\x0b\x32*.yandex.cloud.spark.v1.HistoryServerConfig\x12\x39\n\x0c\x64\x65pendencies\x18\x03 \x01(\x0b\x32#.yandex.cloud.spark.v1.Dependencies\x12\x33\n\tmetastore\x18\x04 \x01(\x0b\x32 .yandex.cloud.spark.v1.Metastore\"&\n\x13HistoryServerConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"?\n\rNetworkConfig\x12\x12\n\nsubnet_ids\x18\x01 \x03(\t\x12\x1a\n\x12security_group_ids\x18\x02 \x03(\t\"\x87\x01\n\rResourcePools\x12\x39\n\x06\x64river\x18\x01 \x01(\x0b\x32#.yandex.cloud.spark.v1.ResourcePoolB\x04\xe8\xc7\x31\x01\x12;\n\x08\x65xecutor\x18\x02 \x01(\x0b\x32#.yandex.cloud.spark.v1.ResourcePoolB\x04\xe8\xc7\x31\x01\"x\n\x0cResourcePool\x12(\n\x12resource_preset_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12>\n\x0cscale_policy\x18\x02 \x01(\x0b\x32\".yandex.cloud.spark.v1.ScalePolicyB\x04\xe8\xc7\x31\x01\"\x99\x02\n\x0bScalePolicy\x12\x44\n\x0b\x66ixed_scale\x18\x01 \x01(\x0b\x32-.yandex.cloud.spark.v1.ScalePolicy.FixedScaleH\x00\x12\x42\n\nauto_scale\x18\x02 \x01(\x0b\x32,.yandex.cloud.spark.v1.ScalePolicy.AutoScaleH\x00\x1a%\n\nFixedScale\x12\x17\n\x04size\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100\x1a\x45\n\tAutoScale\x12\x1b\n\x08min_size\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-100\x12\x1b\n\x08max_size\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100B\x12\n\nscale_type\x12\x04\xc0\xc1\x31\x01\":\n\x0c\x44\x65pendencies\x12\x14\n\x0cpip_packages\x18\x01 \x03(\t\x12\x14\n\x0c\x64\x65\x62_packages\x18\x02 \x03(\t\")\n\tMetastore\x12\x1c\n\ncluster_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\"\xa6\x01\n\rLoggingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x38\n\tfolder_id\x18\x02 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12;\n\x0clog_group_id\x18\x03 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x42\r\n\x0b\x64\x65stination\"#\n\x06UILink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t*?\n\x06Health\x12\x12\n\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\x42\\\n\x19yandex.cloud.api.spark.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/spark/v1;sparkb\x06proto3')
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/spark/v1/cluster.proto\x12\x15yandex.cloud.spark.v1\x1a\'yandex/cloud/spark/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf8\x06\n\x07\x43luster\x12\x18\n\x02id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12:\n\x06labels\x18\x06 \x03(\x0b\x32*.yandex.cloud.spark.v1.Cluster.LabelsEntry\x12\x34\n\x06\x63onfig\x18\x07 \x01(\x0b\x32$.yandex.cloud.spark.v1.ClusterConfig\x12\x35\n\x06status\x18\x08 \x01(\x0e\x32%.yandex.cloud.spark.v1.Cluster.Status\x12\x35\n\x07network\x18\t \x01(\x0b\x32$.yandex.cloud.spark.v1.NetworkConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\n \x01(\x08\x12$\n\x12service_account_id\x18\x0b \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\x0c \x01(\x0b\x32$.yandex.cloud.spark.v1.LoggingConfig\x12-\n\x06health\x18\r \x01(\x0e\x32\x1d.yandex.cloud.spark.v1.Health\x12,\n\x05links\x18\x0e \x03(\x0b\x32\x1d.yandex.cloud.spark.v1.UILink\x12\x44\n\x12maintenance_window\x18\x0f \x01(\x0b\x32(.yandex.cloud.spark.v1.MaintenanceWindow\x12\x46\n\x11planned_operation\x18\x10 \x01(\x0b\x32+.yandex.cloud.spark.v1.MaintenanceOperation\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06\x12\x0c\n\x08STARTING\x10\x07\"\x87\x02\n\rClusterConfig\x12\x42\n\x0eresource_pools\x18\x01 \x01(\x0b\x32$.yandex.cloud.spark.v1.ResourcePoolsB\x04\xe8\xc7\x31\x01\x12\x42\n\x0ehistory_server\x18\x02 \x01(\x0b\x32*.yandex.cloud.spark.v1.HistoryServerConfig\x12\x39\n\x0c\x64\x65pendencies\x18\x03 \x01(\x0b\x32#.yandex.cloud.spark.v1.Dependencies\x12\x33\n\tmetastore\x18\x04 \x01(\x0b\x32 .yandex.cloud.spark.v1.Metastore\"\x8b\x02\n\x17UpdateClusterConfigSpec\x12<\n\x0eresource_pools\x18\x01 \x01(\x0b\x32$.yandex.cloud.spark.v1.ResourcePools\x12\x42\n\x0ehistory_server\x18\x02 \x01(\x0b\x32*.yandex.cloud.spark.v1.HistoryServerConfig\x12\x39\n\x0c\x64\x65pendencies\x18\x03 \x01(\x0b\x32#.yandex.cloud.spark.v1.Dependencies\x12\x33\n\tmetastore\x18\x04 \x01(\x0b\x32 .yandex.cloud.spark.v1.Metastore\"&\n\x13HistoryServerConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"?\n\rNetworkConfig\x12\x12\n\nsubnet_ids\x18\x01 \x03(\t\x12\x1a\n\x12security_group_ids\x18\x02 \x03(\t\"5\n\x17UpdateNetworkConfigSpec\x12\x1a\n\x12security_group_ids\x18\x01 \x03(\t\"\x87\x01\n\rResourcePools\x12\x39\n\x06\x64river\x18\x01 \x01(\x0b\x32#.yandex.cloud.spark.v1.ResourcePoolB\x04\xe8\xc7\x31\x01\x12;\n\x08\x65xecutor\x18\x02 \x01(\x0b\x32#.yandex.cloud.spark.v1.ResourcePoolB\x04\xe8\xc7\x31\x01\"x\n\x0cResourcePool\x12(\n\x12resource_preset_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12>\n\x0cscale_policy\x18\x02 \x01(\x0b\x32\".yandex.cloud.spark.v1.ScalePolicyB\x04\xe8\xc7\x31\x01\"\x99\x02\n\x0bScalePolicy\x12\x44\n\x0b\x66ixed_scale\x18\x01 \x01(\x0b\x32-.yandex.cloud.spark.v1.ScalePolicy.FixedScaleH\x00\x12\x42\n\nauto_scale\x18\x02 \x01(\x0b\x32,.yandex.cloud.spark.v1.ScalePolicy.AutoScaleH\x00\x1a%\n\nFixedScale\x12\x17\n\x04size\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100\x1a\x45\n\tAutoScale\x12\x1b\n\x08min_size\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-100\x12\x1b\n\x08max_size\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100B\x12\n\nscale_type\x12\x04\xc0\xc1\x31\x01\":\n\x0c\x44\x65pendencies\x12\x14\n\x0cpip_packages\x18\x01 \x03(\t\x12\x14\n\x0c\x64\x65\x62_packages\x18\x02 \x03(\t\")\n\tMetastore\x12\x1c\n\ncluster_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\"\xa6\x01\n\rLoggingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x38\n\tfolder_id\x18\x02 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12;\n\x0clog_group_id\x18\x03 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x42\r\n\x0b\x64\x65stination\"#\n\x06UILink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t*?\n\x06Health\x12\x12\n\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\x42\\\n\x19yandex.cloud.api.spark.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/spark/v1;sparkb\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -65,8 +65,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
65
65
|
_globals['_LOGGINGCONFIG'].fields_by_name['folder_id']._serialized_options = b'\362\3071\037([a-zA-Z][-a-zA-Z0-9_.]{0,63})?'
|
|
66
66
|
_globals['_LOGGINGCONFIG'].fields_by_name['log_group_id']._loaded_options = None
|
|
67
67
|
_globals['_LOGGINGCONFIG'].fields_by_name['log_group_id']._serialized_options = b'\362\3071\037([a-zA-Z][-a-zA-Z0-9_.]{0,63})?'
|
|
68
|
-
_globals['_HEALTH']._serialized_start=
|
|
69
|
-
_globals['_HEALTH']._serialized_end=
|
|
68
|
+
_globals['_HEALTH']._serialized_start=2607
|
|
69
|
+
_globals['_HEALTH']._serialized_end=2670
|
|
70
70
|
_globals['_CLUSTER']._serialized_start=168
|
|
71
71
|
_globals['_CLUSTER']._serialized_end=1056
|
|
72
72
|
_globals['_CLUSTER_LABELSENTRY']._serialized_start=888
|
|
@@ -75,26 +75,30 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
75
75
|
_globals['_CLUSTER_STATUS']._serialized_end=1056
|
|
76
76
|
_globals['_CLUSTERCONFIG']._serialized_start=1059
|
|
77
77
|
_globals['_CLUSTERCONFIG']._serialized_end=1322
|
|
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['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
-
_globals['
|
|
96
|
-
_globals['
|
|
97
|
-
_globals['
|
|
98
|
-
_globals['
|
|
99
|
-
_globals['
|
|
78
|
+
_globals['_UPDATECLUSTERCONFIGSPEC']._serialized_start=1325
|
|
79
|
+
_globals['_UPDATECLUSTERCONFIGSPEC']._serialized_end=1592
|
|
80
|
+
_globals['_HISTORYSERVERCONFIG']._serialized_start=1594
|
|
81
|
+
_globals['_HISTORYSERVERCONFIG']._serialized_end=1632
|
|
82
|
+
_globals['_NETWORKCONFIG']._serialized_start=1634
|
|
83
|
+
_globals['_NETWORKCONFIG']._serialized_end=1697
|
|
84
|
+
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_start=1699
|
|
85
|
+
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_end=1752
|
|
86
|
+
_globals['_RESOURCEPOOLS']._serialized_start=1755
|
|
87
|
+
_globals['_RESOURCEPOOLS']._serialized_end=1890
|
|
88
|
+
_globals['_RESOURCEPOOL']._serialized_start=1892
|
|
89
|
+
_globals['_RESOURCEPOOL']._serialized_end=2012
|
|
90
|
+
_globals['_SCALEPOLICY']._serialized_start=2015
|
|
91
|
+
_globals['_SCALEPOLICY']._serialized_end=2296
|
|
92
|
+
_globals['_SCALEPOLICY_FIXEDSCALE']._serialized_start=2168
|
|
93
|
+
_globals['_SCALEPOLICY_FIXEDSCALE']._serialized_end=2205
|
|
94
|
+
_globals['_SCALEPOLICY_AUTOSCALE']._serialized_start=2207
|
|
95
|
+
_globals['_SCALEPOLICY_AUTOSCALE']._serialized_end=2276
|
|
96
|
+
_globals['_DEPENDENCIES']._serialized_start=2298
|
|
97
|
+
_globals['_DEPENDENCIES']._serialized_end=2356
|
|
98
|
+
_globals['_METASTORE']._serialized_start=2358
|
|
99
|
+
_globals['_METASTORE']._serialized_end=2399
|
|
100
|
+
_globals['_LOGGINGCONFIG']._serialized_start=2402
|
|
101
|
+
_globals['_LOGGINGCONFIG']._serialized_end=2568
|
|
102
|
+
_globals['_UILINK']._serialized_start=2570
|
|
103
|
+
_globals['_UILINK']._serialized_end=2605
|
|
100
104
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -235,6 +235,41 @@ class ClusterConfig(google.protobuf.message.Message):
|
|
|
235
235
|
|
|
236
236
|
global___ClusterConfig = ClusterConfig
|
|
237
237
|
|
|
238
|
+
@typing.final
|
|
239
|
+
class UpdateClusterConfigSpec(google.protobuf.message.Message):
|
|
240
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
241
|
+
|
|
242
|
+
RESOURCE_POOLS_FIELD_NUMBER: builtins.int
|
|
243
|
+
HISTORY_SERVER_FIELD_NUMBER: builtins.int
|
|
244
|
+
DEPENDENCIES_FIELD_NUMBER: builtins.int
|
|
245
|
+
METASTORE_FIELD_NUMBER: builtins.int
|
|
246
|
+
@property
|
|
247
|
+
def resource_pools(self) -> global___ResourcePools: ...
|
|
248
|
+
@property
|
|
249
|
+
def history_server(self) -> global___HistoryServerConfig:
|
|
250
|
+
"""Configuration for HistoryServer"""
|
|
251
|
+
|
|
252
|
+
@property
|
|
253
|
+
def dependencies(self) -> global___Dependencies:
|
|
254
|
+
"""Container custom environment dependencies"""
|
|
255
|
+
|
|
256
|
+
@property
|
|
257
|
+
def metastore(self) -> global___Metastore:
|
|
258
|
+
"""Metastore Cluster"""
|
|
259
|
+
|
|
260
|
+
def __init__(
|
|
261
|
+
self,
|
|
262
|
+
*,
|
|
263
|
+
resource_pools: global___ResourcePools | None = ...,
|
|
264
|
+
history_server: global___HistoryServerConfig | None = ...,
|
|
265
|
+
dependencies: global___Dependencies | None = ...,
|
|
266
|
+
metastore: global___Metastore | None = ...,
|
|
267
|
+
) -> None: ...
|
|
268
|
+
def HasField(self, field_name: typing.Literal["dependencies", b"dependencies", "history_server", b"history_server", "metastore", b"metastore", "resource_pools", b"resource_pools"]) -> builtins.bool: ...
|
|
269
|
+
def ClearField(self, field_name: typing.Literal["dependencies", b"dependencies", "history_server", b"history_server", "metastore", b"metastore", "resource_pools", b"resource_pools"]) -> None: ...
|
|
270
|
+
|
|
271
|
+
global___UpdateClusterConfigSpec = UpdateClusterConfigSpec
|
|
272
|
+
|
|
238
273
|
@typing.final
|
|
239
274
|
class HistoryServerConfig(google.protobuf.message.Message):
|
|
240
275
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -274,6 +309,24 @@ class NetworkConfig(google.protobuf.message.Message):
|
|
|
274
309
|
|
|
275
310
|
global___NetworkConfig = NetworkConfig
|
|
276
311
|
|
|
312
|
+
@typing.final
|
|
313
|
+
class UpdateNetworkConfigSpec(google.protobuf.message.Message):
|
|
314
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
315
|
+
|
|
316
|
+
SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
|
|
317
|
+
@property
|
|
318
|
+
def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
319
|
+
"""User security groups."""
|
|
320
|
+
|
|
321
|
+
def __init__(
|
|
322
|
+
self,
|
|
323
|
+
*,
|
|
324
|
+
security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
325
|
+
) -> None: ...
|
|
326
|
+
def ClearField(self, field_name: typing.Literal["security_group_ids", b"security_group_ids"]) -> None: ...
|
|
327
|
+
|
|
328
|
+
global___UpdateNetworkConfigSpec = UpdateNetworkConfigSpec
|
|
329
|
+
|
|
277
330
|
@typing.final
|
|
278
331
|
class ResourcePools(google.protobuf.message.Message):
|
|
279
332
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -22,6 +22,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
25
26
|
from yandex.cloud.spark.v1 import cluster_pb2 as yandex_dot_cloud_dot_spark_dot_v1_dot_cluster__pb2
|
|
26
27
|
from yandex.cloud.spark.v1 import maintenance_pb2 as yandex_dot_cloud_dot_spark_dot_v1_dot_maintenance__pb2
|
|
27
28
|
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
@@ -29,7 +30,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
29
30
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
30
31
|
|
|
31
32
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/spark/v1/cluster_service.proto\x12\x15yandex.cloud.spark.v1\x1a#yandex/cloud/spark/v1/cluster.proto\x1a\'yandex/cloud/spark/v1/maintenance.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\"5\n\x11GetClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x13ListClustersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"l\n\x14ListClustersResponse\x12\x30\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.spark.v1.Cluster\x12\"\n\x0fnext_page_token\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=200\"\x88\x05\n\x14\x43reateClusterRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12<\n\x04name\x18\x02 \x01(\tB.\xe8\xc7\x31\x01\xf2\xc7\x31\x1e^[a-z][-a-z0-9]{1,61}[a-z0-9]$\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x84\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x37.yandex.cloud.spark.v1.CreateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12:\n\x06\x63onfig\x18\x05 \x01(\x0b\x32$.yandex.cloud.spark.v1.ClusterConfigB\x04\xe8\xc7\x31\x01\x12;\n\x07network\x18\x06 \x01(\x0b\x32$.yandex.cloud.spark.v1.NetworkConfigB\x04\xe8\xc7\x31\x01\x12\x1b\n\x13\x64\x65letion_protection\x18\x07 \x01(\x08\x12(\n\x12service_account_id\x18\x08 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\t \x01(\x0b\x32$.yandex.cloud.spark.v1.LoggingConfig\x12\x44\n\x12maintenance_window\x18\n \x01(\x0b\x32(.yandex.cloud.spark.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"1\n\x15\x43reateClusterMetadata\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"8\n\x14\x44\x65leteClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"1\n\x15\x44\x65leteClusterMetadata\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"7\n\x13StartClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"*\n\x14StartClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"6\n\x12StopClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x13StopClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"~\n\x1cListClusterOperationsRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=200\"z\n\x1dListClusterOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\"\n\x0fnext_page_token\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=2002\xcb\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/spark/v1/cluster_service.proto\x12\x15yandex.cloud.spark.v1\x1a google/protobuf/field_mask.proto\x1a#yandex/cloud/spark/v1/cluster.proto\x1a\'yandex/cloud/spark/v1/maintenance.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\"5\n\x11GetClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x13ListClustersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"l\n\x14ListClustersResponse\x12\x30\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.spark.v1.Cluster\x12\"\n\x0fnext_page_token\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=200\"\x88\x05\n\x14\x43reateClusterRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12<\n\x04name\x18\x02 \x01(\tB.\xe8\xc7\x31\x01\xf2\xc7\x31\x1e^[a-z][-a-z0-9]{1,61}[a-z0-9]$\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x84\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x37.yandex.cloud.spark.v1.CreateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12:\n\x06\x63onfig\x18\x05 \x01(\x0b\x32$.yandex.cloud.spark.v1.ClusterConfigB\x04\xe8\xc7\x31\x01\x12;\n\x07network\x18\x06 \x01(\x0b\x32$.yandex.cloud.spark.v1.NetworkConfigB\x04\xe8\xc7\x31\x01\x12\x1b\n\x13\x64\x65letion_protection\x18\x07 \x01(\x08\x12(\n\x12service_account_id\x18\x08 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\t \x01(\x0b\x32$.yandex.cloud.spark.v1.LoggingConfig\x12\x44\n\x12maintenance_window\x18\n \x01(\x0b\x32(.yandex.cloud.spark.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"1\n\x15\x43reateClusterMetadata\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\xbb\x05\n\x14UpdateClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12/\n\x04name\x18\x03 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x84\x01\n\x06labels\x18\x05 \x03(\x0b\x32\x37.yandex.cloud.spark.v1.UpdateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12\x43\n\x0b\x63onfig_spec\x18\x06 \x01(\x0b\x32..yandex.cloud.spark.v1.UpdateClusterConfigSpec\x12\x44\n\x0cnetwork_spec\x18\x07 \x01(\x0b\x32..yandex.cloud.spark.v1.UpdateNetworkConfigSpec\x12\x1b\n\x13\x64\x65letion_protection\x18\x08 \x01(\x08\x12$\n\x12service_account_id\x18\t \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\n \x01(\x0b\x32$.yandex.cloud.spark.v1.LoggingConfig\x12\x44\n\x12maintenance_window\x18\x0b \x01(\x0b\x32(.yandex.cloud.spark.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"9\n\x15UpdateClusterMetadata\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"8\n\x14\x44\x65leteClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"1\n\x15\x44\x65leteClusterMetadata\x12\x18\n\ncluster_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"7\n\x13StartClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"*\n\x14StartClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"6\n\x12StopClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x13StopClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"~\n\x1cListClusterOperationsRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=200\"z\n\x1dListClusterOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\"\n\x0fnext_page_token\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=2002\xcb\x07\n\x0e\x43lusterService\x12Q\n\x03Get\x12(.yandex.cloud.spark.v1.GetClusterRequest\x1a\x1e.yandex.cloud.spark.v1.Cluster\"\x00\x12\x61\n\x04List\x12*.yandex.cloud.spark.v1.ListClustersRequest\x1a+.yandex.cloud.spark.v1.ListClustersResponse\"\x00\x12~\n\x06\x43reate\x12+.yandex.cloud.spark.v1.CreateClusterRequest\x1a!.yandex.cloud.operation.Operation\"$\xb2\xd2* \n\x15\x43reateClusterMetadata\x12\x07\x43luster\x12~\n\x06Update\x12+.yandex.cloud.spark.v1.UpdateClusterRequest\x1a!.yandex.cloud.operation.Operation\"$\xb2\xd2* \n\x15UpdateClusterMetadata\x12\x07\x43luster\x12\x8c\x01\n\x06\x44\x65lete\x12+.yandex.cloud.spark.v1.DeleteClusterRequest\x1a!.yandex.cloud.operation.Operation\"2\xb2\xd2*.\n\x15\x44\x65leteClusterMetadata\x12\x15google.protobuf.Empty\x12{\n\x05Start\x12*.yandex.cloud.spark.v1.StartClusterRequest\x1a!.yandex.cloud.operation.Operation\"#\xb2\xd2*\x1f\n\x14StartClusterMetadata\x12\x07\x43luster\x12x\n\x04Stop\x12).yandex.cloud.spark.v1.StopClusterRequest\x1a!.yandex.cloud.operation.Operation\"\"\xb2\xd2*\x1e\n\x13StopClusterMetadata\x12\x07\x43luster\x12}\n\x0eListOperations\x12\x33.yandex.cloud.spark.v1.ListClusterOperationsRequest\x1a\x34.yandex.cloud.spark.v1.ListClusterOperationsResponse\"\x00\x42\\\n\x19yandex.cloud.api.spark.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/spark/v1;sparkb\x06proto3')
|
|
33
34
|
|
|
34
35
|
_globals = globals()
|
|
35
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -67,6 +68,20 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
67
68
|
_globals['_CREATECLUSTERREQUEST'].fields_by_name['service_account_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
68
69
|
_globals['_CREATECLUSTERMETADATA'].fields_by_name['cluster_id']._loaded_options = None
|
|
69
70
|
_globals['_CREATECLUSTERMETADATA'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001'
|
|
71
|
+
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._loaded_options = None
|
|
72
|
+
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
73
|
+
_globals['_UPDATECLUSTERREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
74
|
+
_globals['_UPDATECLUSTERREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
75
|
+
_globals['_UPDATECLUSTERREQUEST'].fields_by_name['name']._loaded_options = None
|
|
76
|
+
_globals['_UPDATECLUSTERREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071\035|[a-z][-a-z0-9]{1,61}[a-z0-9]'
|
|
77
|
+
_globals['_UPDATECLUSTERREQUEST'].fields_by_name['description']._loaded_options = None
|
|
78
|
+
_globals['_UPDATECLUSTERREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
|
|
79
|
+
_globals['_UPDATECLUSTERREQUEST'].fields_by_name['labels']._loaded_options = None
|
|
80
|
+
_globals['_UPDATECLUSTERREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\0041-63'
|
|
81
|
+
_globals['_UPDATECLUSTERREQUEST'].fields_by_name['service_account_id']._loaded_options = None
|
|
82
|
+
_globals['_UPDATECLUSTERREQUEST'].fields_by_name['service_account_id']._serialized_options = b'\212\3101\004<=50'
|
|
83
|
+
_globals['_UPDATECLUSTERMETADATA'].fields_by_name['cluster_id']._loaded_options = None
|
|
84
|
+
_globals['_UPDATECLUSTERMETADATA'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
70
85
|
_globals['_DELETECLUSTERREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
71
86
|
_globals['_DELETECLUSTERREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
72
87
|
_globals['_DELETECLUSTERMETADATA'].fields_by_name['cluster_id']._loaded_options = None
|
|
@@ -85,40 +100,48 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
85
100
|
_globals['_LISTCLUSTEROPERATIONSRESPONSE'].fields_by_name['next_page_token']._serialized_options = b'\212\3101\005<=200'
|
|
86
101
|
_globals['_CLUSTERSERVICE'].methods_by_name['Create']._loaded_options = None
|
|
87
102
|
_globals['_CLUSTERSERVICE'].methods_by_name['Create']._serialized_options = b'\262\322* \n\025CreateClusterMetadata\022\007Cluster'
|
|
103
|
+
_globals['_CLUSTERSERVICE'].methods_by_name['Update']._loaded_options = None
|
|
104
|
+
_globals['_CLUSTERSERVICE'].methods_by_name['Update']._serialized_options = b'\262\322* \n\025UpdateClusterMetadata\022\007Cluster'
|
|
88
105
|
_globals['_CLUSTERSERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
89
106
|
_globals['_CLUSTERSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*.\n\025DeleteClusterMetadata\022\025google.protobuf.Empty'
|
|
90
107
|
_globals['_CLUSTERSERVICE'].methods_by_name['Start']._loaded_options = None
|
|
91
108
|
_globals['_CLUSTERSERVICE'].methods_by_name['Start']._serialized_options = b'\262\322*\037\n\024StartClusterMetadata\022\007Cluster'
|
|
92
109
|
_globals['_CLUSTERSERVICE'].methods_by_name['Stop']._loaded_options = None
|
|
93
110
|
_globals['_CLUSTERSERVICE'].methods_by_name['Stop']._serialized_options = b'\262\322*\036\n\023StopClusterMetadata\022\007Cluster'
|
|
94
|
-
_globals['_GETCLUSTERREQUEST']._serialized_start=
|
|
95
|
-
_globals['_GETCLUSTERREQUEST']._serialized_end=
|
|
96
|
-
_globals['_LISTCLUSTERSREQUEST']._serialized_start=
|
|
97
|
-
_globals['_LISTCLUSTERSREQUEST']._serialized_end=
|
|
98
|
-
_globals['_LISTCLUSTERSRESPONSE']._serialized_start=
|
|
99
|
-
_globals['_LISTCLUSTERSRESPONSE']._serialized_end=
|
|
100
|
-
_globals['_CREATECLUSTERREQUEST']._serialized_start=
|
|
101
|
-
_globals['_CREATECLUSTERREQUEST']._serialized_end=
|
|
102
|
-
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_start=
|
|
103
|
-
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_end=
|
|
104
|
-
_globals['_CREATECLUSTERMETADATA']._serialized_start=
|
|
105
|
-
_globals['_CREATECLUSTERMETADATA']._serialized_end=
|
|
106
|
-
_globals['
|
|
107
|
-
_globals['
|
|
108
|
-
_globals['
|
|
109
|
-
_globals['
|
|
110
|
-
_globals['
|
|
111
|
-
_globals['
|
|
112
|
-
_globals['
|
|
113
|
-
_globals['
|
|
114
|
-
_globals['
|
|
115
|
-
_globals['
|
|
116
|
-
_globals['
|
|
117
|
-
_globals['
|
|
118
|
-
_globals['
|
|
119
|
-
_globals['
|
|
120
|
-
_globals['
|
|
121
|
-
_globals['
|
|
122
|
-
_globals['
|
|
123
|
-
_globals['
|
|
111
|
+
_globals['_GETCLUSTERREQUEST']._serialized_start=287
|
|
112
|
+
_globals['_GETCLUSTERREQUEST']._serialized_end=340
|
|
113
|
+
_globals['_LISTCLUSTERSREQUEST']._serialized_start=343
|
|
114
|
+
_globals['_LISTCLUSTERSREQUEST']._serialized_end=487
|
|
115
|
+
_globals['_LISTCLUSTERSRESPONSE']._serialized_start=489
|
|
116
|
+
_globals['_LISTCLUSTERSRESPONSE']._serialized_end=597
|
|
117
|
+
_globals['_CREATECLUSTERREQUEST']._serialized_start=600
|
|
118
|
+
_globals['_CREATECLUSTERREQUEST']._serialized_end=1248
|
|
119
|
+
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_start=1203
|
|
120
|
+
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_end=1248
|
|
121
|
+
_globals['_CREATECLUSTERMETADATA']._serialized_start=1250
|
|
122
|
+
_globals['_CREATECLUSTERMETADATA']._serialized_end=1299
|
|
123
|
+
_globals['_UPDATECLUSTERREQUEST']._serialized_start=1302
|
|
124
|
+
_globals['_UPDATECLUSTERREQUEST']._serialized_end=2001
|
|
125
|
+
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_start=1203
|
|
126
|
+
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_end=1248
|
|
127
|
+
_globals['_UPDATECLUSTERMETADATA']._serialized_start=2003
|
|
128
|
+
_globals['_UPDATECLUSTERMETADATA']._serialized_end=2060
|
|
129
|
+
_globals['_DELETECLUSTERREQUEST']._serialized_start=2062
|
|
130
|
+
_globals['_DELETECLUSTERREQUEST']._serialized_end=2118
|
|
131
|
+
_globals['_DELETECLUSTERMETADATA']._serialized_start=2120
|
|
132
|
+
_globals['_DELETECLUSTERMETADATA']._serialized_end=2169
|
|
133
|
+
_globals['_STARTCLUSTERREQUEST']._serialized_start=2171
|
|
134
|
+
_globals['_STARTCLUSTERREQUEST']._serialized_end=2226
|
|
135
|
+
_globals['_STARTCLUSTERMETADATA']._serialized_start=2228
|
|
136
|
+
_globals['_STARTCLUSTERMETADATA']._serialized_end=2270
|
|
137
|
+
_globals['_STOPCLUSTERREQUEST']._serialized_start=2272
|
|
138
|
+
_globals['_STOPCLUSTERREQUEST']._serialized_end=2326
|
|
139
|
+
_globals['_STOPCLUSTERMETADATA']._serialized_start=2328
|
|
140
|
+
_globals['_STOPCLUSTERMETADATA']._serialized_end=2369
|
|
141
|
+
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_start=2371
|
|
142
|
+
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_end=2497
|
|
143
|
+
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_start=2499
|
|
144
|
+
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_end=2621
|
|
145
|
+
_globals['_CLUSTERSERVICE']._serialized_start=2624
|
|
146
|
+
_globals['_CLUSTERSERVICE']._serialized_end=3595
|
|
124
147
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -6,6 +6,7 @@ isort:skip_file
|
|
|
6
6
|
import builtins
|
|
7
7
|
import collections.abc
|
|
8
8
|
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.field_mask_pb2
|
|
9
10
|
import google.protobuf.internal.containers
|
|
10
11
|
import google.protobuf.message
|
|
11
12
|
import typing
|
|
@@ -181,6 +182,98 @@ class CreateClusterMetadata(google.protobuf.message.Message):
|
|
|
181
182
|
|
|
182
183
|
global___CreateClusterMetadata = CreateClusterMetadata
|
|
183
184
|
|
|
185
|
+
@typing.final
|
|
186
|
+
class UpdateClusterRequest(google.protobuf.message.Message):
|
|
187
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
188
|
+
|
|
189
|
+
@typing.final
|
|
190
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
191
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
192
|
+
|
|
193
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
194
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
195
|
+
key: builtins.str
|
|
196
|
+
value: builtins.str
|
|
197
|
+
def __init__(
|
|
198
|
+
self,
|
|
199
|
+
*,
|
|
200
|
+
key: builtins.str = ...,
|
|
201
|
+
value: builtins.str = ...,
|
|
202
|
+
) -> None: ...
|
|
203
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
204
|
+
|
|
205
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
206
|
+
UPDATE_MASK_FIELD_NUMBER: builtins.int
|
|
207
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
208
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
209
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
210
|
+
CONFIG_SPEC_FIELD_NUMBER: builtins.int
|
|
211
|
+
NETWORK_SPEC_FIELD_NUMBER: builtins.int
|
|
212
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
213
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
214
|
+
LOGGING_FIELD_NUMBER: builtins.int
|
|
215
|
+
MAINTENANCE_WINDOW_FIELD_NUMBER: builtins.int
|
|
216
|
+
cluster_id: builtins.str
|
|
217
|
+
"""ID of the Spark cluster."""
|
|
218
|
+
name: builtins.str
|
|
219
|
+
description: builtins.str
|
|
220
|
+
"""Description of the Spark cluster. 0-256 characters long."""
|
|
221
|
+
deletion_protection: builtins.bool
|
|
222
|
+
"""Deletion Protection inhibits deletion of the cluster"""
|
|
223
|
+
service_account_id: builtins.str
|
|
224
|
+
"""Service account used to access Cloud resources."""
|
|
225
|
+
@property
|
|
226
|
+
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: ...
|
|
227
|
+
@property
|
|
228
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
229
|
+
@property
|
|
230
|
+
def config_spec(self) -> yandex.cloud.spark.v1.cluster_pb2.UpdateClusterConfigSpec: ...
|
|
231
|
+
@property
|
|
232
|
+
def network_spec(self) -> yandex.cloud.spark.v1.cluster_pb2.UpdateNetworkConfigSpec: ...
|
|
233
|
+
@property
|
|
234
|
+
def logging(self) -> yandex.cloud.spark.v1.cluster_pb2.LoggingConfig:
|
|
235
|
+
"""Cloud logging configuration"""
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
def maintenance_window(self) -> yandex.cloud.spark.v1.maintenance_pb2.MaintenanceWindow:
|
|
239
|
+
"""Window of maintenance operations."""
|
|
240
|
+
|
|
241
|
+
def __init__(
|
|
242
|
+
self,
|
|
243
|
+
*,
|
|
244
|
+
cluster_id: builtins.str = ...,
|
|
245
|
+
update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
246
|
+
name: builtins.str = ...,
|
|
247
|
+
description: builtins.str = ...,
|
|
248
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
249
|
+
config_spec: yandex.cloud.spark.v1.cluster_pb2.UpdateClusterConfigSpec | None = ...,
|
|
250
|
+
network_spec: yandex.cloud.spark.v1.cluster_pb2.UpdateNetworkConfigSpec | None = ...,
|
|
251
|
+
deletion_protection: builtins.bool = ...,
|
|
252
|
+
service_account_id: builtins.str = ...,
|
|
253
|
+
logging: yandex.cloud.spark.v1.cluster_pb2.LoggingConfig | None = ...,
|
|
254
|
+
maintenance_window: yandex.cloud.spark.v1.maintenance_pb2.MaintenanceWindow | None = ...,
|
|
255
|
+
) -> None: ...
|
|
256
|
+
def HasField(self, field_name: typing.Literal["config_spec", b"config_spec", "logging", b"logging", "maintenance_window", b"maintenance_window", "network_spec", b"network_spec", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
257
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "logging", b"logging", "maintenance_window", b"maintenance_window", "name", b"name", "network_spec", b"network_spec", "service_account_id", b"service_account_id", "update_mask", b"update_mask"]) -> None: ...
|
|
258
|
+
|
|
259
|
+
global___UpdateClusterRequest = UpdateClusterRequest
|
|
260
|
+
|
|
261
|
+
@typing.final
|
|
262
|
+
class UpdateClusterMetadata(google.protobuf.message.Message):
|
|
263
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
264
|
+
|
|
265
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
266
|
+
cluster_id: builtins.str
|
|
267
|
+
"""ID of the updating Spark cluster."""
|
|
268
|
+
def __init__(
|
|
269
|
+
self,
|
|
270
|
+
*,
|
|
271
|
+
cluster_id: builtins.str = ...,
|
|
272
|
+
) -> None: ...
|
|
273
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
274
|
+
|
|
275
|
+
global___UpdateClusterMetadata = UpdateClusterMetadata
|
|
276
|
+
|
|
184
277
|
@typing.final
|
|
185
278
|
class DeleteClusterRequest(google.protobuf.message.Message):
|
|
186
279
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|