yandexcloud 0.358.0__py3-none-any.whl → 0.360.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.
Files changed (56) hide show
  1. yandex/cloud/cdn/v1/rule_pb2.py +2 -2
  2. yandex/cloud/cdn/v1/rule_pb2.pyi +7 -1
  3. yandex/cloud/cdn/v1/rule_service_pb2.py +16 -16
  4. yandex/cloud/cdn/v1/rule_service_pb2.pyi +16 -3
  5. yandex/cloud/cloudregistry/v1/registry_pb2.py +5 -5
  6. yandex/cloud/cloudregistry/v1/registry_pb2.pyi +4 -0
  7. yandex/cloud/k8s/v1/cluster_pb2.py +48 -46
  8. yandex/cloud/k8s/v1/cluster_pb2.pyi +32 -2
  9. yandex/cloud/k8s/v1/cluster_service_pb2.py +54 -52
  10. yandex/cloud/k8s/v1/cluster_service_pb2.pyi +28 -4
  11. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +3 -1
  12. yandex/cloud/mdb/clickhouse/v1/user_pb2.py +38 -38
  13. yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +15 -3
  14. yandex/cloud/monitoring/v3/group_widget_pb2.py +48 -0
  15. yandex/cloud/monitoring/v3/group_widget_pb2.pyi +131 -0
  16. yandex/cloud/monitoring/v3/group_widget_pb2_grpc.py +24 -0
  17. yandex/cloud/monitoring/v3/group_widget_pb2_grpc.pyi +17 -0
  18. yandex/cloud/monitoring/v3/widget_pb2.py +6 -5
  19. yandex/cloud/monitoring/v3/widget_pb2.pyi +10 -3
  20. yandex/cloud/organizationmanager/v1/idp/__init__.py +0 -0
  21. yandex/cloud/organizationmanager/v1/idp/user_pb2.py +40 -0
  22. yandex/cloud/organizationmanager/v1/idp/user_pb2.pyi +149 -0
  23. yandex/cloud/organizationmanager/v1/idp/user_pb2_grpc.py +24 -0
  24. yandex/cloud/organizationmanager/v1/idp/user_pb2_grpc.pyi +17 -0
  25. yandex/cloud/organizationmanager/v1/idp/user_service_pb2.py +218 -0
  26. yandex/cloud/organizationmanager/v1/idp/user_service_pb2.pyi +809 -0
  27. yandex/cloud/organizationmanager/v1/idp/user_service_pb2_grpc.py +678 -0
  28. yandex/cloud/organizationmanager/v1/idp/user_service_pb2_grpc.pyi +322 -0
  29. yandex/cloud/organizationmanager/v1/idp/userpool_pb2.py +90 -0
  30. yandex/cloud/organizationmanager/v1/idp/userpool_pb2.pyi +549 -0
  31. yandex/cloud/organizationmanager/v1/idp/userpool_pb2_grpc.py +24 -0
  32. yandex/cloud/organizationmanager/v1/idp/userpool_pb2_grpc.pyi +17 -0
  33. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2.py +162 -0
  34. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2.pyi +596 -0
  35. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2_grpc.py +678 -0
  36. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2_grpc.pyi +322 -0
  37. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +22 -22
  38. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +8 -2
  39. yandex/cloud/searchapi/v2/img_search_service_pb2.py +2 -2
  40. yandex/cloud/searchapi/v2/search_query_pb2.py +9 -1
  41. yandex/cloud/searchapi/v2/search_query_pb2.pyi +42 -0
  42. yandex/cloud/searchapi/v2/search_service_pb2.py +13 -13
  43. yandex/cloud/searchapi/v2/search_service_pb2.pyi +8 -2
  44. yandex/cloud/serverless/functions/v1/function_service_pb2.py +13 -13
  45. yandex/cloud/spark/v1/job_pb2.py +18 -12
  46. yandex/cloud/spark/v1/job_pb2.pyi +85 -3
  47. yandex/cloud/spark/v1/job_service_pb2.py +14 -12
  48. yandex/cloud/spark/v1/job_service_pb2.pyi +11 -3
  49. yandex/cloud/storage/v1/presign_service_pb2.pyi +1 -1
  50. yandexcloud/__init__.py +1 -1
  51. {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/METADATA +1 -1
  52. {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/RECORD +56 -35
  53. {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/AUTHORS +0 -0
  54. {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/LICENSE +0 -0
  55. {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/WHEEL +0 -0
  56. {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,322 @@
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.access.access_pb2
12
+ import yandex.cloud.operation.operation_pb2
13
+ import yandex.cloud.organizationmanager.v1.idp.userpool_pb2
14
+ import yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2
15
+
16
+ _T = typing.TypeVar("_T")
17
+
18
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
19
+
20
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
21
+ ...
22
+
23
+ class UserpoolServiceStub:
24
+ """A set of methods for managing userpools."""
25
+
26
+ def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
27
+ Get: grpc.UnaryUnaryMultiCallable[
28
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.GetUserpoolRequest,
29
+ yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Userpool,
30
+ ]
31
+ """Returns the specified userpool.
32
+
33
+ To get the list of available userpools, make a [List] request.
34
+ """
35
+
36
+ List: grpc.UnaryUnaryMultiCallable[
37
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsRequest,
38
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsResponse,
39
+ ]
40
+ """Retrieves the list of userpools in the specified organization."""
41
+
42
+ Create: grpc.UnaryUnaryMultiCallable[
43
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.CreateUserpoolRequest,
44
+ yandex.cloud.operation.operation_pb2.Operation,
45
+ ]
46
+ """Creates a userpool in the specified organization."""
47
+
48
+ Update: grpc.UnaryUnaryMultiCallable[
49
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.UpdateUserpoolRequest,
50
+ yandex.cloud.operation.operation_pb2.Operation,
51
+ ]
52
+ """Updates the specified userpool."""
53
+
54
+ Delete: grpc.UnaryUnaryMultiCallable[
55
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.DeleteUserpoolRequest,
56
+ yandex.cloud.operation.operation_pb2.Operation,
57
+ ]
58
+ """Deletes the specified userpool."""
59
+
60
+ GetDomain: grpc.UnaryUnaryMultiCallable[
61
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.GetUserpoolDomainRequest,
62
+ yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Domain,
63
+ ]
64
+ """Returns the specified domain for a userpool."""
65
+
66
+ ListDomains: grpc.UnaryUnaryMultiCallable[
67
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsRequest,
68
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsResponse,
69
+ ]
70
+ """Lists domains for the specified userpool."""
71
+
72
+ AddDomain: grpc.UnaryUnaryMultiCallable[
73
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.AddUserpoolDomainRequest,
74
+ yandex.cloud.operation.operation_pb2.Operation,
75
+ ]
76
+ """Adds a domain to the specified userpool."""
77
+
78
+ ValidateDomain: grpc.UnaryUnaryMultiCallable[
79
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ValidateUserpoolDomainRequest,
80
+ yandex.cloud.operation.operation_pb2.Operation,
81
+ ]
82
+ """Validates the specified domain for a userpool."""
83
+
84
+ DeleteDomain: grpc.UnaryUnaryMultiCallable[
85
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.DeleteUserpoolDomainRequest,
86
+ yandex.cloud.operation.operation_pb2.Operation,
87
+ ]
88
+ """Deletes the specified domain from a userpool."""
89
+
90
+ ListOperations: grpc.UnaryUnaryMultiCallable[
91
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsRequest,
92
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsResponse,
93
+ ]
94
+ """Lists operations for the specified userpool."""
95
+
96
+ ListAccessBindings: grpc.UnaryUnaryMultiCallable[
97
+ yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
98
+ yandex.cloud.access.access_pb2.ListAccessBindingsResponse,
99
+ ]
100
+ """Lists access bindings for the specified userpool."""
101
+
102
+ SetAccessBindings: grpc.UnaryUnaryMultiCallable[
103
+ yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
104
+ yandex.cloud.operation.operation_pb2.Operation,
105
+ ]
106
+ """Sets access bindings for the specified userpool."""
107
+
108
+ UpdateAccessBindings: grpc.UnaryUnaryMultiCallable[
109
+ yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
110
+ yandex.cloud.operation.operation_pb2.Operation,
111
+ ]
112
+ """Updates access bindings for the specified userpool."""
113
+
114
+ class UserpoolServiceAsyncStub:
115
+ """A set of methods for managing userpools."""
116
+
117
+ Get: grpc.aio.UnaryUnaryMultiCallable[
118
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.GetUserpoolRequest,
119
+ yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Userpool,
120
+ ]
121
+ """Returns the specified userpool.
122
+
123
+ To get the list of available userpools, make a [List] request.
124
+ """
125
+
126
+ List: grpc.aio.UnaryUnaryMultiCallable[
127
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsRequest,
128
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsResponse,
129
+ ]
130
+ """Retrieves the list of userpools in the specified organization."""
131
+
132
+ Create: grpc.aio.UnaryUnaryMultiCallable[
133
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.CreateUserpoolRequest,
134
+ yandex.cloud.operation.operation_pb2.Operation,
135
+ ]
136
+ """Creates a userpool in the specified organization."""
137
+
138
+ Update: grpc.aio.UnaryUnaryMultiCallable[
139
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.UpdateUserpoolRequest,
140
+ yandex.cloud.operation.operation_pb2.Operation,
141
+ ]
142
+ """Updates the specified userpool."""
143
+
144
+ Delete: grpc.aio.UnaryUnaryMultiCallable[
145
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.DeleteUserpoolRequest,
146
+ yandex.cloud.operation.operation_pb2.Operation,
147
+ ]
148
+ """Deletes the specified userpool."""
149
+
150
+ GetDomain: grpc.aio.UnaryUnaryMultiCallable[
151
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.GetUserpoolDomainRequest,
152
+ yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Domain,
153
+ ]
154
+ """Returns the specified domain for a userpool."""
155
+
156
+ ListDomains: grpc.aio.UnaryUnaryMultiCallable[
157
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsRequest,
158
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsResponse,
159
+ ]
160
+ """Lists domains for the specified userpool."""
161
+
162
+ AddDomain: grpc.aio.UnaryUnaryMultiCallable[
163
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.AddUserpoolDomainRequest,
164
+ yandex.cloud.operation.operation_pb2.Operation,
165
+ ]
166
+ """Adds a domain to the specified userpool."""
167
+
168
+ ValidateDomain: grpc.aio.UnaryUnaryMultiCallable[
169
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ValidateUserpoolDomainRequest,
170
+ yandex.cloud.operation.operation_pb2.Operation,
171
+ ]
172
+ """Validates the specified domain for a userpool."""
173
+
174
+ DeleteDomain: grpc.aio.UnaryUnaryMultiCallable[
175
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.DeleteUserpoolDomainRequest,
176
+ yandex.cloud.operation.operation_pb2.Operation,
177
+ ]
178
+ """Deletes the specified domain from a userpool."""
179
+
180
+ ListOperations: grpc.aio.UnaryUnaryMultiCallable[
181
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsRequest,
182
+ yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsResponse,
183
+ ]
184
+ """Lists operations for the specified userpool."""
185
+
186
+ ListAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
187
+ yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
188
+ yandex.cloud.access.access_pb2.ListAccessBindingsResponse,
189
+ ]
190
+ """Lists access bindings for the specified userpool."""
191
+
192
+ SetAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
193
+ yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
194
+ yandex.cloud.operation.operation_pb2.Operation,
195
+ ]
196
+ """Sets access bindings for the specified userpool."""
197
+
198
+ UpdateAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
199
+ yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
200
+ yandex.cloud.operation.operation_pb2.Operation,
201
+ ]
202
+ """Updates access bindings for the specified userpool."""
203
+
204
+ class UserpoolServiceServicer(metaclass=abc.ABCMeta):
205
+ """A set of methods for managing userpools."""
206
+
207
+ @abc.abstractmethod
208
+ def Get(
209
+ self,
210
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.GetUserpoolRequest,
211
+ context: _ServicerContext,
212
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Userpool, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Userpool]]:
213
+ """Returns the specified userpool.
214
+
215
+ To get the list of available userpools, make a [List] request.
216
+ """
217
+
218
+ @abc.abstractmethod
219
+ def List(
220
+ self,
221
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsRequest,
222
+ context: _ServicerContext,
223
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsResponse, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolsResponse]]:
224
+ """Retrieves the list of userpools in the specified organization."""
225
+
226
+ @abc.abstractmethod
227
+ def Create(
228
+ self,
229
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.CreateUserpoolRequest,
230
+ context: _ServicerContext,
231
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
232
+ """Creates a userpool in the specified organization."""
233
+
234
+ @abc.abstractmethod
235
+ def Update(
236
+ self,
237
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.UpdateUserpoolRequest,
238
+ context: _ServicerContext,
239
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
240
+ """Updates the specified userpool."""
241
+
242
+ @abc.abstractmethod
243
+ def Delete(
244
+ self,
245
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.DeleteUserpoolRequest,
246
+ context: _ServicerContext,
247
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
248
+ """Deletes the specified userpool."""
249
+
250
+ @abc.abstractmethod
251
+ def GetDomain(
252
+ self,
253
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.GetUserpoolDomainRequest,
254
+ context: _ServicerContext,
255
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Domain, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.userpool_pb2.Domain]]:
256
+ """Returns the specified domain for a userpool."""
257
+
258
+ @abc.abstractmethod
259
+ def ListDomains(
260
+ self,
261
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsRequest,
262
+ context: _ServicerContext,
263
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsResponse, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolDomainsResponse]]:
264
+ """Lists domains for the specified userpool."""
265
+
266
+ @abc.abstractmethod
267
+ def AddDomain(
268
+ self,
269
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.AddUserpoolDomainRequest,
270
+ context: _ServicerContext,
271
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
272
+ """Adds a domain to the specified userpool."""
273
+
274
+ @abc.abstractmethod
275
+ def ValidateDomain(
276
+ self,
277
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ValidateUserpoolDomainRequest,
278
+ context: _ServicerContext,
279
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
280
+ """Validates the specified domain for a userpool."""
281
+
282
+ @abc.abstractmethod
283
+ def DeleteDomain(
284
+ self,
285
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.DeleteUserpoolDomainRequest,
286
+ context: _ServicerContext,
287
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
288
+ """Deletes the specified domain from a userpool."""
289
+
290
+ @abc.abstractmethod
291
+ def ListOperations(
292
+ self,
293
+ request: yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsRequest,
294
+ context: _ServicerContext,
295
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsResponse, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.idp.userpool_service_pb2.ListUserpoolOperationsResponse]]:
296
+ """Lists operations for the specified userpool."""
297
+
298
+ @abc.abstractmethod
299
+ def ListAccessBindings(
300
+ self,
301
+ request: yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
302
+ context: _ServicerContext,
303
+ ) -> typing.Union[yandex.cloud.access.access_pb2.ListAccessBindingsResponse, collections.abc.Awaitable[yandex.cloud.access.access_pb2.ListAccessBindingsResponse]]:
304
+ """Lists access bindings for the specified userpool."""
305
+
306
+ @abc.abstractmethod
307
+ def SetAccessBindings(
308
+ self,
309
+ request: yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
310
+ context: _ServicerContext,
311
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
312
+ """Sets access bindings for the specified userpool."""
313
+
314
+ @abc.abstractmethod
315
+ def UpdateAccessBindings(
316
+ self,
317
+ request: yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
318
+ context: _ServicerContext,
319
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
320
+ """Updates access bindings for the specified userpool."""
321
+
322
+ def add_UserpoolServiceServicer_to_server(servicer: UserpoolServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -27,7 +27,7 @@ from yandex.cloud.searchapi.v2 import search_query_pb2 as yandex_dot_cloud_dot_s
27
27
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
28
28
 
29
29
 
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/gen_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"i\n\x10GenSearchMessage\x12 \n\x07\x63ontent\x18\x01 \x01(\tB\x0f\xe8\xc7\x31\x01\x8a\xc8\x31\x07<=16384\x12\x33\n\x04role\x18\x02 \x01(\x0e\x32\x1f.yandex.cloud.searchapi.v2.RoleB\x04\xe8\xc7\x31\x01\"\x81\t\n\x10GenSearchRequest\x12H\n\x08messages\x18\x01 \x03(\x0b\x32+.yandex.cloud.searchapi.v2.GenSearchMessageB\t\x82\xc8\x31\x05\x31-100\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x46\n\x04site\x18\x03 \x01(\x0b\x32\x36.yandex.cloud.searchapi.v2.GenSearchRequest.SiteOptionH\x00\x12\x46\n\x04host\x18\x04 \x01(\x0b\x32\x36.yandex.cloud.searchapi.v2.GenSearchRequest.HostOptionH\x00\x12\x44\n\x03url\x18\x05 \x01(\x0b\x32\x35.yandex.cloud.searchapi.v2.GenSearchRequest.UrlOptionH\x00\x12\x14\n\x0c\x66ix_misspell\x18\x06 \x01(\x08\x12\x18\n\x10\x65nable_nrfm_docs\x18\x07 \x01(\x08\x12Z\n\x0esearch_filters\x18\x08 \x03(\x0b\x32\x38.yandex.cloud.searchapi.v2.GenSearchRequest.SearchFilterB\x08\x82\xc8\x31\x04<=10\x12\x46\n\x0bsearch_type\x18\t \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.SearchType\x12\x1b\n\x13get_partial_results\x18\n \x01(\x08\x1a/\n\nSiteOption\x12!\n\x04site\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a-\n\tUrlOption\x12 \n\x03url\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a/\n\nHostOption\x12!\n\x04host\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a\x99\x03\n\x0cSearchFilter\x12\x18\n\x04\x64\x61te\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=25H\x00\x12\x15\n\x04lang\x18\x02 \x01(\tB\x05\x8a\xc8\x31\x01\x32H\x00\x12T\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\x42.yandex.cloud.searchapi.v2.GenSearchRequest.SearchFilter.DocFormatH\x00\"\xef\x01\n\tDocFormat\x12\x1a\n\x16\x44OC_FORMAT_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x44OC_FORMAT_PDF\x10\x01\x12\x12\n\x0e\x44OC_FORMAT_XLS\x10\x02\x12\x12\n\x0e\x44OC_FORMAT_ODS\x10\x03\x12\x12\n\x0e\x44OC_FORMAT_RTF\x10\x04\x12\x12\n\x0e\x44OC_FORMAT_PPT\x10\x05\x12\x12\n\x0e\x44OC_FORMAT_ODP\x10\x06\x12\x12\n\x0e\x44OC_FORMAT_SWF\x10\x07\x12\x12\n\x0e\x44OC_FORMAT_ODT\x10\x08\x12\x12\n\x0e\x44OC_FORMAT_ODG\x10\t\x12\x12\n\x0e\x44OC_FORMAT_DOC\x10\nB\x10\n\x0e\x66ilter_optionsB\x0e\n\x0csite_options\"\xad\x03\n\x11GenSearchResponse\x12<\n\x07message\x18\x01 \x01(\x0b\x32+.yandex.cloud.searchapi.v2.GenSearchMessage\x12\x44\n\x07sources\x18\x02 \x03(\x0b\x32\x33.yandex.cloud.searchapi.v2.GenSearchResponse.Source\x12P\n\x0esearch_queries\x18\x03 \x03(\x0b\x32\x38.yandex.cloud.searchapi.v2.GenSearchResponse.SearchQuery\x12\x1c\n\x14\x66ixed_misspell_query\x18\x04 \x01(\t\x12\x1a\n\x12is_answer_rejected\x18\x05 \x01(\x08\x12\x18\n\x10is_bullet_answer\x18\x06 \x01(\x08\x12\r\n\x05hints\x18\x07 \x03(\t\x1a\x32\n\x06Source\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0c\n\x04used\x18\x03 \x01(\x08\x1a+\n\x0bSearchQuery\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0e\n\x06req_id\x18\x02 \x01(\t*?\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\r\n\tROLE_USER\x10\x01\x12\x12\n\x0eROLE_ASSISTANT\x10\x02\x32\x95\x01\n\x10GenSearchService\x12\x80\x01\n\x06Search\x12+.yandex.cloud.searchapi.v2.GenSearchRequest\x1a,.yandex.cloud.searchapi.v2.GenSearchResponse\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/v2/gen/search:\x01*0\x01\x42\x65\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/gen_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"i\n\x10GenSearchMessage\x12 \n\x07\x63ontent\x18\x01 \x01(\tB\x0f\xe8\xc7\x31\x01\x8a\xc8\x31\x07<=16384\x12\x33\n\x04role\x18\x02 \x01(\x0e\x32\x1f.yandex.cloud.searchapi.v2.RoleB\x04\xe8\xc7\x31\x01\"\xbe\t\n\x10GenSearchRequest\x12H\n\x08messages\x18\x01 \x03(\x0b\x32+.yandex.cloud.searchapi.v2.GenSearchMessageB\t\x82\xc8\x31\x05\x31-100\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x46\n\x04site\x18\x03 \x01(\x0b\x32\x36.yandex.cloud.searchapi.v2.GenSearchRequest.SiteOptionH\x00\x12\x46\n\x04host\x18\x04 \x01(\x0b\x32\x36.yandex.cloud.searchapi.v2.GenSearchRequest.HostOptionH\x00\x12\x44\n\x03url\x18\x05 \x01(\x0b\x32\x35.yandex.cloud.searchapi.v2.GenSearchRequest.UrlOptionH\x00\x12\x14\n\x0c\x66ix_misspell\x18\x06 \x01(\x08\x12\x18\n\x10\x65nable_nrfm_docs\x18\x07 \x01(\x08\x12Z\n\x0esearch_filters\x18\x08 \x03(\x0b\x32\x38.yandex.cloud.searchapi.v2.GenSearchRequest.SearchFilterB\x08\x82\xc8\x31\x04<=10\x12\x46\n\x0bsearch_type\x18\t \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.SearchType\x12\x1b\n\x13get_partial_results\x18\n \x01(\x08\x12;\n\x08metadata\x18\x0b \x01(\x0b\x32).yandex.cloud.searchapi.v2.SearchMetadata\x1a/\n\nSiteOption\x12!\n\x04site\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a-\n\tUrlOption\x12 \n\x03url\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a/\n\nHostOption\x12!\n\x04host\x18\x01 \x03(\tB\x13\x82\xc8\x31\x05<=100\x8a\xc8\x31\x06<=1024\x1a\x99\x03\n\x0cSearchFilter\x12\x18\n\x04\x64\x61te\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=25H\x00\x12\x15\n\x04lang\x18\x02 \x01(\tB\x05\x8a\xc8\x31\x01\x32H\x00\x12T\n\x06\x66ormat\x18\x03 \x01(\x0e\x32\x42.yandex.cloud.searchapi.v2.GenSearchRequest.SearchFilter.DocFormatH\x00\"\xef\x01\n\tDocFormat\x12\x1a\n\x16\x44OC_FORMAT_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x44OC_FORMAT_PDF\x10\x01\x12\x12\n\x0e\x44OC_FORMAT_XLS\x10\x02\x12\x12\n\x0e\x44OC_FORMAT_ODS\x10\x03\x12\x12\n\x0e\x44OC_FORMAT_RTF\x10\x04\x12\x12\n\x0e\x44OC_FORMAT_PPT\x10\x05\x12\x12\n\x0e\x44OC_FORMAT_ODP\x10\x06\x12\x12\n\x0e\x44OC_FORMAT_SWF\x10\x07\x12\x12\n\x0e\x44OC_FORMAT_ODT\x10\x08\x12\x12\n\x0e\x44OC_FORMAT_ODG\x10\t\x12\x12\n\x0e\x44OC_FORMAT_DOC\x10\nB\x10\n\x0e\x66ilter_optionsB\x0e\n\x0csite_options\"\xad\x03\n\x11GenSearchResponse\x12<\n\x07message\x18\x01 \x01(\x0b\x32+.yandex.cloud.searchapi.v2.GenSearchMessage\x12\x44\n\x07sources\x18\x02 \x03(\x0b\x32\x33.yandex.cloud.searchapi.v2.GenSearchResponse.Source\x12P\n\x0esearch_queries\x18\x03 \x03(\x0b\x32\x38.yandex.cloud.searchapi.v2.GenSearchResponse.SearchQuery\x12\x1c\n\x14\x66ixed_misspell_query\x18\x04 \x01(\t\x12\x1a\n\x12is_answer_rejected\x18\x05 \x01(\x08\x12\x18\n\x10is_bullet_answer\x18\x06 \x01(\x08\x12\r\n\x05hints\x18\x07 \x03(\t\x1a\x32\n\x06Source\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0c\n\x04used\x18\x03 \x01(\x08\x1a+\n\x0bSearchQuery\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0e\n\x06req_id\x18\x02 \x01(\t*?\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\r\n\tROLE_USER\x10\x01\x12\x12\n\x0eROLE_ASSISTANT\x10\x02\x32\x95\x01\n\x10GenSearchService\x12\x80\x01\n\x06Search\x12+.yandex.cloud.searchapi.v2.GenSearchRequest\x1a,.yandex.cloud.searchapi.v2.GenSearchResponse\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/v2/gen/search:\x01*0\x01\x42\x65\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
31
31
 
32
32
  _globals = globals()
33
33
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -57,28 +57,28 @@ if not _descriptor._USE_C_DESCRIPTORS:
57
57
  _globals['_GENSEARCHREQUEST'].fields_by_name['search_filters']._serialized_options = b'\202\3101\004<=10'
58
58
  _globals['_GENSEARCHSERVICE'].methods_by_name['Search']._loaded_options = None
59
59
  _globals['_GENSEARCHSERVICE'].methods_by_name['Search']._serialized_options = b'\202\323\344\223\002\023\"\016/v2/gen/search:\001*'
60
- _globals['_ROLE']._serialized_start=1883
61
- _globals['_ROLE']._serialized_end=1946
60
+ _globals['_ROLE']._serialized_start=1944
61
+ _globals['_ROLE']._serialized_end=2007
62
62
  _globals['_GENSEARCHMESSAGE']._serialized_start=188
63
63
  _globals['_GENSEARCHMESSAGE']._serialized_end=293
64
64
  _globals['_GENSEARCHREQUEST']._serialized_start=296
65
- _globals['_GENSEARCHREQUEST']._serialized_end=1449
66
- _globals['_GENSEARCHREQUEST_SITEOPTION']._serialized_start=878
67
- _globals['_GENSEARCHREQUEST_SITEOPTION']._serialized_end=925
68
- _globals['_GENSEARCHREQUEST_URLOPTION']._serialized_start=927
69
- _globals['_GENSEARCHREQUEST_URLOPTION']._serialized_end=972
70
- _globals['_GENSEARCHREQUEST_HOSTOPTION']._serialized_start=974
71
- _globals['_GENSEARCHREQUEST_HOSTOPTION']._serialized_end=1021
72
- _globals['_GENSEARCHREQUEST_SEARCHFILTER']._serialized_start=1024
73
- _globals['_GENSEARCHREQUEST_SEARCHFILTER']._serialized_end=1433
74
- _globals['_GENSEARCHREQUEST_SEARCHFILTER_DOCFORMAT']._serialized_start=1176
75
- _globals['_GENSEARCHREQUEST_SEARCHFILTER_DOCFORMAT']._serialized_end=1415
76
- _globals['_GENSEARCHRESPONSE']._serialized_start=1452
77
- _globals['_GENSEARCHRESPONSE']._serialized_end=1881
78
- _globals['_GENSEARCHRESPONSE_SOURCE']._serialized_start=1786
79
- _globals['_GENSEARCHRESPONSE_SOURCE']._serialized_end=1836
80
- _globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_start=1838
81
- _globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_end=1881
82
- _globals['_GENSEARCHSERVICE']._serialized_start=1949
83
- _globals['_GENSEARCHSERVICE']._serialized_end=2098
65
+ _globals['_GENSEARCHREQUEST']._serialized_end=1510
66
+ _globals['_GENSEARCHREQUEST_SITEOPTION']._serialized_start=939
67
+ _globals['_GENSEARCHREQUEST_SITEOPTION']._serialized_end=986
68
+ _globals['_GENSEARCHREQUEST_URLOPTION']._serialized_start=988
69
+ _globals['_GENSEARCHREQUEST_URLOPTION']._serialized_end=1033
70
+ _globals['_GENSEARCHREQUEST_HOSTOPTION']._serialized_start=1035
71
+ _globals['_GENSEARCHREQUEST_HOSTOPTION']._serialized_end=1082
72
+ _globals['_GENSEARCHREQUEST_SEARCHFILTER']._serialized_start=1085
73
+ _globals['_GENSEARCHREQUEST_SEARCHFILTER']._serialized_end=1494
74
+ _globals['_GENSEARCHREQUEST_SEARCHFILTER_DOCFORMAT']._serialized_start=1237
75
+ _globals['_GENSEARCHREQUEST_SEARCHFILTER_DOCFORMAT']._serialized_end=1476
76
+ _globals['_GENSEARCHRESPONSE']._serialized_start=1513
77
+ _globals['_GENSEARCHRESPONSE']._serialized_end=1942
78
+ _globals['_GENSEARCHRESPONSE_SOURCE']._serialized_start=1847
79
+ _globals['_GENSEARCHRESPONSE_SOURCE']._serialized_end=1897
80
+ _globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_start=1899
81
+ _globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_end=1942
82
+ _globals['_GENSEARCHSERVICE']._serialized_start=2010
83
+ _globals['_GENSEARCHSERVICE']._serialized_end=2159
84
84
  # @@protoc_insertion_point(module_scope)
@@ -178,6 +178,7 @@ class GenSearchRequest(google.protobuf.message.Message):
178
178
  SEARCH_FILTERS_FIELD_NUMBER: builtins.int
179
179
  SEARCH_TYPE_FIELD_NUMBER: builtins.int
180
180
  GET_PARTIAL_RESULTS_FIELD_NUMBER: builtins.int
181
+ METADATA_FIELD_NUMBER: builtins.int
181
182
  folder_id: builtins.str
182
183
  """ID of the folder."""
183
184
  fix_misspell: builtins.bool
@@ -202,6 +203,10 @@ class GenSearchRequest(google.protobuf.message.Message):
202
203
  def search_filters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GenSearchRequest.SearchFilter]:
203
204
  """Restricts the search by date, document formats or language."""
204
205
 
206
+ @property
207
+ def metadata(self) -> yandex.cloud.searchapi.v2.search_query_pb2.SearchMetadata:
208
+ """Search flags"""
209
+
205
210
  def __init__(
206
211
  self,
207
212
  *,
@@ -215,9 +220,10 @@ class GenSearchRequest(google.protobuf.message.Message):
215
220
  search_filters: collections.abc.Iterable[global___GenSearchRequest.SearchFilter] | None = ...,
216
221
  search_type: yandex.cloud.searchapi.v2.search_query_pb2.SearchQuery.SearchType.ValueType = ...,
217
222
  get_partial_results: builtins.bool = ...,
223
+ metadata: yandex.cloud.searchapi.v2.search_query_pb2.SearchMetadata | None = ...,
218
224
  ) -> None: ...
219
- def HasField(self, field_name: typing.Literal["host", b"host", "site", b"site", "site_options", b"site_options", "url", b"url"]) -> builtins.bool: ...
220
- def ClearField(self, field_name: typing.Literal["enable_nrfm_docs", b"enable_nrfm_docs", "fix_misspell", b"fix_misspell", "folder_id", b"folder_id", "get_partial_results", b"get_partial_results", "host", b"host", "messages", b"messages", "search_filters", b"search_filters", "search_type", b"search_type", "site", b"site", "site_options", b"site_options", "url", b"url"]) -> None: ...
225
+ def HasField(self, field_name: typing.Literal["host", b"host", "metadata", b"metadata", "site", b"site", "site_options", b"site_options", "url", b"url"]) -> builtins.bool: ...
226
+ def ClearField(self, field_name: typing.Literal["enable_nrfm_docs", b"enable_nrfm_docs", "fix_misspell", b"fix_misspell", "folder_id", b"folder_id", "get_partial_results", b"get_partial_results", "host", b"host", "messages", b"messages", "metadata", b"metadata", "search_filters", b"search_filters", "search_type", b"search_type", "site", b"site", "site_options", b"site_options", "url", b"url"]) -> None: ...
221
227
  def WhichOneof(self, oneof_group: typing.Literal["site_options", b"site_options"]) -> typing.Literal["site", "host", "url"] | None: ...
222
228
 
223
229
  global___GenSearchRequest = GenSearchRequest
@@ -27,7 +27,7 @@ from yandex.cloud.searchapi.v2 import search_query_pb2 as yandex_dot_cloud_dot_s
27
27
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
28
28
 
29
29
 
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/img_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"\x80\x08\n\tImageSpec\x12@\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12<\n\x04size\x18\x02 \x01(\x0e\x32..yandex.cloud.searchapi.v2.ImageSpec.ImageSize\x12J\n\x0borientation\x18\x03 \x01(\x0e\x32\x35.yandex.cloud.searchapi.v2.ImageSpec.ImageOrientation\x12>\n\x05\x63olor\x18\x04 \x01(\x0e\x32/.yandex.cloud.searchapi.v2.ImageSpec.ImageColor\"n\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_FORMAT_JPEG\x10\x01\x12\x14\n\x10IMAGE_FORMAT_GIF\x10\x02\x12\x14\n\x10IMAGE_FORMAT_PNG\x10\x03\"\x95\x01\n\x10ImageOrientation\x12!\n\x1dIMAGE_ORIENTATION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aIMAGE_ORIENTATION_VERTICAL\x10\x01\x12 \n\x1cIMAGE_ORIENTATION_HORIZONTAL\x10\x02\x12\x1c\n\x18IMAGE_ORIENTATION_SQUARE\x10\x03\"\xb2\x01\n\tImageSize\x12\x1a\n\x16IMAGE_SIZE_UNSPECIFIED\x10\x00\x12\x17\n\x13IMAGE_SIZE_ENORMOUS\x10\x01\x12\x14\n\x10IMAGE_SIZE_LARGE\x10\x02\x12\x15\n\x11IMAGE_SIZE_MEDIUM\x10\x03\x12\x14\n\x10IMAGE_SIZE_SMALL\x10\x04\x12\x13\n\x0fIMAGE_SIZE_TINY\x10\x05\x12\x18\n\x14IMAGE_SIZE_WALLPAPER\x10\x06\"\xa9\x02\n\nImageColor\x12\x1b\n\x17IMAGE_COLOR_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_COLOR_COLOR\x10\x01\x12\x19\n\x15IMAGE_COLOR_GRAYSCALE\x10\x02\x12\x13\n\x0fIMAGE_COLOR_RED\x10\x03\x12\x16\n\x12IMAGE_COLOR_ORANGE\x10\x04\x12\x16\n\x12IMAGE_COLOR_YELLOW\x10\x05\x12\x15\n\x11IMAGE_COLOR_GREEN\x10\x06\x12\x14\n\x10IMAGE_COLOR_CYAN\x10\x07\x12\x14\n\x10IMAGE_COLOR_BLUE\x10\x08\x12\x16\n\x12IMAGE_COLOR_VIOLET\x10\t\x12\x15\n\x11IMAGE_COLOR_WHITE\x10\n\x12\x15\n\x11IMAGE_COLOR_BLACK\x10\x0b\"\xf6\x01\n\x12ImageSearchRequest\x12;\n\x05query\x18\x01 \x01(\x0b\x32&.yandex.cloud.searchapi.v2.SearchQueryB\x04\xe8\xc7\x31\x01\x12\x38\n\nimage_spec\x18\x02 \x01(\x0b\x32$.yandex.cloud.searchapi.v2.ImageSpec\x12\x0c\n\x04site\x18\x03 \x01(\t\x12\x1f\n\x0c\x64ocs_on_page\x18\x04 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100\x12\x1b\n\tfolder_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\nuser_agent\x18\x06 \x01(\tB\t\x8a\xc8\x31\x05<=200\"-\n\x13ImageSearchResponse\x12\x16\n\x08raw_data\x18\x01 \x01(\x0c\x42\x04\xe8\xc7\x31\x01\"\x9a\x02\n\x19ImageSearchByImageRequest\x12\x18\n\x04site\x18\x01 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x1b\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\x03url\x18\x03 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12!\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x42\x11\xe8\xc7\x31\x01\x8a\xc8\x31\t<=3145728H\x00\x12\x1c\n\x02id\x18\x05 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12\x15\n\x04page\x18\x06 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12\x46\n\x0b\x66\x61mily_mode\x18\x07 \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.FamilyModeB\x07\n\x05image\"\xda\x02\n\x1aImageSearchByImageResponse\x12O\n\x06images\x18\x01 \x03(\x0b\x32?.yandex.cloud.searchapi.v2.ImageSearchByImageResponse.ImageInfo\x12\x0c\n\x04page\x18\x02 \x01(\x03\x12\x10\n\x08max_page\x18\x03 \x01(\x03\x12\n\n\x02id\x18\x04 \x01(\t\x1a\xbe\x01\n\tImageInfo\x12\x0b\n\x03url\x18\x01 \x01(\t\x12@\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12\r\n\x05width\x18\x03 \x01(\x03\x12\x0e\n\x06height\x18\x04 \x01(\x03\x12\x0f\n\x07passage\x18\x05 \x01(\t\x12\x0c\n\x04host\x18\x06 \x01(\t\x12\x12\n\npage_title\x18\x07 \x01(\t\x12\x10\n\x08page_url\x18\x08 \x01(\t2\xc0\x02\n\x12ImageSearchService\x12\x84\x01\n\x06Search\x12-.yandex.cloud.searchapi.v2.ImageSearchRequest\x1a..yandex.cloud.searchapi.v2.ImageSearchResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v2/image/search:\x01*\x12\xa2\x01\n\rSearchByImage\x12\x34.yandex.cloud.searchapi.v2.ImageSearchByImageRequest\x1a\x35.yandex.cloud.searchapi.v2.ImageSearchByImageResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/v2/image/search_by_image:\x01*Be\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/img_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"\x80\x08\n\tImageSpec\x12@\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12<\n\x04size\x18\x02 \x01(\x0e\x32..yandex.cloud.searchapi.v2.ImageSpec.ImageSize\x12J\n\x0borientation\x18\x03 \x01(\x0e\x32\x35.yandex.cloud.searchapi.v2.ImageSpec.ImageOrientation\x12>\n\x05\x63olor\x18\x04 \x01(\x0e\x32/.yandex.cloud.searchapi.v2.ImageSpec.ImageColor\"n\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_FORMAT_JPEG\x10\x01\x12\x14\n\x10IMAGE_FORMAT_GIF\x10\x02\x12\x14\n\x10IMAGE_FORMAT_PNG\x10\x03\"\x95\x01\n\x10ImageOrientation\x12!\n\x1dIMAGE_ORIENTATION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aIMAGE_ORIENTATION_VERTICAL\x10\x01\x12 \n\x1cIMAGE_ORIENTATION_HORIZONTAL\x10\x02\x12\x1c\n\x18IMAGE_ORIENTATION_SQUARE\x10\x03\"\xb2\x01\n\tImageSize\x12\x1a\n\x16IMAGE_SIZE_UNSPECIFIED\x10\x00\x12\x17\n\x13IMAGE_SIZE_ENORMOUS\x10\x01\x12\x14\n\x10IMAGE_SIZE_LARGE\x10\x02\x12\x15\n\x11IMAGE_SIZE_MEDIUM\x10\x03\x12\x14\n\x10IMAGE_SIZE_SMALL\x10\x04\x12\x13\n\x0fIMAGE_SIZE_TINY\x10\x05\x12\x18\n\x14IMAGE_SIZE_WALLPAPER\x10\x06\"\xa9\x02\n\nImageColor\x12\x1b\n\x17IMAGE_COLOR_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_COLOR_COLOR\x10\x01\x12\x19\n\x15IMAGE_COLOR_GRAYSCALE\x10\x02\x12\x13\n\x0fIMAGE_COLOR_RED\x10\x03\x12\x16\n\x12IMAGE_COLOR_ORANGE\x10\x04\x12\x16\n\x12IMAGE_COLOR_YELLOW\x10\x05\x12\x15\n\x11IMAGE_COLOR_GREEN\x10\x06\x12\x14\n\x10IMAGE_COLOR_CYAN\x10\x07\x12\x14\n\x10IMAGE_COLOR_BLUE\x10\x08\x12\x16\n\x12IMAGE_COLOR_VIOLET\x10\t\x12\x15\n\x11IMAGE_COLOR_WHITE\x10\n\x12\x15\n\x11IMAGE_COLOR_BLACK\x10\x0b\"\xf6\x01\n\x12ImageSearchRequest\x12;\n\x05query\x18\x01 \x01(\x0b\x32&.yandex.cloud.searchapi.v2.SearchQueryB\x04\xe8\xc7\x31\x01\x12\x38\n\nimage_spec\x18\x02 \x01(\x0b\x32$.yandex.cloud.searchapi.v2.ImageSpec\x12\x0c\n\x04site\x18\x03 \x01(\t\x12\x1f\n\x0c\x64ocs_on_page\x18\x04 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100\x12\x1b\n\tfolder_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\nuser_agent\x18\x06 \x01(\tB\t\x8a\xc8\x31\x05<=300\"-\n\x13ImageSearchResponse\x12\x16\n\x08raw_data\x18\x01 \x01(\x0c\x42\x04\xe8\xc7\x31\x01\"\x9a\x02\n\x19ImageSearchByImageRequest\x12\x18\n\x04site\x18\x01 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x1b\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\x03url\x18\x03 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12!\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x42\x11\xe8\xc7\x31\x01\x8a\xc8\x31\t<=3145728H\x00\x12\x1c\n\x02id\x18\x05 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12\x15\n\x04page\x18\x06 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12\x46\n\x0b\x66\x61mily_mode\x18\x07 \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.FamilyModeB\x07\n\x05image\"\xda\x02\n\x1aImageSearchByImageResponse\x12O\n\x06images\x18\x01 \x03(\x0b\x32?.yandex.cloud.searchapi.v2.ImageSearchByImageResponse.ImageInfo\x12\x0c\n\x04page\x18\x02 \x01(\x03\x12\x10\n\x08max_page\x18\x03 \x01(\x03\x12\n\n\x02id\x18\x04 \x01(\t\x1a\xbe\x01\n\tImageInfo\x12\x0b\n\x03url\x18\x01 \x01(\t\x12@\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12\r\n\x05width\x18\x03 \x01(\x03\x12\x0e\n\x06height\x18\x04 \x01(\x03\x12\x0f\n\x07passage\x18\x05 \x01(\t\x12\x0c\n\x04host\x18\x06 \x01(\t\x12\x12\n\npage_title\x18\x07 \x01(\t\x12\x10\n\x08page_url\x18\x08 \x01(\t2\xc0\x02\n\x12ImageSearchService\x12\x84\x01\n\x06Search\x12-.yandex.cloud.searchapi.v2.ImageSearchRequest\x1a..yandex.cloud.searchapi.v2.ImageSearchResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v2/image/search:\x01*\x12\xa2\x01\n\rSearchByImage\x12\x34.yandex.cloud.searchapi.v2.ImageSearchByImageRequest\x1a\x35.yandex.cloud.searchapi.v2.ImageSearchByImageResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/v2/image/search_by_image:\x01*Be\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
31
31
 
32
32
  _globals = globals()
33
33
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -42,7 +42,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
42
42
  _globals['_IMAGESEARCHREQUEST'].fields_by_name['folder_id']._loaded_options = None
43
43
  _globals['_IMAGESEARCHREQUEST'].fields_by_name['folder_id']._serialized_options = b'\212\3101\004<=50'
44
44
  _globals['_IMAGESEARCHREQUEST'].fields_by_name['user_agent']._loaded_options = None
45
- _globals['_IMAGESEARCHREQUEST'].fields_by_name['user_agent']._serialized_options = b'\212\3101\005<=200'
45
+ _globals['_IMAGESEARCHREQUEST'].fields_by_name['user_agent']._serialized_options = b'\212\3101\005<=300'
46
46
  _globals['_IMAGESEARCHRESPONSE'].fields_by_name['raw_data']._loaded_options = None
47
47
  _globals['_IMAGESEARCHRESPONSE'].fields_by_name['raw_data']._serialized_options = b'\350\3071\001'
48
48
  _globals['_IMAGESEARCHBYIMAGEREQUEST'].fields_by_name['site']._loaded_options = None
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
25
25
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
26
26
 
27
27
 
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/searchapi/v2/search_query.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\"\x9b\x05\n\x0bSearchQuery\x12L\n\x0bsearch_type\x18\x01 \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.SearchTypeB\x04\xe8\xc7\x31\x01\x12!\n\nquery_text\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=400\x12\x46\n\x0b\x66\x61mily_mode\x18\x03 \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.FamilyMode\x12\x15\n\x04page\x18\x04 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12I\n\rfix_typo_mode\x18\x05 \x01(\x0e\x32\x32.yandex.cloud.searchapi.v2.SearchQuery.FixTypoMode\"\xa2\x01\n\nSearchType\x12\x1b\n\x17SEARCH_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSEARCH_TYPE_RU\x10\x01\x12\x12\n\x0eSEARCH_TYPE_TR\x10\x02\x12\x13\n\x0fSEARCH_TYPE_COM\x10\x03\x12\x12\n\x0eSEARCH_TYPE_KK\x10\x04\x12\x12\n\x0eSEARCH_TYPE_BE\x10\x05\x12\x12\n\x0eSEARCH_TYPE_UZ\x10\x06\"q\n\nFamilyMode\x12\x1b\n\x17\x46\x41MILY_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x46\x41MILY_MODE_NONE\x10\x01\x12\x18\n\x14\x46\x41MILY_MODE_MODERATE\x10\x02\x12\x16\n\x12\x46\x41MILY_MODE_STRICT\x10\x03\"Y\n\x0b\x46ixTypoMode\x12\x1d\n\x19\x46IX_TYPO_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x46IX_TYPO_MODE_ON\x10\x01\x12\x15\n\x11\x46IX_TYPO_MODE_OFF\x10\x02\x42\x65\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/searchapi/v2/search_query.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\"\x9b\x05\n\x0bSearchQuery\x12L\n\x0bsearch_type\x18\x01 \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.SearchTypeB\x04\xe8\xc7\x31\x01\x12!\n\nquery_text\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=400\x12\x46\n\x0b\x66\x61mily_mode\x18\x03 \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.FamilyMode\x12\x15\n\x04page\x18\x04 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12I\n\rfix_typo_mode\x18\x05 \x01(\x0e\x32\x32.yandex.cloud.searchapi.v2.SearchQuery.FixTypoMode\"\xa2\x01\n\nSearchType\x12\x1b\n\x17SEARCH_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSEARCH_TYPE_RU\x10\x01\x12\x12\n\x0eSEARCH_TYPE_TR\x10\x02\x12\x13\n\x0fSEARCH_TYPE_COM\x10\x03\x12\x12\n\x0eSEARCH_TYPE_KK\x10\x04\x12\x12\n\x0eSEARCH_TYPE_BE\x10\x05\x12\x12\n\x0eSEARCH_TYPE_UZ\x10\x06\"q\n\nFamilyMode\x12\x1b\n\x17\x46\x41MILY_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x46\x41MILY_MODE_NONE\x10\x01\x12\x18\n\x14\x46\x41MILY_MODE_MODERATE\x10\x02\x12\x16\n\x12\x46\x41MILY_MODE_STRICT\x10\x03\"Y\n\x0b\x46ixTypoMode\x12\x1d\n\x19\x46IX_TYPO_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x46IX_TYPO_MODE_ON\x10\x01\x12\x15\n\x11\x46IX_TYPO_MODE_OFF\x10\x02\"\xc4\x01\n\x0eSearchMetadata\x12\x82\x01\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x35.yandex.cloud.searchapi.v2.SearchMetadata.FieldsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x65\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
29
29
 
30
30
  _globals = globals()
31
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -39,6 +39,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
39
39
  _globals['_SEARCHQUERY'].fields_by_name['query_text']._serialized_options = b'\350\3071\001\212\3101\005<=400'
40
40
  _globals['_SEARCHQUERY'].fields_by_name['page']._loaded_options = None
41
41
  _globals['_SEARCHQUERY'].fields_by_name['page']._serialized_options = b'\372\3071\003>=0'
42
+ _globals['_SEARCHMETADATA_FIELDSENTRY']._loaded_options = None
43
+ _globals['_SEARCHMETADATA_FIELDSENTRY']._serialized_options = b'8\001'
44
+ _globals['_SEARCHMETADATA'].fields_by_name['fields']._loaded_options = None
45
+ _globals['_SEARCHMETADATA'].fields_by_name['fields']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\0041-63'
42
46
  _globals['_SEARCHQUERY']._serialized_start=107
43
47
  _globals['_SEARCHQUERY']._serialized_end=774
44
48
  _globals['_SEARCHQUERY_SEARCHTYPE']._serialized_start=406
@@ -47,4 +51,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
47
51
  _globals['_SEARCHQUERY_FAMILYMODE']._serialized_end=683
48
52
  _globals['_SEARCHQUERY_FIXTYPOMODE']._serialized_start=685
49
53
  _globals['_SEARCHQUERY_FIXTYPOMODE']._serialized_end=774
54
+ _globals['_SEARCHMETADATA']._serialized_start=777
55
+ _globals['_SEARCHMETADATA']._serialized_end=973
56
+ _globals['_SEARCHMETADATA_FIELDSENTRY']._serialized_start=928
57
+ _globals['_SEARCHMETADATA_FIELDSENTRY']._serialized_end=973
50
58
  # @@protoc_insertion_point(module_scope)
@@ -4,7 +4,9 @@ isort:skip_file
4
4
  """
5
5
 
6
6
  import builtins
7
+ import collections.abc
7
8
  import google.protobuf.descriptor
9
+ import google.protobuf.internal.containers
8
10
  import google.protobuf.internal.enum_type_wrapper
9
11
  import google.protobuf.message
10
12
  import sys
@@ -133,3 +135,43 @@ class SearchQuery(google.protobuf.message.Message):
133
135
  def ClearField(self, field_name: typing.Literal["family_mode", b"family_mode", "fix_typo_mode", b"fix_typo_mode", "page", b"page", "query_text", b"query_text", "search_type", b"search_type"]) -> None: ...
134
136
 
135
137
  global___SearchQuery = SearchQuery
138
+
139
+ @typing.final
140
+ class SearchMetadata(google.protobuf.message.Message):
141
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
142
+
143
+ @typing.final
144
+ class FieldsEntry(google.protobuf.message.Message):
145
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
146
+
147
+ KEY_FIELD_NUMBER: builtins.int
148
+ VALUE_FIELD_NUMBER: builtins.int
149
+ key: builtins.str
150
+ value: builtins.str
151
+ def __init__(
152
+ self,
153
+ *,
154
+ key: builtins.str = ...,
155
+ value: builtins.str = ...,
156
+ ) -> None: ...
157
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
158
+
159
+ FIELDS_FIELD_NUMBER: builtins.int
160
+ @property
161
+ def fields(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
162
+ """Search flags, `key:value` pairs.
163
+ No more than 64.
164
+ The maximum string length in characters for each value is 63.
165
+ Each value must match the regular expression `[-_0-9a-z]*`.
166
+ The string length in characters for each key must be 1-63.
167
+ Each key must match the regular expression `[a-z][-_0-9a-z]*`.
168
+ """
169
+
170
+ def __init__(
171
+ self,
172
+ *,
173
+ fields: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
174
+ ) -> None: ...
175
+ def ClearField(self, field_name: typing.Literal["fields", b"fields"]) -> None: ...
176
+
177
+ global___SearchMetadata = SearchMetadata
@@ -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\"\xbc\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<=200\"\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')
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<=200'
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=1508
72
- _globals['_WEBSEARCHREQUEST_LOCALIZATION']._serialized_start=1271
73
- _globals['_WEBSEARCHREQUEST_LOCALIZATION']._serialized_end=1441
74
- _globals['_WEBSEARCHREQUEST_FORMAT']._serialized_start=1443
75
- _globals['_WEBSEARCHREQUEST_FORMAT']._serialized_end=1508
76
- _globals['_WEBSEARCHRESPONSE']._serialized_start=1510
77
- _globals['_WEBSEARCHRESPONSE']._serialized_end=1553
78
- _globals['_WEBSEARCHASYNCSERVICE']._serialized_start=1556
79
- _globals['_WEBSEARCHASYNCSERVICE']._serialized_end=1725
80
- _globals['_WEBSEARCHSERVICE']._serialized_start=1728
81
- _globals['_WEBSEARCHSERVICE']._serialized_end=1874
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)