yandexcloud 0.354.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 (76) 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/compute/v1/maintenance_service_pb2.py +47 -0
  14. yandex/cloud/compute/v1/maintenance_service_pb2.pyi +8 -0
  15. yandex/cloud/compute/v1/maintenance_service_pb2_grpc.py +190 -0
  16. yandex/cloud/compute/v1/maintenance_service_pb2_grpc.pyi +91 -0
  17. yandex/cloud/compute/v1/reserved_instance_pool_pb2.py +8 -4
  18. yandex/cloud/compute/v1/reserved_instance_pool_pb2.pyi +69 -2
  19. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.py +44 -20
  20. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.pyi +138 -2
  21. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.py +88 -0
  22. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.pyi +40 -0
  23. yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +2 -4
  24. yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.py +3 -6
  25. yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.pyi +3 -9
  26. yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +2 -4
  27. yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.py +6 -3
  28. yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.pyi +6 -0
  29. yandex/cloud/iam/v1/oauth_client_pb2.py +39 -0
  30. yandex/cloud/iam/v1/oauth_client_pb2.pyi +85 -0
  31. yandex/cloud/iam/v1/oauth_client_pb2_grpc.py +24 -0
  32. yandex/cloud/iam/v1/oauth_client_pb2_grpc.pyi +17 -0
  33. yandex/cloud/iam/v1/oauth_client_secret_pb2.py +38 -0
  34. yandex/cloud/iam/v1/oauth_client_secret_pb2.pyi +49 -0
  35. yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.py +24 -0
  36. yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.pyi +17 -0
  37. yandex/cloud/iam/v1/oauth_client_secret_service_pb2.py +80 -0
  38. yandex/cloud/iam/v1/oauth_client_secret_service_pb2.pyi +188 -0
  39. yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.py +237 -0
  40. yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.pyi +121 -0
  41. yandex/cloud/iam/v1/oauth_client_service_pb2.py +99 -0
  42. yandex/cloud/iam/v1/oauth_client_service_pb2.pyi +257 -0
  43. yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.py +281 -0
  44. yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.pyi +141 -0
  45. yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
  46. yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
  47. yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
  48. yandex/cloud/maintenance/__init__.py +0 -0
  49. yandex/cloud/maintenance/v2/__init__.py +0 -0
  50. yandex/cloud/maintenance/v2/common_pb2.py +73 -0
  51. yandex/cloud/maintenance/v2/common_pb2.pyi +324 -0
  52. yandex/cloud/maintenance/v2/common_pb2_grpc.py +24 -0
  53. yandex/cloud/maintenance/v2/common_pb2_grpc.pyi +17 -0
  54. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +190 -150
  55. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +1712 -1025
  56. yandex/cloud/mdb/clickhouse/v1/user_pb2.py +98 -86
  57. yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1248 -792
  58. yandex/cloud/mdb/opensearch/v1/backup_pb2.py +14 -14
  59. yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +13 -1
  60. yandex/cloud/metastore/v1/cluster_pb2.py +18 -16
  61. yandex/cloud/metastore/v1/cluster_pb2.pyi +31 -1
  62. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +10 -10
  63. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +7 -1
  64. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +50 -18
  65. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +241 -2
  66. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.py +18 -18
  67. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.pyi +22 -2
  68. yandex/cloud/trino/v1/cluster_service_pb2.py +36 -36
  69. yandex/cloud/trino/v1/cluster_service_pb2.pyi +14 -2
  70. yandexcloud/__init__.py +1 -1
  71. {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/METADATA +1 -1
  72. {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/RECORD +76 -50
  73. {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/AUTHORS +0 -0
  74. {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/LICENSE +0 -0
  75. {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/WHEEL +0 -0
  76. {yandexcloud-0.354.0.dist-info → yandexcloud-0.355.0.dist-info}/top_level.txt +0 -0
@@ -120,6 +120,202 @@ class WafProfile(google.protobuf.message.Message):
120
120
  ) -> None: ...
121
121
  def ClearField(self, field_name: typing.Literal["is_enabled", b"is_enabled", "size_limit", b"size_limit", "size_limit_action", b"size_limit_action"]) -> None: ...
122
122
 
123
+ @typing.final
124
+ class WafProfileRuleSet(google.protobuf.message.Message):
125
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
126
+
127
+ class _RuleSetAction:
128
+ ValueType = typing.NewType("ValueType", builtins.int)
129
+ V: typing_extensions.TypeAlias = ValueType
130
+
131
+ class _RuleSetActionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[WafProfile.WafProfileRuleSet._RuleSetAction.ValueType], builtins.type):
132
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
133
+ RULE_SET_ACTION_UNSPECIFIED: WafProfile.WafProfileRuleSet._RuleSetAction.ValueType # 0
134
+ DENY: WafProfile.WafProfileRuleSet._RuleSetAction.ValueType # 1
135
+ """Deny request."""
136
+ CAPTCHA: WafProfile.WafProfileRuleSet._RuleSetAction.ValueType # 2
137
+ """Show captcha."""
138
+
139
+ class RuleSetAction(_RuleSetAction, metaclass=_RuleSetActionEnumTypeWrapper):
140
+ """Types on actions on rule set match."""
141
+
142
+ RULE_SET_ACTION_UNSPECIFIED: WafProfile.WafProfileRuleSet.RuleSetAction.ValueType # 0
143
+ DENY: WafProfile.WafProfileRuleSet.RuleSetAction.ValueType # 1
144
+ """Deny request."""
145
+ CAPTCHA: WafProfile.WafProfileRuleSet.RuleSetAction.ValueType # 2
146
+ """Show captcha."""
147
+
148
+ @typing.final
149
+ class RuleGroup(google.protobuf.message.Message):
150
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
151
+
152
+ class _Action:
153
+ ValueType = typing.NewType("ValueType", builtins.int)
154
+ V: typing_extensions.TypeAlias = ValueType
155
+
156
+ class _ActionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[WafProfile.WafProfileRuleSet.RuleGroup._Action.ValueType], builtins.type):
157
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
158
+ ACTION_UNSPECIFIED: WafProfile.WafProfileRuleSet.RuleGroup._Action.ValueType # 0
159
+ DENY: WafProfile.WafProfileRuleSet.RuleGroup._Action.ValueType # 1
160
+ """Deny request."""
161
+ LOG: WafProfile.WafProfileRuleSet.RuleGroup._Action.ValueType # 2
162
+ """Log request."""
163
+ IGNORE: WafProfile.WafProfileRuleSet.RuleGroup._Action.ValueType # 3
164
+ """Ignore request."""
165
+
166
+ class Action(_Action, metaclass=_ActionEnumTypeWrapper):
167
+ """Types on actions on rule group match."""
168
+
169
+ ACTION_UNSPECIFIED: WafProfile.WafProfileRuleSet.RuleGroup.Action.ValueType # 0
170
+ DENY: WafProfile.WafProfileRuleSet.RuleGroup.Action.ValueType # 1
171
+ """Deny request."""
172
+ LOG: WafProfile.WafProfileRuleSet.RuleGroup.Action.ValueType # 2
173
+ """Log request."""
174
+ IGNORE: WafProfile.WafProfileRuleSet.RuleGroup.Action.ValueType # 3
175
+ """Ignore request."""
176
+
177
+ ID_FIELD_NUMBER: builtins.int
178
+ ACTION_FIELD_NUMBER: builtins.int
179
+ INBOUND_ANOMALY_SCORE_FIELD_NUMBER: builtins.int
180
+ IS_ENABLED_FIELD_NUMBER: builtins.int
181
+ id: builtins.str
182
+ """ID of the rule group."""
183
+ action: global___WafProfile.WafProfileRuleSet.RuleGroup.Action.ValueType
184
+ """Action to perfome on rule group match."""
185
+ inbound_anomaly_score: builtins.int
186
+ """Anomaly score."""
187
+ is_enabled: builtins.bool
188
+ """Determines is it rule group enabled or not."""
189
+ def __init__(
190
+ self,
191
+ *,
192
+ id: builtins.str = ...,
193
+ action: global___WafProfile.WafProfileRuleSet.RuleGroup.Action.ValueType = ...,
194
+ inbound_anomaly_score: builtins.int = ...,
195
+ is_enabled: builtins.bool = ...,
196
+ ) -> None: ...
197
+ def ClearField(self, field_name: typing.Literal["action", b"action", "id", b"id", "inbound_anomaly_score", b"inbound_anomaly_score", "is_enabled", b"is_enabled"]) -> None: ...
198
+
199
+ @typing.final
200
+ class WafProfileCoreRuleSet(google.protobuf.message.Message):
201
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
202
+
203
+ RULE_SET_FIELD_NUMBER: builtins.int
204
+ INBOUND_ANOMALY_SCORE_FIELD_NUMBER: builtins.int
205
+ PARANOIA_LEVEL_FIELD_NUMBER: builtins.int
206
+ inbound_anomaly_score: builtins.int
207
+ """Anomaly score.
208
+ Enter an integer within the range of 2 and 10000.
209
+ The higher this value, the more likely it is that the request that satisfies the rule is an attack.
210
+ See [Rules](/docs/smartwebsecurity/concepts/waf#anomaly) for more details.
211
+ """
212
+ paranoia_level: builtins.int
213
+ """Paranoia level.
214
+ Enter an integer within the range of 1 and 4.
215
+ Paranoia level classifies rules according to their aggression. The higher the paranoia level, the better your protection,
216
+ but also the higher the probability of WAF false positives.
217
+ See [Rules](/docs/smartwebsecurity/concepts/waf#paranoia) for more details.
218
+ NOTE: this option has no effect on enabling or disabling rules.
219
+ it is used only as recommendation for user to enable all rules with paranoia_level <= this value.
220
+ """
221
+ @property
222
+ def rule_set(self) -> global___RuleSet:
223
+ """Rule set."""
224
+
225
+ def __init__(
226
+ self,
227
+ *,
228
+ rule_set: global___RuleSet | None = ...,
229
+ inbound_anomaly_score: builtins.int = ...,
230
+ paranoia_level: builtins.int = ...,
231
+ ) -> None: ...
232
+ def HasField(self, field_name: typing.Literal["rule_set", b"rule_set"]) -> builtins.bool: ...
233
+ def ClearField(self, field_name: typing.Literal["inbound_anomaly_score", b"inbound_anomaly_score", "paranoia_level", b"paranoia_level", "rule_set", b"rule_set"]) -> None: ...
234
+
235
+ @typing.final
236
+ class WafProfileYaRuleSet(google.protobuf.message.Message):
237
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
238
+
239
+ RULE_SET_FIELD_NUMBER: builtins.int
240
+ RULE_GROUPS_FIELD_NUMBER: builtins.int
241
+ @property
242
+ def rule_set(self) -> global___RuleSet:
243
+ """Rule set."""
244
+
245
+ @property
246
+ def rule_groups(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WafProfile.WafProfileRuleSet.RuleGroup]:
247
+ """List of rule groups."""
248
+
249
+ def __init__(
250
+ self,
251
+ *,
252
+ rule_set: global___RuleSet | None = ...,
253
+ rule_groups: collections.abc.Iterable[global___WafProfile.WafProfileRuleSet.RuleGroup] | None = ...,
254
+ ) -> None: ...
255
+ def HasField(self, field_name: typing.Literal["rule_set", b"rule_set"]) -> builtins.bool: ...
256
+ def ClearField(self, field_name: typing.Literal["rule_groups", b"rule_groups", "rule_set", b"rule_set"]) -> None: ...
257
+
258
+ @typing.final
259
+ class WafProfileMlRuleSet(google.protobuf.message.Message):
260
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
261
+
262
+ RULE_SET_FIELD_NUMBER: builtins.int
263
+ RULE_GROUPS_FIELD_NUMBER: builtins.int
264
+ @property
265
+ def rule_set(self) -> global___RuleSet:
266
+ """Rule set."""
267
+
268
+ @property
269
+ def rule_groups(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WafProfile.WafProfileRuleSet.RuleGroup]:
270
+ """List of rule groups."""
271
+
272
+ def __init__(
273
+ self,
274
+ *,
275
+ rule_set: global___RuleSet | None = ...,
276
+ rule_groups: collections.abc.Iterable[global___WafProfile.WafProfileRuleSet.RuleGroup] | None = ...,
277
+ ) -> None: ...
278
+ def HasField(self, field_name: typing.Literal["rule_set", b"rule_set"]) -> builtins.bool: ...
279
+ def ClearField(self, field_name: typing.Literal["rule_groups", b"rule_groups", "rule_set", b"rule_set"]) -> None: ...
280
+
281
+ CORE_RULE_SET_FIELD_NUMBER: builtins.int
282
+ YA_RULE_SET_FIELD_NUMBER: builtins.int
283
+ ML_RULE_SET_FIELD_NUMBER: builtins.int
284
+ PRIORITY_FIELD_NUMBER: builtins.int
285
+ IS_ENABLED_FIELD_NUMBER: builtins.int
286
+ ACTION_FIELD_NUMBER: builtins.int
287
+ priority: builtins.int
288
+ """Priority of rule set."""
289
+ is_enabled: builtins.bool
290
+ """Determines is it rule set enabled or not."""
291
+ action: global___WafProfile.WafProfileRuleSet.RuleSetAction.ValueType
292
+ """Action to perfome on rule set match."""
293
+ @property
294
+ def core_rule_set(self) -> global___WafProfile.WafProfileRuleSet.WafProfileCoreRuleSet:
295
+ """Core rule set settings. See [Basic rule set](/docs/smartwebsecurity/concepts/waf#rules-set) for details."""
296
+
297
+ @property
298
+ def ya_rule_set(self) -> global___WafProfile.WafProfileRuleSet.WafProfileYaRuleSet:
299
+ """Yandex rule set settings."""
300
+
301
+ @property
302
+ def ml_rule_set(self) -> global___WafProfile.WafProfileRuleSet.WafProfileMlRuleSet:
303
+ """Yandex Machine learning rule set settings."""
304
+
305
+ def __init__(
306
+ self,
307
+ *,
308
+ core_rule_set: global___WafProfile.WafProfileRuleSet.WafProfileCoreRuleSet | None = ...,
309
+ ya_rule_set: global___WafProfile.WafProfileRuleSet.WafProfileYaRuleSet | None = ...,
310
+ ml_rule_set: global___WafProfile.WafProfileRuleSet.WafProfileMlRuleSet | None = ...,
311
+ priority: builtins.int = ...,
312
+ is_enabled: builtins.bool = ...,
313
+ action: global___WafProfile.WafProfileRuleSet.RuleSetAction.ValueType = ...,
314
+ ) -> None: ...
315
+ def HasField(self, field_name: typing.Literal["core_rule_set", b"core_rule_set", "ml_rule_set", b"ml_rule_set", "rule_set", b"rule_set", "ya_rule_set", b"ya_rule_set"]) -> builtins.bool: ...
316
+ def ClearField(self, field_name: typing.Literal["action", b"action", "core_rule_set", b"core_rule_set", "is_enabled", b"is_enabled", "ml_rule_set", b"ml_rule_set", "priority", b"priority", "rule_set", b"rule_set", "ya_rule_set", b"ya_rule_set"]) -> None: ...
317
+ def WhichOneof(self, oneof_group: typing.Literal["rule_set", b"rule_set"]) -> typing.Literal["core_rule_set", "ya_rule_set", "ml_rule_set"] | None: ...
318
+
123
319
  ID_FIELD_NUMBER: builtins.int
124
320
  FOLDER_ID_FIELD_NUMBER: builtins.int
125
321
  CLOUD_ID_FIELD_NUMBER: builtins.int
@@ -131,6 +327,8 @@ class WafProfile(google.protobuf.message.Message):
131
327
  EXCLUSION_RULES_FIELD_NUMBER: builtins.int
132
328
  CORE_RULE_SET_FIELD_NUMBER: builtins.int
133
329
  ANALYZE_REQUEST_BODY_FIELD_NUMBER: builtins.int
330
+ RULE_SETS_FIELD_NUMBER: builtins.int
331
+ MATCH_ALL_RULE_SETS_FIELD_NUMBER: builtins.int
134
332
  id: builtins.str
135
333
  """ID of the WAF profile."""
136
334
  folder_id: builtins.str
@@ -141,6 +339,8 @@ class WafProfile(google.protobuf.message.Message):
141
339
  """Name of the WAF profile. The name is unique within the folder. 1-50 characters long."""
142
340
  description: builtins.str
143
341
  """Optional description of the WAF profile."""
342
+ match_all_rule_sets: builtins.bool
343
+ """Determines"""
144
344
  @property
145
345
  def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
146
346
  """Labels as `` key:value `` pairs. Maximum of 64 per resource."""
@@ -165,6 +365,10 @@ class WafProfile(google.protobuf.message.Message):
165
365
  def analyze_request_body(self) -> global___WafProfile.AnalyzeRequestBody:
166
366
  """The parameter is deprecated. Parameters for request body analyzer."""
167
367
 
368
+ @property
369
+ def rule_sets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WafProfile.WafProfileRuleSet]:
370
+ """List of rule sets."""
371
+
168
372
  def __init__(
169
373
  self,
170
374
  *,
@@ -179,9 +383,11 @@ class WafProfile(google.protobuf.message.Message):
179
383
  exclusion_rules: collections.abc.Iterable[global___WafProfileExclusionRule] | None = ...,
180
384
  core_rule_set: global___WafProfile.CoreRuleSet | None = ...,
181
385
  analyze_request_body: global___WafProfile.AnalyzeRequestBody | None = ...,
386
+ rule_sets: collections.abc.Iterable[global___WafProfile.WafProfileRuleSet] | None = ...,
387
+ match_all_rule_sets: builtins.bool = ...,
182
388
  ) -> None: ...
183
389
  def HasField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body", "core_rule_set", b"core_rule_set", "created_at", b"created_at", "rule_set", b"rule_set"]) -> builtins.bool: ...
184
- def ClearField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body", "cloud_id", b"cloud_id", "core_rule_set", b"core_rule_set", "created_at", b"created_at", "description", b"description", "exclusion_rules", b"exclusion_rules", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "rule_set", b"rule_set", "rules", b"rules"]) -> None: ...
390
+ def ClearField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body", "cloud_id", b"cloud_id", "core_rule_set", b"core_rule_set", "created_at", b"created_at", "description", b"description", "exclusion_rules", b"exclusion_rules", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "match_all_rule_sets", b"match_all_rule_sets", "name", b"name", "rule_set", b"rule_set", "rule_sets", b"rule_sets", "rules", b"rules"]) -> None: ...
185
391
  def WhichOneof(self, oneof_group: typing.Literal["rule_set", b"rule_set"]) -> typing.Literal["core_rule_set"] | None: ...
186
392
 
187
393
  global___WafProfile = WafProfile
@@ -279,18 +485,51 @@ class RuleSet(google.protobuf.message.Message):
279
485
 
280
486
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
281
487
 
488
+ class _RuleSetType:
489
+ ValueType = typing.NewType("ValueType", builtins.int)
490
+ V: typing_extensions.TypeAlias = ValueType
491
+
492
+ class _RuleSetTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[RuleSet._RuleSetType.ValueType], builtins.type):
493
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
494
+ RULE_SET_TYPE_UNSPECIFIED: RuleSet._RuleSetType.ValueType # 0
495
+ CORE: RuleSet._RuleSetType.ValueType # 1
496
+ """Core rule set."""
497
+ YA: RuleSet._RuleSetType.ValueType # 2
498
+ """Yandex rule set."""
499
+ ML: RuleSet._RuleSetType.ValueType # 3
500
+ """Yandex machine learning rule set."""
501
+
502
+ class RuleSetType(_RuleSetType, metaclass=_RuleSetTypeEnumTypeWrapper):
503
+ """Type of rule set."""
504
+
505
+ RULE_SET_TYPE_UNSPECIFIED: RuleSet.RuleSetType.ValueType # 0
506
+ CORE: RuleSet.RuleSetType.ValueType # 1
507
+ """Core rule set."""
508
+ YA: RuleSet.RuleSetType.ValueType # 2
509
+ """Yandex rule set."""
510
+ ML: RuleSet.RuleSetType.ValueType # 3
511
+ """Yandex machine learning rule set."""
512
+
282
513
  NAME_FIELD_NUMBER: builtins.int
