yandexcloud 0.353.0__py3-none-any.whl → 0.355.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.

Files changed (86) hide show
  1. yandex/cloud/ai/assistants/v1/common_pb2.py +58 -30
  2. yandex/cloud/ai/assistants/v1/common_pb2.pyi +178 -3
  3. yandex/cloud/airflow/v1/cluster_pb2.py +12 -8
  4. yandex/cloud/airflow/v1/cluster_pb2.pyi +4 -0
  5. yandex/cloud/apploadbalancer/v1/virtual_host_pb2.py +32 -32
  6. yandex/cloud/apploadbalancer/v1/virtual_host_pb2.pyi +5 -1
  7. yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.py +6 -6
  8. yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.pyi +5 -1
  9. yandex/cloud/backup/v1/resource_pb2.py +2 -2
  10. yandex/cloud/backup/v1/resource_pb2.pyi +8 -0
  11. yandex/cloud/baremetal/v1alpha/configuration_service_pb2.py +12 -8
  12. yandex/cloud/baremetal/v1alpha/configuration_service_pb2.pyi +16 -2
  13. yandex/cloud/baremetal/v1alpha/disk_pb2.py +2 -2
  14. yandex/cloud/baremetal/v1alpha/disk_pb2.pyi +8 -4
  15. yandex/cloud/compute/v1/maintenance_service_pb2.py +47 -0
  16. yandex/cloud/compute/v1/maintenance_service_pb2.pyi +8 -0
  17. yandex/cloud/compute/v1/maintenance_service_pb2_grpc.py +190 -0
  18. yandex/cloud/compute/v1/maintenance_service_pb2_grpc.pyi +91 -0
  19. yandex/cloud/compute/v1/reserved_instance_pool_pb2.py +8 -4
  20. yandex/cloud/compute/v1/reserved_instance_pool_pb2.pyi +69 -2
  21. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.py +44 -20
  22. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.pyi +138 -2
  23. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.py +88 -0
  24. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.pyi +40 -0
  25. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.py +18 -9
  26. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.pyi +30 -6
  27. yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +2 -4
  28. yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.py +3 -6
  29. yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.pyi +3 -9
  30. yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +2 -4
  31. yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.py +6 -3
  32. yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.pyi +6 -0
  33. yandex/cloud/iam/v1/oauth_client_pb2.py +39 -0
  34. yandex/cloud/iam/v1/oauth_client_pb2.pyi +85 -0
  35. yandex/cloud/iam/v1/oauth_client_pb2_grpc.py +24 -0
  36. yandex/cloud/iam/v1/oauth_client_pb2_grpc.pyi +17 -0
  37. yandex/cloud/iam/v1/oauth_client_secret_pb2.py +38 -0
  38. yandex/cloud/iam/v1/oauth_client_secret_pb2.pyi +49 -0
  39. yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.py +24 -0
  40. yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.pyi +17 -0
  41. yandex/cloud/iam/v1/oauth_client_secret_service_pb2.py +80 -0
  42. yandex/cloud/iam/v1/oauth_client_secret_service_pb2.pyi +188 -0
  43. yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.py +237 -0
  44. yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.pyi +121 -0
  45. yandex/cloud/iam/v1/oauth_client_service_pb2.py +99 -0
  46. yandex/cloud/iam/v1/oauth_client_service_pb2.pyi +257 -0
  47. yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.py +281 -0
  48. yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.pyi +141 -0
  49. yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
  50. yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
  51. yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
  52. yandex/cloud/maintenance/__init__.py +0 -0
  53. yandex/cloud/maintenance/v2/__init__.py +0 -0
  54. yandex/cloud/maintenance/v2/common_pb2.py +73 -0
  55. yandex/cloud/maintenance/v2/common_pb2.pyi +324 -0
  56. yandex/cloud/maintenance/v2/common_pb2_grpc.py +24 -0
  57. yandex/cloud/maintenance/v2/common_pb2_grpc.pyi +17 -0
  58. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +190 -150
  59. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +1712 -1025
  60. yandex/cloud/mdb/clickhouse/v1/user_pb2.py +98 -86
  61. yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1248 -792
  62. yandex/cloud/mdb/opensearch/v1/backup_pb2.py +14 -14
  63. yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +13 -1
  64. yandex/cloud/metastore/v1/cluster_pb2.py +18 -16
  65. yandex/cloud/metastore/v1/cluster_pb2.pyi +31 -1
  66. yandex/cloud/organizationmanager/v1/group_pb2.py +3 -3
  67. yandex/cloud/organizationmanager/v1/group_pb2.pyi +9 -1
  68. yandex/cloud/organizationmanager/v1/group_service_pb2.py +95 -37
  69. yandex/cloud/organizationmanager/v1/group_service_pb2.pyi +276 -0
  70. yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.py +220 -0
  71. yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.pyi +100 -0
  72. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +10 -10
  73. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +7 -1
  74. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +50 -18
  75. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +241 -2
  76. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.py +18 -18
  77. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.pyi +22 -2
  78. yandex/cloud/trino/v1/cluster_service_pb2.py +36 -36
  79. yandex/cloud/trino/v1/cluster_service_pb2.pyi +14 -2
  80. yandexcloud/__init__.py +1 -1
  81. {yandexcloud-0.353.0.dist-info → yandexcloud-0.355.0.dist-info}/METADATA +1 -1
  82. {yandexcloud-0.353.0.dist-info → yandexcloud-0.355.0.dist-info}/RECORD +86 -60
  83. {yandexcloud-0.353.0.dist-info → yandexcloud-0.355.0.dist-info}/AUTHORS +0 -0
  84. {yandexcloud-0.353.0.dist-info → yandexcloud-0.355.0.dist-info}/LICENSE +0 -0
  85. {yandexcloud-0.353.0.dist-info → yandexcloud-0.355.0.dist-info}/WHEEL +0 -0
  86. {yandexcloud-0.353.0.dist-info → yandexcloud-0.355.0.dist-info}/top_level.txt +0 -0
