yandexcloud 0.324.0__py3-none-any.whl → 0.326.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.py +18 -5
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +149 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.py +3 -4
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.pyi +2 -7
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +10 -8
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +63 -5
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.py +20 -20
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.pyi +9 -3
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +1 -1
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +4 -2
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2.pyi +6 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.py +3 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_pb2.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +25 -10
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.py +11 -5
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.pyi +33 -9
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +3 -3
- yandex/cloud/ai/stt/v3/stt_pb2.py +5 -3
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +15 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2.py +10 -7
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.py +34 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.pyi +18 -0
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +28 -26
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +16 -2
- yandex/cloud/backup/v1/policy_pb2.pyi +1 -1
- yandex/cloud/cdn/v1/resource_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2.py +14 -9
- yandex/cloud/cloudregistry/v1/artifact_pb2.pyi +2 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2.pyi +3 -3
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.py +9 -6
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.pyi +15 -9
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +1 -1
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +42 -38
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.py +2 -2
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.pyi +6 -6
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +9 -5
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +96 -0
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +55 -53
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +14 -2
- yandex/cloud/iam/v1/user_account_pb2.py +12 -11
- yandex/cloud/iam/v1/user_account_pb2.pyi +9 -4
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.py +3 -3
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.pyi +3 -3
- yandex/cloud/mdb/redis/v1/backup_pb2.py +4 -2
- yandex/cloud/mdb/redis/v1/backup_pb2.pyi +31 -1
- yandex/cloud/mdb/redis/v1/config/redis_pb2.py +8 -8
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
- yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +2 -2
- yandex/cloud/searchapi/__init__.py +0 -0
- yandex/cloud/searchapi/v2/__init__.py +0 -0
- yandex/cloud/searchapi/v2/search_query_pb2.py +37 -0
- yandex/cloud/searchapi/v2/search_query_pb2.pyi +100 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.py +4 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.pyi +17 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +61 -0
- yandex/cloud/searchapi/v2/search_service_pb2.pyi +218 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.py +70 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.pyi +48 -0
- yandex/cloud/serverless/containers/v1/container_pb2.py +42 -34
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +52 -2
- yandex/cloud/serverless/containers/v1/container_service_pb2.py +18 -18
- yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +8 -2
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +9 -9
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +8 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.py +31 -31
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +4 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +23 -15
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.pyi +32 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.py +34 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.pyi +20 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +46 -40
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +47 -2
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +18 -18
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +16 -3
- yandex/cloud/speechsense/v1/talk_pb2.py +14 -6
- yandex/cloud/speechsense/v1/talk_pb2.pyi +89 -2
- yandex/cloud/speechsense/v1/talk_service_pb2.py +2 -6
- yandex/cloud/video/v1/channel_pb2.py +1 -1
- yandex/cloud/video/v1/channel_service_pb2.py +58 -25
- yandex/cloud/video/v1/channel_service_pb2.pyi +40 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/episode_pb2.py +10 -8
- yandex/cloud/video/v1/episode_pb2.pyi +19 -3
- yandex/cloud/video/v1/episode_service_pb2.py +96 -43
- yandex/cloud/video/v1/episode_service_pb2.pyi +68 -6
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/manifest_pb2.py +3 -3
- yandex/cloud/video/v1/manifest_pb2.pyi +1 -5
- yandex/cloud/video/v1/playlist_pb2.py +29 -0
- yandex/cloud/video/v1/playlist_pb2.pyi +89 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/playlist_service_pb2.py +102 -0
- yandex/cloud/video/v1/playlist_service_pb2.pyi +331 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +276 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +172 -0
- yandex/cloud/video/v1/stream_line_pb2.py +1 -1
- yandex/cloud/video/v1/stream_line_service_pb2.py +122 -55
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/stream_pb2.py +1 -1
- yandex/cloud/video/v1/stream_service_pb2.py +98 -37
- yandex/cloud/video/v1/stream_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/subtitle_pb2.py +29 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +90 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/subtitle_service_pb2.py +83 -0
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +212 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +208 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +132 -0
- yandex/cloud/video/v1/thumbnail_service_pb2.py +50 -21
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +48 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +69 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +41 -0
- yandex/cloud/video/v1/video_pb2.py +18 -14
- yandex/cloud/video/v1/video_pb2.pyi +55 -3
- yandex/cloud/video/v1/video_service_pb2.py +118 -49
- yandex/cloud/video/v1/video_service_pb2.pyi +161 -6
- yandex/cloud/video/v1/video_service_pb2_grpc.py +102 -0
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +60 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/RECORD +134 -108
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
9
|
+
import google.protobuf.message
|
|
10
|
+
import sys
|
|
11
|
+
import typing
|
|
12
|
+
import yandex.cloud.searchapi.v2.search_query_pb2
|
|
13
|
+
|
|
14
|
+
if sys.version_info >= (3, 10):
|
|
15
|
+
import typing as typing_extensions
|
|
16
|
+
else:
|
|
17
|
+
import typing_extensions
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class SortSpec(google.protobuf.message.Message):
|
|
23
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
24
|
+
|
|
25
|
+
class _SortOrder:
|
|
26
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
27
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
28
|
+
|
|
29
|
+
class _SortOrderEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[SortSpec._SortOrder.ValueType], builtins.type):
|
|
30
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
31
|
+
SORT_ORDER_UNSPECIFIED: SortSpec._SortOrder.ValueType # 0
|
|
32
|
+
SORT_ORDER_ASC: SortSpec._SortOrder.ValueType # 1
|
|
33
|
+
"""Direct order from most recent to oldest (default).."""
|
|
34
|
+
SORT_ORDER_DESC: SortSpec._SortOrder.ValueType # 2
|
|
35
|
+
"""Reverse order from oldest to most recent."""
|
|
36
|
+
|
|
37
|
+
class SortOrder(_SortOrder, metaclass=_SortOrderEnumTypeWrapper): ...
|
|
38
|
+
SORT_ORDER_UNSPECIFIED: SortSpec.SortOrder.ValueType # 0
|
|
39
|
+
SORT_ORDER_ASC: SortSpec.SortOrder.ValueType # 1
|
|
40
|
+
"""Direct order from most recent to oldest (default).."""
|
|
41
|
+
SORT_ORDER_DESC: SortSpec.SortOrder.ValueType # 2
|
|
42
|
+
"""Reverse order from oldest to most recent."""
|
|
43
|
+
|
|
44
|
+
class _SortMode:
|
|
45
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
46
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
47
|
+
|
|
48
|
+
class _SortModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[SortSpec._SortMode.ValueType], builtins.type):
|
|
49
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
50
|
+
SORT_MODE_UNSPECIFIED: SortSpec._SortMode.ValueType # 0
|
|
51
|
+
SORT_MODE_BY_RELEVANCE: SortSpec._SortMode.ValueType # 1
|
|
52
|
+
"""Sort documents by relevance (default value)."""
|
|
53
|
+
SORT_MODE_BY_TIME: SortSpec._SortMode.ValueType # 2
|
|
54
|
+
"""Sort documents by update time."""
|
|
55
|
+
|
|
56
|
+
class SortMode(_SortMode, metaclass=_SortModeEnumTypeWrapper): ...
|
|
57
|
+
SORT_MODE_UNSPECIFIED: SortSpec.SortMode.ValueType # 0
|
|
58
|
+
SORT_MODE_BY_RELEVANCE: SortSpec.SortMode.ValueType # 1
|
|
59
|
+
"""Sort documents by relevance (default value)."""
|
|
60
|
+
SORT_MODE_BY_TIME: SortSpec.SortMode.ValueType # 2
|
|
61
|
+
"""Sort documents by update time."""
|
|
62
|
+
|
|
63
|
+
SORT_MODE_FIELD_NUMBER: builtins.int
|
|
64
|
+
SORT_ORDER_FIELD_NUMBER: builtins.int
|
|
65
|
+
sort_mode: global___SortSpec.SortMode.ValueType
|
|
66
|
+
"""Documents sorting mode."""
|
|
67
|
+
sort_order: global___SortSpec.SortOrder.ValueType
|
|
68
|
+
"""Documents sorting order."""
|
|
69
|
+
def __init__(
|
|
70
|
+
self,
|
|
71
|
+
*,
|
|
72
|
+
sort_mode: global___SortSpec.SortMode.ValueType = ...,
|
|
73
|
+
sort_order: global___SortSpec.SortOrder.ValueType = ...,
|
|
74
|
+
) -> None: ...
|
|
75
|
+
def ClearField(self, field_name: typing.Literal["sort_mode", b"sort_mode", "sort_order", b"sort_order"]) -> None: ...
|
|
76
|
+
|
|
77
|
+
global___SortSpec = SortSpec
|
|
78
|
+
|
|
79
|
+
@typing.final
|
|
80
|
+
class GroupSpec(google.protobuf.message.Message):
|
|
81
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
82
|
+
|
|
83
|
+
class _GroupMode:
|
|
84
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
85
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
86
|
+
|
|
87
|
+
class _GroupModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[GroupSpec._GroupMode.ValueType], builtins.type):
|
|
88
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
89
|
+
GROUP_MODE_UNSPECIFIED: GroupSpec._GroupMode.ValueType # 0
|
|
90
|
+
GROUP_MODE_FLAT: GroupSpec._GroupMode.ValueType # 1
|
|
91
|
+
"""Flat grouping. Each group contains a single document."""
|
|
92
|
+
GROUP_MODE_DEEP: GroupSpec._GroupMode.ValueType # 2
|
|
93
|
+
"""Grouping by domain. Each group contains documents from one domain."""
|
|
94
|
+
|
|
95
|
+
class GroupMode(_GroupMode, metaclass=_GroupModeEnumTypeWrapper): ...
|
|
96
|
+
GROUP_MODE_UNSPECIFIED: GroupSpec.GroupMode.ValueType # 0
|
|
97
|
+
GROUP_MODE_FLAT: GroupSpec.GroupMode.ValueType # 1
|
|
98
|
+
"""Flat grouping. Each group contains a single document."""
|
|
99
|
+
GROUP_MODE_DEEP: GroupSpec.GroupMode.ValueType # 2
|
|
100
|
+
"""Grouping by domain. Each group contains documents from one domain."""
|
|
101
|
+
|
|
102
|
+
GROUP_MODE_FIELD_NUMBER: builtins.int
|
|
103
|
+
GROUPS_ON_PAGE_FIELD_NUMBER: builtins.int
|
|
104
|
+
DOCS_IN_GROUP_FIELD_NUMBER: builtins.int
|
|
105
|
+
group_mode: global___GroupSpec.GroupMode.ValueType
|
|
106
|
+
"""Grouping method."""
|
|
107
|
+
groups_on_page: builtins.int
|
|
108
|
+
"""Maximum number of groups that can be returned per page with search results."""
|
|
109
|
+
docs_in_group: builtins.int
|
|
110
|
+
"""Maximum number of documents that can be returned per group."""
|
|
111
|
+
def __init__(
|
|
112
|
+
self,
|
|
113
|
+
*,
|
|
114
|
+
group_mode: global___GroupSpec.GroupMode.ValueType = ...,
|
|
115
|
+
groups_on_page: builtins.int = ...,
|
|
116
|
+
docs_in_group: builtins.int = ...,
|
|
117
|
+
) -> None: ...
|
|
118
|
+
def ClearField(self, field_name: typing.Literal["docs_in_group", b"docs_in_group", "group_mode", b"group_mode", "groups_on_page", b"groups_on_page"]) -> None: ...
|
|
119
|
+
|
|
120
|
+
global___GroupSpec = GroupSpec
|
|
121
|
+
|
|
122
|
+
@typing.final
|
|
123
|
+
class WebSearchRequest(google.protobuf.message.Message):
|
|
124
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
125
|
+
|
|
126
|
+
class _Localization:
|
|
127
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
128
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
129
|
+
|
|
130
|
+
class _LocalizationEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[WebSearchRequest._Localization.ValueType], builtins.type):
|
|
131
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
132
|
+
LOCALIZATION_UNSPECIFIED: WebSearchRequest._Localization.ValueType # 0
|
|
133
|
+
LOCALIZATION_RU: WebSearchRequest._Localization.ValueType # 1
|
|
134
|
+
"""Russian (default value)"""
|
|
135
|
+
LOCALIZATION_UK: WebSearchRequest._Localization.ValueType # 2
|
|
136
|
+
"""Ukrainian"""
|
|
137
|
+
LOCALIZATION_BE: WebSearchRequest._Localization.ValueType # 3
|
|
138
|
+
"""Belarusian"""
|
|
139
|
+
LOCALIZATION_KK: WebSearchRequest._Localization.ValueType # 4
|
|
140
|
+
"""Kazakh"""
|
|
141
|
+
LOCALIZATION_TR: WebSearchRequest._Localization.ValueType # 5
|
|
142
|
+
"""Turkish"""
|
|
143
|
+
LOCALIZATION_EN: WebSearchRequest._Localization.ValueType # 6
|
|
144
|
+
"""English"""
|
|
145
|
+
|
|
146
|
+
class Localization(_Localization, metaclass=_LocalizationEnumTypeWrapper): ...
|
|
147
|
+
LOCALIZATION_UNSPECIFIED: WebSearchRequest.Localization.ValueType # 0
|
|
148
|
+
LOCALIZATION_RU: WebSearchRequest.Localization.ValueType # 1
|
|
149
|
+
"""Russian (default value)"""
|
|
150
|
+
LOCALIZATION_UK: WebSearchRequest.Localization.ValueType # 2
|
|
151
|
+
"""Ukrainian"""
|
|
152
|
+
LOCALIZATION_BE: WebSearchRequest.Localization.ValueType # 3
|
|
153
|
+
"""Belarusian"""
|
|
154
|
+
LOCALIZATION_KK: WebSearchRequest.Localization.ValueType # 4
|
|
155
|
+
"""Kazakh"""
|
|
156
|
+
LOCALIZATION_TR: WebSearchRequest.Localization.ValueType # 5
|
|
157
|
+
"""Turkish"""
|
|
158
|
+
LOCALIZATION_EN: WebSearchRequest.Localization.ValueType # 6
|
|
159
|
+
"""English"""
|
|
160
|
+
|
|
161
|
+
QUERY_FIELD_NUMBER: builtins.int
|
|
162
|
+
SORT_SPEC_FIELD_NUMBER: builtins.int
|
|
163
|
+
GROUP_SPEC_FIELD_NUMBER: builtins.int
|
|
164
|
+
MAX_PASSAGES_FIELD_NUMBER: builtins.int
|
|
165
|
+
REGION_FIELD_NUMBER: builtins.int
|
|
166
|
+
L10N_FIELD_NUMBER: builtins.int
|
|
167
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
168
|
+
max_passages: builtins.int
|
|
169
|
+
"""The maximum number of passages that can be used when generating a document snippet."""
|
|
170
|
+
region: builtins.str
|
|
171
|
+
"""ID of the search country or region that impacts the document ranking rules."""
|
|
172
|
+
l10n: global___WebSearchRequest.Localization.ValueType
|
|
173
|
+
"""The notification language for a search response."""
|
|
174
|
+
folder_id: builtins.str
|
|
175
|
+
"""ID of the folder."""
|
|
176
|
+
@property
|
|
177
|
+
def query(self) -> yandex.cloud.searchapi.v2.search_query_pb2.SearchQuery:
|
|
178
|
+
"""Search query."""
|
|
179
|
+
|
|
180
|
+
@property
|
|
181
|
+
def sort_spec(self) -> global___SortSpec:
|
|
182
|
+
"""The rules for sorting search results that define the sequence of the returned search results."""
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
def group_spec(self) -> global___GroupSpec:
|
|
186
|
+
"""Grouping settings that are used to group documents from a single domain into a container."""
|
|
187
|
+
|
|
188
|
+
def __init__(
|
|
189
|
+
self,
|
|
190
|
+
*,
|
|
191
|
+
query: yandex.cloud.searchapi.v2.search_query_pb2.SearchQuery | None = ...,
|
|
192
|
+
sort_spec: global___SortSpec | None = ...,
|
|
193
|
+
group_spec: global___GroupSpec | None = ...,
|
|
194
|
+
max_passages: builtins.int = ...,
|
|
195
|
+
region: builtins.str = ...,
|
|
196
|
+
l10n: global___WebSearchRequest.Localization.ValueType = ...,
|
|
197
|
+
folder_id: builtins.str = ...,
|
|
198
|
+
) -> None: ...
|
|
199
|
+
def HasField(self, field_name: typing.Literal["group_spec", b"group_spec", "query", b"query", "sort_spec", b"sort_spec"]) -> builtins.bool: ...
|
|
200
|
+
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", "sort_spec", b"sort_spec"]) -> None: ...
|
|
201
|
+
|
|
202
|
+
global___WebSearchRequest = WebSearchRequest
|
|
203
|
+
|
|
204
|
+
@typing.final
|
|
205
|
+
class WebSearchResponse(google.protobuf.message.Message):
|
|
206
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
207
|
+
|
|
208
|
+
RAW_DATA_FIELD_NUMBER: builtins.int
|
|
209
|
+
raw_data: builtins.bytes
|
|
210
|
+
"""Search results, usually in XML format."""
|
|
211
|
+
def __init__(
|
|
212
|
+
self,
|
|
213
|
+
*,
|
|
214
|
+
raw_data: builtins.bytes = ...,
|
|
215
|
+
) -> None: ...
|
|
216
|
+
def ClearField(self, field_name: typing.Literal["raw_data", b"raw_data"]) -> None: ...
|
|
217
|
+
|
|
218
|
+
global___WebSearchResponse = WebSearchResponse
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
6
|
+
from yandex.cloud.searchapi.v2 import search_service_pb2 as yandex_dot_cloud_dot_searchapi_dot_v2_dot_search__service__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class WebSearchAsyncServiceStub(object):
|
|
10
|
+
"""A set of methods for async search the Yandex search database.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
def __init__(self, channel):
|
|
14
|
+
"""Constructor.
|
|
15
|
+
|
|
16
|
+
Args:
|
|
17
|
+
channel: A grpc.Channel.
|
|
18
|
+
"""
|
|
19
|
+
self.Search = channel.unary_unary(
|
|
20
|
+
'/yandex.cloud.searchapi.v2.WebSearchAsyncService/Search',
|
|
21
|
+
request_serializer=yandex_dot_cloud_dot_searchapi_dot_v2_dot_search__service__pb2.WebSearchRequest.SerializeToString,
|
|
22
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class WebSearchAsyncServiceServicer(object):
|
|
27
|
+
"""A set of methods for async search the Yandex search database.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
def Search(self, request, context):
|
|
31
|
+
"""Missing associated documentation comment in .proto file."""
|
|
32
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
33
|
+
context.set_details('Method not implemented!')
|
|
34
|
+
raise NotImplementedError('Method not implemented!')
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def add_WebSearchAsyncServiceServicer_to_server(servicer, server):
|
|
38
|
+
rpc_method_handlers = {
|
|
39
|
+
'Search': grpc.unary_unary_rpc_method_handler(
|
|
40
|
+
servicer.Search,
|
|
41
|
+
request_deserializer=yandex_dot_cloud_dot_searchapi_dot_v2_dot_search__service__pb2.WebSearchRequest.FromString,
|
|
42
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
43
|
+
),
|
|
44
|
+
}
|
|
45
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
46
|
+
'yandex.cloud.searchapi.v2.WebSearchAsyncService', rpc_method_handlers)
|
|
47
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
# This class is part of an EXPERIMENTAL API.
|
|
51
|
+
class WebSearchAsyncService(object):
|
|
52
|
+
"""A set of methods for async search the Yandex search database.
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
@staticmethod
|
|
56
|
+
def Search(request,
|
|
57
|
+
target,
|
|
58
|
+
options=(),
|
|
59
|
+
channel_credentials=None,
|
|
60
|
+
call_credentials=None,
|
|
61
|
+
insecure=False,
|
|
62
|
+
compression=None,
|
|
63
|
+
wait_for_ready=None,
|
|
64
|
+
timeout=None,
|
|
65
|
+
metadata=None):
|
|
66
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.searchapi.v2.WebSearchAsyncService/Search',
|
|
67
|
+
yandex_dot_cloud_dot_searchapi_dot_v2_dot_search__service__pb2.WebSearchRequest.SerializeToString,
|
|
68
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
69
|
+
options, channel_credentials,
|
|
70
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
import yandex.cloud.operation.operation_pb2
|
|
12
|
+
import yandex.cloud.searchapi.v2.search_service_pb2
|
|
13
|
+
|
|
14
|
+
_T = typing.TypeVar("_T")
|
|
15
|
+
|
|
16
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
17
|
+
|
|
18
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
19
|
+
...
|
|
20
|
+
|
|
21
|
+
class WebSearchAsyncServiceStub:
|
|
22
|
+
"""A set of methods for async search the Yandex search database."""
|
|
23
|
+
|
|
24
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
25
|
+
Search: grpc.UnaryUnaryMultiCallable[
|
|
26
|
+
yandex.cloud.searchapi.v2.search_service_pb2.WebSearchRequest,
|
|
27
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
class WebSearchAsyncServiceAsyncStub:
|
|
31
|
+
"""A set of methods for async search the Yandex search database."""
|
|
32
|
+
|
|
33
|
+
Search: grpc.aio.UnaryUnaryMultiCallable[
|
|
34
|
+
yandex.cloud.searchapi.v2.search_service_pb2.WebSearchRequest,
|
|
35
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
class WebSearchAsyncServiceServicer(metaclass=abc.ABCMeta):
|
|
39
|
+
"""A set of methods for async search the Yandex search database."""
|
|
40
|
+
|
|
41
|
+
@abc.abstractmethod
|
|
42
|
+
def Search(
|
|
43
|
+
self,
|
|
44
|
+
request: yandex.cloud.searchapi.v2.search_service_pb2.WebSearchRequest,
|
|
45
|
+
context: _ServicerContext,
|
|
46
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]: ...
|
|
47
|
+
|
|
48
|
+
def add_WebSearchAsyncServiceServicer_to_server(servicer: WebSearchAsyncServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -17,7 +17,7 @@ from yandex.cloud.logging.v1 import log_entry_pb2 as yandex_dot_cloud_dot_loggin
|
|
|
17
17
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5yandex/cloud/serverless/containers/v1/container.proto\x12%yandex.cloud.serverless.containers.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\x1dyandex/cloud/validation.proto\"\xab\x03\n\tContainer\x12\n\n\x02id\x18\x01 \x01(\t\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\x12L\n\x06labels\x18\x06 \x03(\x0b\x32<.yandex.cloud.serverless.containers.v1.Container.LabelsEntry\x12\x0b\n\x03url\x18\x08 \x01(\t\x12G\n\x06status\x18\t \x01(\x0e\x32\x37.yandex.cloud.serverless.containers.v1.Container.Status\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"S\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\x12\t\n\x05\x45RROR\x10\x04J\x04\x08\x07\x10\x08\"\
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5yandex/cloud/serverless/containers/v1/container.proto\x12%yandex.cloud.serverless.containers.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\x1dyandex/cloud/validation.proto\"\xab\x03\n\tContainer\x12\n\n\x02id\x18\x01 \x01(\t\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\x12L\n\x06labels\x18\x06 \x03(\x0b\x32<.yandex.cloud.serverless.containers.v1.Container.LabelsEntry\x12\x0b\n\x03url\x18\x08 \x01(\t\x12G\n\x06status\x18\t \x01(\x0e\x32\x37.yandex.cloud.serverless.containers.v1.Container.Status\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"S\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\x12\t\n\x05\x45RROR\x10\x04J\x04\x08\x07\x10\x08\"\xab\x08\n\x08Revision\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x63ontainer_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x05image\x18\x05 \x01(\x0b\x32,.yandex.cloud.serverless.containers.v1.Image\x12\x43\n\tresources\x18\x06 \x01(\x0b\x32\x30.yandex.cloud.serverless.containers.v1.Resources\x12\x34\n\x11\x65xecution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0b\x63oncurrency\x18\x08 \x01(\x03\x12\x1a\n\x12service_account_id\x18\t \x01(\t\x12\x46\n\x06status\x18\n \x01(\x0e\x32\x36.yandex.cloud.serverless.containers.v1.Revision.Status\x12>\n\x07secrets\x18\x0b \x03(\x0b\x32-.yandex.cloud.serverless.containers.v1.Secret\x12I\n\x0c\x63onnectivity\x18\x0c \x01(\x0b\x32\x33.yandex.cloud.serverless.containers.v1.Connectivity\x12P\n\x10provision_policy\x18\r \x01(\x0b\x32\x36.yandex.cloud.serverless.containers.v1.ProvisionPolicy\x12L\n\x0escaling_policy\x18\x0e \x01(\x0b\x32\x34.yandex.cloud.serverless.containers.v1.ScalingPolicy\x12\x46\n\x0blog_options\x18\x0f \x01(\x0b\x32\x31.yandex.cloud.serverless.containers.v1.LogOptions\x12K\n\x0estorage_mounts\x18\x10 \x03(\x0b\x32\x33.yandex.cloud.serverless.containers.v1.StorageMount\x12<\n\x06mounts\x18\x11 \x03(\x0b\x32,.yandex.cloud.serverless.containers.v1.Mount\x12?\n\x07runtime\x18\x12 \x01(\x0b\x32..yandex.cloud.serverless.containers.v1.Runtime\"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\x08OBSOLETE\x10\x03\"\xf0\x02\n\x05Image\x12\x11\n\timage_url\x18\x01 \x01(\t\x12\x14\n\x0cimage_digest\x18\x02 \x01(\t\x12?\n\x07\x63ommand\x18\x03 \x01(\x0b\x32..yandex.cloud.serverless.containers.v1.Command\x12\x39\n\x04\x61rgs\x18\x04 \x01(\x0b\x32+.yandex.cloud.serverless.containers.v1.Args\x12y\n\x0b\x65nvironment\x18\x05 \x03(\x0b\x32=.yandex.cloud.serverless.containers.v1.Image.EnvironmentEntryB%\x8a\xc8\x31\x06<=4096\xb2\xc8\x31\x17\x12\x15[a-zA-Z][a-zA-Z0-9_]*\x12\x13\n\x0bworking_dir\x18\x06 \x01(\t\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\x07\x43ommand\x12\x0f\n\x07\x63ommand\x18\x01 \x03(\t\"\x14\n\x04\x41rgs\x12\x0c\n\x04\x61rgs\x18\x01 \x03(\t\"o\n\tResources\x12(\n\x06memory\x18\x01 \x01(\x03\x42\x18\xfa\xc7\x31\x14\x31\x33\x34\x32\x31\x37\x37\x32\x38-8589934592\x12\x16\n\x05\x63ores\x18\x02 \x01(\x03\x42\x07\xfa\xc7\x31\x03\x30-4\x12 \n\rcore_fraction\x18\x03 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-100\"(\n\x0fProvisionPolicy\x12\x15\n\rmin_instances\x18\x01 \x01(\x03\"b\n\x06Secret\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nversion_id\x18\x02 \x01(\t\x12\x0b\n\x03key\x18\x03 \x01(\t\x12\x1e\n\x14\x65nvironment_variable\x18\x04 \x01(\tH\x00\x42\x0b\n\treference\"B\n\x0c\x43onnectivity\x12\x12\n\nnetwork_id\x18\x01 \x01(\t\x12\x1e\n\nsubnet_ids\x18\x02 \x03(\tB\n\x8a\xc8\x31\x02>0\x90\xc8\x31\x01\"\xe0\x01\n\nLogOptions\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\x12;\n\x0clog_group_id\x18\x02 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12\x38\n\tfolder_id\x18\x03 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12:\n\tmin_level\x18\x04 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.LevelB\r\n\x0b\x64\x65stination\"J\n\rScalingPolicy\x12\x1c\n\x14zone_instances_limit\x18\x01 \x01(\x03\x12\x1b\n\x13zone_requests_limit\x18\x02 \x01(\x03\"\xaa\x01\n\x0cStorageMount\x12\x31\n\tbucket_id\x18\x01 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[-.0-9a-zA-Z]*\x8a\xc8\x31\x04\x33-63\x12\x0e\n\x06prefix\x18\x02 \x01(\t\x12\x11\n\tread_only\x18\x04 \x01(\x08\x12:\n\x10mount_point_path\x18\x05 \x01(\tB \xe8\xc7\x31\x01\xf2\xc7\x31\x0f[-_0-9a-zA-Z/]*\x8a\xc8\x31\x05\x31-300:\x02\x18\x01J\x04\x08\x03\x10\x04\"\x93\x04\n\x05Mount\x12:\n\x10mount_point_path\x18\x02 \x01(\tB \xe8\xc7\x31\x01\xf2\xc7\x31\x0f[-_0-9a-zA-Z/]*\x8a\xc8\x31\x05\x31-300\x12?\n\x04mode\x18\x03 \x01(\x0e\x32\x31.yandex.cloud.serverless.containers.v1.Mount.Mode\x12T\n\x0eobject_storage\x18\n \x01(\x0b\x32:.yandex.cloud.serverless.containers.v1.Mount.ObjectStorageH\x00\x12T\n\x13\x65phemeral_disk_spec\x18\x0b \x01(\x0b\x32\x35.yandex.cloud.serverless.containers.v1.Mount.DiskSpecH\x00\x1aR\n\rObjectStorage\x12\x31\n\tbucket_id\x18\x01 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[-.0-9a-zA-Z]*\x8a\xc8\x31\x04\x33-63\x12\x0e\n\x06prefix\x18\x02 \x01(\t\x1a\x34\n\x08\x44iskSpec\x12\x14\n\x04size\x18\x01 \x01(\x03\x42\x06\xfa\xc7\x31\x02>0\x12\x12\n\nblock_size\x18\x02 \x01(\x03\";\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\x42\x0e\n\x06target\x12\x04\xc0\xc1\x31\x01J\x04\x08\x04\x10\nJ\x04\x08\x01\x10\x02\"\xb1\x01\n\x07Runtime\x12\x43\n\x04http\x18\x01 \x01(\x0b\x32\x33.yandex.cloud.serverless.containers.v1.Runtime.HttpH\x00\x12\x43\n\x04task\x18\x02 \x01(\x0b\x32\x33.yandex.cloud.serverless.containers.v1.Runtime.TaskH\x00\x1a\x06\n\x04Http\x1a\x06\n\x04TaskB\x0c\n\x04type\x12\x04\xc0\xc1\x31\x01\x42\x81\x01\n)yandex.cloud.api.serverless.containers.v1ZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/containers/v1;containersb\x06proto3')
|
|
21
21
|
|
|
22
22
|
_globals = globals()
|
|
23
23
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -57,6 +57,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
57
57
|
_MOUNT.oneofs_by_name['target']._serialized_options = b'\300\3011\001'
|
|
58
58
|
_MOUNT.fields_by_name['mount_point_path']._options = None
|
|
59
59
|
_MOUNT.fields_by_name['mount_point_path']._serialized_options = b'\350\3071\001\362\3071\017[-_0-9a-zA-Z/]*\212\3101\0051-300'
|
|
60
|
+
_RUNTIME.oneofs_by_name['type']._options = None
|
|
61
|
+
_RUNTIME.oneofs_by_name['type']._serialized_options = b'\300\3011\001'
|
|
60
62
|
_globals['_CONTAINER']._serialized_start=234
|
|
61
63
|
_globals['_CONTAINER']._serialized_end=661
|
|
62
64
|
_globals['_CONTAINER_LABELSENTRY']._serialized_start=525
|
|
@@ -64,37 +66,43 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
64
66
|
_globals['_CONTAINER_STATUS']._serialized_start=572
|
|
65
67
|
_globals['_CONTAINER_STATUS']._serialized_end=655
|
|
66
68
|
_globals['_REVISION']._serialized_start=664
|
|
67
|
-
_globals['_REVISION']._serialized_end=
|
|
68
|
-
_globals['_REVISION_STATUS']._serialized_start=
|
|
69
|
-
_globals['_REVISION_STATUS']._serialized_end=
|
|
70
|
-
_globals['_IMAGE']._serialized_start=
|
|
71
|
-
_globals['_IMAGE']._serialized_end=
|
|
72
|
-
_globals['_IMAGE_ENVIRONMENTENTRY']._serialized_start=
|
|
73
|
-
_globals['_IMAGE_ENVIRONMENTENTRY']._serialized_end=
|
|
74
|
-
_globals['_COMMAND']._serialized_start=
|
|
75
|
-
_globals['_COMMAND']._serialized_end=
|
|
76
|
-
_globals['_ARGS']._serialized_start=
|
|
77
|
-
_globals['_ARGS']._serialized_end=
|
|
78
|
-
_globals['_RESOURCES']._serialized_start=
|
|
79
|
-
_globals['_RESOURCES']._serialized_end=
|
|
80
|
-
_globals['_PROVISIONPOLICY']._serialized_start=
|
|
81
|
-
_globals['_PROVISIONPOLICY']._serialized_end=
|
|
82
|
-
_globals['_SECRET']._serialized_start=
|
|
83
|
-
_globals['_SECRET']._serialized_end=
|
|
84
|
-
_globals['_CONNECTIVITY']._serialized_start=
|
|
85
|
-
_globals['_CONNECTIVITY']._serialized_end=
|
|
86
|
-
_globals['_LOGOPTIONS']._serialized_start=
|
|
87
|
-
_globals['_LOGOPTIONS']._serialized_end=
|
|
88
|
-
_globals['_SCALINGPOLICY']._serialized_start=
|
|
89
|
-
_globals['_SCALINGPOLICY']._serialized_end=
|
|
90
|
-
_globals['_STORAGEMOUNT']._serialized_start=
|
|
91
|
-
_globals['_STORAGEMOUNT']._serialized_end=
|
|
92
|
-
_globals['_MOUNT']._serialized_start=
|
|
93
|
-
_globals['_MOUNT']._serialized_end=
|
|
94
|
-
_globals['_MOUNT_OBJECTSTORAGE']._serialized_start=
|
|
95
|
-
_globals['_MOUNT_OBJECTSTORAGE']._serialized_end=
|
|
96
|
-
_globals['_MOUNT_DISKSPEC']._serialized_start=
|
|
97
|
-
_globals['_MOUNT_DISKSPEC']._serialized_end=
|
|
98
|
-
_globals['_MOUNT_MODE']._serialized_start=
|
|
99
|
-
_globals['_MOUNT_MODE']._serialized_end=
|
|
69
|
+
_globals['_REVISION']._serialized_end=1731
|
|
70
|
+
_globals['_REVISION_STATUS']._serialized_start=1659
|
|
71
|
+
_globals['_REVISION_STATUS']._serialized_end=1731
|
|
72
|
+
_globals['_IMAGE']._serialized_start=1734
|
|
73
|
+
_globals['_IMAGE']._serialized_end=2102
|
|
74
|
+
_globals['_IMAGE_ENVIRONMENTENTRY']._serialized_start=2052
|
|
75
|
+
_globals['_IMAGE_ENVIRONMENTENTRY']._serialized_end=2102
|
|
76
|
+
_globals['_COMMAND']._serialized_start=2104
|
|
77
|
+
_globals['_COMMAND']._serialized_end=2130
|
|
78
|
+
_globals['_ARGS']._serialized_start=2132
|
|
79
|
+
_globals['_ARGS']._serialized_end=2152
|
|
80
|
+
_globals['_RESOURCES']._serialized_start=2154
|
|
81
|
+
_globals['_RESOURCES']._serialized_end=2265
|
|
82
|
+
_globals['_PROVISIONPOLICY']._serialized_start=2267
|
|
83
|
+
_globals['_PROVISIONPOLICY']._serialized_end=2307
|
|
84
|
+
_globals['_SECRET']._serialized_start=2309
|
|
85
|
+
_globals['_SECRET']._serialized_end=2407
|
|
86
|
+
_globals['_CONNECTIVITY']._serialized_start=2409
|
|
87
|
+
_globals['_CONNECTIVITY']._serialized_end=2475
|
|
88
|
+
_globals['_LOGOPTIONS']._serialized_start=2478
|
|
89
|
+
_globals['_LOGOPTIONS']._serialized_end=2702
|
|
90
|
+
_globals['_SCALINGPOLICY']._serialized_start=2704
|
|
91
|
+
_globals['_SCALINGPOLICY']._serialized_end=2778
|
|
92
|
+
_globals['_STORAGEMOUNT']._serialized_start=2781
|
|
93
|
+
_globals['_STORAGEMOUNT']._serialized_end=2951
|
|
94
|
+
_globals['_MOUNT']._serialized_start=2954
|
|
95
|
+
_globals['_MOUNT']._serialized_end=3485
|
|
96
|
+
_globals['_MOUNT_OBJECTSTORAGE']._serialized_start=3260
|
|
97
|
+
_globals['_MOUNT_OBJECTSTORAGE']._serialized_end=3342
|
|
98
|
+
_globals['_MOUNT_DISKSPEC']._serialized_start=3344
|
|
99
|
+
_globals['_MOUNT_DISKSPEC']._serialized_end=3396
|
|
100
|
+
_globals['_MOUNT_MODE']._serialized_start=3398
|
|
101
|
+
_globals['_MOUNT_MODE']._serialized_end=3457
|
|
102
|
+
_globals['_RUNTIME']._serialized_start=3488
|
|
103
|
+
_globals['_RUNTIME']._serialized_end=3665
|
|
104
|
+
_globals['_RUNTIME_HTTP']._serialized_start=3637
|
|
105
|
+
_globals['_RUNTIME_HTTP']._serialized_end=3643
|
|
106
|
+
_globals['_RUNTIME_TASK']._serialized_start=3645
|
|
107
|
+
_globals['_RUNTIME_TASK']._serialized_end=3651
|
|
100
108
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -158,6 +158,7 @@ class Revision(google.protobuf.message.Message):
|
|
|
158
158
|
LOG_OPTIONS_FIELD_NUMBER: builtins.int
|
|
159
159
|
STORAGE_MOUNTS_FIELD_NUMBER: builtins.int
|
|
160
160
|
MOUNTS_FIELD_NUMBER: builtins.int
|
|
161
|
+
RUNTIME_FIELD_NUMBER: builtins.int
|
|
161
162
|
id: builtins.str
|
|
162
163
|
"""ID of the revision."""
|
|
163
164
|
container_id: builtins.str
|
|
@@ -220,6 +221,10 @@ class Revision(google.protobuf.message.Message):
|
|
|
220
221
|
def mounts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Mount]:
|
|
221
222
|
"""Mounts to be used by the revision."""
|
|
222
223
|
|
|
224
|
+
@property
|
|
225
|
+
def runtime(self) -> global___Runtime:
|
|
226
|
+
"""The container's execution mode"""
|
|
227
|
+
|
|
223
228
|
def __init__(
|
|
224
229
|
self,
|
|
225
230
|
*,
|
|
@@ -240,9 +245,10 @@ class Revision(google.protobuf.message.Message):
|
|
|
240
245
|
log_options: global___LogOptions | None = ...,
|
|
241
246
|
storage_mounts: collections.abc.Iterable[global___StorageMount] | None = ...,
|
|
242
247
|
mounts: collections.abc.Iterable[global___Mount] | None = ...,
|
|
248
|
+
runtime: global___Runtime | None = ...,
|
|
243
249
|
) -> None: ...
|
|
244
|
-
def HasField(self, field_name: typing.Literal["connectivity", b"connectivity", "created_at", b"created_at", "execution_timeout", b"execution_timeout", "image", b"image", "log_options", b"log_options", "provision_policy", b"provision_policy", "resources", b"resources", "scaling_policy", b"scaling_policy"]) -> builtins.bool: ...
|
|
245
|
-
def ClearField(self, field_name: typing.Literal["concurrency", b"concurrency", "connectivity", b"connectivity", "container_id", b"container_id", "created_at", b"created_at", "description", b"description", "execution_timeout", b"execution_timeout", "id", b"id", "image", b"image", "log_options", b"log_options", "mounts", b"mounts", "provision_policy", b"provision_policy", "resources", b"resources", "scaling_policy", b"scaling_policy", "secrets", b"secrets", "service_account_id", b"service_account_id", "status", b"status", "storage_mounts", b"storage_mounts"]) -> None: ...
|
|
250
|
+
def HasField(self, field_name: typing.Literal["connectivity", b"connectivity", "created_at", b"created_at", "execution_timeout", b"execution_timeout", "image", b"image", "log_options", b"log_options", "provision_policy", b"provision_policy", "resources", b"resources", "runtime", b"runtime", "scaling_policy", b"scaling_policy"]) -> builtins.bool: ...
|
|
251
|
+
def ClearField(self, field_name: typing.Literal["concurrency", b"concurrency", "connectivity", b"connectivity", "container_id", b"container_id", "created_at", b"created_at", "description", b"description", "execution_timeout", b"execution_timeout", "id", b"id", "image", b"image", "log_options", b"log_options", "mounts", b"mounts", "provision_policy", b"provision_policy", "resources", b"resources", "runtime", b"runtime", "scaling_policy", b"scaling_policy", "secrets", b"secrets", "service_account_id", b"service_account_id", "status", b"status", "storage_mounts", b"storage_mounts"]) -> None: ...
|
|
246
252
|
|
|
247
253
|
global___Revision = Revision
|
|
248
254
|
|
|
@@ -633,3 +639,47 @@ class Mount(google.protobuf.message.Message):
|
|
|
633
639
|
def WhichOneof(self, oneof_group: typing.Literal["target", b"target"]) -> typing.Literal["object_storage", "ephemeral_disk_spec"] | None: ...
|
|
634
640
|
|
|
635
641
|
global___Mount = Mount
|
|
642
|
+
|
|
643
|
+
@typing.final
|
|
644
|
+
class Runtime(google.protobuf.message.Message):
|
|
645
|
+
"""The container's execution mode"""
|
|
646
|
+
|
|
647
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
648
|
+
|
|
649
|
+
@typing.final
|
|
650
|
+
class Http(google.protobuf.message.Message):
|
|
651
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
652
|
+
|
|
653
|
+
def __init__(
|
|
654
|
+
self,
|
|
655
|
+
) -> None: ...
|
|
656
|
+
|
|
657
|
+
@typing.final
|
|
658
|
+
class Task(google.protobuf.message.Message):
|
|
659
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
660
|
+
|
|
661
|
+
def __init__(
|
|
662
|
+
self,
|
|
663
|
+
) -> None: ...
|
|
664
|
+
|
|
665
|
+
HTTP_FIELD_NUMBER: builtins.int
|
|
666
|
+
TASK_FIELD_NUMBER: builtins.int
|
|
667
|
+
@property
|
|
668
|
+
def http(self) -> global___Runtime.Http:
|
|
669
|
+
"""The classic one. You need to run an HTTP server inside the container."""
|
|
670
|
+
|
|
671
|
+
@property
|
|
672
|
+
def task(self) -> global___Runtime.Task:
|
|
673
|
+
"""We run a process from ENTRYPOINT inside the container for each user request."""
|
|
674
|
+
|
|
675
|
+
def __init__(
|
|
676
|
+
self,
|
|
677
|
+
*,
|
|
678
|
+
http: global___Runtime.Http | None = ...,
|
|
679
|
+
task: global___Runtime.Task | None = ...,
|
|
680
|
+
) -> None: ...
|
|
681
|
+
def HasField(self, field_name: typing.Literal["http", b"http", "task", b"task", "type", b"type"]) -> builtins.bool: ...
|
|
682
|
+
def ClearField(self, field_name: typing.Literal["http", b"http", "task", b"task", "type", b"type"]) -> None: ...
|
|
683
|
+
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["http", "task"] | None: ...
|
|
684
|
+
|
|
685
|
+
global___Runtime = Runtime
|
|
@@ -21,7 +21,7 @@ from yandex.cloud.serverless.containers.v1 import container_pb2 as yandex_dot_cl
|
|
|
21
21
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=yandex/cloud/serverless/containers/v1/container_service.proto\x12%yandex.cloud.serverless.containers.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x35yandex/cloud/serverless/containers/v1/container.proto\x1a\x1dyandex/cloud/validation.proto\"1\n\x13GetContainerRequest\x12\x1a\n\x0c\x63ontainer_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"g\n\x15ListContainersRequest\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\"w\n\x16ListContainersResponse\x12\x44\n\ncontainers\x18\x01 \x03(\x0b\x32\x30.yandex.cloud.serverless.containers.v1.Container\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xd2\x02\n\x16\x43reateContainerRequest\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\x9e\x01\n\x06labels\x18\x04 \x03(\x0b\x32I.yandex.cloud.serverless.containers.v1.CreateContainerRequest.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\x17\x43reateContainerMetadata\x12\x14\n\x0c\x63ontainer_id\x18\x01 \x01(\t\"\x86\x03\n\x16UpdateContainerRequest\x12\x1a\n\x0c\x63ontainer_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\x9e\x01\n\x06labels\x18\x05 \x03(\x0b\x32I.yandex.cloud.serverless.containers.v1.UpdateContainerRequest.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\x17UpdateContainerMetadata\x12\x14\n\x0c\x63ontainer_id\x18\x01 \x01(\t\"4\n\x16\x44\x65leteContainerRequest\x12\x1a\n\x0c\x63ontainer_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"/\n\x17\x44\x65leteContainerMetadata\x12\x14\n\x0c\x63ontainer_id\x18\x01 \x01(\t\"B\n\x1bGetContainerRevisionRequest\x12#\n\x15\x63ontainer_revision_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\xb3\x01\n\x1eListContainersRevisionsRequest\x12\x13\n\tfolder_id\x18\x01 \x01(\tH\x00\x12\x16\n\x0c\x63ontainer_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\"~\n\x1fListContainersRevisionsResponse\x12\x42\n\trevisions\x18\x01 \x03(\x0b\x32/.yandex.cloud.serverless.containers.v1.Revision\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\
|
|
24
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=yandex/cloud/serverless/containers/v1/container_service.proto\x12%yandex.cloud.serverless.containers.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x35yandex/cloud/serverless/containers/v1/container.proto\x1a\x1dyandex/cloud/validation.proto\"1\n\x13GetContainerRequest\x12\x1a\n\x0c\x63ontainer_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"g\n\x15ListContainersRequest\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\"w\n\x16ListContainersResponse\x12\x44\n\ncontainers\x18\x01 \x03(\x0b\x32\x30.yandex.cloud.serverless.containers.v1.Container\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xd2\x02\n\x16\x43reateContainerRequest\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\x9e\x01\n\x06labels\x18\x04 \x03(\x0b\x32I.yandex.cloud.serverless.containers.v1.CreateContainerRequest.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\x17\x43reateContainerMetadata\x12\x14\n\x0c\x63ontainer_id\x18\x01 \x01(\t\"\x86\x03\n\x16UpdateContainerRequest\x12\x1a\n\x0c\x63ontainer_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\x9e\x01\n\x06labels\x18\x05 \x03(\x0b\x32I.yandex.cloud.serverless.containers.v1.UpdateContainerRequest.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\x17UpdateContainerMetadata\x12\x14\n\x0c\x63ontainer_id\x18\x01 \x01(\t\"4\n\x16\x44\x65leteContainerRequest\x12\x1a\n\x0c\x63ontainer_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"/\n\x17\x44\x65leteContainerMetadata\x12\x14\n\x0c\x63ontainer_id\x18\x01 \x01(\t\"B\n\x1bGetContainerRevisionRequest\x12#\n\x15\x63ontainer_revision_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\xb3\x01\n\x1eListContainersRevisionsRequest\x12\x13\n\tfolder_id\x18\x01 \x01(\tH\x00\x12\x16\n\x0c\x63ontainer_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\"~\n\x1fListContainersRevisionsResponse\x12\x42\n\trevisions\x18\x01 \x03(\x0b\x32/.yandex.cloud.serverless.containers.v1.Revision\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa8\x07\n\x1e\x44\x65ployContainerRevisionRequest\x12\x1a\n\x0c\x63ontainer_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12I\n\tresources\x18\x05 \x01(\x0b\x32\x30.yandex.cloud.serverless.containers.v1.ResourcesB\x04\xe8\xc7\x31\x01\x12\x42\n\x11\x65xecution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x0c\xfa\xc7\x31\x08\x30s-3600s\x12\x1a\n\x12service_account_id\x18\x07 \x01(\t\x12J\n\nimage_spec\x18\x08 \x01(\x0b\x32\x30.yandex.cloud.serverless.containers.v1.ImageSpecB\x04\xe8\xc7\x31\x01\x12\x13\n\x0b\x63oncurrency\x18\t \x01(\x03\x12>\n\x07secrets\x18\n \x03(\x0b\x32-.yandex.cloud.serverless.containers.v1.Secret\x12I\n\x0c\x63onnectivity\x18\x0b \x01(\x0b\x32\x33.yandex.cloud.serverless.containers.v1.Connectivity\x12P\n\x10provision_policy\x18\x0c \x01(\x0b\x32\x36.yandex.cloud.serverless.containers.v1.ProvisionPolicy\x12L\n\x0escaling_policy\x18\r \x01(\x0b\x32\x34.yandex.cloud.serverless.containers.v1.ScalingPolicy\x12\x46\n\x0blog_options\x18\x0e \x01(\x0b\x32\x31.yandex.cloud.serverless.containers.v1.LogOptions\x12K\n\x0estorage_mounts\x18\x0f \x03(\x0b\x32\x33.yandex.cloud.serverless.containers.v1.StorageMount\x12<\n\x06mounts\x18\x10 \x03(\x0b\x32,.yandex.cloud.serverless.containers.v1.Mount\x12?\n\x07runtime\x18\x11 \x01(\x0b\x32..yandex.cloud.serverless.containers.v1.RuntimeJ\x04\x08\x04\x10\x05J\x04\x08\x02\x10\x03\"\xe8\x02\n\tImageSpec\x12\x17\n\timage_url\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12?\n\x07\x63ommand\x18\x02 \x01(\x0b\x32..yandex.cloud.serverless.containers.v1.Command\x12\x39\n\x04\x61rgs\x18\x03 \x01(\x0b\x32+.yandex.cloud.serverless.containers.v1.Args\x12}\n\x0b\x65nvironment\x18\x04 \x03(\x0b\x32\x41.yandex.cloud.serverless.containers.v1.ImageSpec.EnvironmentEntryB%\x8a\xc8\x31\x06<=4096\xb2\xc8\x31\x17\x12\x15[a-zA-Z][a-zA-Z0-9_]*\x12\x13\n\x0bworking_dir\x18\x05 \x01(\t\x1a\x32\n\x10\x45nvironmentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"@\n\x1f\x44\x65ployContainerRevisionMetadata\x12\x1d\n\x15\x63ontainer_revision_id\x18\x01 \x01(\t\"Q\n\x18RollbackContainerRequest\x12\x1a\n\x0c\x63ontainer_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x19\n\x0brevision_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"F\n\x19RollbackContainerMetadata\x12\x14\n\x0c\x63ontainer_id\x18\x01 \x01(\t\x12\x13\n\x0brevision_id\x18\x02 \x01(\t\"\x96\x01\n\x1eListContainerOperationsRequest\x12\x1a\n\x0c\x63ontainer_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\"q\n\x1fListContainerOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xed\x14\n\x10\x43ontainerService\x12\xa5\x01\n\x03Get\x12:.yandex.cloud.serverless.containers.v1.GetContainerRequest\x1a\x30.yandex.cloud.serverless.containers.v1.Container\"0\x82\xd3\xe4\x93\x02*\x12(/containers/v1/containers/{container_id}\x12\xa6\x01\n\x04List\x12<.yandex.cloud.serverless.containers.v1.ListContainersRequest\x1a=.yandex.cloud.serverless.containers.v1.ListContainersResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/containers/v1/containers\x12\xb8\x01\n\x06\x43reate\x12=.yandex.cloud.serverless.containers.v1.CreateContainerRequest\x1a!.yandex.cloud.operation.Operation\"L\xb2\xd2*$\n\x17\x43reateContainerMetadata\x12\tContainer\x82\xd3\xe4\x93\x02\x1e\"\x19/containers/v1/containers:\x01*\x12\xc7\x01\n\x06Update\x12=.yandex.cloud.serverless.containers.v1.UpdateContainerRequest\x1a!.yandex.cloud.operation.Operation\"[\xb2\xd2*$\n\x17UpdateContainerMetadata\x12\tContainer\x82\xd3\xe4\x93\x02-2(/containers/v1/containers/{container_id}:\x01*\x12\xd0\x01\n\x06\x44\x65lete\x12=.yandex.cloud.serverless.containers.v1.DeleteContainerRequest\x1a!.yandex.cloud.operation.Operation\"d\xb2\xd2*0\n\x17\x44\x65leteContainerMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02**(/containers/v1/containers/{container_id}\x12\xd5\x01\n\x0e\x44\x65ployRevision\x12\x45.yandex.cloud.serverless.containers.v1.DeployContainerRevisionRequest\x1a!.yandex.cloud.operation.Operation\"Y\xb2\xd2*+\n\x1f\x44\x65ployContainerRevisionMetadata\x12\x08Revision\x82\xd3\xe4\x93\x02$\"\x1f/containers/v1/revisions:deploy:\x01*\x12\xd6\x01\n\x08Rollback\x12?.yandex.cloud.serverless.containers.v1.RollbackContainerRequest\x1a!.yandex.cloud.operation.Operation\"f\xb2\xd2*&\n\x19RollbackContainerMetadata\x12\tContainer\x82\xd3\xe4\x93\x02\x36\"1/containers/v1/containers/{container_id}:rollback:\x01*\x12\xbc\x01\n\x0bGetRevision\x12\x42.yandex.cloud.serverless.containers.v1.GetContainerRevisionRequest\x1a/.yandex.cloud.serverless.containers.v1.Revision\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/containers/v1/revisions/{container_revision_id}\x12\xc0\x01\n\rListRevisions\x12\x45.yandex.cloud.serverless.containers.v1.ListContainersRevisionsRequest\x1a\x46.yandex.cloud.serverless.containers.v1.ListContainersRevisionsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/containers/v1/revisions\x12\xdc\x01\n\x0eListOperations\x12\x45.yandex.cloud.serverless.containers.v1.ListContainerOperationsRequest\x1a\x46.yandex.cloud.serverless.containers.v1.ListContainerOperationsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/containers/v1/containers/{container_id}/operations\x12\xb9\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\"B\x82\xd3\xe4\x93\x02<\x12:/containers/v1/containers/{resource_id}:listAccessBindings\x12\xe9\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x81\x01\xb2\xd2*9\n access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02>\"9/containers/v1/containers/{resource_id}:setAccessBindings:\x01*\x12\xf5\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x87\x01\xb2\xd2*<\n#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x41\"</containers/v1/containers/{resource_id}:updateAccessBindings:\x01*B\x81\x01\n)yandex.cloud.api.serverless.containers.v1ZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/containers/v1;containersb\x06proto3')
|
|
25
25
|
|
|
26
26
|
_globals = globals()
|
|
27
27
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -146,21 +146,21 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
146
146
|
_globals['_LISTCONTAINERSREVISIONSRESPONSE']._serialized_start=1856
|
|
147
147
|
_globals['_LISTCONTAINERSREVISIONSRESPONSE']._serialized_end=1982
|
|
148
148
|
_globals['_DEPLOYCONTAINERREVISIONREQUEST']._serialized_start=1985
|
|
149
|
-
_globals['_DEPLOYCONTAINERREVISIONREQUEST']._serialized_end=
|
|
150
|
-
_globals['_IMAGESPEC']._serialized_start=
|
|
151
|
-
_globals['_IMAGESPEC']._serialized_end=
|
|
152
|
-
_globals['_IMAGESPEC_ENVIRONMENTENTRY']._serialized_start=
|
|
153
|
-
_globals['_IMAGESPEC_ENVIRONMENTENTRY']._serialized_end=
|
|
154
|
-
_globals['_DEPLOYCONTAINERREVISIONMETADATA']._serialized_start=
|
|
155
|
-
_globals['_DEPLOYCONTAINERREVISIONMETADATA']._serialized_end=
|
|
156
|
-
_globals['_ROLLBACKCONTAINERREQUEST']._serialized_start=
|
|
157
|
-
_globals['_ROLLBACKCONTAINERREQUEST']._serialized_end=
|
|
158
|
-
_globals['_ROLLBACKCONTAINERMETADATA']._serialized_start=
|
|
159
|
-
_globals['_ROLLBACKCONTAINERMETADATA']._serialized_end=
|
|
160
|
-
_globals['_LISTCONTAINEROPERATIONSREQUEST']._serialized_start=
|
|
161
|
-
_globals['_LISTCONTAINEROPERATIONSREQUEST']._serialized_end=
|
|
162
|
-
_globals['_LISTCONTAINEROPERATIONSRESPONSE']._serialized_start=
|
|
163
|
-
_globals['_LISTCONTAINEROPERATIONSRESPONSE']._serialized_end=
|
|
164
|
-
_globals['_CONTAINERSERVICE']._serialized_start=
|
|
165
|
-
_globals['_CONTAINERSERVICE']._serialized_end=
|
|
149
|
+
_globals['_DEPLOYCONTAINERREVISIONREQUEST']._serialized_end=2921
|
|
150
|
+
_globals['_IMAGESPEC']._serialized_start=2924
|
|
151
|
+
_globals['_IMAGESPEC']._serialized_end=3284
|
|
152
|
+
_globals['_IMAGESPEC_ENVIRONMENTENTRY']._serialized_start=3234
|
|
153
|
+
_globals['_IMAGESPEC_ENVIRONMENTENTRY']._serialized_end=3284
|
|
154
|
+
_globals['_DEPLOYCONTAINERREVISIONMETADATA']._serialized_start=3286
|
|
155
|
+
_globals['_DEPLOYCONTAINERREVISIONMETADATA']._serialized_end=3350
|
|
156
|
+
_globals['_ROLLBACKCONTAINERREQUEST']._serialized_start=3352
|
|
157
|
+
_globals['_ROLLBACKCONTAINERREQUEST']._serialized_end=3433
|
|
158
|
+
_globals['_ROLLBACKCONTAINERMETADATA']._serialized_start=3435
|
|
159
|
+
_globals['_ROLLBACKCONTAINERMETADATA']._serialized_end=3505
|
|
160
|
+
_globals['_LISTCONTAINEROPERATIONSREQUEST']._serialized_start=3508
|
|
161
|
+
_globals['_LISTCONTAINEROPERATIONSREQUEST']._serialized_end=3658
|
|
162
|
+
_globals['_LISTCONTAINEROPERATIONSRESPONSE']._serialized_start=3660
|
|
163
|
+
_globals['_LISTCONTAINEROPERATIONSRESPONSE']._serialized_end=3773
|
|
164
|
+
_globals['_CONTAINERSERVICE']._serialized_start=3776
|
|
165
|
+
_globals['_CONTAINERSERVICE']._serialized_end=6445
|
|
166
166
|
# @@protoc_insertion_point(module_scope)
|