yandexcloud 0.349.0__py3-none-any.whl → 0.351.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/assistants/v1/assistant_pb2.py +4 -4
- yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +8 -2
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.py +26 -26
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +14 -4
- yandex/cloud/ai/assistants/v1/common_pb2.py +5 -1
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +50 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.py +10 -10
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +8 -2
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +28 -28
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +8 -2
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +2 -2
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +20 -16
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +62 -1
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +24 -23
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +15 -2
- yandex/cloud/ai/ocr/v1/ocr_pb2.py +24 -20
- yandex/cloud/ai/ocr/v1/ocr_pb2.pyi +72 -2
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +1 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +4 -4
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -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/backup/v1/policy_pb2.py +56 -52
- yandex/cloud/backup/v1/policy_pb2.pyi +64 -1
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.py +4 -4
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_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/clouddesktop/v1/desktop_image_service_pb2.pyi +8 -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/gitlab/v1/instance_pb2.pyi +58 -4
- yandex/cloud/gitlab/v1/instance_service_pb2.py +50 -27
- yandex/cloud/gitlab/v1/instance_service_pb2.pyi +163 -2
- yandex/cloud/gitlab/v1/instance_service_pb2_grpc.py +62 -9
- yandex/cloud/gitlab/v1/instance_service_pb2_grpc.pyi +50 -6
- yandex/cloud/gitlab/v1/maintenance_pb2.pyi +10 -3
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +26 -22
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +34 -1
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +86 -63
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +86 -0
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.py +88 -0
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.pyi +40 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +52 -46
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +63 -8
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +54 -10
- 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 +3 -3
- 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/mongodb/v1/cluster_pb2.py +142 -142
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.py +234 -234
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/mdb/mysql/v1/cluster_pb2.py +38 -32
- yandex/cloud/mdb/mysql/v1/cluster_pb2.pyi +40 -4
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +96 -96
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +24 -6
- 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/opensearch/v1/cluster_pb2.py +46 -45
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +9 -2
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +140 -139
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +17 -4
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.py +42 -42
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +98 -98
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +38 -36
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.pyi +24 -1
- yandex/cloud/mdb/postgresql/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/postgresql/v1/database_pb2.pyi +1 -1
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +36 -36
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +114 -114
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/metastore/v1/cluster_pb2.py +16 -20
- yandex/cloud/metastore/v1/cluster_pb2.pyi +1 -31
- yandex/cloud/metastore/v1/cluster_service_pb2.py +44 -50
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +3 -35
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +4 -4
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +12 -12
- 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/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/bus_pb2.py +8 -8
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +1 -5
- 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/storage/v1/bucket_pb2.py +78 -78
- yandex/cloud/storage/v1/bucket_pb2.pyi +5 -1
- yandex/cloud/storage/v1/bucket_service_pb2.py +4 -2
- yandex/cloud/storage/v1/bucket_service_pb2_grpc.py +43 -0
- yandex/cloud/storage/v1/bucket_service_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/channel_service_pb2.py +34 -28
- yandex/cloud/video/v1/episode_service_pb2.py +58 -52
- yandex/cloud/video/v1/playlist_pb2.py +14 -5
- yandex/cloud/video/v1/playlist_service_pb2.py +36 -30
- yandex/cloud/video/v1/stream_line_service_pb2.py +46 -46
- yandex/cloud/video/v1/stream_service_pb2.py +50 -44
- yandex/cloud/video/v1/subtitle_pb2.pyi +1 -4
- yandex/cloud/video/v1/subtitle_service_pb2.py +19 -17
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +1 -4
- yandex/cloud/video/v1/video_pb2.pyi +1 -1
- yandex/cloud/video/v1/video_service_pb2.py +90 -84
- yandex/cloud/video/v1/video_service_pb2.pyi +4 -12
- yandexcloud/__init__.py +1 -1
- yandexcloud/_wrappers/dataproc/__init__.py +10 -2
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/RECORD +160 -160
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.349.0.dist-info → yandexcloud-0.351.0.dist-info}/top_level.txt +0 -0
|
@@ -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 yandex.cloud.logging.v1 import log_entry_pb2 as yandex_dot_cloud_dot_loggin
|
|
|
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'\n0yandex/cloud/serverless/eventrouter/v1/bus.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/serverless/eventrouter/v1/bus.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\x1dyandex/cloud/validation.proto\"\x9e\x01\n\nLogOptions\x12 \n\x0clog_group_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1d\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12:\n\tmin_level\x18\x03 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.LevelB\r\n\x0b\x64\x65stinationJ\x04\x08\x04\x10\x05\"\x8e\x04\n\x03\x42us\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x10\n\x08\x63loud_id\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12G\n\x06labels\x18\x07 \x03(\x0b\x32\x37.yandex.cloud.serverless.eventrouter.v1.Bus.LabelsEntry\x12\x1b\n\x13\x64\x65letion_protection\x18\x08 \x01(\x08\x12\x42\n\x06status\x18\t \x01(\x0e\x32\x32.yandex.cloud.serverless.eventrouter.v1.Bus.Status\x12\x17\n\x0flogging_enabled\x18\n \x01(\x08\x12G\n\x0blog_options\x18\x0b \x01(\x0b\x32\x32.yandex.cloud.serverless.eventrouter.v1.LogOptions\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x42\x8a\x01\n*yandex.cloud.api.serverless.eventrouter.v1B\x04PERBZVgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/eventrouter/v1;eventrouterb\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -42,11 +42,11 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
42
42
|
_globals['_BUS_LABELSENTRY']._loaded_options = None
|
|
43
43
|
_globals['_BUS_LABELSENTRY']._serialized_options = b'8\001'
|
|
44
44
|
_globals['_LOGOPTIONS']._serialized_start=198
|
|
45
|
-
_globals['_LOGOPTIONS']._serialized_end=
|
|
46
|
-
_globals['_BUS']._serialized_start=
|
|
47
|
-
_globals['_BUS']._serialized_end=
|
|
48
|
-
_globals['_BUS_LABELSENTRY']._serialized_start=
|
|
49
|
-
_globals['_BUS_LABELSENTRY']._serialized_end=
|
|
50
|
-
_globals['_BUS_STATUS']._serialized_start=
|
|
51
|
-
_globals['_BUS_STATUS']._serialized_end=
|
|
45
|
+
_globals['_LOGOPTIONS']._serialized_end=356
|
|
46
|
+
_globals['_BUS']._serialized_start=359
|
|
47
|
+
_globals['_BUS']._serialized_end=885
|
|
48
|
+
_globals['_BUS_LABELSENTRY']._serialized_start=766
|
|
49
|
+
_globals['_BUS_LABELSENTRY']._serialized_end=811
|
|
50
|
+
_globals['_BUS_STATUS']._serialized_start=813
|
|
51
|
+
_globals['_BUS_STATUS']._serialized_end=885
|
|
52
52
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -28,7 +28,6 @@ class LogOptions(google.protobuf.message.Message):
|
|
|
28
28
|
LOG_GROUP_ID_FIELD_NUMBER: builtins.int
|
|
29
29
|
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
30
30
|
MIN_LEVEL_FIELD_NUMBER: builtins.int
|
|
31
|
-
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
32
31
|
log_group_id: builtins.str
|
|
33
32
|
"""Entry will be written to log group resolved by ID."""
|
|
34
33
|
folder_id: builtins.str
|
|
@@ -38,18 +37,15 @@ class LogOptions(google.protobuf.message.Message):
|
|
|
38
37
|
|
|
39
38
|
See [LogLevel.Level] for details.
|
|
40
39
|
"""
|
|
41
|
-
service_account_id: builtins.str
|
|
42
|
-
"""Service account, which has permission to write to destination"""
|
|
43
40
|
def __init__(
|
|
44
41
|
self,
|
|
45
42
|
*,
|
|
46
43
|
log_group_id: builtins.str = ...,
|
|
47
44
|
folder_id: builtins.str = ...,
|
|
48
45
|
min_level: yandex.cloud.logging.v1.log_entry_pb2.LogLevel.Level.ValueType = ...,
|
|
49
|
-
service_account_id: builtins.str = ...,
|
|
50
46
|
) -> None: ...
|
|
51
47
|
def HasField(self, field_name: typing.Literal["destination", b"destination", "folder_id", b"folder_id", "log_group_id", b"log_group_id"]) -> builtins.bool: ...
|
|
52
|
-
def ClearField(self, field_name: typing.Literal["destination", b"destination", "folder_id", b"folder_id", "log_group_id", b"log_group_id", "min_level", b"min_level"
|
|
48
|
+
def ClearField(self, field_name: typing.Literal["destination", b"destination", "folder_id", b"folder_id", "log_group_id", b"log_group_id", "min_level", b"min_level"]) -> None: ...
|
|
53
49
|
def WhichOneof(self, oneof_group: typing.Literal["destination", b"destination"]) -> typing.Literal["log_group_id", "folder_id"] | None: ...
|
|
54
50
|
|
|
55
51
|
global___LogOptions = LogOptions
|
|
@@ -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
|
|
@@ -52,6 +52,11 @@ class ClusterServiceStub(object):
|
|
|
52
52
|
request_serializer=yandex_dot_cloud_dot_spark_dot_v1_dot_cluster__service__pb2.CreateClusterRequest.SerializeToString,
|
|
53
53
|
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
54
54
|
_registered_method=True)
|
|
55
|
+
self.Update = channel.unary_unary(
|
|
56
|
+
'/yandex.cloud.spark.v1.ClusterService/Update',
|
|
57
|
+
request_serializer=yandex_dot_cloud_dot_spark_dot_v1_dot_cluster__service__pb2.UpdateClusterRequest.SerializeToString,
|
|
58
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
59
|
+
_registered_method=True)
|
|
55
60
|
self.Delete = channel.unary_unary(
|
|
56
61
|
'/yandex.cloud.spark.v1.ClusterService/Delete',
|
|
57
62
|
request_serializer=yandex_dot_cloud_dot_spark_dot_v1_dot_cluster__service__pb2.DeleteClusterRequest.SerializeToString,
|
|
@@ -99,6 +104,13 @@ class ClusterServiceServicer(object):
|
|
|
99
104
|
context.set_details('Method not implemented!')
|
|
100
105
|
raise NotImplementedError('Method not implemented!')
|
|
101
106
|
|
|
107
|
+
def Update(self, request, context):
|
|
108
|
+
"""Updates configuration of the specified Spark cluster.
|
|
109
|
+
"""
|
|
110
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
111
|
+
context.set_details('Method not implemented!')
|
|
112
|
+
raise NotImplementedError('Method not implemented!')
|
|
113
|
+
|
|
102
114
|
def Delete(self, request, context):
|
|
103
115
|
"""Deletes the specified Spark cluster.
|
|
104
116
|
"""
|
|
@@ -144,6 +156,11 @@ def add_ClusterServiceServicer_to_server(servicer, server):
|
|
|
144
156
|
request_deserializer=yandex_dot_cloud_dot_spark_dot_v1_dot_cluster__service__pb2.CreateClusterRequest.FromString,
|
|
145
157
|
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
146
158
|
),
|
|
159
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
|
160
|
+
servicer.Update,
|
|
161
|
+
request_deserializer=yandex_dot_cloud_dot_spark_dot_v1_dot_cluster__service__pb2.UpdateClusterRequest.FromString,
|
|
162
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
163
|
+
),
|
|
147
164
|
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
148
165
|
servicer.Delete,
|
|
149
166
|
request_deserializer=yandex_dot_cloud_dot_spark_dot_v1_dot_cluster__service__pb2.DeleteClusterRequest.FromString,
|
|
@@ -257,6 +274,33 @@ class ClusterService(object):
|
|
|
257
274
|
metadata,
|
|
258
275
|
_registered_method=True)
|
|
259
276
|
|
|
277
|
+
@staticmethod
|
|
278
|
+
def Update(request,
|
|
279
|
+
target,
|
|
280
|
+
options=(),
|
|
281
|
+
channel_credentials=None,
|
|
282
|
+
call_credentials=None,
|
|
283
|
+
insecure=False,
|
|
284
|
+
compression=None,
|
|
285
|
+
wait_for_ready=None,
|
|
286
|
+
timeout=None,
|
|
287
|
+
metadata=None):
|
|
288
|
+
return grpc.experimental.unary_unary(
|
|
289
|
+
request,
|
|
290
|
+
target,
|
|
291
|
+
'/yandex.cloud.spark.v1.ClusterService/Update',
|
|
292
|
+
yandex_dot_cloud_dot_spark_dot_v1_dot_cluster__service__pb2.UpdateClusterRequest.SerializeToString,
|
|
293
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
294
|
+
options,
|
|
295
|
+
channel_credentials,
|
|
296
|
+
insecure,
|
|
297
|
+
call_credentials,
|
|
298
|
+
compression,
|
|
299
|
+
wait_for_ready,
|
|
300
|
+
timeout,
|
|
301
|
+
metadata,
|
|
302
|
+
_registered_method=True)
|
|
303
|
+
|
|
260
304
|
@staticmethod
|
|
261
305
|
def Delete(request,
|
|
262
306
|
target,
|
|
@@ -41,6 +41,12 @@ class ClusterServiceStub:
|
|
|
41
41
|
]
|
|
42
42
|
"""Creates a Spark cluster."""
|
|
43
43
|
|
|
44
|
+
Update: grpc.UnaryUnaryMultiCallable[
|
|
45
|
+
yandex.cloud.spark.v1.cluster_service_pb2.UpdateClusterRequest,
|
|
46
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
47
|
+
]
|
|
48
|
+
"""Updates configuration of the specified Spark cluster."""
|
|
49
|
+
|
|
44
50
|
Delete: grpc.UnaryUnaryMultiCallable[
|
|
45
51
|
yandex.cloud.spark.v1.cluster_service_pb2.DeleteClusterRequest,
|
|
46
52
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -85,6 +91,12 @@ class ClusterServiceAsyncStub:
|
|
|
85
91
|
]
|
|
86
92
|
"""Creates a Spark cluster."""
|
|
87
93
|
|
|
94
|
+
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
95
|
+
yandex.cloud.spark.v1.cluster_service_pb2.UpdateClusterRequest,
|
|
96
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
97
|
+
]
|
|
98
|
+
"""Updates configuration of the specified Spark cluster."""
|
|
99
|
+
|
|
88
100
|
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
89
101
|
yandex.cloud.spark.v1.cluster_service_pb2.DeleteClusterRequest,
|
|
90
102
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -135,6 +147,14 @@ class ClusterServiceServicer(metaclass=abc.ABCMeta):
|
|
|
135
147
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
136
148
|
"""Creates a Spark cluster."""
|
|
137
149
|
|
|
150
|
+
@abc.abstractmethod
|
|
151
|
+
def Update(
|
|
152
|
+
self,
|
|
153
|
+
request: yandex.cloud.spark.v1.cluster_service_pb2.UpdateClusterRequest,
|
|
154
|
+
context: _ServicerContext,
|
|
155
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
156
|
+
"""Updates configuration of the specified Spark cluster."""
|
|
157
|
+
|
|
138
158
|
@abc.abstractmethod
|
|
139
159
|
def Delete(
|
|
140
160
|
self,
|