@@ -33,24 +33,54 @@ class GroupServiceStub:
33
33
  To get the list of available Group resources, make a [List] request.
34
34
  """
35
35
 
36
+ ResolveExternal: grpc.UnaryUnaryMultiCallable[
37
+ yandex.cloud.organizationmanager.v1.group_service_pb2.ResolveExternalGroupRequest,
38
+ yandex.cloud.organizationmanager.v1.group_pb2.Group,
39
+ ]
40
+ """Returns external group by subject container and external id"""
41
+
36
42
  List: grpc.UnaryUnaryMultiCallable[
37
43
  yandex.cloud.organizationmanager.v1.group_service_pb2.ListGroupsRequest,
38
44
  yandex.cloud.organizationmanager.v1.group_service_pb2.ListGroupsResponse,
39
45
  ]
40
46
  """Retrieves the list of group resources."""
41
47
 
48
+ ListExternal: grpc.UnaryUnaryMultiCallable[
49
+ yandex.cloud.organizationmanager.v1.group_service_pb2.ListExternalGroupsRequest,
50
+ yandex.cloud.organizationmanager.v1.group_service_pb2.ListExternalGroupsResponse,
51
+ ]
52
+ """Retrieves the list of external group linked subject container"""
53
+
42
54
  Create: grpc.UnaryUnaryMultiCallable[
43
55
  yandex.cloud.organizationmanager.v1.group_service_pb2.CreateGroupRequest,
44
56
  yandex.cloud.operation.operation_pb2.Operation,
45
57
  ]
46
58
  """Creates a group in the specified organization."""
47
59
 
60
+ CreateExternal: grpc.UnaryUnaryMultiCallable[
61
+ yandex.cloud.organizationmanager.v1.group_service_pb2.CreateExternalGroupRequest,
62
+ yandex.cloud.operation.operation_pb2.Operation,
63
+ ]
64
+ """Creates an external group."""
65
+
48
66
  Update: grpc.UnaryUnaryMultiCallable[
49
67
  yandex.cloud.organizationmanager.v1.group_service_pb2.UpdateGroupRequest,
50
68
  yandex.cloud.operation.operation_pb2.Operation,
51
69
  ]
52
70
  """Updates the specified group."""
53
71
 
72
+ ConvertToExternal: grpc.UnaryUnaryMultiCallable[
73
+ yandex.cloud.organizationmanager.v1.group_service_pb2.ConvertToExternalGroupRequest,
74
+ yandex.cloud.operation.operation_pb2.Operation,
75
+ ]
76
+ """Converts single basic (not external) group to external. Precondition: group must be basic."""
77
+
78
+ ConvertAllToBasic: grpc.UnaryUnaryMultiCallable[
79
+ yandex.cloud.organizationmanager.v1.group_service_pb2.ConvertAllToBasicGroupsRequest,
80
+ yandex.cloud.operation.operation_pb2.Operation,
81
+ ]
82
+ """Converts all groups that belongs to subject container from external to basic (not external)."""
83
+
54
84
  Delete: grpc.UnaryUnaryMultiCallable[
55
85
  yandex.cloud.organizationmanager.v1.group_service_pb2.DeleteGroupRequest,
56
86
  yandex.cloud.operation.operation_pb2.Operation,
@@ -111,24 +141,54 @@ class GroupServiceAsyncStub:
111
141
  To get the list of available Group resources, make a [List] request.
112
142
  """
113
143
 