283
514
  VERSION_FIELD_NUMBER: builtins.int
515
+ TYPE_FIELD_NUMBER: builtins.int
516
+ ID_FIELD_NUMBER: builtins.int
284
517
  name: builtins.str
285
518
  """Name of rule set."""
286
519
  version: builtins.str
287
520
  """Version of rule set."""
521
+ type: global___RuleSet.RuleSetType.ValueType
522
+ """Type of rule set."""
523
+ id: builtins.str
524
+ """ID of rule set."""
288
525
  def __init__(
289
526
  self,
290
527
  *,
291
528
  name: builtins.str = ...,
292
529
  version: builtins.str = ...,
530
+ type: global___RuleSet.RuleSetType.ValueType = ...,
531
+ id: builtins.str = ...,
293
532
  ) -> None: ...
294
- def ClearField(self, field_name: typing.Literal["name", b"name", "version", b"version"]) -> None: ...
533
+ def ClearField(self, field_name: typing.Literal["id", b"id", "name", b"name", "type", b"type", "version", b"version"]) -> None: ...
295
534
 
296
535
  global___RuleSet = RuleSet
@@ -30,7 +30,7 @@ from yandex.cloud.smartwebsecurity.v1.waf import waf_profile_pb2 as yandex_dot_c
30
30
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
31
31
 
