yandexcloud 0.358.0__py3-none-any.whl → 0.359.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/cloudregistry/v1/registry_pb2.py +5 -5
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +4 -0
- yandex/cloud/k8s/v1/cluster_pb2.py +48 -46
- yandex/cloud/k8s/v1/cluster_pb2.pyi +32 -2
- yandex/cloud/k8s/v1/cluster_service_pb2.py +54 -52
- yandex/cloud/k8s/v1/cluster_service_pb2.pyi +28 -4
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +38 -38
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +14 -2
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +22 -22
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +8 -2
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +2 -2
- yandex/cloud/searchapi/v2/search_query_pb2.py +9 -1
- yandex/cloud/searchapi/v2/search_query_pb2.pyi +42 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +13 -13
- yandex/cloud/searchapi/v2/search_service_pb2.pyi +8 -2
- yandex/cloud/serverless/functions/v1/function_service_pb2.py +13 -13
- yandex/cloud/spark/v1/job_pb2.py +18 -12
- yandex/cloud/spark/v1/job_pb2.pyi +85 -3
- yandex/cloud/spark/v1/job_service_pb2.py +14 -12
- yandex/cloud/spark/v1/job_service_pb2.pyi +11 -3
- yandex/cloud/storage/v1/presign_service_pb2.pyi +1 -1
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.358.0.dist-info → yandexcloud-0.359.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.358.0.dist-info → yandexcloud-0.359.0.dist-info}/RECORD +28 -28
- {yandexcloud-0.358.0.dist-info → yandexcloud-0.359.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.358.0.dist-info → yandexcloud-0.359.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.358.0.dist-info → yandexcloud-0.359.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.358.0.dist-info → yandexcloud-0.359.0.dist-info}/top_level.txt +0 -0
|
@@ -29,7 +29,7 @@ from yandex.cloud.searchapi.v2 import search_query_pb2 as yandex_dot_cloud_dot_s
|
|
|
29
29
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/searchapi/v2/search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"\xba\x02\n\x08SortSpec\x12?\n\tsort_mode\x18\x01 \x01(\x0e\x32,.yandex.cloud.searchapi.v2.SortSpec.SortMode\x12\x41\n\nsort_order\x18\x02 \x01(\x0e\x32-.yandex.cloud.searchapi.v2.SortSpec.SortOrder\"P\n\tSortOrder\x12\x1a\n\x16SORT_ORDER_UNSPECIFIED\x10\x00\x12\x12\n\x0eSORT_ORDER_ASC\x10\x01\x12\x13\n\x0fSORT_ORDER_DESC\x10\x02\"X\n\x08SortMode\x12\x19\n\x15SORT_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16SORT_MODE_BY_RELEVANCE\x10\x01\x12\x15\n\x11SORT_MODE_BY_TIME\x10\x02\"\xe5\x01\n\tGroupSpec\x12\x42\n\ngroup_mode\x18\x01 \x01(\x0e\x32..yandex.cloud.searchapi.v2.GroupSpec.GroupMode\x12!\n\x0egroups_on_page\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100\x12\x1e\n\rdocs_in_group\x18\x03 \x01(\x03\x42\x07\xfa\xc7\x31\x03\x31-3\"Q\n\tGroupMode\x12\x1a\n\x16GROUP_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fGROUP_MODE_FLAT\x10\x01\x12\x13\n\x0fGROUP_MODE_DEEP\x10\x02\"\
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/searchapi/v2/search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"\xba\x02\n\x08SortSpec\x12?\n\tsort_mode\x18\x01 \x01(\x0e\x32,.yandex.cloud.searchapi.v2.SortSpec.SortMode\x12\x41\n\nsort_order\x18\x02 \x01(\x0e\x32-.yandex.cloud.searchapi.v2.SortSpec.SortOrder\"P\n\tSortOrder\x12\x1a\n\x16SORT_ORDER_UNSPECIFIED\x10\x00\x12\x12\n\x0eSORT_ORDER_ASC\x10\x01\x12\x13\n\x0fSORT_ORDER_DESC\x10\x02\"X\n\x08SortMode\x12\x19\n\x15SORT_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16SORT_MODE_BY_RELEVANCE\x10\x01\x12\x15\n\x11SORT_MODE_BY_TIME\x10\x02\"\xe5\x01\n\tGroupSpec\x12\x42\n\ngroup_mode\x18\x01 \x01(\x0e\x32..yandex.cloud.searchapi.v2.GroupSpec.GroupMode\x12!\n\x0egroups_on_page\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100\x12\x1e\n\rdocs_in_group\x18\x03 \x01(\x03\x42\x07\xfa\xc7\x31\x03\x31-3\"Q\n\tGroupMode\x12\x1a\n\x16GROUP_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fGROUP_MODE_FLAT\x10\x01\x12\x13\n\x0fGROUP_MODE_DEEP\x10\x02\"\xf9\x05\n\x10WebSearchRequest\x12;\n\x05query\x18\x01 \x01(\x0b\x32&.yandex.cloud.searchapi.v2.SearchQueryB\x04\xe8\xc7\x31\x01\x12\x36\n\tsort_spec\x18\x02 \x01(\x0b\x32#.yandex.cloud.searchapi.v2.SortSpec\x12\x38\n\ngroup_spec\x18\x03 \x01(\x0b\x32$.yandex.cloud.searchapi.v2.GroupSpec\x12\x1d\n\x0cmax_passages\x18\x04 \x01(\x03\x42\x07\xfa\xc7\x31\x03\x31-5\x12\x19\n\x06region\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x46\n\x04l10n\x18\x06 \x01(\x0e\x32\x38.yandex.cloud.searchapi.v2.WebSearchRequest.Localization\x12\x1b\n\tfolder_id\x18\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12K\n\x0fresponse_format\x18\x08 \x01(\x0e\x32\x32.yandex.cloud.searchapi.v2.WebSearchRequest.Format\x12\x1d\n\nuser_agent\x18\t \x01(\tB\t\x8a\xc8\x31\x05<=300\x12;\n\x08metadata\x18\n \x01(\x0b\x32).yandex.cloud.searchapi.v2.SearchMetadata\"\xaa\x01\n\x0cLocalization\x12\x1c\n\x18LOCALIZATION_UNSPECIFIED\x10\x00\x12\x13\n\x0fLOCALIZATION_RU\x10\x01\x12\x13\n\x0fLOCALIZATION_UK\x10\x02\x12\x13\n\x0fLOCALIZATION_BE\x10\x03\x12\x13\n\x0fLOCALIZATION_KK\x10\x04\x12\x13\n\x0fLOCALIZATION_TR\x10\x05\x12\x13\n\x0fLOCALIZATION_EN\x10\x06\"A\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0e\n\nFORMAT_XML\x10\x01\x12\x0f\n\x0b\x46ORMAT_HTML\x10\x02\"+\n\x11WebSearchResponse\x12\x16\n\x08raw_data\x18\x01 \x01(\x0c\x42\x04\xe8\xc7\x31\x01\x32\xa9\x01\n\x15WebSearchAsyncService\x12\x8f\x01\n\x06Search\x12+.yandex.cloud.searchapi.v2.WebSearchRequest\x1a!.yandex.cloud.operation.Operation\"5\xb2\xd2*\x13\x12\x11WebSearchResponse\x82\xd3\xe4\x93\x02\x18\"\x13/v2/web/searchAsync:\x01*2\x92\x01\n\x10WebSearchService\x12~\n\x06Search\x12+.yandex.cloud.searchapi.v2.WebSearchRequest\x1a,.yandex.cloud.searchapi.v2.WebSearchResponse\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/v2/web/search:\x01*Be\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
|
|
33
33
|
|
|
34
34
|
_globals = globals()
|
|
35
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -50,7 +50,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
50
50
|
_globals['_WEBSEARCHREQUEST'].fields_by_name['folder_id']._loaded_options = None
|
|
51
51
|
_globals['_WEBSEARCHREQUEST'].fields_by_name['folder_id']._serialized_options = b'\212\3101\004<=50'
|
|
52
52
|
_globals['_WEBSEARCHREQUEST'].fields_by_name['user_agent']._loaded_options = None
|
|
53
|
-
_globals['_WEBSEARCHREQUEST'].fields_by_name['user_agent']._serialized_options = b'\212\3101\005<=
|
|
53
|
+
_globals['_WEBSEARCHREQUEST'].fields_by_name['user_agent']._serialized_options = b'\212\3101\005<=300'
|
|
54
54
|
_globals['_WEBSEARCHRESPONSE'].fields_by_name['raw_data']._loaded_options = None
|
|
55
55
|
_globals['_WEBSEARCHRESPONSE'].fields_by_name['raw_data']._serialized_options = b'\350\3071\001'
|
|
56
56
|
_globals['_WEBSEARCHASYNCSERVICE'].methods_by_name['Search']._loaded_options = None
|
|
@@ -68,15 +68,15 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
68
68
|
_globals['_GROUPSPEC_GROUPMODE']._serialized_start=724
|
|
69
69
|
_globals['_GROUPSPEC_GROUPMODE']._serialized_end=805
|
|
70
70
|
_globals['_WEBSEARCHREQUEST']._serialized_start=808
|
|
71
|
-
_globals['_WEBSEARCHREQUEST']._serialized_end=
|
|
72
|
-
_globals['_WEBSEARCHREQUEST_LOCALIZATION']._serialized_start=
|
|
73
|
-
_globals['_WEBSEARCHREQUEST_LOCALIZATION']._serialized_end=
|
|
74
|
-
_globals['_WEBSEARCHREQUEST_FORMAT']._serialized_start=
|
|
75
|
-
_globals['_WEBSEARCHREQUEST_FORMAT']._serialized_end=
|
|
76
|
-
_globals['_WEBSEARCHRESPONSE']._serialized_start=
|
|
77
|
-
_globals['_WEBSEARCHRESPONSE']._serialized_end=
|
|
78
|
-
_globals['_WEBSEARCHASYNCSERVICE']._serialized_start=
|
|
79
|
-
_globals['_WEBSEARCHASYNCSERVICE']._serialized_end=
|
|
80
|
-
_globals['_WEBSEARCHSERVICE']._serialized_start=
|
|
81
|
-
_globals['_WEBSEARCHSERVICE']._serialized_end=
|
|
71
|
+
_globals['_WEBSEARCHREQUEST']._serialized_end=1569
|
|
72
|
+
_globals['_WEBSEARCHREQUEST_LOCALIZATION']._serialized_start=1332
|
|
73
|
+
_globals['_WEBSEARCHREQUEST_LOCALIZATION']._serialized_end=1502
|
|
74
|
+
_globals['_WEBSEARCHREQUEST_FORMAT']._serialized_start=1504
|
|
75
|
+
_globals['_WEBSEARCHREQUEST_FORMAT']._serialized_end=1569
|
|
76
|
+
_globals['_WEBSEARCHRESPONSE']._serialized_start=1571
|
|
77
|
+
_globals['_WEBSEARCHRESPONSE']._serialized_end=1614
|
|
78
|
+
_globals['_WEBSEARCHASYNCSERVICE']._serialized_start=1617
|
|
79
|
+
_globals['_WEBSEARCHASYNCSERVICE']._serialized_end=1786
|
|
80
|
+
_globals['_WEBSEARCHSERVICE']._serialized_start=1789
|
|
81
|
+
_globals['_WEBSEARCHSERVICE']._serialized_end=1935
|
|
82
82
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -186,6 +186,7 @@ class WebSearchRequest(google.protobuf.message.Message):
|
|
|
186
186
|
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
187
187
|
RESPONSE_FORMAT_FIELD_NUMBER: builtins.int
|
|
188
188
|
USER_AGENT_FIELD_NUMBER: builtins.int
|
|
189
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
189
190
|
max_passages: builtins.int
|
|
190
191
|
"""The maximum number of passages that can be used when generating a document snippet."""
|
|
191
192
|
region: builtins.str
|
|
@@ -210,6 +211,10 @@ class WebSearchRequest(google.protobuf.message.Message):
|
|
|
210
211
|
def group_spec(self) -> global___GroupSpec:
|
|
211
212
|
"""Grouping settings that are used to group documents from a single domain into a container."""
|
|
212
213
|
|
|
214
|
+
@property
|
|
215
|
+
def metadata(self) -> yandex.cloud.searchapi.v2.search_query_pb2.SearchMetadata:
|
|
216
|
+
"""Search flags"""
|
|
217
|
+
|
|
213
218
|
def __init__(
|
|
214
219
|
self,
|
|
215
220
|
*,
|
|
@@ -222,9 +227,10 @@ class WebSearchRequest(google.protobuf.message.Message):
|
|
|
222
227
|
folder_id: builtins.str = ...,
|
|
223
228
|
response_format: global___WebSearchRequest.Format.ValueType = ...,
|
|
224
229
|
user_agent: builtins.str = ...,
|
|
230
|
+
metadata: yandex.cloud.searchapi.v2.search_query_pb2.SearchMetadata | None = ...,
|
|
225
231
|
) -> None: ...
|
|
226
|
-
def HasField(self, field_name: typing.Literal["group_spec", b"group_spec", "query", b"query", "sort_spec", b"sort_spec"]) -> builtins.bool: ...
|
|
227
|
-
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "group_spec", b"group_spec", "l10n", b"l10n", "max_passages", b"max_passages", "query", b"query", "region", b"region", "response_format", b"response_format", "sort_spec", b"sort_spec", "user_agent", b"user_agent"]) -> None: ...
|
|
232
|
+
def HasField(self, field_name: typing.Literal["group_spec", b"group_spec", "metadata", b"metadata", "query", b"query", "sort_spec", b"sort_spec"]) -> builtins.bool: ...
|
|
233
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "group_spec", b"group_spec", "l10n", b"l10n", "max_passages", b"max_passages", "metadata", b"metadata", "query", b"query", "region", b"region", "response_format", b"response_format", "sort_spec", b"sort_spec", "user_agent", b"user_agent"]) -> None: ...
|
|
228
234
|
|
|
229
235
|
global___WebSearchRequest = WebSearchRequest
|
|
230
236
|
|
|
@@ -33,7 +33,7 @@ from yandex.cloud.serverless.functions.v1 import function_pb2 as yandex_dot_clou
|
|
|
33
33
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;yandex/cloud/serverless/functions/v1/function_service.proto\x12$yandex.cloud.serverless.functions.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x33yandex/cloud/serverless/functions/v1/function.proto\x1a\x1dyandex/cloud/validation.proto\"/\n\x12GetFunctionRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\">\n\x19GetFunctionVersionRequest\x12!\n\x13\x66unction_version_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"h\n\x1eGetFunctionVersionByTagRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12+\n\x03tag\x18\x02 \x01(\tB\x1e\xf2\xc7\x31\x1a[a-z][-_0-9a-z]*|[$]latest\"f\n\x14ListFunctionsRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x11\n\tpage_size\x18\x02 \x01(\x03\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"s\n\x15ListFunctionsResponse\x12\x41\n\tfunctions\x18\x01 \x03(\x0b\x32..yandex.cloud.serverless.functions.v1.Function\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xcf\x02\n\x15\x43reateFunctionRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x04name\x18\x02 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x9c\x01\n\x06labels\x18\x04 \x03(\x0b\x32G.yandex.cloud.serverless.functions.v1.CreateFunctionRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x16\x43reateFunctionMetadata\x12\x13\n\x0b\x66unction_id\x18\x01 \x01(\t\"\x82\x03\n\x15UpdateFunctionRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\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\x9c\x01\n\x06labels\x18\x05 \x03(\x0b\x32G.yandex.cloud.serverless.functions.v1.UpdateFunctionRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x16UpdateFunctionMetadata\x12\x13\n\x0b\x66unction_id\x18\x01 \x01(\t\"2\n\x15\x44\x65leteFunctionRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"-\n\x16\x44\x65leteFunctionMetadata\x12\x13\n\x0b\x66unction_id\x18\x01 \x01(\t\"V\n\x1c\x44\x65leteFunctionVersionRequest\x12!\n\x13\x66unction_version_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\r\n\x05\x66orce\x18\x03 \x01(\x08J\x04\x08\x01\x10\x02\"B\n\x1d\x44\x65leteFunctionVersionMetadata\x12\x1b\n\x13\x66unction_version_id\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02\"\x15\n\x13ListRuntimesRequest\"(\n\x14ListRuntimesResponse\x12\x10\n\x08runtimes\x18\x01 \x03(\t\"\xb0\x01\n\x1cListFunctionsVersionsRequest\x12\x13\n\tfolder_id\x18\x01 \x01(\tH\x00\x12\x15\n\x0b\x66unction_id\x18\x02 \x01(\tH\x00\x12\x1d\n\tpage_size\x18\x03 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x05 \x01(\tB\n\x8a\xc8\x31\x06<=1000B\n\n\x02id\x12\x04\xc0\xc1\x31\x01\"y\n\x1dListFunctionsVersionsResponse\x12?\n\x08versions\x18\x01 \x03(\x0b\x32-.yandex.cloud.serverless.functions.v1.Version\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x94\x01\n\x1dListFunctionOperationsRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"p\n\x1eListFunctionOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc2\x0b\n\x1c\x43reateFunctionVersionRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x15\n\x07runtime\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05\x30-256\x12\x18\n\nentrypoint\x18\x04 \x01(\tB\x04\xe8\xc7\x31\x01\x12H\n\tresources\x18\x05 \x01(\x0b\x32/.yandex.cloud.serverless.functions.v1.ResourcesB\x04\xe8\xc7\x31\x01\x12\x46\n\x11\x65xecution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x10\xe8\xc7\x31\x01\xfa\xc7\x31\x08\x30s-3600s\x12\x1a\n\x12service_account_id\x18\x07 \x01(\t\x12@\n\x07package\x18\t \x01(\x0b\x32-.yandex.cloud.serverless.functions.v1.PackageH\x00\x12!\n\x07\x63ontent\x18\n \x01(\x0c\x42\x0e\x8a\xc8\x31\n<=52428800H\x00\x12\x14\n\nversion_id\x18\x0b \x01(\tH\x00\x12\x8f\x01\n\x0b\x65nvironment\x18\x0c \x03(\x0b\x32S.yandex.cloud.serverless.functions.v1.CreateFunctionVersionRequest.EnvironmentEntryB%\x8a\xc8\x31\x06<=4096\xb2\xc8\x31\x17\x12\x15[a-zA-Z][a-zA-Z0-9_]*\x12!\n\x03tag\x18\r \x03(\tB\x14\xf2\xc7\x31\x10[a-z][-_0-9a-z]*\x12H\n\x0c\x63onnectivity\x18\x11 \x01(\x0b\x32\x32.yandex.cloud.serverless.functions.v1.Connectivity\x12|\n\x16named_service_accounts\x18\x0f \x03(\x0b\x32\\.yandex.cloud.serverless.functions.v1.CreateFunctionVersionRequest.NamedServiceAccountsEntry\x12=\n\x07secrets\x18\x12 \x03(\x0b\x32,.yandex.cloud.serverless.functions.v1.Secret\x12\x45\n\x0blog_options\x18\x13 \x01(\x0b\x32\x30.yandex.cloud.serverless.functions.v1.LogOptions\x12J\n\x0estorage_mounts\x18\x14 \x03(\x0b\x32\x32.yandex.cloud.serverless.functions.v1.StorageMount\x12\\\n\x17\x61sync_invocation_config\x18\x16 \x01(\x0b\x32;.yandex.cloud.serverless.functions.v1.AsyncInvocationConfig\x12\x12\n\ntmpfs_size\x18\x17 \x01(\x03\x12\x1d\n\x0b\x63oncurrency\x18\x18 \x01(\x03\x42\x08\xfa\xc7\x31\x04\x30-16\x12;\n\x06mounts\x18\x19 \x03(\x0b\x32+.yandex.cloud.serverless.functions.v1.Mount\x12O\n\x10metadata_options\x18\x1a \x01(\x0b\x32\x35.yandex.cloud.serverless.functions.v1.MetadataOptions\x1a\x32\n\x10\x45nvironmentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19NamedServiceAccountsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x16\n\x0epackage_source\x12\x04\xc0\xc1\x31\x01J\x04\x08\x0e\x10\x0fJ\x04\x08\x10\x10\x11J\x04\x08\x15\x10\x16J\x04\x08\x08\x10\t\"<\n\x1d\x43reateFunctionVersionMetadata\x12\x1b\n\x13\x66unction_version_id\x18\x01 \x01(\t\"]\n\x15SetFunctionTagRequest\x12!\n\x13\x66unction_version_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12!\n\x03tag\x18\x02 \x01(\tB\x14\xf2\xc7\x31\x10[a-z][-_0-9a-z]*\"`\n\x18RemoveFunctionTagRequest\x12!\n\x13\x66unction_version_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12!\n\x03tag\x18\x02 \x01(\tB\x14\xf2\xc7\x31\x10[a-z][-_0-9a-z]*\"5\n\x16SetFunctionTagMetadata\x12\x1b\n\x13\x66unction_version_id\x18\x01 \x01(\t\"8\n\x19RemoveFunctionTagMetadata\x12\x1b\n\x13\x66unction_version_id\x18\x01 \x01(\t\"\xc1\x01\n\x1dListFunctionTagHistoryRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12+\n\x03tag\x18\x02 \x01(\tB\x1e\xf2\xc7\x31\x1a[a-z][-_0-9a-z]*|[$]latest\x12\x1d\n\tpage_size\x18\x03 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x05 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"\x80\x03\n\x1eListFunctionTagHistoryResponse\x12\x82\x01\n\x1b\x66unction_tag_history_record\x18\x01 \x03(\x0b\x32].yandex.cloud.serverless.functions.v1.ListFunctionTagHistoryResponse.FunctionTagHistoryRecord\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x1a\xbf\x01\n\x18\x46unctionTagHistoryRecord\x12\x13\n\x0b\x66unction_id\x18\x01 \x01(\t\x12\x1b\n\x13\x66unction_version_id\x18\x03 \x01(\t\x12\x0b\n\x03tag\x18\x02 \x01(\t\x12\x32\n\x0e\x65\x66\x66\x65\x63tive_from\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x65\x66\x66\x65\x63tive_to\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"u\n\x1aListScalingPoliciesRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"\x85\x01\n\x1bListScalingPoliciesResponse\x12M\n\x10scaling_policies\x18\x01 \x03(\x0b\x32\x33.yandex.cloud.serverless.functions.v1.ScalingPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xef\x01\n\x17SetScalingPolicyRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x03tag\x18\x02 \x01(\tB\"\xe8\xc7\x31\x01\xf2\xc7\x31\x1a[a-z][-_0-9a-z]*|[$]latest\x12/\n\x1bprovisioned_instances_count\x18\x04 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12(\n\x14zone_instances_limit\x18\x05 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\'\n\x13zone_requests_limit\x18\x06 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000J\x04\x08\x03\x10\x04\"/\n\x18SetScalingPolicyMetadata\x12\x13\n\x0b\x66unction_id\x18\x01 \x01(\t\"h\n\x1aRemoveScalingPolicyRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x03tag\x18\x02 \x01(\tB\"\xe8\xc7\x31\x01\xf2\xc7\x31\x1a[a-z][-_0-9a-z]*|[$]latest\"2\n\x1bRemoveScalingPolicyMetadata\x12\x13\n\x0b\x66unction_id\x18\x01 \x01(\t2\xc4!\n\x0f\x46unctionService\x12\x9e\x01\n\x03Get\x12\x38.yandex.cloud.serverless.functions.v1.GetFunctionRequest\x1a..yandex.cloud.serverless.functions.v1.Function\"-\x82\xd3\xe4\x93\x02\'\x12%/functions/v1/functions/{function_id}\x12\xa0\x01\n\x04List\x12:.yandex.cloud.serverless.functions.v1.ListFunctionsRequest\x1a;.yandex.cloud.serverless.functions.v1.ListFunctionsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/functions/v1/functions\x12\xb2\x01\n\x06\x43reate\x12;.yandex.cloud.serverless.functions.v1.CreateFunctionRequest\x1a!.yandex.cloud.operation.Operation\"H\xb2\xd2*\"\n\x16\x43reateFunctionMetadata\x12\x08\x46unction\x82\xd3\xe4\x93\x02\x1c\"\x17/functions/v1/functions:\x01*\x12\xc0\x01\n\x06Update\x12;.yandex.cloud.serverless.functions.v1.UpdateFunctionRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2*\"\n\x16UpdateFunctionMetadata\x12\x08\x46unction\x82\xd3\xe4\x93\x02*2%/functions/v1/functions/{function_id}:\x01*\x12\xca\x01\n\x06\x44\x65lete\x12;.yandex.cloud.serverless.functions.v1.DeleteFunctionRequest\x1a!.yandex.cloud.operation.Operation\"`\xb2\xd2*/\n\x16\x44\x65leteFunctionMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\'*%/functions/v1/functions/{function_id}\x12\xb2\x01\n\nGetVersion\x12?.yandex.cloud.serverless.functions.v1.GetFunctionVersionRequest\x1a-.yandex.cloud.serverless.functions.v1.Version\"4\x82\xd3\xe4\x93\x02.\x12,/functions/v1/versions/{function_version_id}\x12\xac\x01\n\x0fGetVersionByTag\x12\x44.yandex.cloud.serverless.functions.v1.GetFunctionVersionByTagRequest\x1a-.yandex.cloud.serverless.functions.v1.Version\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/functions/v1/versions:byTag\x12\xb7\x01\n\x0cListVersions\x12\x42.yandex.cloud.serverless.functions.v1.ListFunctionsVersionsRequest\x1a\x43.yandex.cloud.serverless.functions.v1.ListFunctionsVersionsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/functions/v1/versions\x12\xe6\x01\n\rDeleteVersion\x12\x42.yandex.cloud.serverless.functions.v1.DeleteFunctionVersionRequest\x1a!.yandex.cloud.operation.Operation\"n\xb2\xd2*6\n\x1d\x44\x65leteFunctionVersionMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02.*,/functions/v1/versions/{function_version_id}\x12\xcd\x01\n\x06SetTag\x12;.yandex.cloud.serverless.functions.v1.SetFunctionTagRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*!\n\x16SetFunctionTagMetadata\x12\x07Version\x82\xd3\xe4\x93\x02\x38\"3/functions/v1/versions/{function_version_id}:setTag:\x01*\x12\xd9\x01\n\tRemoveTag\x12>.yandex.cloud.serverless.functions.v1.RemoveFunctionTagRequest\x1a!.yandex.cloud.operation.Operation\"i\xb2\xd2*$\n\x19RemoveFunctionTagMetadata\x12\x07Version\x82\xd3\xe4\x93\x02;\"6/functions/v1/versions/{function_version_id}:removeTag:\x01*\x12\xd5\x01\n\x0eListTagHistory\x12\x43.yandex.cloud.serverless.functions.v1.ListFunctionTagHistoryRequest\x1a\x44.yandex.cloud.serverless.functions.v1.ListFunctionTagHistoryResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/functions/v1/functions/{function_id}:tagHistory\x12\xc5\x01\n\rCreateVersion\x12\x42.yandex.cloud.serverless.functions.v1.CreateFunctionVersionRequest\x1a!.yandex.cloud.operation.Operation\"M\xb2\xd2*(\n\x1d\x43reateFunctionVersionMetadata\x12\x07Version\x82\xd3\xe4\x93\x02\x1b\"\x16/functions/v1/versions:\x01*\x12\xa5\x01\n\x0cListRuntimes\x12\x39.yandex.cloud.serverless.functions.v1.ListRuntimesRequest\x1a:.yandex.cloud.serverless.functions.v1.ListRuntimesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/functions/v1/runtimes\x12\xd5\x01\n\x0eListOperations\x12\x43.yandex.cloud.serverless.functions.v1.ListFunctionOperationsRequest\x1a\x44.yandex.cloud.serverless.functions.v1.ListFunctionOperationsResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/functions/v1/functions/{function_id}/operations\x12\xb7\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/functions/v1/functions/{resource_id}:listAccessBindings\x12\xe6\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x7f\xb2\xd2*9\n access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02<\"7/functions/v1/functions/{resource_id}:setAccessBindings:\x01*\x12\xf3\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x85\x01\xb2\xd2*<\n#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02?\":/functions/v1/functions/{resource_id}:updateAccessBindings:\x01*\x12\xd9\x01\n\x13ListScalingPolicies\x12@.yandex.cloud.serverless.functions.v1.ListScalingPoliciesRequest\x1a\x41.yandex.cloud.serverless.functions.v1.ListScalingPoliciesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/functions/v1/functions/{function_id}/scalingPolicies\x12\xe4\x01\n\x10SetScalingPolicy\x12=.yandex.cloud.serverless.functions.v1.SetScalingPolicyRequest\x1a!.yandex.cloud.operation.Operation\"n\xb2\xd2*)\n\x18SetScalingPolicyMetadata\x12\rScalingPolicy\x82\xd3\xe4\x93\x02;\"6/functions/v1/functions/{function_id}:setScalingPolicy:\x01*\x12\xf8\x01\n\x13RemoveScalingPolicy\x12@.yandex.cloud.serverless.functions.v1.RemoveScalingPolicyRequest\x1a!.yandex.cloud.operation.Operation\"|\xb2\xd2*4\n\x1bRemoveScalingPolicyMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02>\"9/functions/v1/functions/{function_id}:removeScalingPolicy:\x01*B~\n(yandex.cloud.api.serverless.functions.v1ZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1;functionsb\x06proto3')
|
|
36
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;yandex/cloud/serverless/functions/v1/function_service.proto\x12$yandex.cloud.serverless.functions.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x33yandex/cloud/serverless/functions/v1/function.proto\x1a\x1dyandex/cloud/validation.proto\"/\n\x12GetFunctionRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\">\n\x19GetFunctionVersionRequest\x12!\n\x13\x66unction_version_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"h\n\x1eGetFunctionVersionByTagRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12+\n\x03tag\x18\x02 \x01(\tB\x1e\xf2\xc7\x31\x1a[a-z][-_0-9a-z]*|[$]latest\"f\n\x14ListFunctionsRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x11\n\tpage_size\x18\x02 \x01(\x03\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"s\n\x15ListFunctionsResponse\x12\x41\n\tfunctions\x18\x01 \x03(\x0b\x32..yandex.cloud.serverless.functions.v1.Function\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xcf\x02\n\x15\x43reateFunctionRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x04name\x18\x02 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x9c\x01\n\x06labels\x18\x04 \x03(\x0b\x32G.yandex.cloud.serverless.functions.v1.CreateFunctionRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x16\x43reateFunctionMetadata\x12\x13\n\x0b\x66unction_id\x18\x01 \x01(\t\"\x82\x03\n\x15UpdateFunctionRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\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\x9c\x01\n\x06labels\x18\x05 \x03(\x0b\x32G.yandex.cloud.serverless.functions.v1.UpdateFunctionRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x16UpdateFunctionMetadata\x12\x13\n\x0b\x66unction_id\x18\x01 \x01(\t\"2\n\x15\x44\x65leteFunctionRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"-\n\x16\x44\x65leteFunctionMetadata\x12\x13\n\x0b\x66unction_id\x18\x01 \x01(\t\"V\n\x1c\x44\x65leteFunctionVersionRequest\x12!\n\x13\x66unction_version_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\r\n\x05\x66orce\x18\x03 \x01(\x08J\x04\x08\x01\x10\x02\"B\n\x1d\x44\x65leteFunctionVersionMetadata\x12\x1b\n\x13\x66unction_version_id\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02\"\x15\n\x13ListRuntimesRequest\"(\n\x14ListRuntimesResponse\x12\x10\n\x08runtimes\x18\x01 \x03(\t\"\xb0\x01\n\x1cListFunctionsVersionsRequest\x12\x13\n\tfolder_id\x18\x01 \x01(\tH\x00\x12\x15\n\x0b\x66unction_id\x18\x02 \x01(\tH\x00\x12\x1d\n\tpage_size\x18\x03 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x05 \x01(\tB\n\x8a\xc8\x31\x06<=1000B\n\n\x02id\x12\x04\xc0\xc1\x31\x01\"y\n\x1dListFunctionsVersionsResponse\x12?\n\x08versions\x18\x01 \x03(\x0b\x32-.yandex.cloud.serverless.functions.v1.Version\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x94\x01\n\x1dListFunctionOperationsRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"p\n\x1eListFunctionOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc2\x0b\n\x1c\x43reateFunctionVersionRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x15\n\x07runtime\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05\x30-256\x12\x18\n\nentrypoint\x18\x04 \x01(\tB\x04\xe8\xc7\x31\x01\x12H\n\tresources\x18\x05 \x01(\x0b\x32/.yandex.cloud.serverless.functions.v1.ResourcesB\x04\xe8\xc7\x31\x01\x12\x46\n\x11\x65xecution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x10\xe8\xc7\x31\x01\xfa\xc7\x31\x08\x30s-3600s\x12\x1a\n\x12service_account_id\x18\x07 \x01(\t\x12@\n\x07package\x18\t \x01(\x0b\x32-.yandex.cloud.serverless.functions.v1.PackageH\x00\x12!\n\x07\x63ontent\x18\n \x01(\x0c\x42\x0e\x8a\xc8\x31\n<=52428800H\x00\x12\x14\n\nversion_id\x18\x0b \x01(\tH\x00\x12\x8f\x01\n\x0b\x65nvironment\x18\x0c \x03(\x0b\x32S.yandex.cloud.serverless.functions.v1.CreateFunctionVersionRequest.EnvironmentEntryB%\x8a\xc8\x31\x06<=4096\xb2\xc8\x31\x17\x12\x15[a-zA-Z][a-zA-Z0-9_]*\x12!\n\x03tag\x18\r \x03(\tB\x14\xf2\xc7\x31\x10[a-z][-_0-9a-z]*\x12H\n\x0c\x63onnectivity\x18\x11 \x01(\x0b\x32\x32.yandex.cloud.serverless.functions.v1.Connectivity\x12|\n\x16named_service_accounts\x18\x0f \x03(\x0b\x32\\.yandex.cloud.serverless.functions.v1.CreateFunctionVersionRequest.NamedServiceAccountsEntry\x12=\n\x07secrets\x18\x12 \x03(\x0b\x32,.yandex.cloud.serverless.functions.v1.Secret\x12\x45\n\x0blog_options\x18\x13 \x01(\x0b\x32\x30.yandex.cloud.serverless.functions.v1.LogOptions\x12J\n\x0estorage_mounts\x18\x14 \x03(\x0b\x32\x32.yandex.cloud.serverless.functions.v1.StorageMount\x12\\\n\x17\x61sync_invocation_config\x18\x16 \x01(\x0b\x32;.yandex.cloud.serverless.functions.v1.AsyncInvocationConfig\x12\x12\n\ntmpfs_size\x18\x17 \x01(\x03\x12\x1d\n\x0b\x63oncurrency\x18\x18 \x01(\x03\x42\x08\xfa\xc7\x31\x04\x30-16\x12;\n\x06mounts\x18\x19 \x03(\x0b\x32+.yandex.cloud.serverless.functions.v1.Mount\x12O\n\x10metadata_options\x18\x1a \x01(\x0b\x32\x35.yandex.cloud.serverless.functions.v1.MetadataOptions\x1a\x32\n\x10\x45nvironmentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19NamedServiceAccountsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x16\n\x0epackage_source\x12\x04\xc0\xc1\x31\x01J\x04\x08\x0e\x10\x0fJ\x04\x08\x10\x10\x11J\x04\x08\x15\x10\x16J\x04\x08\x08\x10\t\"<\n\x1d\x43reateFunctionVersionMetadata\x12\x1b\n\x13\x66unction_version_id\x18\x01 \x01(\t\"]\n\x15SetFunctionTagRequest\x12!\n\x13\x66unction_version_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12!\n\x03tag\x18\x02 \x01(\tB\x14\xf2\xc7\x31\x10[a-z][-_0-9a-z]*\"`\n\x18RemoveFunctionTagRequest\x12!\n\x13\x66unction_version_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12!\n\x03tag\x18\x02 \x01(\tB\x14\xf2\xc7\x31\x10[a-z][-_0-9a-z]*\"5\n\x16SetFunctionTagMetadata\x12\x1b\n\x13\x66unction_version_id\x18\x01 \x01(\t\"8\n\x19RemoveFunctionTagMetadata\x12\x1b\n\x13\x66unction_version_id\x18\x01 \x01(\t\"\xc1\x01\n\x1dListFunctionTagHistoryRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12+\n\x03tag\x18\x02 \x01(\tB\x1e\xf2\xc7\x31\x1a[a-z][-_0-9a-z]*|[$]latest\x12\x1d\n\tpage_size\x18\x03 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x05 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"\x80\x03\n\x1eListFunctionTagHistoryResponse\x12\x82\x01\n\x1b\x66unction_tag_history_record\x18\x01 \x03(\x0b\x32].yandex.cloud.serverless.functions.v1.ListFunctionTagHistoryResponse.FunctionTagHistoryRecord\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x1a\xbf\x01\n\x18\x46unctionTagHistoryRecord\x12\x13\n\x0b\x66unction_id\x18\x01 \x01(\t\x12\x1b\n\x13\x66unction_version_id\x18\x03 \x01(\t\x12\x0b\n\x03tag\x18\x02 \x01(\t\x12\x32\n\x0e\x65\x66\x66\x65\x63tive_from\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x65\x66\x66\x65\x63tive_to\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"u\n\x1aListScalingPoliciesRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"\x85\x01\n\x1bListScalingPoliciesResponse\x12M\n\x10scaling_policies\x18\x01 \x03(\x0b\x32\x33.yandex.cloud.serverless.functions.v1.ScalingPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe6\x01\n\x17SetScalingPolicyRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x03tag\x18\x02 \x01(\tB\"\xe8\xc7\x31\x01\xf2\xc7\x31\x1a[a-z][-_0-9a-z]*|[$]latest\x12,\n\x1bprovisioned_instances_count\x18\x04 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12%\n\x14zone_instances_limit\x18\x05 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12$\n\x13zone_requests_limit\x18\x06 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0J\x04\x08\x03\x10\x04\"/\n\x18SetScalingPolicyMetadata\x12\x13\n\x0b\x66unction_id\x18\x01 \x01(\t\"h\n\x1aRemoveScalingPolicyRequest\x12\x19\n\x0b\x66unction_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x03tag\x18\x02 \x01(\tB\"\xe8\xc7\x31\x01\xf2\xc7\x31\x1a[a-z][-_0-9a-z]*|[$]latest\"2\n\x1bRemoveScalingPolicyMetadata\x12\x13\n\x0b\x66unction_id\x18\x01 \x01(\t2\xc4!\n\x0f\x46unctionService\x12\x9e\x01\n\x03Get\x12\x38.yandex.cloud.serverless.functions.v1.GetFunctionRequest\x1a..yandex.cloud.serverless.functions.v1.Function\"-\x82\xd3\xe4\x93\x02\'\x12%/functions/v1/functions/{function_id}\x12\xa0\x01\n\x04List\x12:.yandex.cloud.serverless.functions.v1.ListFunctionsRequest\x1a;.yandex.cloud.serverless.functions.v1.ListFunctionsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/functions/v1/functions\x12\xb2\x01\n\x06\x43reate\x12;.yandex.cloud.serverless.functions.v1.CreateFunctionRequest\x1a!.yandex.cloud.operation.Operation\"H\xb2\xd2*\"\n\x16\x43reateFunctionMetadata\x12\x08\x46unction\x82\xd3\xe4\x93\x02\x1c\"\x17/functions/v1/functions:\x01*\x12\xc0\x01\n\x06Update\x12;.yandex.cloud.serverless.functions.v1.UpdateFunctionRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2*\"\n\x16UpdateFunctionMetadata\x12\x08\x46unction\x82\xd3\xe4\x93\x02*2%/functions/v1/functions/{function_id}:\x01*\x12\xca\x01\n\x06\x44\x65lete\x12;.yandex.cloud.serverless.functions.v1.DeleteFunctionRequest\x1a!.yandex.cloud.operation.Operation\"`\xb2\xd2*/\n\x16\x44\x65leteFunctionMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\'*%/functions/v1/functions/{function_id}\x12\xb2\x01\n\nGetVersion\x12?.yandex.cloud.serverless.functions.v1.GetFunctionVersionRequest\x1a-.yandex.cloud.serverless.functions.v1.Version\"4\x82\xd3\xe4\x93\x02.\x12,/functions/v1/versions/{function_version_id}\x12\xac\x01\n\x0fGetVersionByTag\x12\x44.yandex.cloud.serverless.functions.v1.GetFunctionVersionByTagRequest\x1a-.yandex.cloud.serverless.functions.v1.Version\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/functions/v1/versions:byTag\x12\xb7\x01\n\x0cListVersions\x12\x42.yandex.cloud.serverless.functions.v1.ListFunctionsVersionsRequest\x1a\x43.yandex.cloud.serverless.functions.v1.ListFunctionsVersionsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/functions/v1/versions\x12\xe6\x01\n\rDeleteVersion\x12\x42.yandex.cloud.serverless.functions.v1.DeleteFunctionVersionRequest\x1a!.yandex.cloud.operation.Operation\"n\xb2\xd2*6\n\x1d\x44\x65leteFunctionVersionMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02.*,/functions/v1/versions/{function_version_id}\x12\xcd\x01\n\x06SetTag\x12;.yandex.cloud.serverless.functions.v1.SetFunctionTagRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*!\n\x16SetFunctionTagMetadata\x12\x07Version\x82\xd3\xe4\x93\x02\x38\"3/functions/v1/versions/{function_version_id}:setTag:\x01*\x12\xd9\x01\n\tRemoveTag\x12>.yandex.cloud.serverless.functions.v1.RemoveFunctionTagRequest\x1a!.yandex.cloud.operation.Operation\"i\xb2\xd2*$\n\x19RemoveFunctionTagMetadata\x12\x07Version\x82\xd3\xe4\x93\x02;\"6/functions/v1/versions/{function_version_id}:removeTag:\x01*\x12\xd5\x01\n\x0eListTagHistory\x12\x43.yandex.cloud.serverless.functions.v1.ListFunctionTagHistoryRequest\x1a\x44.yandex.cloud.serverless.functions.v1.ListFunctionTagHistoryResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/functions/v1/functions/{function_id}:tagHistory\x12\xc5\x01\n\rCreateVersion\x12\x42.yandex.cloud.serverless.functions.v1.CreateFunctionVersionRequest\x1a!.yandex.cloud.operation.Operation\"M\xb2\xd2*(\n\x1d\x43reateFunctionVersionMetadata\x12\x07Version\x82\xd3\xe4\x93\x02\x1b\"\x16/functions/v1/versions:\x01*\x12\xa5\x01\n\x0cListRuntimes\x12\x39.yandex.cloud.serverless.functions.v1.ListRuntimesRequest\x1a:.yandex.cloud.serverless.functions.v1.ListRuntimesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/functions/v1/runtimes\x12\xd5\x01\n\x0eListOperations\x12\x43.yandex.cloud.serverless.functions.v1.ListFunctionOperationsRequest\x1a\x44.yandex.cloud.serverless.functions.v1.ListFunctionOperationsResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/functions/v1/functions/{function_id}/operations\x12\xb7\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/functions/v1/functions/{resource_id}:listAccessBindings\x12\xe6\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x7f\xb2\xd2*9\n access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02<\"7/functions/v1/functions/{resource_id}:setAccessBindings:\x01*\x12\xf3\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x85\x01\xb2\xd2*<\n#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02?\":/functions/v1/functions/{resource_id}:updateAccessBindings:\x01*\x12\xd9\x01\n\x13ListScalingPolicies\x12@.yandex.cloud.serverless.functions.v1.ListScalingPoliciesRequest\x1a\x41.yandex.cloud.serverless.functions.v1.ListScalingPoliciesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/functions/v1/functions/{function_id}/scalingPolicies\x12\xe4\x01\n\x10SetScalingPolicy\x12=.yandex.cloud.serverless.functions.v1.SetScalingPolicyRequest\x1a!.yandex.cloud.operation.Operation\"n\xb2\xd2*)\n\x18SetScalingPolicyMetadata\x12\rScalingPolicy\x82\xd3\xe4\x93\x02;\"6/functions/v1/functions/{function_id}:setScalingPolicy:\x01*\x12\xf8\x01\n\x13RemoveScalingPolicy\x12@.yandex.cloud.serverless.functions.v1.RemoveScalingPolicyRequest\x1a!.yandex.cloud.operation.Operation\"|\xb2\xd2*4\n\x1bRemoveScalingPolicyMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02>\"9/functions/v1/functions/{function_id}:removeScalingPolicy:\x01*B~\n(yandex.cloud.api.serverless.functions.v1ZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1;functionsb\x06proto3')
|
|
37
37
|
|
|
38
38
|
_globals = globals()
|
|
39
39
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -146,11 +146,11 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
146
146
|
_globals['_SETSCALINGPOLICYREQUEST'].fields_by_name['tag']._loaded_options = None
|
|
147
147
|
_globals['_SETSCALINGPOLICYREQUEST'].fields_by_name['tag']._serialized_options = b'\350\3071\001\362\3071\032[a-z][-_0-9a-z]*|[$]latest'
|
|
148
148
|
_globals['_SETSCALINGPOLICYREQUEST'].fields_by_name['provisioned_instances_count']._loaded_options = None
|
|
149
|
-
_globals['_SETSCALINGPOLICYREQUEST'].fields_by_name['provisioned_instances_count']._serialized_options = b'\372\3071\
|
|
149
|
+
_globals['_SETSCALINGPOLICYREQUEST'].fields_by_name['provisioned_instances_count']._serialized_options = b'\372\3071\003>=0'
|
|
150
150
|
_globals['_SETSCALINGPOLICYREQUEST'].fields_by_name['zone_instances_limit']._loaded_options = None
|
|
151
|
-
_globals['_SETSCALINGPOLICYREQUEST'].fields_by_name['zone_instances_limit']._serialized_options = b'\372\3071\
|
|
151
|
+
_globals['_SETSCALINGPOLICYREQUEST'].fields_by_name['zone_instances_limit']._serialized_options = b'\372\3071\003>=0'
|
|
152
152
|
_globals['_SETSCALINGPOLICYREQUEST'].fields_by_name['zone_requests_limit']._loaded_options = None
|
|
153
|
-
_globals['_SETSCALINGPOLICYREQUEST'].fields_by_name['zone_requests_limit']._serialized_options = b'\372\3071\
|
|
153
|
+
_globals['_SETSCALINGPOLICYREQUEST'].fields_by_name['zone_requests_limit']._serialized_options = b'\372\3071\003>=0'
|
|
154
154
|
_globals['_REMOVESCALINGPOLICYREQUEST'].fields_by_name['function_id']._loaded_options = None
|
|
155
155
|
_globals['_REMOVESCALINGPOLICYREQUEST'].fields_by_name['function_id']._serialized_options = b'\350\3071\001'
|
|
156
156
|
_globals['_REMOVESCALINGPOLICYREQUEST'].fields_by_name['tag']._loaded_options = None
|
|
@@ -266,13 +266,13 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
266
266
|
_globals['_LISTSCALINGPOLICIESRESPONSE']._serialized_start=5118
|
|
267
267
|
_globals['_LISTSCALINGPOLICIESRESPONSE']._serialized_end=5251
|
|
268
268
|
_globals['_SETSCALINGPOLICYREQUEST']._serialized_start=5254
|
|
269
|
-
_globals['_SETSCALINGPOLICYREQUEST']._serialized_end=
|
|
270
|
-
_globals['_SETSCALINGPOLICYMETADATA']._serialized_start=
|
|
271
|
-
_globals['_SETSCALINGPOLICYMETADATA']._serialized_end=
|
|
272
|
-
_globals['_REMOVESCALINGPOLICYREQUEST']._serialized_start=
|
|
273
|
-
_globals['_REMOVESCALINGPOLICYREQUEST']._serialized_end=
|
|
274
|
-
_globals['_REMOVESCALINGPOLICYMETADATA']._serialized_start=
|
|
275
|
-
_globals['_REMOVESCALINGPOLICYMETADATA']._serialized_end=
|
|
276
|
-
_globals['_FUNCTIONSERVICE']._serialized_start=
|
|
277
|
-
_globals['_FUNCTIONSERVICE']._serialized_end=
|
|
269
|
+
_globals['_SETSCALINGPOLICYREQUEST']._serialized_end=5484
|
|
270
|
+
_globals['_SETSCALINGPOLICYMETADATA']._serialized_start=5486
|
|
271
|
+
_globals['_SETSCALINGPOLICYMETADATA']._serialized_end=5533
|
|
272
|
+
_globals['_REMOVESCALINGPOLICYREQUEST']._serialized_start=5535
|
|
273
|
+
_globals['_REMOVESCALINGPOLICYREQUEST']._serialized_end=5639
|
|
274
|
+
_globals['_REMOVESCALINGPOLICYMETADATA']._serialized_start=5641
|
|
275
|
+
_globals['_REMOVESCALINGPOLICYMETADATA']._serialized_end=5691
|
|
276
|
+
_globals['_FUNCTIONSERVICE']._serialized_start=5694
|
|
277
|
+
_globals['_FUNCTIONSERVICE']._serialized_end=9986
|
|
278
278
|
# @@protoc_insertion_point(module_scope)
|
yandex/cloud/spark/v1/job_pb2.py
CHANGED
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fyandex/cloud/spark/v1/job.proto\x12\x15yandex.cloud.spark.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fyandex/cloud/spark/v1/job.proto\x12\x15yandex.cloud.spark.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9c\x05\n\x03Job\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstarted_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inished_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x12\n\ncreated_by\x18\x07 \x01(\t\x12\x31\n\x06status\x18\x08 \x01(\x0e\x32!.yandex.cloud.spark.v1.Job.Status\x12\x34\n\tspark_job\x18\t \x01(\x0b\x32\x1f.yandex.cloud.spark.v1.SparkJobH\x00\x12\x38\n\x0bpyspark_job\x18\n \x01(\x0b\x32!.yandex.cloud.spark.v1.PysparkJobH\x00\x12\x43\n\x11spark_connect_job\x18\x14 \x01(\x0b\x32&.yandex.cloud.spark.v1.SparkConnectJobH\x00\x12\x0e\n\x06ui_url\x18\x0c \x01(\t\x12\x1a\n\x12service_account_id\x18\r \x01(\t\x12\x13\n\x0b\x63onnect_url\x18\x0e \x01(\t\"\x80\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x08\n\x04\x44ONE\x10\x05\x12\r\n\tCANCELLED\x10\x06\x12\x0e\n\nCANCELLING\x10\x07\x42\n\n\x08job_specJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0f\x10\x14\"\xc1\x02\n\x08SparkJob\x12\x0c\n\x04\x61rgs\x18\x01 \x03(\t\x12\x15\n\rjar_file_uris\x18\x02 \x03(\t\x12\x11\n\tfile_uris\x18\x03 \x03(\t\x12\x14\n\x0c\x61rchive_uris\x18\x04 \x03(\t\x12\x43\n\nproperties\x18\x05 \x03(\x0b\x32/.yandex.cloud.spark.v1.SparkJob.PropertiesEntry\x12\x19\n\x11main_jar_file_uri\x18\x06 \x01(\t\x12\x12\n\nmain_class\x18\x07 \x01(\t\x12\x10\n\x08packages\x18\x08 \x03(\t\x12\x14\n\x0crepositories\x18\t \x03(\t\x12\x18\n\x10\x65xclude_packages\x18\n \x03(\t\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x92\x02\n\x0fSparkConnectJob\x12\x15\n\rjar_file_uris\x18\x01 \x03(\t\x12\x11\n\tfile_uris\x18\x02 \x03(\t\x12\x14\n\x0c\x61rchive_uris\x18\x03 \x03(\t\x12J\n\nproperties\x18\x04 \x03(\x0b\x32\x36.yandex.cloud.spark.v1.SparkConnectJob.PropertiesEntry\x12\x10\n\x08packages\x18\x05 \x03(\t\x12\x14\n\x0crepositories\x18\x06 \x03(\t\x12\x18\n\x10\x65xclude_packages\x18\x07 \x03(\t\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xce\x02\n\nPysparkJob\x12\x0c\n\x04\x61rgs\x18\x01 \x03(\t\x12\x15\n\rjar_file_uris\x18\x02 \x03(\t\x12\x11\n\tfile_uris\x18\x03 \x03(\t\x12\x14\n\x0c\x61rchive_uris\x18\x04 \x03(\t\x12\x45\n\nproperties\x18\x05 \x03(\x0b\x32\x31.yandex.cloud.spark.v1.PysparkJob.PropertiesEntry\x12\x1c\n\x14main_python_file_uri\x18\x06 \x01(\t\x12\x18\n\x10python_file_uris\x18\x07 \x03(\t\x12\x10\n\x08packages\x18\x08 \x03(\t\x12\x14\n\x0crepositories\x18\t \x03(\t\x12\x18\n\x10\x65xclude_packages\x18\n \x03(\t\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\\\n\x19yandex.cloud.api.spark.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/spark/v1;sparkb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -35,18 +35,24 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n\031yandex.cloud.api.spark.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/spark/v1;spark'
|
|
36
36
|
_globals['_SPARKJOB_PROPERTIESENTRY']._loaded_options = None
|
|
37
37
|
_globals['_SPARKJOB_PROPERTIESENTRY']._serialized_options = b'8\001'
|
|
38
|
+
_globals['_SPARKCONNECTJOB_PROPERTIESENTRY']._loaded_options = None
|
|
39
|
+
_globals['_SPARKCONNECTJOB_PROPERTIESENTRY']._serialized_options = b'8\001'
|
|
38
40
|
_globals['_PYSPARKJOB_PROPERTIESENTRY']._loaded_options = None
|
|
39
41
|
_globals['_PYSPARKJOB_PROPERTIESENTRY']._serialized_options = b'8\001'
|
|
40
42
|
_globals['_JOB']._serialized_start=92
|
|
41
|
-
_globals['_JOB']._serialized_end=
|
|
42
|
-
_globals['_JOB_STATUS']._serialized_start=
|
|
43
|
-
_globals['_JOB_STATUS']._serialized_end=
|
|
44
|
-
_globals['_SPARKJOB']._serialized_start=
|
|
45
|
-
_globals['_SPARKJOB']._serialized_end=
|
|
46
|
-
_globals['_SPARKJOB_PROPERTIESENTRY']._serialized_start=
|
|
47
|
-
_globals['_SPARKJOB_PROPERTIESENTRY']._serialized_end=
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
51
|
-
_globals['
|
|
43
|
+
_globals['_JOB']._serialized_end=760
|
|
44
|
+
_globals['_JOB_STATUS']._serialized_start=608
|
|
45
|
+
_globals['_JOB_STATUS']._serialized_end=736
|
|
46
|
+
_globals['_SPARKJOB']._serialized_start=763
|
|
47
|
+
_globals['_SPARKJOB']._serialized_end=1084
|
|
48
|
+
_globals['_SPARKJOB_PROPERTIESENTRY']._serialized_start=1035
|
|
49
|
+
_globals['_SPARKJOB_PROPERTIESENTRY']._serialized_end=1084
|
|
50
|
+
_globals['_SPARKCONNECTJOB']._serialized_start=1087
|
|
51
|
+
_globals['_SPARKCONNECTJOB']._serialized_end=1361
|
|
52
|
+
_globals['_SPARKCONNECTJOB_PROPERTIESENTRY']._serialized_start=1035
|
|
53
|
+
_globals['_SPARKCONNECTJOB_PROPERTIESENTRY']._serialized_end=1084
|
|
54
|
+
_globals['_PYSPARKJOB']._serialized_start=1364
|
|
55
|
+
_globals['_PYSPARKJOB']._serialized_end=1698
|
|
56
|
+
_globals['_PYSPARKJOB_PROPERTIESENTRY']._serialized_start=1035
|
|
57
|
+
_globals['_PYSPARKJOB_PROPERTIESENTRY']._serialized_end=1084
|
|
52
58
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -75,7 +75,10 @@ class Job(google.protobuf.message.Message):
|
|
|
75
75
|
STATUS_FIELD_NUMBER: builtins.int
|
|
76
76
|
SPARK_JOB_FIELD_NUMBER: builtins.int
|
|
77
77
|
PYSPARK_JOB_FIELD_NUMBER: builtins.int
|
|
78
|
+
SPARK_CONNECT_JOB_FIELD_NUMBER: builtins.int
|
|
78
79
|
UI_URL_FIELD_NUMBER: builtins.int
|
|
80
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
81
|
+
CONNECT_URL_FIELD_NUMBER: builtins.int
|
|
79
82
|
id: builtins.str
|
|
80
83
|
"""Required. Unique ID of the Spark job.
|
|
81
84
|
This ID is assigned by MDB in the process of creating Spark job.
|
|
@@ -90,6 +93,10 @@ class Job(google.protobuf.message.Message):
|
|
|
90
93
|
"""Status."""
|
|
91
94
|
ui_url: builtins.str
|
|
92
95
|
"""Spark UI Url."""
|
|
96
|
+
service_account_id: builtins.str
|
|
97
|
+
"""Service account used to access Cloud resources."""
|
|
98
|
+
connect_url: builtins.str
|
|
99
|
+
"""Spark Connect Url."""
|
|
93
100
|
@property
|
|
94
101
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
95
102
|
"""The time when the Spark job was created."""
|
|
@@ -106,6 +113,8 @@ class Job(google.protobuf.message.Message):
|
|
|
106
113
|
def spark_job(self) -> global___SparkJob: ...
|
|
107
114
|
@property
|
|
108
115
|
def pyspark_job(self) -> global___PysparkJob: ...
|
|
116
|
+
@property
|
|
117
|
+
def spark_connect_job(self) -> global___SparkConnectJob: ...
|
|
109
118
|
def __init__(
|
|
110
119
|
self,
|
|
111
120
|
*,
|
|
@@ -119,11 +128,14 @@ class Job(google.protobuf.message.Message):
|
|
|
119
128
|
status: global___Job.Status.ValueType = ...,
|
|
120
129
|
spark_job: global___SparkJob | None = ...,
|
|
121
130
|
pyspark_job: global___PysparkJob | None = ...,
|
|
131
|
+
spark_connect_job: global___SparkConnectJob | None = ...,
|
|
122
132
|
ui_url: builtins.str = ...,
|
|
133
|
+
service_account_id: builtins.str = ...,
|
|
134
|
+
connect_url: builtins.str = ...,
|
|
123
135
|
) -> None: ...
|
|
124
|
-
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "finished_at", b"finished_at", "job_spec", b"job_spec", "pyspark_job", b"pyspark_job", "spark_job", b"spark_job", "started_at", b"started_at"]) -> builtins.bool: ...
|
|
125
|
-
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "created_at", b"created_at", "created_by", b"created_by", "finished_at", b"finished_at", "id", b"id", "job_spec", b"job_spec", "name", b"name", "pyspark_job", b"pyspark_job", "spark_job", b"spark_job", "started_at", b"started_at", "status", b"status", "ui_url", b"ui_url"]) -> None: ...
|
|
126
|
-
def WhichOneof(self, oneof_group: typing.Literal["job_spec", b"job_spec"]) -> typing.Literal["spark_job", "pyspark_job"] | None: ...
|
|
136
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "finished_at", b"finished_at", "job_spec", b"job_spec", "pyspark_job", b"pyspark_job", "spark_connect_job", b"spark_connect_job", "spark_job", b"spark_job", "started_at", b"started_at"]) -> builtins.bool: ...
|
|
137
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "connect_url", b"connect_url", "created_at", b"created_at", "created_by", b"created_by", "finished_at", b"finished_at", "id", b"id", "job_spec", b"job_spec", "name", b"name", "pyspark_job", b"pyspark_job", "service_account_id", b"service_account_id", "spark_connect_job", b"spark_connect_job", "spark_job", b"spark_job", "started_at", b"started_at", "status", b"status", "ui_url", b"ui_url"]) -> None: ...
|
|
138
|
+
def WhichOneof(self, oneof_group: typing.Literal["job_spec", b"job_spec"]) -> typing.Literal["spark_job", "pyspark_job", "spark_connect_job"] | None: ...
|
|
127
139
|
|
|
128
140
|
global___Job = Job
|
|
129
141
|
|
|
@@ -211,6 +223,76 @@ class SparkJob(google.protobuf.message.Message):
|
|
|
211
223
|
|
|
212
224
|
global___SparkJob = SparkJob
|
|
213
225
|
|
|
226
|
+
@typing.final
|
|
227
|
+
class SparkConnectJob(google.protobuf.message.Message):
|
|
228
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
229
|
+
|
|
230
|
+
@typing.final
|
|
231
|
+
class PropertiesEntry(google.protobuf.message.Message):
|
|
232
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
233
|
+
|
|
234
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
235
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
236
|
+
key: builtins.str
|
|
237
|
+
value: builtins.str
|
|
238
|
+
def __init__(
|
|
239
|
+
self,
|
|
240
|
+
*,
|
|
241
|
+
key: builtins.str = ...,
|
|
242
|
+
value: builtins.str = ...,
|
|
243
|
+
) -> None: ...
|
|
244
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
245
|
+
|
|
246
|
+
JAR_FILE_URIS_FIELD_NUMBER: builtins.int
|
|
247
|
+
FILE_URIS_FIELD_NUMBER: builtins.int
|
|
248
|
+
ARCHIVE_URIS_FIELD_NUMBER: builtins.int
|
|
249
|
+
PROPERTIES_FIELD_NUMBER: builtins.int
|
|
250
|
+
PACKAGES_FIELD_NUMBER: builtins.int
|
|
251
|
+
REPOSITORIES_FIELD_NUMBER: builtins.int
|
|
252
|
+
EXCLUDE_PACKAGES_FIELD_NUMBER: builtins.int
|
|
253
|
+
@property
|
|
254
|
+
def jar_file_uris(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
255
|
+
"""Jar file URIs to add to the CLASSPATHs of the Spark driver and tasks."""
|
|
256
|
+
|
|
257
|
+
@property
|
|
258
|
+
def file_uris(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
259
|
+
"""URIs of files to be copied to the working directory of Spark drivers and distributed tasks."""
|
|
260
|
+
|
|
261
|
+
@property
|
|
262
|
+
def archive_uris(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
263
|
+
"""URIs of archives to be extracted in the working directory of Spark drivers and tasks."""
|
|
264
|
+
|
|
265
|
+
@property
|
|
266
|
+
def properties(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
267
|
+
"""A mapping of property names to values, used to configure Spark."""
|
|
268
|
+
|
|
269
|
+
@property
|
|
270
|
+
def packages(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
271
|
+
"""List of maven coordinates of jars to include on the driver and executor classpaths."""
|
|
272
|
+
|
|
273
|
+
@property
|
|
274
|
+
def repositories(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
275
|
+
"""List of additional remote repositories to search for the maven coordinates given with --packages."""
|
|
276
|
+
|
|
277
|
+
@property
|
|
278
|
+
def exclude_packages(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
279
|
+
"""List of groupId:artifactId, to exclude while resolving the dependencies provided in --packages to avoid dependency conflicts."""
|
|
280
|
+
|
|
281
|
+
def __init__(
|
|
282
|
+
self,
|
|
283
|
+
*,
|
|
284
|
+
jar_file_uris: collections.abc.Iterable[builtins.str] | None = ...,
|
|
285
|
+
file_uris: collections.abc.Iterable[builtins.str] | None = ...,
|
|
286
|
+
archive_uris: collections.abc.Iterable[builtins.str] | None = ...,
|
|
287
|
+
properties: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
288
|
+
packages: collections.abc.Iterable[builtins.str] | None = ...,
|
|
289
|
+
repositories: collections.abc.Iterable[builtins.str] | None = ...,
|
|
290
|
+
exclude_packages: collections.abc.Iterable[builtins.str] | None = ...,
|
|
291
|
+
) -> None: ...
|
|
292
|
+
def ClearField(self, field_name: typing.Literal["archive_uris", b"archive_uris", "exclude_packages", b"exclude_packages", "file_uris", b"file_uris", "jar_file_uris", b"jar_file_uris", "packages", b"packages", "properties", b"properties", "repositories", b"repositories"]) -> None: ...
|
|
293
|
+
|
|
294
|
+
global___SparkConnectJob = SparkConnectJob
|
|
295
|
+
|
|
214
296
|
@typing.final
|
|
215
297
|
class PysparkJob(google.protobuf.message.Message):
|
|
216
298
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -28,7 +28,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
28
28
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/spark/v1/job_service.proto\x12\x15yandex.cloud.spark.v1\x1a\x1fyandex/cloud/spark/v1/job.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\"O\n\rGetJobRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1c\n\x06job_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x8d\x01\n\x0fListJobsRequest\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\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"`\n\x10ListJobsResponse\x12(\n\x04jobs\x18\x01 \x03(\x0b\x32\x1a.yandex.cloud.spark.v1.Job\x12\"\n\x0fnext_page_token\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=200\"\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/spark/v1/job_service.proto\x12\x15yandex.cloud.spark.v1\x1a\x1fyandex/cloud/spark/v1/job.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\"O\n\rGetJobRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1c\n\x06job_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x8d\x01\n\x0fListJobsRequest\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\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"`\n\x10ListJobsResponse\x12(\n\x04jobs\x18\x01 \x03(\x0b\x32\x1a.yandex.cloud.spark.v1.Job\x12\"\n\x0fnext_page_token\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=200\"\xd8\x02\n\x10\x43reateJobRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x04name\x18\x02 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x34\n\tspark_job\x18\x03 \x01(\x0b\x32\x1f.yandex.cloud.spark.v1.SparkJobH\x00\x12\x38\n\x0bpyspark_job\x18\x04 \x01(\x0b\x32!.yandex.cloud.spark.v1.PysparkJobH\x00\x12\x43\n\x11spark_connect_job\x18\x05 \x01(\x0b\x32&.yandex.cloud.spark.v1.SparkConnectJobH\x00\x12$\n\x12service_account_id\x18\x08 \x01(\tB\x08\x8a\xc8\x31\x04<=50B\n\n\x08job_specJ\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08\"O\n\x11\x43reateJobMetadata\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x18\n\x06job_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50\"R\n\x10\x43\x61ncelJobRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1c\n\x06job_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x94\x01\n\x11ListJobLogRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1c\n\x06job_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12 \n\tpage_size\x18\x03 \x01(\x03\x42\r\xfa\xc7\x31\t<=1048576\x12\x1d\n\npage_token\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=200\"I\n\x12ListJobLogResponse\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\"\n\x0fnext_page_token\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=2002\xfc\x03\n\nJobService\x12Y\n\x04List\x12&.yandex.cloud.spark.v1.ListJobsRequest\x1a\'.yandex.cloud.spark.v1.ListJobsResponse\"\x00\x12r\n\x06\x43reate\x12\'.yandex.cloud.spark.v1.CreateJobRequest\x1a!.yandex.cloud.operation.Operation\"\x1c\xb2\xd2*\x18\n\x11\x43reateJobMetadata\x12\x03Job\x12I\n\x03Get\x12$.yandex.cloud.spark.v1.GetJobRequest\x1a\x1a.yandex.cloud.spark.v1.Job\"\x00\x12`\n\x07ListLog\x12(.yandex.cloud.spark.v1.ListJobLogRequest\x1a).yandex.cloud.spark.v1.ListJobLogResponse\"\x00\x12r\n\x06\x43\x61ncel\x12\'.yandex.cloud.spark.v1.CancelJobRequest\x1a!.yandex.cloud.operation.Operation\"\x1c\xb2\xd2*\x18\n\x11\x43reateJobMetadata\x12\x03JobB\\\n\x19yandex.cloud.api.spark.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/spark/v1;sparkb\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -54,6 +54,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
54
54
|
_globals['_CREATEJOBREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
55
55
|
_globals['_CREATEJOBREQUEST'].fields_by_name['name']._loaded_options = None
|
|
56
56
|
_globals['_CREATEJOBREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071\035|[a-z][-a-z0-9]{1,61}[a-z0-9]'
|
|
57
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['service_account_id']._loaded_options = None
|
|
58
|
+
_globals['_CREATEJOBREQUEST'].fields_by_name['service_account_id']._serialized_options = b'\212\3101\004<=50'
|
|
57
59
|
_globals['_CREATEJOBMETADATA'].fields_by_name['cluster_id']._loaded_options = None
|
|
58
60
|
_globals['_CREATEJOBMETADATA'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
59
61
|
_globals['_CREATEJOBMETADATA'].fields_by_name['job_id']._loaded_options = None
|
|
@@ -83,15 +85,15 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
83
85
|
_globals['_LISTJOBSRESPONSE']._serialized_start=429
|
|
84
86
|
_globals['_LISTJOBSRESPONSE']._serialized_end=525
|
|
85
87
|
_globals['_CREATEJOBREQUEST']._serialized_start=528
|
|
86
|
-
_globals['_CREATEJOBREQUEST']._serialized_end=
|
|
87
|
-
_globals['_CREATEJOBMETADATA']._serialized_start=
|
|
88
|
-
_globals['_CREATEJOBMETADATA']._serialized_end=
|
|
89
|
-
_globals['_CANCELJOBREQUEST']._serialized_start=
|
|
90
|
-
_globals['_CANCELJOBREQUEST']._serialized_end=
|
|
91
|
-
_globals['_LISTJOBLOGREQUEST']._serialized_start=
|
|
92
|
-
_globals['_LISTJOBLOGREQUEST']._serialized_end=
|
|
93
|
-
_globals['_LISTJOBLOGRESPONSE']._serialized_start=
|
|
94
|
-
_globals['_LISTJOBLOGRESPONSE']._serialized_end=
|
|
95
|
-
_globals['_JOBSERVICE']._serialized_start=
|
|
96
|
-
_globals['_JOBSERVICE']._serialized_end=
|
|
88
|
+
_globals['_CREATEJOBREQUEST']._serialized_end=872
|
|
89
|
+
_globals['_CREATEJOBMETADATA']._serialized_start=874
|
|
90
|
+
_globals['_CREATEJOBMETADATA']._serialized_end=953
|
|
91
|
+
_globals['_CANCELJOBREQUEST']._serialized_start=955
|
|
92
|
+
_globals['_CANCELJOBREQUEST']._serialized_end=1037
|
|
93
|
+
_globals['_LISTJOBLOGREQUEST']._serialized_start=1040
|
|
94
|
+
_globals['_LISTJOBLOGREQUEST']._serialized_end=1188
|
|
95
|
+
_globals['_LISTJOBLOGRESPONSE']._serialized_start=1190
|
|
96
|
+
_globals['_LISTJOBLOGRESPONSE']._serialized_end=1263
|
|
97
|
+
_globals['_JOBSERVICE']._serialized_start=1266
|
|
98
|
+
_globals['_JOBSERVICE']._serialized_end=1774
|
|
97
99
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -102,14 +102,20 @@ class CreateJobRequest(google.protobuf.message.Message):
|
|
|
102
102
|
NAME_FIELD_NUMBER: builtins.int
|
|
103
103
|
SPARK_JOB_FIELD_NUMBER: builtins.int
|
|
104
104
|
PYSPARK_JOB_FIELD_NUMBER: builtins.int
|
|
105
|
+
SPARK_CONNECT_JOB_FIELD_NUMBER: builtins.int
|
|
106
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
105
107
|
cluster_id: builtins.str
|
|
106
108
|
"""ID of the cluster to create Spark job in."""
|
|
107
109
|
name: builtins.str
|
|
108
110
|
"""Optional. Name of the job."""
|
|
111
|
+
service_account_id: builtins.str
|
|
112
|
+
"""Service account used to access Cloud resources."""
|
|
109
113
|
@property
|
|
110
114
|
def spark_job(self) -> yandex.cloud.spark.v1.job_pb2.SparkJob: ...
|
|
111
115
|
@property
|
|
112
116
|
def pyspark_job(self) -> yandex.cloud.spark.v1.job_pb2.PysparkJob: ...
|
|
117
|
+
@property
|
|
118
|
+
def spark_connect_job(self) -> yandex.cloud.spark.v1.job_pb2.SparkConnectJob: ...
|
|
113
119
|
def __init__(
|
|
114
120
|
self,
|
|
115
121
|
*,
|
|
@@ -117,10 +123,12 @@ class CreateJobRequest(google.protobuf.message.Message):
|
|
|
117
123
|
name: builtins.str = ...,
|
|
118
124
|
spark_job: yandex.cloud.spark.v1.job_pb2.SparkJob | None = ...,
|
|
119
125
|
pyspark_job: yandex.cloud.spark.v1.job_pb2.PysparkJob | None = ...,
|
|
126
|
+
spark_connect_job: yandex.cloud.spark.v1.job_pb2.SparkConnectJob | None = ...,
|
|
127
|
+
service_account_id: builtins.str = ...,
|
|
120
128
|
) -> None: ...
|
|
121
|
-
def HasField(self, field_name: typing.Literal["job_spec", b"job_spec", "pyspark_job", b"pyspark_job", "spark_job", b"spark_job"]) -> builtins.bool: ...
|
|
122
|
-
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "job_spec", b"job_spec", "name", b"name", "pyspark_job", b"pyspark_job", "spark_job", b"spark_job"]) -> None: ...
|
|
123
|
-
def WhichOneof(self, oneof_group: typing.Literal["job_spec", b"job_spec"]) -> typing.Literal["spark_job", "pyspark_job"] | None: ...
|
|
129
|
+
def HasField(self, field_name: typing.Literal["job_spec", b"job_spec", "pyspark_job", b"pyspark_job", "spark_connect_job", b"spark_connect_job", "spark_job", b"spark_job"]) -> builtins.bool: ...
|
|
130
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "job_spec", b"job_spec", "name", b"name", "pyspark_job", b"pyspark_job", "service_account_id", b"service_account_id", "spark_connect_job", b"spark_connect_job", "spark_job", b"spark_job"]) -> None: ...
|
|
131
|
+
def WhichOneof(self, oneof_group: typing.Literal["job_spec", b"job_spec"]) -> typing.Literal["spark_job", "pyspark_job", "spark_connect_job"] | None: ...
|
|
124
132
|
|
|
125
133
|
global___CreateJobRequest = CreateJobRequest
|
|
126
134
|
|
|
@@ -41,7 +41,7 @@ class PresignObjectRequest(google.protobuf.message.Message):
|
|
|
41
41
|
VERSION_ID_FIELD_NUMBER: builtins.int
|
|
42
42
|
AS_ATTACHMENT_FIELD_NUMBER: builtins.int
|
|
43
43
|
expires: builtins.int
|
|
44
|
-
"""Expiration time in seconds
|
|
44
|
+
"""Expiration time in seconds"""
|
|
45
45
|
name: builtins.str
|
|
46
46
|
"""Object name/key"""
|
|
47
47
|
method: builtins.str
|
yandexcloud/__init__.py
CHANGED