144
+ ResolveExternal: grpc.aio.UnaryUnaryMultiCallable[
145
+ yandex.cloud.organizationmanager.v1.group_service_pb2.ResolveExternalGroupRequest,
146
+ yandex.cloud.organizationmanager.v1.group_pb2.Group,
147
+ ]
148
+ """Returns external group by subject container and external id"""
149
+
114
150
  List: grpc.aio.UnaryUnaryMultiCallable[
115
151
  yandex.cloud.organizationmanager.v1.group_service_pb2.ListGroupsRequest,
116
152
  yandex.cloud.organizationmanager.v1.group_service_pb2.ListGroupsResponse,
117
153
  ]
118
154
  """Retrieves the list of group resources."""
119
155
 
156
+ ListExternal: grpc.aio.UnaryUnaryMultiCallable[
157
+ yandex.cloud.organizationmanager.v1.group_service_pb2.ListExternalGroupsRequest,
158
+ yandex.cloud.organizationmanager.v1.group_service_pb2.ListExternalGroupsResponse,
159
+ ]
160
+ """Retrieves the list of external group linked subject container"""
161
+
120
162
  Create: grpc.aio.UnaryUnaryMultiCallable[
121
163
  yandex.cloud.organizationmanager.v1.group_service_pb2.CreateGroupRequest,
122
164
  yandex.cloud.operation.operation_pb2.Operation,
123
165
  ]
124
166
  """Creates a group in the specified organization."""
125
167
 
168
+ CreateExternal: grpc.aio.UnaryUnaryMultiCallable[
169
+ yandex.cloud.organizationmanager.v1.group_service_pb2.CreateExternalGroupRequest,
170
+ yandex.cloud.operation.operation_pb2.Operation,
171
+ ]
172
+ """Creates an external group."""
173
+
126
174
  Update: grpc.aio.UnaryUnaryMultiCallable[
127
175
  yandex.cloud.organizationmanager.v1.group_service_pb2.UpdateGroupRequest,
128
176
  yandex.cloud.operation.operation_pb2.Operation,
129
177
  ]
130
178
  """Updates the specified group."""
131
179
 