32
32
 
33
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service.proto\x12$yandex.cloud.smartwebsecurity.v1.waf\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x36yandex/cloud/smartwebsecurity/v1/waf/waf_profile.proto\x1a\x1dyandex/cloud/validation.proto\"4\n\x14GetWafProfileRequest\x12\x1c\n\x0ewaf_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"1\n\x16ListWafProfilesRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"a\n\x17ListWafProfilesResponse\x12\x46\n\x0cwaf_profiles\x18\x01 \x03(\x0b\x32\x30.yandex.cloud.smartwebsecurity.v1.waf.WafProfile\"\xbc\x04\n\x17\x43reateWafProfileRequest\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12Y\n\x06labels\x18\x04 \x03(\x0b\x32I.yandex.cloud.smartwebsecurity.v1.waf.CreateWafProfileRequest.LabelsEntry\x12\x43\n\x05rules\x18\x05 \x03(\x0b\x32\x34.yandex.cloud.smartwebsecurity.v1.waf.WafProfileRule\x12V\n\x0f\x65xclusion_rules\x18\x06 \x03(\x0b\x32=.yandex.cloud.smartwebsecurity.v1.waf.WafProfileExclusionRule\x12U\n\rcore_rule_set\x18\x07 \x01(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.CoreRuleSetH\x00\x12\x61\n\x14\x61nalyze_request_body\x18\x08 \x01(\x0b\x32\x43.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.AnalyzeRequestBody\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08rule_set\"2\n\x18\x43reateWafProfileMetadata\x12\x16\n\x0ewaf_profile_id\x18\x01 \x01(\t\"\xf8\x04\n\x17UpdateWafProfileRequest\x12\x1c\n\x0ewaf_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12Y\n\x06labels\x18\x05 \x03(\x0b\x32I.yandex.cloud.smartwebsecurity.v1.waf.UpdateWafProfileRequest.LabelsEntry\x12\x43\n\x05rules\x18\x06 \x03(\x0b\x32\x34.yandex.cloud.smartwebsecurity.v1.waf.WafProfileRule\x12V\n\x0f\x65xclusion_rules\x18\x07 \x03(\x0b\x32=.yandex.cloud.smartwebsecurity.v1.waf.WafProfileExclusionRule\x12U\n\rcore_rule_set\x18\x08 \x01(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.CoreRuleSetH\x00\x12\x61\n\x14\x61nalyze_request_body\x18\t \x01(\x0b\x32\x43.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.AnalyzeRequestBody\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08rule_set\"2\n\x18UpdateWafProfileMetadata\x12\x16\n\x0ewaf_profile_id\x18\x01 \x01(\t\"7\n\x17\x44\x65leteWafProfileRequest\x12\x1c\n\x0ewaf_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"2\n\x18\x44\x65leteWafProfileMetadata\x12\x16\n\x0ewaf_profile_id\x18\x01 \x01(\t2\xea\x07\n\x11WafProfileService\x12\xae\x01\n\x03Get\x12:.yandex.cloud.smartwebsecurity.v1.waf.GetWafProfileRequest\x1a\x30.yandex.cloud.smartwebsecurity.v1.waf.WafProfile\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/smartwebsecurity/v1/wafProfiles/{waf_profile_id}\x12\xad\x01\n\x04List\x12<.yandex.cloud.smartwebsecurity.v1.waf.ListWafProfilesRequest\x1a=.yandex.cloud.smartwebsecurity.v1.waf.ListWafProfilesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /smartwebsecurity/v1/wafProfiles\x12\xc1\x01\n\x06\x43reate\x12=.yandex.cloud.smartwebsecurity.v1.waf.CreateWafProfileRequest\x1a!.yandex.cloud.operation.Operation\"U\xb2\xd2*&\n\x18\x43reateWafProfileMetadata\x12\nWafProfile\x82\xd3\xe4\x93\x02%\" /smartwebsecurity/v1/wafProfiles:\x01*\x12\xd2\x01\n\x06Update\x12=.yandex.cloud.smartwebsecurity.v1.waf.UpdateWafProfileRequest\x1a!.yandex.cloud.operation.Operation\"f\xb2\xd2*&\n\x18UpdateWafProfileMetadata\x12\nWafProfile\x82\xd3\xe4\x93\x02\x36\x32\x31/smartwebsecurity/v1/wafProfiles/{waf_profile_id}:\x01*\x12\xda\x01\n\x06\x44\x65lete\x12=.yandex.cloud.smartwebsecurity.v1.waf.DeleteWafProfileRequest\x1a!.yandex.cloud.operation.Operation\"n\xb2\xd2*1\n\x18\x44\x65leteWafProfileMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x33*1/smartwebsecurity/v1/wafProfiles/{waf_profile_id}B\x85\x01\n(yandex.cloud.api.smartwebsecurity.v1.wafZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1/waf;smartwebsecurityb\x06proto3')
33
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service.proto\x12$yandex.cloud.smartwebsecurity.v1.waf\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x36yandex/cloud/smartwebsecurity/v1/waf/waf_profile.proto\x1a\x1dyandex/cloud/validation.proto\"4\n\x14GetWafProfileRequest\x12\x1c\n\x0ewaf_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"1\n\x16ListWafProfilesRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"a\n\x17ListWafProfilesResponse\x12\x46\n\x0cwaf_profiles\x18\x01 \x03(\x0b\x32\x30.yandex.cloud.smartwebsecurity.v1.waf.WafProfile\"\xb0\x05\n\x17\x43reateWafProfileRequest\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12Y\n\x06labels\x18\x04 \x03(\x0b\x32I.yandex.cloud.smartwebsecurity.v1.waf.CreateWafProfileRequest.LabelsEntry\x12\x43\n\x05rules\x18\x05 \x03(\x0b\x32\x34.yandex.cloud.smartwebsecurity.v1.waf.WafProfileRule\x12V\n\x0f\x65xclusion_rules\x18\x06 \x03(\x0b\x32=.yandex.cloud.smartwebsecurity.v1.waf.WafProfileExclusionRule\x12U\n\rcore_rule_set\x18\x07 \x01(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.CoreRuleSetH\x00\x12\x61\n\x14\x61nalyze_request_body\x18\x08 \x01(\x0b\x32\x43.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.AnalyzeRequestBody\x12U\n\trule_sets\x18\t \x03(\x0b\x32\x42.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet\x12\x1b\n\x13match_all_rule_sets\x18\n \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08rule_set\"2\n\x18\x43reateWafProfileMetadata\x12\x16\n\x0ewaf_profile_id\x18\x01 \x01(\t\"\xec\x05\n\x17UpdateWafProfileRequest\x12\x1c\n\x0ewaf_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12Y\n\x06labels\x18\x05 \x03(\x0b\x32I.yandex.cloud.smartwebsecurity.v1.waf.UpdateWafProfileRequest.LabelsEntry\x12\x43\n\x05rules\x18\x06 \x03(\x0b\x32\x34.yandex.cloud.smartwebsecurity.v1.waf.WafProfileRule\x12V\n\x0f\x65xclusion_rules\x18\x07 \x03(\x0b\x32=.yandex.cloud.smartwebsecurity.v1.waf.WafProfileExclusionRule\x12U\n\rcore_rule_set\x18\x08 \x01(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.CoreRuleSetH\x00\x12\x61\n\x14\x61nalyze_request_body\x18\t \x01(\x0b\x32\x43.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.AnalyzeRequestBody\x12U\n\trule_sets\x18\n \x03(\x0b\x32\x42.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.WafProfileRuleSet\x12\x1b\n\x13match_all_rule_sets\x18\x0b \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08rule_set\"2\n\x18UpdateWafProfileMetadata\x12\x16\n\x0ewaf_profile_id\x18\x01 \x01(\t\"7\n\x17\x44\x65leteWafProfileRequest\x12\x1c\n\x0ewaf_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"2\n\x18\x44\x65leteWafProfileMetadata\x12\x16\n\x0ewaf_profile_id\x18\x01 \x01(\t2\xea\x07\n\x11WafProfileService\x12\xae\x01\n\x03Get\x12:.yandex.cloud.smartwebsecurity.v1.waf.GetWafProfileRequest\x1a\x30.yandex.cloud.smartwebsecurity.v1.waf.WafProfile\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/smartwebsecurity/v1/wafProfiles/{waf_profile_id}\x12\xad\x01\n\x04List\x12<.yandex.cloud.smartwebsecurity.v1.waf.ListWafProfilesRequest\x1a=.yandex.cloud.smartwebsecurity.v1.waf.ListWafProfilesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /smartwebsecurity/v1/wafProfiles\x12\xc1\x01\n\x06\x43reate\x12=.yandex.cloud.smartwebsecurity.v1.waf.CreateWafProfileRequest\x1a!.yandex.cloud.operation.Operation\"U\xb2\xd2*&\n\x18\x43reateWafProfileMetadata\x12\nWafProfile\x82\xd3\xe4\x93\x02%\" /smartwebsecurity/v1/wafProfiles:\x01*\x12\xd2\x01\n\x06Update\x12=.yandex.cloud.smartwebsecurity.v1.waf.UpdateWafProfileRequest\x1a!.yandex.cloud.operation.Operation\"f\xb2\xd2*&\n\x18UpdateWafProfileMetadata\x12\nWafProfile\x82\xd3\xe4\x93\x02\x36\x32\x31/smartwebsecurity/v1/wafProfiles/{waf_profile_id}:\x01*\x12\xda\x01\n\x06\x44\x65lete\x12=.yandex.cloud.smartwebsecurity.v1.waf.DeleteWafProfileRequest\x1a!.yandex.cloud.operation.Operation\"n\xb2\xd2*1\n\x18\x44\x65leteWafProfileMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x33*1/smartwebsecurity/v1/wafProfiles/{waf_profile_id}B\x85\x01\n(yandex.cloud.api.smartwebsecurity.v1.wafZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1/waf;smartwebsecurityb\x06proto3')
34
34
 
35
35
  _globals = globals()
36
36
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -67,21 +67,21 @@ if not _descriptor._USE_C_DESCRIPTORS:
67
67
  _globals['_LISTWAFPROFILESRESPONSE']._serialized_start=434
68
68
  _globals['_LISTWAFPROFILESRESPONSE']._serialized_end=531
69
69
  _globals['_CREATEWAFPROFILEREQUEST']._serialized_start=534
70
- _globals['_CREATEWAFPROFILEREQUEST']._serialized_end=1106
71
- _globals['_CREATEWAFPROFILEREQUEST_LABELSENTRY']._serialized_start=1049
72
- _globals['_CREATEWAFPROFILEREQUEST_LABELSENTRY']._serialized_end=1094
73
- _globals['_CREATEWAFPROFILEMETADATA']._serialized_start=1108
74
- _globals['_CREATEWAFPROFILEMETADATA']._serialized_end=1158
75
- _globals['_UPDATEWAFPROFILEREQUEST']._serialized_start=1161
76
- _globals['_UPDATEWAFPROFILEREQUEST']._serialized_end=1793
77
- _globals['_UPDATEWAFPROFILEREQUEST_LABELSENTRY']._serialized_start=1049
78
- _globals['_UPDATEWAFPROFILEREQUEST_LABELSENTRY']._serialized_end=1094
79
- _globals['_UPDATEWAFPROFILEMETADATA']._serialized_start=1795
80
- _globals['_UPDATEWAFPROFILEMETADATA']._serialized_end=1845
81
- _globals['_DELETEWAFPROFILEREQUEST']._serialized_start=1847
82
- _globals['_DELETEWAFPROFILEREQUEST']._serialized_end=1902
83
- _globals['_DELETEWAFPROFILEMETADATA']._serialized_start=1904
84
- _globals['_DELETEWAFPROFILEMETADATA']._serialized_end=1954
85
- _globals['_WAFPROFILESERVICE']._serialized_start=1957
86
- _globals['_WAFPROFILESERVICE']._serialized_end=2959
70
+ _globals['_CREATEWAFPROFILEREQUEST']._serialized_end=1222
71
+ _globals['_CREATEWAFPROFILEREQUEST_LABELSENTRY']._serialized_start=1165
72
+ _globals['_CREATEWAFPROFILEREQUEST_LABELSENTRY']._serialized_end=1210
73
+ _globals['_CREATEWAFPROFILEMETADATA']._serialized_start=1224
74
+ _globals['_CREATEWAFPROFILEMETADATA']._serialized_end=1274
75
+ _globals['_UPDATEWAFPROFILEREQUEST']._serialized_start=1277
76
+ _globals['_UPDATEWAFPROFILEREQUEST']._serialized_end=2025
77
+ _globals['_UPDATEWAFPROFILEREQUEST_LABELSENTRY']._serialized_start=1165
78
+ _globals['_UPDATEWAFPROFILEREQUEST_LABELSENTRY']._serialized_end=1210
79
+ _globals['_UPDATEWAFPROFILEMETADATA']._serialized_start=2027
80
+ _globals['_UPDATEWAFPROFILEMETADATA']._serialized_end=2077
81
+ _globals['_DELETEWAFPROFILEREQUEST']._serialized_start=2079
82
+ _globals['_DELETEWAFPROFILEREQUEST']._serialized_end=2134
83
+ _globals['_DELETEWAFPROFILEMETADATA']._serialized_start=2136
84
+ _globals['_DELETEWAFPROFILEMETADATA']._serialized_end=2186
85
+ _globals['_WAFPROFILESERVICE']._serialized_start=2189
86
+ _globals['_WAFPROFILESERVICE']._serialized_end=3191
87
87
  # @@protoc_insertion_point(module_scope)
@@ -96,12 +96,16 @@ class CreateWafProfileRequest(google.protobuf.message.Message):
96
96
  EXCLUSION_RULES_FIELD_NUMBER: builtins.int
97
97
  CORE_RULE_SET_FIELD_NUMBER: builtins.int
98
98
  ANALYZE_REQUEST_BODY_FIELD_NUMBER: builtins.int
99
+ RULE_SETS_FIELD_NUMBER: builtins.int
100
+ MATCH_ALL_RULE_SETS_FIELD_NUMBER: builtins.int
99
101
  folder_id: builtins.str
100
102
  """ID of the folder to create a WAF profile in."""
101
103
  name: builtins.str
102
104
  """Name of the WAF profile. The name is unique within the folder. 1-50 characters long."""
103
105
  description: builtins.str
104
106
  """Optional description of the WAF profile."""
107
+ match_all_rule_sets: builtins.bool
108
+ """Parameter determines should all rule sets be matched."""
105
109
  @property
106
110
  def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
107
111
  """Labels as `` key:value `` pairs. Maximum of 64 per resource."""
@@ -122,6 +126,10 @@ class CreateWafProfileRequest(google.protobuf.message.Message):
122
126
  def analyze_request_body(self) -> yandex.cloud.smartwebsecurity.v1.waf.waf_profile_pb2.WafProfile.AnalyzeRequestBody:
123
127
  """Parameters for request body analyzer."""
124
128
 
129
+ @property
130
+ def rule_sets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.smartwebsecurity.v1.waf.waf_profile_pb2.WafProfile.WafProfileRuleSet]:
131
+ """List of rule sets. See [Rules](/docs/smartwebsecurity/concepts/waf#rules-set)."""
132
+
125
133
  def __init__(
126
134
  self,
127
135
  *,
@@ -133,9 +141,11 @@ class CreateWafProfileRequest(google.protobuf.message.Message):
133
141
  exclusion_rules: collections.abc.Iterable[yandex.cloud.smartwebsecurity.v1.waf.waf_profile_pb2.WafProfileExclusionRule] | None = ...,
134
142
  core_rule_set: yandex.cloud.smartwebsecurity.v1.waf.waf_profile_pb2.WafProfile.CoreRuleSet | None = ...,
135
143
  analyze_request_body: yandex.cloud.smartwebsecurity.v1.waf.waf_profile_pb2.WafProfile.AnalyzeRequestBody | None = ...,
144
+ rule_sets: collections.abc.Iterable[yandex.cloud.smartwebsecurity.v1.waf.waf_profile_pb2.WafProfile.WafProfileRuleSet] | None = ...,
145
+ match_all_rule_sets: builtins.bool = ...,
136
146
  ) -> None: ...
137
147
  def HasField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body", "core_rule_set", b"core_rule_set", "rule_set", b"rule_set"]) -> builtins.bool: ...
138
- def ClearField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body", "core_rule_set", b"core_rule_set", "description", b"description", "exclusion_rules", b"exclusion_rules", "folder_id", b"folder_id", "labels", b"labels", "name", b"name", "rule_set", b"rule_set", "rules", b"rules"]) -> None: ...
148
+ def ClearField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body", "core_rule_set", b"core_rule_set", "description", b"description", "exclusion_rules", b"exclusion_rules", "folder_id", b"folder_id", "labels", b"labels", "match_all_rule_sets", b"match_all_rule_sets", "name", b"name", "rule_set", b"rule_set", "rule_sets", b"rule_sets", "rules", b"rules"]) -> None: ...
139
149
  def WhichOneof(self, oneof_group: typing.Literal["rule_set", b"rule_set"]) -> typing.Literal["core_rule_set"] | None: ...
140
150
 
141
151
  global___CreateWafProfileRequest = CreateWafProfileRequest
@@ -185,12 +195,16 @@ class UpdateWafProfileRequest(google.protobuf.message.Message):
185
195
  EXCLUSION_RULES_FIELD_NUMBER: builtins.int
186
196
  CORE_RULE_SET_FIELD_NUMBER: builtins.int
187
197
  ANALYZE_REQUEST_BODY_FIELD_NUMBER: builtins.int
198
+ RULE_SETS_FIELD_NUMBER: builtins.int
199
+ MATCH_ALL_RULE_SETS_FIELD_NUMBER: builtins.int
188
200
  waf_profile_id: builtins.str
189
201
  """ID of the WAF profile to update."""
190
202
  name: builtins.str
191
203
  """Name of the WAF profile. The name is unique within the folder. 1-50 characters long."""
192
204
  description: builtins.str
193
205
  """Optional description of the WAF profile."""
206
+ match_all_rule_sets: builtins.bool
207
+ """Parameter determines should all rule sets be matched."""
194
208
  @property
195
209
  def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
196
210
  """Field mask that specifies which fields of the WafProfile resource are going to be updated."""
@@ -215,6 +229,10 @@ class UpdateWafProfileRequest(google.protobuf.message.Message):
215
229
  def analyze_request_body(self) -> yandex.cloud.smartwebsecurity.v1.waf.waf_profile_pb2.WafProfile.AnalyzeRequestBody:
216
230
  """Parameters for request body analyzer."""
217
231
 
232
+ @property
233
+ def rule_sets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.smartwebsecurity.v1.waf.waf_profile_pb2.WafProfile.WafProfileRuleSet]:
234
+ """List of rule sets. See [Rules](/docs/smartwebsecurity/concepts/waf#rules-set)."""
235
+
218
236
  def __init__(
219
237
  self,
220
238
  *,
@@ -227,9 +245,11 @@ class UpdateWafProfileRequest(google.protobuf.message.Message):
227
245
  exclusion_rules: collections.abc.Iterable[yandex.cloud.smartwebsecurity.v1.waf.waf_profile_pb2.WafProfileExclusionRule] | None = ...,
228
246
  core_rule_set: yandex.cloud.smartwebsecurity.v1.waf.waf_profile_pb2.WafProfile.CoreRuleSet | None = ...,
229
247
  analyze_request_body: yandex.cloud.smartwebsecurity.v1.waf.waf_profile_pb2.WafProfile.AnalyzeRequestBody | None = ...,
248
+ rule_sets: collections.abc.Iterable[yandex.cloud.smartwebsecurity.v1.waf.waf_profile_pb2.WafProfile.WafProfileRuleSet] | None = ...,
249
+ match_all_rule_sets: builtins.bool = ...,
230
250
  ) -> None: ...
231
251
  def HasField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body", "core_rule_set", b"core_rule_set", "rule_set", b"rule_set", "update_mask", b"update_mask"]) -> builtins.bool: ...
232
- def ClearField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body", "core_rule_set", b"core_rule_set", "description", b"description", "exclusion_rules", b"exclusion_rules", "labels", b"labels", "name", b"name", "rule_set", b"rule_set", "rules", b"rules", "update_mask", b"update_mask", "waf_profile_id", b"waf_profile_id"]) -> None: ...
252
+ def ClearField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body", "core_rule_set", b"core_rule_set", "description", b"description", "exclusion_rules", b"exclusion_rules", "labels", b"labels", "match_all_rule_sets", b"match_all_rule_sets", "name", b"name", "rule_set", b"rule_set", "rule_sets", b"rule_sets", "rules", b"rules", "update_mask", b"update_mask", "waf_profile_id", b"waf_profile_id"]) -> None: ...
233
253
  def WhichOneof(self, oneof_group: typing.Literal["rule_set", b"rule_set"]) -> typing.Literal["core_rule_set"] | None: ...
234
254
 
235
255
  global___UpdateWafProfileRequest = UpdateWafProfileRequest
@@ -32,7 +32,7 @@ from yandex.cloud.trino.v1 import maintenance_pb2 as yandex_dot_cloud_dot_trino_
32
32
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
33
33
 