180
+ ConvertToExternal: grpc.aio.UnaryUnaryMultiCallable[
181
+ yandex.cloud.organizationmanager.v1.group_service_pb2.ConvertToExternalGroupRequest,
182
+ yandex.cloud.operation.operation_pb2.Operation,
183
+ ]
184
+ """Converts single basic (not external) group to external. Precondition: group must be basic."""
185
+
186
+ ConvertAllToBasic: grpc.aio.UnaryUnaryMultiCallable[
187
+ yandex.cloud.organizationmanager.v1.group_service_pb2.ConvertAllToBasicGroupsRequest,
188
+ yandex.cloud.operation.operation_pb2.Operation,
189
+ ]
190
+ """Converts all groups that belongs to subject container from external to basic (not external)."""
191
+
132
192
  Delete: grpc.aio.UnaryUnaryMultiCallable[
133
193
  yandex.cloud.organizationmanager.v1.group_service_pb2.DeleteGroupRequest,
134
194
  yandex.cloud.operation.operation_pb2.Operation,
@@ -191,6 +251,14 @@ class GroupServiceServicer(metaclass=abc.ABCMeta):
191
251
  To get the list of available Group resources, make a [List] request.
192
252
  """
193
253
 
254
+ @abc.abstractmethod
255
+ def ResolveExternal(
256
+ self,
257
+ request: yandex.cloud.organizationmanager.v1.group_service_pb2.ResolveExternalGroupRequest,
258
+ context: _ServicerContext,
259
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.group_pb2.Group, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.group_pb2.Group]]:
260
+ """Returns external group by subject container and external id"""
261
+
194
262
  @abc.abstractmethod
195
263
  def List(
196
264
  self,
@@ -199,6 +267,14 @@ class GroupServiceServicer(metaclass=abc.ABCMeta):
199
267
  ) -> typing.Union[yandex.cloud.organizationmanager.v1.group_service_pb2.ListGroupsResponse, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.group_service_pb2.ListGroupsResponse]]:
200
268
  """Retrieves the list of group resources."""
201
269
 
270
+ @abc.abstractmethod
271
+ def ListExternal(
272
+ self,
273
+ request: yandex.cloud.organizationmanager.v1.group_service_pb2.ListExternalGroupsRequest,
274
+ context: _ServicerContext,
275
+ ) -> typing.Union[yandex.cloud.organizationmanager.v1.group_service_pb2.ListExternalGroupsResponse, collections.abc.Awaitable[yandex.cloud.organizationmanager.v1.group_service_pb2.ListExternalGroupsResponse]]:
276
+ """Retrieves the list of external group linked subject container"""
277
+
202
278
  @abc.abstractmethod
203
279
  def Create(
204
280
  self,
@@ -207,6 +283,14 @@ class GroupServiceServicer(metaclass=abc.ABCMeta):
207
283
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
208
284
  """Creates a group in the specified organization."""
209
285
 
286
+ @abc.abstractmethod
287
+ def CreateExternal(
288
+ self,
289
+ request: yandex.cloud.organizationmanager.v1.group_service_pb2.CreateExternalGroupRequest,
290
+ context: _ServicerContext,
291
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
292
+ """Creates an external group."""
293
+
210
294
  @abc.abstractmethod
211
295
  def Update(
212
296
  self,
@@ -215,6 +299,22 @@ class GroupServiceServicer(metaclass=abc.ABCMeta):
215
299
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
216
300
  """Updates the specified group."""
217
301
 
302
+ @abc.abstractmethod
303
+ def ConvertToExternal(
304
+ self,
305
+ request: yandex.cloud.organizationmanager.v1.group_service_pb2.ConvertToExternalGroupRequest,
306
+ context: _ServicerContext,
307
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
308
+ """Converts single basic (not external) group to external. Precondition: group must be basic."""
309
+
310
+ @abc.abstractmethod
311
+ def ConvertAllToBasic(
312
+ self,
313
+ request: yandex.cloud.organizationmanager.v1.group_service_pb2.ConvertAllToBasicGroupsRequest,
314
+ context: _ServicerContext,
315
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
316
+ """Converts all groups that belongs to subject container from external to basic (not external)."""
317
+
218
318
  @abc.abstractmethod
219
319
  def Delete(
220
320
  self,
@@ -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\"\xe4\x08\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\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\"\x9e\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\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\"\xe4\x08\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\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,8 +57,8 @@ 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=1839
61
- _globals['_ROLE']._serialized_end=1902
60
+ _globals['_ROLE']._serialized_start=1854
61
+ _globals['_ROLE']._serialized_end=1917
62
62
  _globals['_GENSEARCHMESSAGE']._serialized_start=188
63
63
  _globals['_GENSEARCHMESSAGE']._serialized_end=293
64
64
  _globals['_GENSEARCHREQUEST']._serialized_start=296
@@ -74,11 +74,11 @@ if not _descriptor._USE_C_DESCRIPTORS:
74
74
  _globals['_GENSEARCHREQUEST_SEARCHFILTER_DOCFORMAT']._serialized_start=1147
75
75
  _globals['_GENSEARCHREQUEST_SEARCHFILTER_DOCFORMAT']._serialized_end=1386
76
76
  _globals['_GENSEARCHRESPONSE']._serialized_start=1423
77
- _globals['_GENSEARCHRESPONSE']._serialized_end=1837
78
- _globals['_GENSEARCHRESPONSE_SOURCE']._serialized_start=1742
79
- _globals['_GENSEARCHRESPONSE_SOURCE']._serialized_end=1792
80
- _globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_start=1794
81
- _globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_end=1837
82
- _globals['_GENSEARCHSERVICE']._serialized_start=1905
83
- _globals['_GENSEARCHSERVICE']._serialized_end=2054
77
+ _globals['_GENSEARCHRESPONSE']._serialized_end=1852
78
+ _globals['_GENSEARCHRESPONSE_SOURCE']._serialized_start=1757
79
+ _globals['_GENSEARCHRESPONSE_SOURCE']._serialized_end=1807
80
+ _globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_start=1809
81
+ _globals['_GENSEARCHRESPONSE_SEARCHQUERY']._serialized_end=1852
82
+ _globals['_GENSEARCHSERVICE']._serialized_start=1920
83
+ _globals['_GENSEARCHSERVICE']._serialized_end=2069
84
84
  # @@protoc_insertion_point(module_scope)
@@ -268,6 +268,7 @@ class GenSearchResponse(google.protobuf.message.Message):
268
268
  FIXED_MISSPELL_QUERY_FIELD_NUMBER: builtins.int
269
269
  IS_ANSWER_REJECTED_FIELD_NUMBER: builtins.int
270
270
  IS_BULLET_ANSWER_FIELD_NUMBER: builtins.int
271
+ HINTS_FIELD_NUMBER: builtins.int
271
272
  fixed_misspell_query: builtins.str
272
273
  """The text of the search query with fixed misspells."""
273
274
  is_answer_rejected: builtins.bool
@@ -286,6 +287,10 @@ class GenSearchResponse(google.protobuf.message.Message):
286
287
  def search_queries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GenSearchResponse.SearchQuery]:
287
288
  """The search queries, refined by the YandexGPT model and used for the generative response."""
288
289
 
290
+ @property
291
+ def hints(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
292
+ """Search hints"""
293
+
289
294
  def __init__(
290
295
  self,
291
296
  *,
@@ -295,8 +300,9 @@ class GenSearchResponse(google.protobuf.message.Message):
295
300
  fixed_misspell_query: builtins.str = ...,
296
301
  is_answer_rejected: builtins.bool = ...,
297
302
  is_bullet_answer: builtins.bool = ...,
303
+ hints: collections.abc.Iterable[builtins.str] | None = ...,
298
304
  ) -> None: ...
299
305
  def HasField(self, field_name: typing.Literal["message", b"message"]) -> builtins.bool: ...
300
- def ClearField(self, field_name: typing.Literal["fixed_misspell_query", b"fixed_misspell_query", "is_answer_rejected", b"is_answer_rejected", "is_bullet_answer", b"is_bullet_answer", "message", b"message", "search_queries", b"search_queries", "sources", b"sources"]) -> None: ...
306
+ def ClearField(self, field_name: typing.Literal["fixed_misspell_query", b"fixed_misspell_query", "hints", b"hints", "is_answer_rejected", b"is_answer_rejected", "is_bullet_answer", b"is_bullet_answer", "message", b"message", "search_queries", b"search_queries", "sources", b"sources"]) -> None: ...
301
307
 
302
308
  global___GenSearchResponse = GenSearchResponse
@@ -27,7 +27,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
27
27
  from yandex.cloud.smartwebsecurity.v1 import security_profile_pb2 as yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_security__profile__pb2
28
28
 
29
29
 
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/smartwebsecurity/v1/waf/waf_profile.proto\x12$yandex.cloud.smartwebsecurity.v1.waf\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x37yandex/cloud/smartwebsecurity/v1/security_profile.proto\"\xab\t\n\nWafProfile\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x17\n\tfolder_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x16\n\x08\x63loud_id\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x38\n\x04name\x18\x04 \x01(\tB*\xe8\xc7\x31\x01\xf2\xc7\x31\x1a[a-zA-Z0-9][a-zA-Z0-9-_.]*\x8a\xc8\x31\x04\x31-50\x12\x1e\n\x0b\x64\x65scription\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=512\x12\x89\x01\n\x06labels\x18\x06 \x03(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x05rules\x18\t \x03(\x0b\x32\x34.yandex.cloud.smartwebsecurity.v1.waf.WafProfileRule\x12V\n\x0f\x65xclusion_rules\x18\n \x03(\x0b\x32=.yandex.cloud.smartwebsecurity.v1.waf.WafProfileExclusionRule\x12U\n\rcore_rule_set\x18\x0b \x01(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.CoreRuleSetH\x00\x12\x65\n\x14\x61nalyze_request_body\x18\x0c \x01(\x0b\x32\x43.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.AnalyzeRequestBodyB\x02\x18\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xa5\x01\n\x0b\x43oreRuleSet\x12*\n\x15inbound_anomaly_score\x18\x01 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x32-10000\x12#\n\x0eparanoia_level\x18\x02 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x31,2,3,4\x12\x45\n\x08rule_set\x18\x03 \x01(\x0b\x32-.yandex.cloud.smartwebsecurity.v1.waf.RuleSetB\x04\xe8\xc7\x31\x01\x1a\xf9\x01\n\x12\x41nalyzeRequestBody\x12\x12\n\nis_enabled\x18\x01 \x01(\x08\x12\x30\n\nsize_limit\x18\x02 \x01(\x03\x42\x1c\xfa\xc7\x31\x18\x30,8,16,32,64,128,256,512\x12\x65\n\x11size_limit_action\x18\x03 \x01(\x0e\x32J.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.AnalyzeRequestBody.Action\"6\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\n\n\x06IGNORE\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02\x42\x10\n\x08rule_set\x12\x04\xc0\xc1\x31\x01J\x04\x08\x08\x10\t\"P\n\x0eWafProfileRule\x12\x15\n\x07rule_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x12\n\nis_enabled\x18\x02 \x01(\x08\x12\x13\n\x0bis_blocking\x18\x03 \x01(\x08\"\xc3\x02\n\x17WafProfileExclusionRule\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1e\n\x0b\x64\x65scription\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=512\x12>\n\tcondition\x18\x03 \x01(\x0b\x32+.yandex.cloud.smartwebsecurity.v1.Condition\x12g\n\rexclude_rules\x18\x04 \x01(\x0b\x32J.yandex.cloud.smartwebsecurity.v1.waf.WafProfileExclusionRule.ExcludeRulesB\x04\xe8\xc7\x31\x01\x12\x14\n\x0clog_excluded\x18\x05 \x01(\x08\x1a\x35\n\x0c\x45xcludeRules\x12\x13\n\x0b\x65xclude_all\x18\x01 \x01(\x08\x12\x10\n\x08rule_ids\x18\x02 \x03(\t\"4\n\x07RuleSet\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x15\n\x07version\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x42\x85\x01\n(yandex.cloud.api.smartwebsecurity.v1.wafZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1/waf;smartwebsecurityb\x06proto3')
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/smartwebsecurity/v1/waf/waf_profile.proto\x12$yandex.cloud.smartwebsecurity.v1.waf\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x37yandex/cloud/smartwebsecurity/v1/security_profile.proto\"\xad\x15\n\nWafProfile\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x17\n\tfolder_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x16\n\x08\x63loud_id\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x38\n\x04name\x18\x04 \x01(\tB*\xe8\xc7\x31\x01\xf2\xc7\x31\x1a[a-zA-Z0-9][a-zA-Z0-9-_.]*\x8a\xc8\x31\x04\x31-50\x12\x1e\n\x0b\x64\x65scription\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=512\x12\x89\x01\n\x06labels\x18\x06 \x03(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x05rules\x18\t \x03(\x0b\x32\x34.yandex.cloud.smartwebsecurity.v1.waf.WafProfileRule\x12V\n\x0f\x65xclusion_rules\x18\n \x03(\x0b\x32=.yandex.cloud.smartwebsecurity.v1.waf.WafProfileExclusionRule\x12U\n\rcore_rule_set\x18\x0b \x01(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.CoreRuleSetH\x00\x12\x65\n\x14\x61nalyze_request_body\x18\x0c \x01(\x0b\x32\x43.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.AnalyzeRequestBodyB\x02\x18\x01\x12U\n\trule_sets\x18\r \x03(\x0b\x32\x42.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet\x12\x1b\n\x13match_all_rule_sets\x18\x0e \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xa5\x01\n\x0b\x43oreRuleSet\x12*\n\x15inbound_anomaly_score\x18\x01 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x32-10000\x12#\n\x0eparanoia_level\x18\x02 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x31,2,3,4\x12\x45\n\x08rule_set\x18\x03 \x01(\x0b\x32-.yandex.cloud.smartwebsecurity.v1.waf.RuleSetB\x04\xe8\xc7\x31\x01\x1a\xf9\x01\n\x12\x41nalyzeRequestBody\x12\x12\n\nis_enabled\x18\x01 \x01(\x08\x12\x30\n\nsize_limit\x18\x02 \x01(\x03\x42\x1c\xfa\xc7\x31\x18\x30,8,16,32,64,128,256,512\x12\x65\n\x11size_limit_action\x18\x03 \x01(\x0e\x32J.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.AnalyzeRequestBody.Action\"6\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\n\n\x06IGNORE\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02\x1a\x8b\x0b\n\x11WafProfileRuleSet\x12q\n\rcore_rule_set\x18\x01 \x01(\x0b\x32X.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.WafProfileCoreRuleSetH\x00\x12m\n\x0bya_rule_set\x18\x02 \x01(\x0b\x32V.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.WafProfileYaRuleSetH\x00\x12m\n\x0bml_rule_set\x18\x03 \x01(\x0b\x32V.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.WafProfileMlRuleSetH\x00\x12\x1e\n\x08priority\x18\x04 \x01(\x03\x42\x0c\xfa\xc7\x31\x08\x31-999999\x12\x12\n\nis_enabled\x18\x05 \x01(\x08\x12`\n\x06\x61\x63tion\x18\x06 \x01(\x0e\x32P.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.RuleSetAction\x1a\xfd\x01\n\tRuleGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12\x63\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32S.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.RuleGroup.Action\x12*\n\x15inbound_anomaly_score\x18\x03 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x31-10000\x12\x12\n\nis_enabled\x18\x04 \x01(\x08\"?\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\x08\n\x04\x44\x45NY\x10\x01\x12\x07\n\x03LOG\x10\x02\x12\n\n\x06IGNORE\x10\x03\x1a\xaf\x01\n\x15WafProfileCoreRuleSet\x12\x45\n\x08rule_set\x18\x01 \x01(\x0b\x32-.yandex.cloud.smartwebsecurity.v1.waf.RuleSetB\x04\xe8\xc7\x31\x01\x12*\n\x15inbound_anomaly_score\x18\x02 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x32-10000\x12#\n\x0eparanoia_level\x18\x03 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x31,2,3,4\x1a\xbf\x01\n\x13WafProfileYaRuleSet\x12\x45\n\x08rule_set\x18\x01 \x01(\x0b\x32-.yandex.cloud.smartwebsecurity.v1.waf.RuleSetB\x04\xe8\xc7\x31\x01\x12\x61\n\x0brule_groups\x18\x02 \x03(\x0b\x32L.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.RuleGroup\x1a\xbf\x01\n\x13WafProfileMlRuleSet\x12\x45\n\x08rule_set\x18\x01 \x01(\x0b\x32-.yandex.cloud.smartwebsecurity.v1.waf.RuleSetB\x04\xe8\xc7\x31\x01\x12\x61\n\x0brule_groups\x18\x02 \x03(\x0b\x32L.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet.RuleGroup\"G\n\rRuleSetAction\x12\x1f\n\x1bRULE_SET_ACTION_UNSPECIFIED\x10\x00\x12\x08\n\x04\x44\x45NY\x10\x01\x12\x0b\n\x07\x43\x41PTCHA\x10\x02\x42\x10\n\x08rule_set\x12\x04\xc0\xc1\x31\x01\x42\x10\n\x08rule_set\x12\x04\xc0\xc1\x31\x01J\x04\x08\x08\x10\t\"P\n\x0eWafProfileRule\x12\x15\n\x07rule_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x12\n\nis_enabled\x18\x02 \x01(\x08\x12\x13\n\x0bis_blocking\x18\x03 \x01(\x08\"\xc3\x02\n\x17WafProfileExclusionRule\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1e\n\x0b\x64\x65scription\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=512\x12>\n\tcondition\x18\x03 \x01(\x0b\x32+.yandex.cloud.smartwebsecurity.v1.Condition\x12g\n\rexclude_rules\x18\x04 \x01(\x0b\x32J.yandex.cloud.smartwebsecurity.v1.waf.WafProfileExclusionRule.ExcludeRulesB\x04\xe8\xc7\x31\x01\x12\x14\n\x0clog_excluded\x18\x05 \x01(\x08\x1a\x35\n\x0c\x45xcludeRules\x12\x13\n\x0b\x65xclude_all\x18\x01 \x01(\x08\x12\x10\n\x08rule_ids\x18\x02 \x03(\t\"\xd1\x01\n\x07RuleSet\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x15\n\x07version\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12G\n\x04type\x18\x03 \x01(\x0e\x32\x39.yandex.cloud.smartwebsecurity.v1.waf.RuleSet.RuleSetType\x12\n\n\x02id\x18\x04 \x01(\t\"F\n\x0bRuleSetType\x12\x1d\n\x19RULE_SET_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x43ORE\x10\x01\x12\x06\n\x02YA\x10\x02\x12\x06\n\x02ML\x10\x03\x42\x85\x01\n(yandex.cloud.api.smartwebsecurity.v1.wafZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1/waf;smartwebsecurityb\x06proto3')
31
31
 
32
32
  _globals = globals()
33
33
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -45,6 +45,22 @@ if not _descriptor._USE_C_DESCRIPTORS:
45
45
  _globals['_WAFPROFILE_CORERULESET'].fields_by_name['rule_set']._serialized_options = b'\350\3071\001'
46
46
  _globals['_WAFPROFILE_ANALYZEREQUESTBODY'].fields_by_name['size_limit']._loaded_options = None
47
47
  _globals['_WAFPROFILE_ANALYZEREQUESTBODY'].fields_by_name['size_limit']._serialized_options = b'\372\3071\0300,8,16,32,64,128,256,512'
48
+ _globals['_WAFPROFILE_WAFPROFILERULESET_RULEGROUP'].fields_by_name['inbound_anomaly_score']._loaded_options = None
49
+ _globals['_WAFPROFILE_WAFPROFILERULESET_RULEGROUP'].fields_by_name['inbound_anomaly_score']._serialized_options = b'\372\3071\0071-10000'
50
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET'].fields_by_name['rule_set']._loaded_options = None
51
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET'].fields_by_name['rule_set']._serialized_options = b'\350\3071\001'
52
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET'].fields_by_name['inbound_anomaly_score']._loaded_options = None
53
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET'].fields_by_name['inbound_anomaly_score']._serialized_options = b'\372\3071\0072-10000'
54
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET'].fields_by_name['paranoia_level']._loaded_options = None
55
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET'].fields_by_name['paranoia_level']._serialized_options = b'\372\3071\0071,2,3,4'
56
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEYARULESET'].fields_by_name['rule_set']._loaded_options = None
57
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEYARULESET'].fields_by_name['rule_set']._serialized_options = b'\350\3071\001'
58
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEMLRULESET'].fields_by_name['rule_set']._loaded_options = None
59
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEMLRULESET'].fields_by_name['rule_set']._serialized_options = b'\350\3071\001'
60
+ _globals['_WAFPROFILE_WAFPROFILERULESET'].oneofs_by_name['rule_set']._loaded_options = None
61
+ _globals['_WAFPROFILE_WAFPROFILERULESET'].oneofs_by_name['rule_set']._serialized_options = b'\300\3011\001'
62
+ _globals['_WAFPROFILE_WAFPROFILERULESET'].fields_by_name['priority']._loaded_options = None
63
+ _globals['_WAFPROFILE_WAFPROFILERULESET'].fields_by_name['priority']._serialized_options = b'\372\3071\0101-999999'
48
64
  _globals['_WAFPROFILE'].oneofs_by_name['rule_set']._loaded_options = None
49
65
  _globals['_WAFPROFILE'].oneofs_by_name['rule_set']._serialized_options = b'\300\3011\001'
50
66
  _globals['_WAFPROFILE'].fields_by_name['id']._loaded_options = None
@@ -74,21 +90,37 @@ if not _descriptor._USE_C_DESCRIPTORS:
74
90
  _globals['_RULESET'].fields_by_name['version']._loaded_options = None
75
91
  _globals['_RULESET'].fields_by_name['version']._serialized_options = b'\350\3071\001'
76
92
  _globals['_WAFPROFILE']._serialized_start=218
77
- _globals['_WAFPROFILE']._serialized_end=1413
78
- _globals['_WAFPROFILE_LABELSENTRY']._serialized_start=924
79
- _globals['_WAFPROFILE_LABELSENTRY']._serialized_end=969
80
- _globals['_WAFPROFILE_CORERULESET']._serialized_start=972
81
- _globals['_WAFPROFILE_CORERULESET']._serialized_end=1137
82
- _globals['_WAFPROFILE_ANALYZEREQUESTBODY']._serialized_start=1140
83
- _globals['_WAFPROFILE_ANALYZEREQUESTBODY']._serialized_end=1389
84
- _globals['_WAFPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_start=1335
85
- _globals['_WAFPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_end=1389
86
- _globals['_WAFPROFILERULE']._serialized_start=1415
87
- _globals['_WAFPROFILERULE']._serialized_end=1495
88
- _globals['_WAFPROFILEEXCLUSIONRULE']._serialized_start=1498
89
- _globals['_WAFPROFILEEXCLUSIONRULE']._serialized_end=1821
90
- _globals['_WAFPROFILEEXCLUSIONRULE_EXCLUDERULES']._serialized_start=1768
91
- _globals['_WAFPROFILEEXCLUSIONRULE_EXCLUDERULES']._serialized_end=1821
92
- _globals['_RULESET']._serialized_start=1823
93
- _globals['_RULESET']._serialized_end=1875
93
+ _globals['_WAFPROFILE']._serialized_end=2951
94
+ _globals['_WAFPROFILE_LABELSENTRY']._serialized_start=1040
95
+ _globals['_WAFPROFILE_LABELSENTRY']._serialized_end=1085
96
+ _globals['_WAFPROFILE_CORERULESET']._serialized_start=1088
97
+ _globals['_WAFPROFILE_CORERULESET']._serialized_end=1253
98
+ _globals['_WAFPROFILE_ANALYZEREQUESTBODY']._serialized_start=1256
99
+ _globals['_WAFPROFILE_ANALYZEREQUESTBODY']._serialized_end=1505
100
+ _globals['_WAFPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_start=1451
101
+ _globals['_WAFPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_end=1505
102
+ _globals['_WAFPROFILE_WAFPROFILERULESET']._serialized_start=1508
103
+ _globals['_WAFPROFILE_WAFPROFILERULESET']._serialized_end=2927
104
+ _globals['_WAFPROFILE_WAFPROFILERULESET_RULEGROUP']._serialized_start=2017
105
+ _globals['_WAFPROFILE_WAFPROFILERULESET_RULEGROUP']._serialized_end=2270
106
+ _globals['_WAFPROFILE_WAFPROFILERULESET_RULEGROUP_ACTION']._serialized_start=2207
107
+ _globals['_WAFPROFILE_WAFPROFILERULESET_RULEGROUP_ACTION']._serialized_end=2270
108
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET']._serialized_start=2273
109
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILECORERULESET']._serialized_end=2448
110
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEYARULESET']._serialized_start=2451
111
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEYARULESET']._serialized_end=2642
112
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEMLRULESET']._serialized_start=2645
113
+ _globals['_WAFPROFILE_WAFPROFILERULESET_WAFPROFILEMLRULESET']._serialized_end=2836
114
+ _globals['_WAFPROFILE_WAFPROFILERULESET_RULESETACTION']._serialized_start=2838
115
+ _globals['_WAFPROFILE_WAFPROFILERULESET_RULESETACTION']._serialized_end=2909
116
+ _globals['_WAFPROFILERULE']._serialized_start=2953
117
+ _globals['_WAFPROFILERULE']._serialized_end=3033
118
+ _globals['_WAFPROFILEEXCLUSIONRULE']._serialized_start=3036
119
+ _globals['_WAFPROFILEEXCLUSIONRULE']._serialized_end=3359
120
+ _globals['_WAFPROFILEEXCLUSIONRULE_EXCLUDERULES']._serialized_start=3306
121
+ _globals['_WAFPROFILEEXCLUSIONRULE_EXCLUDERULES']._serialized_end=3359
122
+ _globals['_RULESET']._serialized_start=3362
123
+ _globals['_RULESET']._serialized_end=3571
124
+ _globals['_RULESET_RULESETTYPE']._serialized_start=3501
125
+ _globals['_RULESET_RULESETTYPE']._serialized_end=3571
94
126
  # @@protoc_insertion_point(module_scope)