34
34
 
35
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/trino/v1/cluster_service.proto\x12\x15yandex.cloud.trino.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a#yandex/cloud/trino/v1/catalog.proto\x1a#yandex/cloud/trino/v1/cluster.proto\x1a\'yandex/cloud/trino/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"5\n\x11GetClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x13ListClustersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"a\n\x14ListClustersResponse\x12\x30\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.trino.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf9\x04\n\x14\x43reateClusterRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12,\n\x04name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x84\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x37.yandex.cloud.trino.v1.CreateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12;\n\x05trino\x18\x05 \x01(\x0b\x32&.yandex.cloud.trino.v1.TrinoConfigSpecB\x04\xe8\xc7\x31\x01\x12;\n\x07network\x18\x06 \x01(\x0b\x32$.yandex.cloud.trino.v1.NetworkConfigB\x04\xe8\xc7\x31\x01\x12\x1b\n\x13\x64\x65letion_protection\x18\x07 \x01(\x08\x12(\n\x12service_account_id\x18\x08 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\t \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x44\n\x12maintenance_window\x18\n \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9b\x02\n\x0fTrinoConfigSpec\x12\x34\n\x08\x63\x61talogs\x18\x01 \x03(\x0b\x32\".yandex.cloud.trino.v1.CatalogSpec\x12J\n\x12\x63oordinator_config\x18\x02 \x01(\x0b\x32(.yandex.cloud.trino.v1.CoordinatorConfigB\x04\xe8\xc7\x31\x01\x12@\n\rworker_config\x18\x03 \x01(\x0b\x32#.yandex.cloud.trino.v1.WorkerConfigB\x04\xe8\xc7\x31\x01\x12>\n\x0cretry_policy\x18\x04 \x01(\x0b\x32(.yandex.cloud.trino.v1.RetryPolicyConfigJ\x04\x08\x05\x10\x06\"+\n\x15\x43reateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"N\n\x17UpdateCoordinatorConfig\x12\x33\n\tresources\x18\x01 \x01(\x0b\x32 .yandex.cloud.trino.v1.Resources\"\xc4\x02\n\x12UpdateWorkerConfig\x12\x33\n\tresources\x18\x01 \x01(\x0b\x32 .yandex.cloud.trino.v1.Resources\x12Q\n\x0cscale_policy\x18\x02 \x01(\x0b\x32;.yandex.cloud.trino.v1.UpdateWorkerConfig.WorkerScalePolicy\x1a\xa5\x01\n\x11WorkerScalePolicy\x12>\n\x0b\x66ixed_scale\x18\x01 \x01(\x0b\x32\'.yandex.cloud.trino.v1.FixedScalePolicyH\x00\x12<\n\nauto_scale\x18\x02 \x01(\x0b\x32&.yandex.cloud.trino.v1.AutoScalePolicyH\x00\x42\x12\n\nscale_type\x12\x04\xc0\xc1\x31\x01\"\xeb\x01\n\x15UpdateTrinoConfigSpec\x12J\n\x12\x63oordinator_config\x18\x01 \x01(\x0b\x32..yandex.cloud.trino.v1.UpdateCoordinatorConfig\x12@\n\rworker_config\x18\x02 \x01(\x0b\x32).yandex.cloud.trino.v1.UpdateWorkerConfig\x12>\n\x0cretry_policy\x18\x04 \x01(\x0b\x32(.yandex.cloud.trino.v1.RetryPolicyConfigJ\x04\x08\x03\x10\x04\"5\n\x17UpdateNetworkConfigSpec\x12\x1a\n\x12security_group_ids\x18\x01 \x03(\t\"\xac\x05\n\x14UpdateClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12(\n\x04name\x18\x03 \x01(\tB\x1a\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x84\x01\n\x06labels\x18\x05 \x03(\x0b\x32\x37.yandex.cloud.trino.v1.UpdateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12\x1b\n\x13\x64\x65letion_protection\x18\x06 \x01(\x08\x12;\n\x05trino\x18\x07 \x01(\x0b\x32,.yandex.cloud.trino.v1.UpdateTrinoConfigSpec\x12\x44\n\x0cnetwork_spec\x18\x08 \x01(\x0b\x32..yandex.cloud.trino.v1.UpdateNetworkConfigSpec\x12$\n\x12service_account_id\x18\t \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\n \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x44\n\x12maintenance_window\x18\x0b \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\n\x15UpdateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"7\n\x13StartClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"*\n\x14StartClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"6\n\x12StopClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x13StopClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"~\n\x1cListClusterOperationsRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"o\n\x1dListClusterOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xcc\n\n\x0e\x43lusterService\x12\x80\x01\n\x03Get\x12(.yandex.cloud.trino.v1.GetClusterRequest\x1a\x1e.yandex.cloud.trino.v1.Cluster\"/\x82\xd3\xe4\x93\x02)\x12\'/managed-trino/v1/clusters/{cluster_id}\x12\x83\x01\n\x04List\x12*.yandex.cloud.trino.v1.ListClustersRequest\x1a+.yandex.cloud.trino.v1.ListClustersResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/managed-trino/v1/clusters\x12\xa3\x01\n\x06\x43reate\x12+.yandex.cloud.trino.v1.CreateClusterRequest\x1a!.yandex.cloud.operation.Operation\"I\xb2\xd2* \n\x15\x43reateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x1f\"\x1a/managed-trino/v1/clusters:\x01*\x12\xb0\x01\n\x06Update\x12+.yandex.cloud.trino.v1.UpdateClusterRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2* \n\x15UpdateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02,2\'/managed-trino/v1/clusters/{cluster_id}:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12+.yandex.cloud.trino.v1.DeleteClusterRequest\x1a!.yandex.cloud.operation.Operation\"a\xb2\xd2*.\n\x15\x44\x65leteClusterMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02)*\'/managed-trino/v1/clusters/{cluster_id}\x12\xb0\x01\n\x05Start\x12*.yandex.cloud.trino.v1.StartClusterRequest\x1a!.yandex.cloud.operation.Operation\"X\xb2\xd2*\x1f\n\x14StartClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02/\"-/managed-trino/v1/clusters/{cluster_id}:start\x12\xac\x01\n\x04Stop\x12).yandex.cloud.trino.v1.StopClusterRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2*\x1e\n\x13StopClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02.\",/managed-trino/v1/clusters/{cluster_id}:stop\x12\xb7\x01\n\x0eListOperations\x12\x33.yandex.cloud.trino.v1.ListClusterOperationsRequest\x1a\x34.yandex.cloud.trino.v1.ListClusterOperationsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/managed-trino/v1/clusters/{cluster_id}/operationsB\\\n\x19yandex.cloud.api.trino.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/trino/v1;trinob\x06proto3')
35
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/trino/v1/cluster_service.proto\x12\x15yandex.cloud.trino.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a#yandex/cloud/trino/v1/catalog.proto\x1a#yandex/cloud/trino/v1/cluster.proto\x1a\'yandex/cloud/trino/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"5\n\x11GetClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x13ListClustersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"a\n\x14ListClustersResponse\x12\x30\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.trino.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf9\x04\n\x14\x43reateClusterRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12,\n\x04name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x84\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x37.yandex.cloud.trino.v1.CreateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12;\n\x05trino\x18\x05 \x01(\x0b\x32&.yandex.cloud.trino.v1.TrinoConfigSpecB\x04\xe8\xc7\x31\x01\x12;\n\x07network\x18\x06 \x01(\x0b\x32$.yandex.cloud.trino.v1.NetworkConfigB\x04\xe8\xc7\x31\x01\x12\x1b\n\x13\x64\x65letion_protection\x18\x07 \x01(\x08\x12(\n\x12service_account_id\x18\x08 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\t \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x44\n\x12maintenance_window\x18\n \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xac\x02\n\x0fTrinoConfigSpec\x12\x34\n\x08\x63\x61talogs\x18\x01 \x03(\x0b\x32\".yandex.cloud.trino.v1.CatalogSpec\x12J\n\x12\x63oordinator_config\x18\x02 \x01(\x0b\x32(.yandex.cloud.trino.v1.CoordinatorConfigB\x04\xe8\xc7\x31\x01\x12@\n\rworker_config\x18\x03 \x01(\x0b\x32#.yandex.cloud.trino.v1.WorkerConfigB\x04\xe8\xc7\x31\x01\x12>\n\x0cretry_policy\x18\x04 \x01(\x0b\x32(.yandex.cloud.trino.v1.RetryPolicyConfig\x12\x0f\n\x07version\x18\x06 \x01(\tJ\x04\x08\x05\x10\x06\"+\n\x15\x43reateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"N\n\x17UpdateCoordinatorConfig\x12\x33\n\tresources\x18\x01 \x01(\x0b\x32 .yandex.cloud.trino.v1.Resources\"\xc4\x02\n\x12UpdateWorkerConfig\x12\x33\n\tresources\x18\x01 \x01(\x0b\x32 .yandex.cloud.trino.v1.Resources\x12Q\n\x0cscale_policy\x18\x02 \x01(\x0b\x32;.yandex.cloud.trino.v1.UpdateWorkerConfig.WorkerScalePolicy\x1a\xa5\x01\n\x11WorkerScalePolicy\x12>\n\x0b\x66ixed_scale\x18\x01 \x01(\x0b\x32\'.yandex.cloud.trino.v1.FixedScalePolicyH\x00\x12<\n\nauto_scale\x18\x02 \x01(\x0b\x32&.yandex.cloud.trino.v1.AutoScalePolicyH\x00\x42\x12\n\nscale_type\x12\x04\xc0\xc1\x31\x01\"\xf6\x01\n\x15UpdateTrinoConfigSpec\x12J\n\x12\x63oordinator_config\x18\x01 \x01(\x0b\x32..yandex.cloud.trino.v1.UpdateCoordinatorConfig\x12@\n\rworker_config\x18\x02 \x01(\x0b\x32).yandex.cloud.trino.v1.UpdateWorkerConfig\x12\x0f\n\x07version\x18\x03 \x01(\t\x12>\n\x0cretry_policy\x18\x04 \x01(\x0b\x32(.yandex.cloud.trino.v1.RetryPolicyConfig\"5\n\x17UpdateNetworkConfigSpec\x12\x1a\n\x12security_group_ids\x18\x01 \x03(\t\"\xac\x05\n\x14UpdateClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12(\n\x04name\x18\x03 \x01(\tB\x1a\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x84\x01\n\x06labels\x18\x05 \x03(\x0b\x32\x37.yandex.cloud.trino.v1.UpdateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12\x1b\n\x13\x64\x65letion_protection\x18\x06 \x01(\x08\x12;\n\x05trino\x18\x07 \x01(\x0b\x32,.yandex.cloud.trino.v1.UpdateTrinoConfigSpec\x12\x44\n\x0cnetwork_spec\x18\x08 \x01(\x0b\x32..yandex.cloud.trino.v1.UpdateNetworkConfigSpec\x12$\n\x12service_account_id\x18\t \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\n \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x44\n\x12maintenance_window\x18\x0b \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\n\x15UpdateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"7\n\x13StartClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"*\n\x14StartClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"6\n\x12StopClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x13StopClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"~\n\x1cListClusterOperationsRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"o\n\x1dListClusterOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xcc\n\n\x0e\x43lusterService\x12\x80\x01\n\x03Get\x12(.yandex.cloud.trino.v1.GetClusterRequest\x1a\x1e.yandex.cloud.trino.v1.Cluster\"/\x82\xd3\xe4\x93\x02)\x12\'/managed-trino/v1/clusters/{cluster_id}\x12\x83\x01\n\x04List\x12*.yandex.cloud.trino.v1.ListClustersRequest\x1a+.yandex.cloud.trino.v1.ListClustersResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/managed-trino/v1/clusters\x12\xa3\x01\n\x06\x43reate\x12+.yandex.cloud.trino.v1.CreateClusterRequest\x1a!.yandex.cloud.operation.Operation\"I\xb2\xd2* \n\x15\x43reateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x1f\"\x1a/managed-trino/v1/clusters:\x01*\x12\xb0\x01\n\x06Update\x12+.yandex.cloud.trino.v1.UpdateClusterRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2* \n\x15UpdateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02,2\'/managed-trino/v1/clusters/{cluster_id}:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12+.yandex.cloud.trino.v1.DeleteClusterRequest\x1a!.yandex.cloud.operation.Operation\"a\xb2\xd2*.\n\x15\x44\x65leteClusterMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02)*\'/managed-trino/v1/clusters/{cluster_id}\x12\xb0\x01\n\x05Start\x12*.yandex.cloud.trino.v1.StartClusterRequest\x1a!.yandex.cloud.operation.Operation\"X\xb2\xd2*\x1f\n\x14StartClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02/\"-/managed-trino/v1/clusters/{cluster_id}:start\x12\xac\x01\n\x04Stop\x12).yandex.cloud.trino.v1.StopClusterRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2*\x1e\n\x13StopClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02.\",/managed-trino/v1/clusters/{cluster_id}:stop\x12\xb7\x01\n\x0eListOperations\x12\x33.yandex.cloud.trino.v1.ListClusterOperationsRequest\x1a\x34.yandex.cloud.trino.v1.ListClusterOperationsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/managed-trino/v1/clusters/{cluster_id}/operationsB\\\n\x19yandex.cloud.api.trino.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/trino/v1;trinob\x06proto3')
36
36
 
37
37
  _globals = globals()
38
38
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -123,41 +123,41 @@ if not _descriptor._USE_C_DESCRIPTORS:
123
123
  _globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_start=1244
124
124
  _globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_end=1289
125
125
  _globals['_TRINOCONFIGSPEC']._serialized_start=1292
126
- _globals['_TRINOCONFIGSPEC']._serialized_end=1575
127
- _globals['_CREATECLUSTERMETADATA']._serialized_start=1577
128
- _globals['_CREATECLUSTERMETADATA']._serialized_end=1620
129
- _globals['_UPDATECOORDINATORCONFIG']._serialized_start=1622
130
- _globals['_UPDATECOORDINATORCONFIG']._serialized_end=1700
131
- _globals['_UPDATEWORKERCONFIG']._serialized_start=1703
132
- _globals['_UPDATEWORKERCONFIG']._serialized_end=2027
133
- _globals['_UPDATEWORKERCONFIG_WORKERSCALEPOLICY']._serialized_start=1862
134
- _globals['_UPDATEWORKERCONFIG_WORKERSCALEPOLICY']._serialized_end=2027
135
- _globals['_UPDATETRINOCONFIGSPEC']._serialized_start=2030
136
- _globals['_UPDATETRINOCONFIGSPEC']._serialized_end=2265
137
- _globals['_UPDATENETWORKCONFIGSPEC']._serialized_start=2267
138
- _globals['_UPDATENETWORKCONFIGSPEC']._serialized_end=2320
139
- _globals['_UPDATECLUSTERREQUEST']._serialized_start=2323
140
- _globals['_UPDATECLUSTERREQUEST']._serialized_end=3007
126
+ _globals['_TRINOCONFIGSPEC']._serialized_end=1592
127
+ _globals['_CREATECLUSTERMETADATA']._serialized_start=1594
128
+ _globals['_CREATECLUSTERMETADATA']._serialized_end=1637
129
+ _globals['_UPDATECOORDINATORCONFIG']._serialized_start=1639
130
+ _globals['_UPDATECOORDINATORCONFIG']._serialized_end=1717
131
+ _globals['_UPDATEWORKERCONFIG']._serialized_start=1720
132
+ _globals['_UPDATEWORKERCONFIG']._serialized_end=2044
133
+ _globals['_UPDATEWORKERCONFIG_WORKERSCALEPOLICY']._serialized_start=1879
134
+ _globals['_UPDATEWORKERCONFIG_WORKERSCALEPOLICY']._serialized_end=2044
135
+ _globals['_UPDATETRINOCONFIGSPEC']._serialized_start=2047
136
+ _globals['_UPDATETRINOCONFIGSPEC']._serialized_end=2293
137
+ _globals['_UPDATENETWORKCONFIGSPEC']._serialized_start=2295
138
+ _globals['_UPDATENETWORKCONFIGSPEC']._serialized_end=2348
139
+ _globals['_UPDATECLUSTERREQUEST']._serialized_start=2351
140
+ _globals['_UPDATECLUSTERREQUEST']._serialized_end=3035
141
141
  _globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_start=1244
142
142
  _globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_end=1289
143
- _globals['_UPDATECLUSTERMETADATA']._serialized_start=3009
144
- _globals['_UPDATECLUSTERMETADATA']._serialized_end=3052
145
- _globals['_DELETECLUSTERREQUEST']._serialized_start=3054
146
- _globals['_DELETECLUSTERREQUEST']._serialized_end=3110
147
- _globals['_DELETECLUSTERMETADATA']._serialized_start=3112
148
- _globals['_DELETECLUSTERMETADATA']._serialized_end=3155
149
- _globals['_STARTCLUSTERREQUEST']._serialized_start=3157
150
- _globals['_STARTCLUSTERREQUEST']._serialized_end=3212
151
- _globals['_STARTCLUSTERMETADATA']._serialized_start=3214
152
- _globals['_STARTCLUSTERMETADATA']._serialized_end=3256
153
- _globals['_STOPCLUSTERREQUEST']._serialized_start=3258
154
- _globals['_STOPCLUSTERREQUEST']._serialized_end=3312
155
- _globals['_STOPCLUSTERMETADATA']._serialized_start=3314
156
- _globals['_STOPCLUSTERMETADATA']._serialized_end=3355
157
- _globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_start=3357
158
- _globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_end=3483
159
- _globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_start=3485
160
- _globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_end=3596
161
- _globals['_CLUSTERSERVICE']._serialized_start=3599
162
- _globals['_CLUSTERSERVICE']._serialized_end=4955
143
+ _globals['_UPDATECLUSTERMETADATA']._serialized_start=3037
144
+ _globals['_UPDATECLUSTERMETADATA']._serialized_end=3080
145
+ _globals['_DELETECLUSTERREQUEST']._serialized_start=3082
146
+ _globals['_DELETECLUSTERREQUEST']._serialized_end=3138
147
+ _globals['_DELETECLUSTERMETADATA']._serialized_start=3140
148
+ _globals['_DELETECLUSTERMETADATA']._serialized_end=3183
149
+ _globals['_STARTCLUSTERREQUEST']._serialized_start=3185
150
+ _globals['_STARTCLUSTERREQUEST']._serialized_end=3240
151
+ _globals['_STARTCLUSTERMETADATA']._serialized_start=3242
152
+ _globals['_STARTCLUSTERMETADATA']._serialized_end=3284
153
+ _globals['_STOPCLUSTERREQUEST']._serialized_start=3286
154
+ _globals['_STOPCLUSTERREQUEST']._serialized_end=3340
155
+ _globals['_STOPCLUSTERMETADATA']._serialized_start=3342
156
+ _globals['_STOPCLUSTERMETADATA']._serialized_end=3383
157
+ _globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_start=3385
158
+ _globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_end=3511
159
+ _globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_start=3513
160
+ _globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_end=3624
161
+ _globals['_CLUSTERSERVICE']._serialized_start=3627
162
+ _globals['_CLUSTERSERVICE']._serialized_end=4983
163
163
  # @@protoc_insertion_point(module_scope)
@@ -186,6 +186,11 @@ class TrinoConfigSpec(google.protobuf.message.Message):
186
186
  COORDINATOR_CONFIG_FIELD_NUMBER: builtins.int
187
187
  WORKER_CONFIG_FIELD_NUMBER: builtins.int
188
188
  RETRY_POLICY_FIELD_NUMBER: builtins.int
189
+ VERSION_FIELD_NUMBER: builtins.int
190
+ version: builtins.str
191
+ """Trino version.
192
+ Format: "Number".
193
+ """
189
194
  @property
190
195
  def catalogs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.trino.v1.catalog_pb2.CatalogSpec]:
191
196
  """List of catalogs that enable integration with various data sources.
@@ -211,9 +216,10 @@ class TrinoConfigSpec(google.protobuf.message.Message):
211
216
  coordinator_config: yandex.cloud.trino.v1.cluster_pb2.CoordinatorConfig | None = ...,
212
217
  worker_config: yandex.cloud.trino.v1.cluster_pb2.WorkerConfig | None = ...,
213
218
  retry_policy: yandex.cloud.trino.v1.cluster_pb2.RetryPolicyConfig | None = ...,
219
+ version: builtins.str = ...,
214
220
  ) -> None: ...
215
221
  def HasField(self, field_name: typing.Literal["coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "worker_config", b"worker_config"]) -> builtins.bool: ...
216
- def ClearField(self, field_name: typing.Literal["catalogs", b"catalogs", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "worker_config", b"worker_config"]) -> None: ...
222
+ def ClearField(self, field_name: typing.Literal["catalogs", b"catalogs", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
217
223
 
218
224
  global___TrinoConfigSpec = TrinoConfigSpec
219
225
 
@@ -310,7 +316,12 @@ class UpdateTrinoConfigSpec(google.protobuf.message.Message):
310
316
 
311
317
  COORDINATOR_CONFIG_FIELD_NUMBER: builtins.int
312
318
  WORKER_CONFIG_FIELD_NUMBER: builtins.int
319
+ VERSION_FIELD_NUMBER: builtins.int
313
320
  RETRY_POLICY_FIELD_NUMBER: builtins.int
321
+ version: builtins.str
322
+ """Trino version.
323
+ Format: "Number".
324
+ """
314
325
  @property
315
326
  def coordinator_config(self) -> global___UpdateCoordinatorConfig:
316
327
  """Configuration for the coordinator, specifying computational resources and other settings."""
@@ -328,10 +339,11 @@ class UpdateTrinoConfigSpec(google.protobuf.message.Message):
328
339
  *,
329
340
  coordinator_config: global___UpdateCoordinatorConfig | None = ...,
330
341
  worker_config: global___UpdateWorkerConfig | None = ...,
342
+ version: builtins.str = ...,
331
343
  retry_policy: yandex.cloud.trino.v1.cluster_pb2.RetryPolicyConfig | None = ...,
332
344
  ) -> None: ...
333
345
  def HasField(self, field_name: typing.Literal["coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "worker_config", b"worker_config"]) -> builtins.bool: ...
334
- def ClearField(self, field_name: typing.Literal["coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "worker_config", b"worker_config"]) -> None: ...
346
+ def ClearField(self, field_name: typing.Literal["coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
335
347
 
336
348
  global___UpdateTrinoConfigSpec = UpdateTrinoConfigSpec
337
349
 
yandexcloud/__init__.py CHANGED
@@ -11,4 +11,4 @@ from yandexcloud._retry_interceptor import RetryInterceptor
11
11
  from yandexcloud._retry_policy import RetryPolicy, ThrottlingMode
12
12
  from yandexcloud._sdk import SDK
13
13
 
14
- __version__ = "0.354.0"
14
+ __version__ = "0.355.0"