yandexcloud 0.334.0__py3-none-any.whl → 0.335.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 (65) hide show
  1. yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +8 -8
  2. yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +11 -3
  3. yandex/cloud/cic/v1/partner_pb2.pyi +1 -1
  4. yandex/cloud/cic/v1/private_connection_pb2.py +10 -9
  5. yandex/cloud/cic/v1/private_connection_pb2.pyi +40 -12
  6. yandex/cloud/cic/v1/private_connection_service_pb2.py +76 -9
  7. yandex/cloud/cic/v1/private_connection_service_pb2.pyi +379 -1
  8. yandex/cloud/cic/v1/private_connection_service_pb2_grpc.py +270 -0
  9. yandex/cloud/cic/v1/private_connection_service_pb2_grpc.pyi +151 -0
  10. yandex/cloud/cic/v1/public_connection_pb2.py +10 -7
  11. yandex/cloud/cic/v1/public_connection_pb2.pyi +32 -2
  12. yandex/cloud/cic/v1/trunk_connection_pb2.py +16 -13
  13. yandex/cloud/cic/v1/trunk_connection_pb2.pyi +38 -2
  14. yandex/cloud/cic/v1/trunk_connection_service_pb2.py +62 -9
  15. yandex/cloud/cic/v1/trunk_connection_service_pb2.pyi +360 -1
  16. yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.py +180 -0
  17. yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.pyi +99 -0
  18. yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +16 -15
  19. yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +11 -3
  20. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +86 -15
  21. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +388 -1
  22. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +360 -0
  23. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +203 -0
  24. yandex/cloud/compute/v1/instance_pb2.py +52 -52
  25. yandex/cloud/compute/v1/instance_pb2.pyi +5 -1
  26. yandex/cloud/compute/v1/instance_service_pb2.py +130 -126
  27. yandex/cloud/compute/v1/instance_service_pb2.pyi +17 -2
  28. yandex/cloud/compute/v1/reserved_instance_pool_pb2.py +59 -0
  29. yandex/cloud/compute/v1/reserved_instance_pool_pb2.pyi +171 -0
  30. yandex/cloud/compute/v1/reserved_instance_pool_pb2_grpc.py +24 -0
  31. yandex/cloud/compute/v1/reserved_instance_pool_pb2_grpc.pyi +17 -0
  32. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.py +123 -0
  33. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.pyi +345 -0
  34. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.py +282 -0
  35. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.pyi +147 -0
  36. yandex/cloud/mdb/greenplum/v1/cluster_pb2.py +30 -24
  37. yandex/cloud/mdb/greenplum/v1/cluster_pb2.pyi +47 -2
  38. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +78 -78
  39. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +29 -5
  40. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +0 -2
  41. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +38 -22
  42. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +193 -13
  43. yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +18 -18
  44. yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +8 -0
  45. yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +18 -18
  46. yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +8 -0
  47. yandex/cloud/mdb/mysql/v1/user_pb2.py +3 -3
  48. yandex/cloud/mdb/mysql/v1/user_pb2.pyi +8 -0
  49. yandex/cloud/storage/v1/bucket_pb2.py +75 -73
  50. yandex/cloud/video/v1/channel_service_pb2.py +36 -29
  51. yandex/cloud/video/v1/channel_service_pb2_grpc.py +133 -0
  52. yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +61 -0
  53. yandex/cloud/video/v1/episode_service_pb2.py +54 -53
  54. yandex/cloud/video/v1/episode_service_pb2.pyi +9 -2
  55. yandexcloud/__init__.py +2 -1
  56. yandexcloud/_channels.py +8 -3
  57. yandexcloud/_retry_interceptor.py +2 -0
  58. yandexcloud/_retry_policy.py +31 -0
  59. yandexcloud/_sdk.py +5 -10
  60. {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/METADATA +20 -1
  61. {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/RECORD +65 -56
  62. {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/WHEEL +1 -1
  63. {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/AUTHORS +0 -0
  64. {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/LICENSE +0 -0
  65. {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/top_level.txt +0 -0
@@ -159,6 +159,8 @@ class CreateClusterRequest(google.protobuf.message.Message):
159
159
  CLOUD_STORAGE_FIELD_NUMBER: builtins.int
160
160
  MASTER_HOST_GROUP_IDS_FIELD_NUMBER: builtins.int
161
161
  SEGMENT_HOST_GROUP_IDS_FIELD_NUMBER: builtins.int
162
+ SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
163
+ LOGGING_FIELD_NUMBER: builtins.int
162
164
  folder_id: builtins.str
163
165
  """ID of the folder to create the Greenplum® cluster in."""
164
166
  name: builtins.str
@@ -181,6 +183,8 @@ class CreateClusterRequest(google.protobuf.message.Message):
181
183
  """ID of the network to create the cluster in."""
182
184
  deletion_protection: builtins.bool
183
185
  """Determines whether the cluster is protected from being deleted."""
186
+ service_account_id: builtins.str
187
+ """ID of the service account used for access Yandex Cloud resources."""
184
188
  @property
185
189
  def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
186
190
  """Custom labels for the Greenplum® cluster as `key:value` pairs.
@@ -227,6 +231,10 @@ class CreateClusterRequest(google.protobuf.message.Message):
227
231
  def segment_host_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
228
232
  """Host groups hosting VMs of the segment subcluster."""
229
233
 
234
+ @property
235
+ def logging(self) -> yandex.cloud.mdb.greenplum.v1.cluster_pb2.LoggingConfig:
236
+ """Cloud logging configuration"""
237
+
230
238
  def __init__(
231
239
  self,
232
240
  *,
@@ -252,9 +260,11 @@ class CreateClusterRequest(google.protobuf.message.Message):
252
260
  cloud_storage: yandex.cloud.mdb.greenplum.v1.cluster_pb2.CloudStorage | None = ...,
253
261
  master_host_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
254
262
  segment_host_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
263
+ service_account_id: builtins.str = ...,
264
+ logging: yandex.cloud.mdb.greenplum.v1.cluster_pb2.LoggingConfig | None = ...,
255
265
  ) -> None: ...
256
- def HasField(self, field_name: typing.Literal["cloud_storage", b"cloud_storage", "config", b"config", "config_spec", b"config_spec", "maintenance_window", b"maintenance_window", "master_config", b"master_config", "segment_config", b"segment_config"]) -> builtins.bool: ...
257
- def ClearField(self, field_name: typing.Literal["cloud_storage", b"cloud_storage", "config", b"config", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_group_ids", b"host_group_ids", "labels", b"labels", "maintenance_window", b"maintenance_window", "master_config", b"master_config", "master_host_count", b"master_host_count", "master_host_group_ids", b"master_host_group_ids", "name", b"name", "network_id", b"network_id", "security_group_ids", b"security_group_ids", "segment_config", b"segment_config", "segment_host_count", b"segment_host_count", "segment_host_group_ids", b"segment_host_group_ids", "segment_in_host", b"segment_in_host", "user_name", b"user_name", "user_password", b"user_password"]) -> None: ...
266
+ def HasField(self, field_name: typing.Literal["cloud_storage", b"cloud_storage", "config", b"config", "config_spec", b"config_spec", "logging", b"logging", "maintenance_window", b"maintenance_window", "master_config", b"master_config", "segment_config", b"segment_config"]) -> builtins.bool: ...
267
+ def ClearField(self, field_name: typing.Literal["cloud_storage", b"cloud_storage", "config", b"config", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_group_ids", b"host_group_ids", "labels", b"labels", "logging", b"logging", "maintenance_window", b"maintenance_window", "master_config", b"master_config", "master_host_count", b"master_host_count", "master_host_group_ids", b"master_host_group_ids", "name", b"name", "network_id", b"network_id", "security_group_ids", b"security_group_ids", "segment_config", b"segment_config", "segment_host_count", b"segment_host_count", "segment_host_group_ids", b"segment_host_group_ids", "segment_in_host", b"segment_in_host", "service_account_id", b"service_account_id", "user_name", b"user_name", "user_password", b"user_password"]) -> None: ...
258
268
 
259
269
  global___CreateClusterRequest = CreateClusterRequest
260
270
 
@@ -361,6 +371,8 @@ class UpdateClusterRequest(google.protobuf.message.Message):
361
371
  DELETION_PROTECTION_FIELD_NUMBER: builtins.int
362
372
  CONFIG_SPEC_FIELD_NUMBER: builtins.int
363
373
  CLOUD_STORAGE_FIELD_NUMBER: builtins.int
374
+ SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
375
+ LOGGING_FIELD_NUMBER: builtins.int
364
376
  cluster_id: builtins.str
365
377
  """ID of the Greenplum® cluster resource to update.
366
378
  To get the Greenplum® cluster ID, use a [ClusterService.List] request.
@@ -375,6 +387,8 @@ class UpdateClusterRequest(google.protobuf.message.Message):
375
387
  """ID of the network to move the cluster to."""
376
388
  deletion_protection: builtins.bool
377
389
  """Determines whether the cluster is protected from being deleted."""
390
+ service_account_id: builtins.str
391
+ """ID of the service account used for access YC resources."""
378
392
  @property
379
393
  def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
380
394
  """Field mask that specifies which fields of the Greenplum® cluster resource should be updated."""
@@ -416,6 +430,10 @@ class UpdateClusterRequest(google.protobuf.message.Message):
416
430
  def cloud_storage(self) -> yandex.cloud.mdb.greenplum.v1.cluster_pb2.CloudStorage:
417
431
  """Cloud storage settings"""
418
432
 
433
+ @property
434
+ def logging(self) -> yandex.cloud.mdb.greenplum.v1.cluster_pb2.LoggingConfig:
435
+ """Cloud logging configuration"""
436
+
419
437
  def __init__(
420
438
  self,
421
439
  *,
@@ -434,9 +452,11 @@ class UpdateClusterRequest(google.protobuf.message.Message):
434
452
  deletion_protection: builtins.bool = ...,
435
453
  config_spec: global___ConfigSpec | None = ...,
436
454
  cloud_storage: yandex.cloud.mdb.greenplum.v1.cluster_pb2.CloudStorage | None = ...,
455
+ service_account_id: builtins.str = ...,
456
+ logging: yandex.cloud.mdb.greenplum.v1.cluster_pb2.LoggingConfig | None = ...,
437
457
  ) -> None: ...
438
- def HasField(self, field_name: typing.Literal["cloud_storage", b"cloud_storage", "config", b"config", "config_spec", b"config_spec", "maintenance_window", b"maintenance_window", "master_config", b"master_config", "segment_config", b"segment_config", "update_mask", b"update_mask"]) -> builtins.bool: ...
439
- def ClearField(self, field_name: typing.Literal["cloud_storage", b"cloud_storage", "cluster_id", b"cluster_id", "config", b"config", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "maintenance_window", b"maintenance_window", "master_config", b"master_config", "name", b"name", "network_id", b"network_id", "security_group_ids", b"security_group_ids", "segment_config", b"segment_config", "update_mask", b"update_mask", "user_password", b"user_password"]) -> None: ...
458
+ def HasField(self, field_name: typing.Literal["cloud_storage", b"cloud_storage", "config", b"config", "config_spec", b"config_spec", "logging", b"logging", "maintenance_window", b"maintenance_window", "master_config", b"master_config", "segment_config", b"segment_config", "update_mask", b"update_mask"]) -> builtins.bool: ...
459
+ def ClearField(self, field_name: typing.Literal["cloud_storage", b"cloud_storage", "cluster_id", b"cluster_id", "config", b"config", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "logging", b"logging", "maintenance_window", b"maintenance_window", "master_config", b"master_config", "name", b"name", "network_id", b"network_id", "security_group_ids", b"security_group_ids", "segment_config", b"segment_config", "service_account_id", b"service_account_id", "update_mask", b"update_mask", "user_password", b"user_password"]) -> None: ...
440
460
 
441
461
  global___UpdateClusterRequest = UpdateClusterRequest
442
462
 
@@ -1240,6 +1260,7 @@ class RestoreClusterRequest(google.protobuf.message.Message):
1240
1260
  RESTORE_ONLY_FIELD_NUMBER: builtins.int
1241
1261
  MASTER_HOST_GROUP_IDS_FIELD_NUMBER: builtins.int
1242
1262
  SEGMENT_HOST_GROUP_IDS_FIELD_NUMBER: builtins.int
1263
+ SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
1243
1264
  backup_id: builtins.str
1244
1265
  """ID of the backup to create a cluster from.
1245
1266
 
@@ -1263,6 +1284,8 @@ class RestoreClusterRequest(google.protobuf.message.Message):
1263
1284
  """Number of segment hosts"""
1264
1285
  segment_in_host: builtins.int
1265
1286
  """Number of segments on each host"""
1287
+ service_account_id: builtins.str
1288
+ """Service account that will be used to access a Yandex Cloud resources"""
1266
1289
  @property
1267
1290
  def time(self) -> google.protobuf.timestamp_pb2.Timestamp:
1268
1291
  """Timestamp of the moment to which the Greenplum cluster should be restored."""
@@ -1333,9 +1356,10 @@ class RestoreClusterRequest(google.protobuf.message.Message):
1333
1356
  restore_only: collections.abc.Iterable[builtins.str] | None = ...,
1334
1357
  master_host_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
1335
1358
  segment_host_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
1359
+ service_account_id: builtins.str = ...,
1336
1360
  ) -> None: ...
1337
1361
  def HasField(self, field_name: typing.Literal["config", b"config", "maintenance_window", b"maintenance_window", "master_resources", b"master_resources", "segment_resources", b"segment_resources", "time", b"time"]) -> builtins.bool: ...
1338
- def ClearField(self, field_name: typing.Literal["backup_id", b"backup_id", "config", b"config", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_group_ids", b"host_group_ids", "labels", b"labels", "maintenance_window", b"maintenance_window", "master_host_group_ids", b"master_host_group_ids", "master_resources", b"master_resources", "name", b"name", "network_id", b"network_id", "placement_group_id", b"placement_group_id", "restore_only", b"restore_only", "security_group_ids", b"security_group_ids", "segment_host_count", b"segment_host_count", "segment_host_group_ids", b"segment_host_group_ids", "segment_in_host", b"segment_in_host", "segment_resources", b"segment_resources", "time", b"time"]) -> None: ...
1362
+ def ClearField(self, field_name: typing.Literal["backup_id", b"backup_id", "config", b"config", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_group_ids", b"host_group_ids", "labels", b"labels", "maintenance_window", b"maintenance_window", "master_host_group_ids", b"master_host_group_ids", "master_resources", b"master_resources", "name", b"name", "network_id", b"network_id", "placement_group_id", b"placement_group_id", "restore_only", b"restore_only", "security_group_ids", b"security_group_ids", "segment_host_count", b"segment_host_count", "segment_host_group_ids", b"segment_host_group_ids", "segment_in_host", b"segment_in_host", "segment_resources", b"segment_resources", "service_account_id", b"service_account_id", "time", b"time"]) -> None: ...
1339
1363
 
1340
1364
  global___RestoreClusterRequest = RestoreClusterRequest
1341
1365
 
@@ -782,7 +782,6 @@ class ListClusterLogsRequest(google.protobuf.message.Message):
782
782
  MONGOS: ListClusterLogsRequest._ServiceType.ValueType # 2
783
783
  MONGOCFG: ListClusterLogsRequest._ServiceType.ValueType # 3
784
784
  AUDIT: ListClusterLogsRequest._ServiceType.ValueType # 4
785
- """MongoDB Enterprise audit logs"""
786
785
 
787
786
  class ServiceType(_ServiceType, metaclass=_ServiceTypeEnumTypeWrapper): ...
788
787
  SERVICE_TYPE_UNSPECIFIED: ListClusterLogsRequest.ServiceType.ValueType # 0
@@ -791,7 +790,6 @@ class ListClusterLogsRequest(google.protobuf.message.Message):
791
790
  MONGOS: ListClusterLogsRequest.ServiceType.ValueType # 2
792
791
  MONGOCFG: ListClusterLogsRequest.ServiceType.ValueType # 3
793
792
  AUDIT: ListClusterLogsRequest.ServiceType.ValueType # 4
794
- """MongoDB Enterprise audit logs"""
795
793
 
796
794
  CLUSTER_ID_FIELD_NUMBER: builtins.int
797
795
  COLUMN_FILTER_FIELD_NUMBER: builtins.int
@@ -26,7 +26,7 @@ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb
26
26
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
27
27
 
28
28
 
29
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/mdb/mongodb/v1/config/mongodb.proto\x12\"yandex.cloud.mdb.mongodb.v1.config\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\"\xcd\x15\n\x0cMongodConfig\x12I\n\x07storage\x18\x01 \x01(\x0b\x32\x38.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage\x12`\n\x13operation_profiling\x18\x02 \x01(\x0b\x32\x43.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.OperationProfiling\x12\x45\n\x03net\x18\x03 \x01(\x0b\x32\x38.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Network\x12K\n\x08security\x18\x04 \x01(\x0b\x32\x39.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Security\x12L\n\taudit_log\x18\x05 \x01(\x0b\x32\x39.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.AuditLog\x12T\n\rset_parameter\x18\x06 \x01(\x0b\x32=.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.SetParameter\x1a\xc2\x07\n\x07Storage\x12X\n\x0bwired_tiger\x18\x01 \x01(\x0b\x32\x43.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage.WiredTiger\x12Q\n\x07journal\x18\x02 \x01(\x0b\x32@.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage.Journal\x1a\xbd\x05\n\nWiredTiger\x12g\n\rengine_config\x18\x01 \x01(\x0b\x32P.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage.WiredTiger.EngineConfig\x12o\n\x11\x63ollection_config\x18\x02 \x01(\x0b\x32T.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage.WiredTiger.CollectionConfig\x12\x65\n\x0cindex_config\x18\x03 \x01(\x0b\x32O.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage.WiredTiger.IndexConfig\x1a\x43\n\x0c\x45ngineConfig\x12\x33\n\rcache_size_gb\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x1a\xe1\x01\n\x10\x43ollectionConfig\x12y\n\x10\x62lock_compressor\x18\x01 \x01(\x0e\x32_.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage.WiredTiger.CollectionConfig.Compressor\"R\n\nCompressor\x12\x1a\n\x16\x43OMPRESSOR_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\n\n\x06SNAPPY\x10\x02\x12\x08\n\x04ZLIB\x10\x03\x12\x08\n\x04ZSTD\x10\x04\x1a\x45\n\x0bIndexConfig\x12\x36\n\x12prefix_compression\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1aJ\n\x07Journal\x12?\n\x0f\x63ommit_interval\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\t\xfa\xc7\x31\x05\x31-500\x1a\xad\x02\n\x12OperationProfiling\x12V\n\x04mode\x18\x01 \x01(\x0e\x32H.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.OperationProfiling.Mode\x12>\n\x11slow_op_threshold\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x06\xfa\xc7\x31\x02>0\x12\x42\n\x13slow_op_sample_rate\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x07\xfa\xc7\x31\x03\x30-1\";\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x07\n\x03OFF\x10\x01\x12\x0b\n\x07SLOW_OP\x10\x02\x12\x07\n\x03\x41LL\x10\x03\x1a\x88\x03\n\x07Network\x12K\n\x18max_incoming_connections\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0c\xfa\xc7\x31\x08\x31\x30-16384\x12Y\n\x0b\x63ompression\x18\x02 \x01(\x0b\x32\x44.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Network.Compression\x1a\xd4\x01\n\x0b\x43ompression\x12m\n\x0b\x63ompressors\x18\x01 \x03(\x0e\x32O.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Network.Compression.CompressorB\x07\x82\xc8\x31\x03\x31-3\"V\n\nCompressor\x12\x1a\n\x16\x43OMPRESSOR_UNSPECIFIED\x10\x00\x12\n\n\x06SNAPPY\x10\x01\x12\x08\n\x04ZLIB\x10\x02\x12\x08\n\x04ZSTD\x10\x03\x12\x0c\n\x08\x44ISABLED\x10\x04\x1a\x9f\x02\n\x08Security\x12\x35\n\x11\x65nable_encryption\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12L\n\x04kmip\x18\x02 \x01(\x0b\x32>.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Security.KMIP\x1a\x8d\x01\n\x04KMIP\x12\x13\n\x0bserver_name\x18\x01 \x01(\t\x12)\n\x04port\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x11\n\tserver_ca\x18\x03 \x01(\t\x12\x1a\n\x12\x63lient_certificate\x18\x04 \x01(\t\x12\x16\n\x0ekey_identifier\x18\x05 \x01(\t\x1aU\n\x08\x41uditLog\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\x12\x39\n\x15runtime_configuration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1a\xde\x01\n\x0cSetParameter\x12?\n\x1b\x61udit_authorization_success\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x37\n\x13\x65nable_flow_control\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12T\n&min_snapshot_history_window_in_seconds\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x07\xfa\xc7\x31\x03>=0\"\xf7\x06\n\x0eMongoCfgConfig\x12K\n\x07storage\x18\x01 \x01(\x0b\x32:.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.Storage\x12\x62\n\x13operation_profiling\x18\x02 \x01(\x0b\x32\x45.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.OperationProfiling\x12G\n\x03net\x18\x03 \x01(\x0b\x32:.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.Network\x1a\xa4\x02\n\x07Storage\x12Z\n\x0bwired_tiger\x18\x01 \x01(\x0b\x32\x45.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.Storage.WiredTiger\x1a\xbc\x01\n\nWiredTiger\x12i\n\rengine_config\x18\x01 \x01(\x0b\x32R.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.Storage.WiredTiger.EngineConfig\x1a\x43\n\x0c\x45ngineConfig\x12\x33\n\rcache_size_gb\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x1a\xeb\x01\n\x12OperationProfiling\x12X\n\x04mode\x18\x01 \x01(\x0e\x32J.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.OperationProfiling.Mode\x12>\n\x11slow_op_threshold\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x06\xfa\xc7\x31\x02>0\";\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x07\n\x03OFF\x10\x01\x12\x0b\n\x07SLOW_OP\x10\x02\x12\x07\n\x03\x41LL\x10\x03\x1aV\n\x07Network\x12K\n\x18max_incoming_connections\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0c\xfa\xc7\x31\x08\x31\x30-16384\"\xe0\x03\n\x0cMongosConfig\x12\x45\n\x03net\x18\x03 \x01(\x0b\x32\x38.yandex.cloud.mdb.mongodb.v1.config.MongosConfig.Network\x1a\x88\x03\n\x07Network\x12K\n\x18max_incoming_connections\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0c\xfa\xc7\x31\x08\x31\x30-16384\x12Y\n\x0b\x63ompression\x18\x02 \x01(\x0b\x32\x44.yandex.cloud.mdb.mongodb.v1.config.MongosConfig.Network.Compression\x1a\xd4\x01\n\x0b\x43ompression\x12m\n\x0b\x63ompressors\x18\x01 \x03(\x0e\x32O.yandex.cloud.mdb.mongodb.v1.config.MongosConfig.Network.Compression.CompressorB\x07\x82\xc8\x31\x03\x31-3\"V\n\nCompressor\x12\x1a\n\x16\x43OMPRESSOR_UNSPECIFIED\x10\x00\x12\n\n\x06SNAPPY\x10\x01\x12\x08\n\x04ZLIB\x10\x02\x12\x08\n\x04ZSTD\x10\x03\x12\x0c\n\x08\x44ISABLED\x10\x04\"\xee\x01\n\x0fMongodConfigSet\x12J\n\x10\x65\x66\x66\x65\x63tive_config\x18\x01 \x01(\x0b\x32\x30.yandex.cloud.mdb.mongodb.v1.config.MongodConfig\x12\x45\n\x0buser_config\x18\x02 \x01(\x0b\x32\x30.yandex.cloud.mdb.mongodb.v1.config.MongodConfig\x12H\n\x0e\x64\x65\x66\x61ult_config\x18\x03 \x01(\x0b\x32\x30.yandex.cloud.mdb.mongodb.v1.config.MongodConfig\"\xf6\x01\n\x11MongoCfgConfigSet\x12L\n\x10\x65\x66\x66\x65\x63tive_config\x18\x01 \x01(\x0b\x32\x32.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig\x12G\n\x0buser_config\x18\x02 \x01(\x0b\x32\x32.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig\x12J\n\x0e\x64\x65\x66\x61ult_config\x18\x03 \x01(\x0b\x32\x32.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig\"\xee\x01\n\x0fMongosConfigSet\x12J\n\x10\x65\x66\x66\x65\x63tive_config\x18\x01 \x01(\x0b\x32\x30.yandex.cloud.mdb.mongodb.v1.config.MongosConfig\x12\x45\n\x0buser_config\x18\x02 \x01(\x0b\x32\x30.yandex.cloud.mdb.mongodb.v1.config.MongosConfig\x12H\n\x0e\x64\x65\x66\x61ult_config\x18\x03 \x01(\x0b\x32\x30.yandex.cloud.mdb.mongodb.v1.config.MongosConfigBx\n&yandex.cloud.api.mdb.mongodb.v1.configZNgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config;mongodbb\x06proto3')
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/mdb/mongodb/v1/config/mongodb.proto\x12\"yandex.cloud.mdb.mongodb.v1.config\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\"\xcd\x15\n\x0cMongodConfig\x12I\n\x07storage\x18\x01 \x01(\x0b\x32\x38.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage\x12`\n\x13operation_profiling\x18\x02 \x01(\x0b\x32\x43.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.OperationProfiling\x12\x45\n\x03net\x18\x03 \x01(\x0b\x32\x38.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Network\x12K\n\x08security\x18\x04 \x01(\x0b\x32\x39.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Security\x12L\n\taudit_log\x18\x05 \x01(\x0b\x32\x39.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.AuditLog\x12T\n\rset_parameter\x18\x06 \x01(\x0b\x32=.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.SetParameter\x1a\xc2\x07\n\x07Storage\x12X\n\x0bwired_tiger\x18\x01 \x01(\x0b\x32\x43.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage.WiredTiger\x12Q\n\x07journal\x18\x02 \x01(\x0b\x32@.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage.Journal\x1a\xbd\x05\n\nWiredTiger\x12g\n\rengine_config\x18\x01 \x01(\x0b\x32P.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage.WiredTiger.EngineConfig\x12o\n\x11\x63ollection_config\x18\x02 \x01(\x0b\x32T.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage.WiredTiger.CollectionConfig\x12\x65\n\x0cindex_config\x18\x03 \x01(\x0b\x32O.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage.WiredTiger.IndexConfig\x1a\x43\n\x0c\x45ngineConfig\x12\x33\n\rcache_size_gb\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x1a\xe1\x01\n\x10\x43ollectionConfig\x12y\n\x10\x62lock_compressor\x18\x01 \x01(\x0e\x32_.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Storage.WiredTiger.CollectionConfig.Compressor\"R\n\nCompressor\x12\x1a\n\x16\x43OMPRESSOR_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\n\n\x06SNAPPY\x10\x02\x12\x08\n\x04ZLIB\x10\x03\x12\x08\n\x04ZSTD\x10\x04\x1a\x45\n\x0bIndexConfig\x12\x36\n\x12prefix_compression\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1aJ\n\x07Journal\x12?\n\x0f\x63ommit_interval\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\t\xfa\xc7\x31\x05\x31-500\x1a\xad\x02\n\x12OperationProfiling\x12V\n\x04mode\x18\x01 \x01(\x0e\x32H.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.OperationProfiling.Mode\x12>\n\x11slow_op_threshold\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x06\xfa\xc7\x31\x02>0\x12\x42\n\x13slow_op_sample_rate\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x07\xfa\xc7\x31\x03\x30-1\";\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x07\n\x03OFF\x10\x01\x12\x0b\n\x07SLOW_OP\x10\x02\x12\x07\n\x03\x41LL\x10\x03\x1a\x88\x03\n\x07Network\x12K\n\x18max_incoming_connections\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0c\xfa\xc7\x31\x08\x31\x30-16384\x12Y\n\x0b\x63ompression\x18\x02 \x01(\x0b\x32\x44.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Network.Compression\x1a\xd4\x01\n\x0b\x43ompression\x12m\n\x0b\x63ompressors\x18\x01 \x03(\x0e\x32O.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Network.Compression.CompressorB\x07\x82\xc8\x31\x03\x31-3\"V\n\nCompressor\x12\x1a\n\x16\x43OMPRESSOR_UNSPECIFIED\x10\x00\x12\n\n\x06SNAPPY\x10\x01\x12\x08\n\x04ZLIB\x10\x02\x12\x08\n\x04ZSTD\x10\x03\x12\x0c\n\x08\x44ISABLED\x10\x04\x1a\x9f\x02\n\x08Security\x12\x35\n\x11\x65nable_encryption\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12L\n\x04kmip\x18\x02 \x01(\x0b\x32>.yandex.cloud.mdb.mongodb.v1.config.MongodConfig.Security.KMIP\x1a\x8d\x01\n\x04KMIP\x12\x13\n\x0bserver_name\x18\x01 \x01(\t\x12)\n\x04port\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x11\n\tserver_ca\x18\x03 \x01(\t\x12\x1a\n\x12\x63lient_certificate\x18\x04 \x01(\t\x12\x16\n\x0ekey_identifier\x18\x05 \x01(\t\x1aU\n\x08\x41uditLog\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\x12\x39\n\x15runtime_configuration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1a\xde\x01\n\x0cSetParameter\x12?\n\x1b\x61udit_authorization_success\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x37\n\x13\x65nable_flow_control\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12T\n&min_snapshot_history_window_in_seconds\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x07\xfa\xc7\x31\x03>=0\"\xad\r\n\x0eMongoCfgConfig\x12K\n\x07storage\x18\x01 \x01(\x0b\x32:.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.Storage\x12\x62\n\x13operation_profiling\x18\x02 \x01(\x0b\x32\x45.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.OperationProfiling\x12G\n\x03net\x18\x03 \x01(\x0b\x32:.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.Network\x12V\n\rset_parameter\x18\x04 \x01(\x0b\x32?.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.SetParameter\x12N\n\taudit_log\x18\x05 \x01(\x0b\x32;.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.AuditLog\x1a\xd4\x03\n\x07Storage\x12Z\n\x0bwired_tiger\x18\x01 \x01(\x0b\x32\x45.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.Storage.WiredTiger\x1a\xec\x02\n\nWiredTiger\x12i\n\rengine_config\x18\x01 \x01(\x0b\x32R.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.Storage.WiredTiger.EngineConfig\x12g\n\x0cindex_config\x18\x02 \x01(\x0b\x32Q.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.Storage.WiredTiger.IndexConfig\x1a\x43\n\x0c\x45ngineConfig\x12\x33\n\rcache_size_gb\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x1a\x45\n\x0bIndexConfig\x12\x36\n\x12prefix_compression\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1a\xeb\x01\n\x12OperationProfiling\x12X\n\x04mode\x18\x01 \x01(\x0e\x32J.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.OperationProfiling.Mode\x12>\n\x11slow_op_threshold\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x06\xfa\xc7\x31\x02>0\";\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x07\n\x03OFF\x10\x01\x12\x0b\n\x07SLOW_OP\x10\x02\x12\x07\n\x03\x41LL\x10\x03\x1a\x8c\x03\n\x07Network\x12K\n\x18max_incoming_connections\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0c\xfa\xc7\x31\x08\x31\x30-16384\x12[\n\x0b\x63ompression\x18\x02 \x01(\x0b\x32\x46.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.Network.Compression\x1a\xd6\x01\n\x0b\x43ompression\x12o\n\x0b\x63ompressors\x18\x01 \x03(\x0e\x32Q.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig.Network.Compression.CompressorB\x07\x82\xc8\x31\x03\x31-3\"V\n\nCompressor\x12\x1a\n\x16\x43OMPRESSOR_UNSPECIFIED\x10\x00\x12\n\n\x06SNAPPY\x10\x01\x12\x08\n\x04ZLIB\x10\x02\x12\x08\n\x04ZSTD\x10\x03\x12\x0c\n\x08\x44ISABLED\x10\x04\x1a\x88\x01\n\x0cSetParameter\x12\x37\n\x13\x65nable_flow_control\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12?\n\x1b\x61udit_authorization_success\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1a\x1a\n\x08\x41uditLog\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\"\xf1\x05\n\x0cMongosConfig\x12\x45\n\x03net\x18\x03 \x01(\x0b\x32\x38.yandex.cloud.mdb.mongodb.v1.config.MongosConfig.Network\x12T\n\rset_parameter\x18\x04 \x01(\x0b\x32=.yandex.cloud.mdb.mongodb.v1.config.MongosConfig.SetParameter\x12L\n\taudit_log\x18\x05 \x01(\x0b\x32\x39.yandex.cloud.mdb.mongodb.v1.config.MongosConfig.AuditLog\x1a\x88\x03\n\x07Network\x12K\n\x18max_incoming_connections\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0c\xfa\xc7\x31\x08\x31\x30-16384\x12Y\n\x0b\x63ompression\x18\x02 \x01(\x0b\x32\x44.yandex.cloud.mdb.mongodb.v1.config.MongosConfig.Network.Compression\x1a\xd4\x01\n\x0b\x43ompression\x12m\n\x0b\x63ompressors\x18\x01 \x03(\x0e\x32O.yandex.cloud.mdb.mongodb.v1.config.MongosConfig.Network.Compression.CompressorB\x07\x82\xc8\x31\x03\x31-3\"V\n\nCompressor\x12\x1a\n\x16\x43OMPRESSOR_UNSPECIFIED\x10\x00\x12\n\n\x06SNAPPY\x10\x01\x12\x08\n\x04ZLIB\x10\x02\x12\x08\n\x04ZSTD\x10\x03\x12\x0c\n\x08\x44ISABLED\x10\x04\x1aO\n\x0cSetParameter\x12?\n\x1b\x61udit_authorization_success\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1a\x1a\n\x08\x41uditLog\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\"\xee\x01\n\x0fMongodConfigSet\x12J\n\x10\x65\x66\x66\x65\x63tive_config\x18\x01 \x01(\x0b\x32\x30.yandex.cloud.mdb.mongodb.v1.config.MongodConfig\x12\x45\n\x0buser_config\x18\x02 \x01(\x0b\x32\x30.yandex.cloud.mdb.mongodb.v1.config.MongodConfig\x12H\n\x0e\x64\x65\x66\x61ult_config\x18\x03 \x01(\x0b\x32\x30.yandex.cloud.mdb.mongodb.v1.config.MongodConfig\"\xf6\x01\n\x11MongoCfgConfigSet\x12L\n\x10\x65\x66\x66\x65\x63tive_config\x18\x01 \x01(\x0b\x32\x32.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig\x12G\n\x0buser_config\x18\x02 \x01(\x0b\x32\x32.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig\x12J\n\x0e\x64\x65\x66\x61ult_config\x18\x03 \x01(\x0b\x32\x32.yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig\"\xee\x01\n\x0fMongosConfigSet\x12J\n\x10\x65\x66\x66\x65\x63tive_config\x18\x01 \x01(\x0b\x32\x30.yandex.cloud.mdb.mongodb.v1.config.MongosConfig\x12\x45\n\x0buser_config\x18\x02 \x01(\x0b\x32\x30.yandex.cloud.mdb.mongodb.v1.config.MongosConfig\x12H\n\x0e\x64\x65\x66\x61ult_config\x18\x03 \x01(\x0b\x32\x30.yandex.cloud.mdb.mongodb.v1.config.MongosConfigBx\n&yandex.cloud.api.mdb.mongodb.v1.configZNgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config;mongodbb\x06proto3')
30
30
 
31
31
  _globals = globals()
32
32
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -48,6 +48,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
48
48
  _globals['_MONGODCONFIG_SETPARAMETER'].fields_by_name['min_snapshot_history_window_in_seconds']._serialized_options = b'\372\3071\003>=0'
49
49
  _globals['_MONGOCFGCONFIG_OPERATIONPROFILING'].fields_by_name['slow_op_threshold']._loaded_options = None
50
50
  _globals['_MONGOCFGCONFIG_OPERATIONPROFILING'].fields_by_name['slow_op_threshold']._serialized_options = b'\372\3071\002>0'
51
+ _globals['_MONGOCFGCONFIG_NETWORK_COMPRESSION'].fields_by_name['compressors']._loaded_options = None
52
+ _globals['_MONGOCFGCONFIG_NETWORK_COMPRESSION'].fields_by_name['compressors']._serialized_options = b'\202\3101\0031-3'
51
53
  _globals['_MONGOCFGCONFIG_NETWORK'].fields_by_name['max_incoming_connections']._loaded_options = None
52
54
  _globals['_MONGOCFGCONFIG_NETWORK'].fields_by_name['max_incoming_connections']._serialized_options = b'\372\3071\01010-16384'
53
55
  _globals['_MONGOSCONFIG_NETWORK_COMPRESSION'].fields_by_name['compressors']._loaded_options = None
@@ -89,31 +91,45 @@ if not _descriptor._USE_C_DESCRIPTORS:
89
91
  _globals['_MONGODCONFIG_SETPARAMETER']._serialized_start=2695
90
92
  _globals['_MONGODCONFIG_SETPARAMETER']._serialized_end=2917
91
93
  _globals['_MONGOCFGCONFIG']._serialized_start=2920
92
- _globals['_MONGOCFGCONFIG']._serialized_end=3807
93
- _globals['_MONGOCFGCONFIG_STORAGE']._serialized_start=3189
94
- _globals['_MONGOCFGCONFIG_STORAGE']._serialized_end=3481
95
- _globals['_MONGOCFGCONFIG_STORAGE_WIREDTIGER']._serialized_start=3293
96
- _globals['_MONGOCFGCONFIG_STORAGE_WIREDTIGER']._serialized_end=3481
94
+ _globals['_MONGOCFGCONFIG']._serialized_end=4629
95
+ _globals['_MONGOCFGCONFIG_STORAGE']._serialized_start=3357
96
+ _globals['_MONGOCFGCONFIG_STORAGE']._serialized_end=3825
97
+ _globals['_MONGOCFGCONFIG_STORAGE_WIREDTIGER']._serialized_start=3461
98
+ _globals['_MONGOCFGCONFIG_STORAGE_WIREDTIGER']._serialized_end=3825
97
99
  _globals['_MONGOCFGCONFIG_STORAGE_WIREDTIGER_ENGINECONFIG']._serialized_start=1174
98
100
  _globals['_MONGOCFGCONFIG_STORAGE_WIREDTIGER_ENGINECONFIG']._serialized_end=1241
99
- _globals['_MONGOCFGCONFIG_OPERATIONPROFILING']._serialized_start=3484
100
- _globals['_MONGOCFGCONFIG_OPERATIONPROFILING']._serialized_end=3719
101
+ _globals['_MONGOCFGCONFIG_STORAGE_WIREDTIGER_INDEXCONFIG']._serialized_start=1471
102
+ _globals['_MONGOCFGCONFIG_STORAGE_WIREDTIGER_INDEXCONFIG']._serialized_end=1540
103
+ _globals['_MONGOCFGCONFIG_OPERATIONPROFILING']._serialized_start=3828
104
+ _globals['_MONGOCFGCONFIG_OPERATIONPROFILING']._serialized_end=4063
101
105
  _globals['_MONGOCFGCONFIG_OPERATIONPROFILING_MODE']._serialized_start=1861
102
106
  _globals['_MONGOCFGCONFIG_OPERATIONPROFILING_MODE']._serialized_end=1920
103
- _globals['_MONGOCFGCONFIG_NETWORK']._serialized_start=1923
104
- _globals['_MONGOCFGCONFIG_NETWORK']._serialized_end=2009
105
- _globals['_MONGOSCONFIG']._serialized_start=3810
106
- _globals['_MONGOSCONFIG']._serialized_end=4290
107
- _globals['_MONGOSCONFIG_NETWORK']._serialized_start=3898
108
- _globals['_MONGOSCONFIG_NETWORK']._serialized_end=4290
109
- _globals['_MONGOSCONFIG_NETWORK_COMPRESSION']._serialized_start=4078
110
- _globals['_MONGOSCONFIG_NETWORK_COMPRESSION']._serialized_end=4290
107
+ _globals['_MONGOCFGCONFIG_NETWORK']._serialized_start=4066
108
+ _globals['_MONGOCFGCONFIG_NETWORK']._serialized_end=4462
109
+ _globals['_MONGOCFGCONFIG_NETWORK_COMPRESSION']._serialized_start=4248
110
+ _globals['_MONGOCFGCONFIG_NETWORK_COMPRESSION']._serialized_end=4462
111
+ _globals['_MONGOCFGCONFIG_NETWORK_COMPRESSION_COMPRESSOR']._serialized_start=2229
112
+ _globals['_MONGOCFGCONFIG_NETWORK_COMPRESSION_COMPRESSOR']._serialized_end=2315
113
+ _globals['_MONGOCFGCONFIG_SETPARAMETER']._serialized_start=4465
114
+ _globals['_MONGOCFGCONFIG_SETPARAMETER']._serialized_end=4601
115
+ _globals['_MONGOCFGCONFIG_AUDITLOG']._serialized_start=2607
116
+ _globals['_MONGOCFGCONFIG_AUDITLOG']._serialized_end=2633
117
+ _globals['_MONGOSCONFIG']._serialized_start=4632
118
+ _globals['_MONGOSCONFIG']._serialized_end=5385
119
+ _globals['_MONGOSCONFIG_NETWORK']._serialized_start=4884
120
+ _globals['_MONGOSCONFIG_NETWORK']._serialized_end=5276
121
+ _globals['_MONGOSCONFIG_NETWORK_COMPRESSION']._serialized_start=5064
122
+ _globals['_MONGOSCONFIG_NETWORK_COMPRESSION']._serialized_end=5276
111
123
  _globals['_MONGOSCONFIG_NETWORK_COMPRESSION_COMPRESSOR']._serialized_start=2229
112
124
  _globals['_MONGOSCONFIG_NETWORK_COMPRESSION_COMPRESSOR']._serialized_end=2315
113
- _globals['_MONGODCONFIGSET']._serialized_start=4293
114
- _globals['_MONGODCONFIGSET']._serialized_end=4531
115
- _globals['_MONGOCFGCONFIGSET']._serialized_start=4534
116
- _globals['_MONGOCFGCONFIGSET']._serialized_end=4780
117
- _globals['_MONGOSCONFIGSET']._serialized_start=4783
118
- _globals['_MONGOSCONFIGSET']._serialized_end=5021
125
+ _globals['_MONGOSCONFIG_SETPARAMETER']._serialized_start=2695
126
+ _globals['_MONGOSCONFIG_SETPARAMETER']._serialized_end=2774
127
+ _globals['_MONGOSCONFIG_AUDITLOG']._serialized_start=2607
128
+ _globals['_MONGOSCONFIG_AUDITLOG']._serialized_end=2633
129
+ _globals['_MONGODCONFIGSET']._serialized_start=5388
130
+ _globals['_MONGODCONFIGSET']._serialized_end=5626
131
+ _globals['_MONGOCFGCONFIGSET']._serialized_start=5629
132
+ _globals['_MONGOCFGCONFIGSET']._serialized_end=5875
133
+ _globals['_MONGOSCONFIGSET']._serialized_start=5878
134
+ _globals['_MONGOSCONFIGSET']._serialized_end=6116
119
135
  # @@protoc_insertion_point(module_scope)
@@ -343,11 +343,11 @@ class MongodConfig(google.protobuf.message.Message):
343
343
  KMIP_FIELD_NUMBER: builtins.int
344
344
  @property
345
345
  def enable_encryption(self) -> google.protobuf.wrappers_pb2.BoolValue:
346
- """If encryption at rest should be enabled or not"""
346
+ """If encryption at rest should be enabled or not, MongoDB Enterprise only"""
347
347
 
348
348
  @property
349
349
  def kmip(self) -> global___MongodConfig.Security.KMIP:
350
- """`kmip` section of mongod security config"""
350
+ """`kmip` section of mongod security config, MongoDB Enterprise only"""
351
351
 
352
352
  def __init__(
353
353
  self,
@@ -365,10 +365,12 @@ class MongodConfig(google.protobuf.message.Message):
365
365
  FILTER_FIELD_NUMBER: builtins.int
366
366
  RUNTIME_CONFIGURATION_FIELD_NUMBER: builtins.int
367
367
  filter: builtins.str
368
- """Audit filter"""
368
+ """Audit filter, should be valid JSON object string"""
369
369
  @property
370
370
  def runtime_configuration(self) -> google.protobuf.wrappers_pb2.BoolValue:
371
- """Allows runtime configuration of audit filter and auditAuthorizationSuccess"""
371
+ """Allows runtime configuration of audit filter and auditAuthorizationSuccess
372
+ !! Available for MongoDB Enterprise only !!
373
+ """
372
374
 
373
375
  def __init__(
374
376
  self,
@@ -388,7 +390,9 @@ class MongodConfig(google.protobuf.message.Message):
388
390
  MIN_SNAPSHOT_HISTORY_WINDOW_IN_SECONDS_FIELD_NUMBER: builtins.int
389
391
  @property
390
392
  def audit_authorization_success(self) -> google.protobuf.wrappers_pb2.BoolValue:
391
- """Enables the auditing of authorization successes"""
393
+ """Enables the auditing of authorization successes
394
+ https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.auditAuthorizationSuccess
395
+ """
392
396
 
393
397
  @property
394
398
  def enable_flow_control(self) -> google.protobuf.wrappers_pb2.BoolValue:
@@ -487,18 +491,41 @@ class MongoCfgConfig(google.protobuf.message.Message):
487
491
  def HasField(self, field_name: typing.Literal["cache_size_gb", b"cache_size_gb"]) -> builtins.bool: ...
488
492
  def ClearField(self, field_name: typing.Literal["cache_size_gb", b"cache_size_gb"]) -> None: ...
489
493
 
494
+ @typing.final
495
+ class IndexConfig(google.protobuf.message.Message):
496
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
497
+
498
+ PREFIX_COMPRESSION_FIELD_NUMBER: builtins.int
499
+ @property
500
+ def prefix_compression(self) -> google.protobuf.wrappers_pb2.BoolValue:
501
+ """Enables or disables [prefix compression](https://www.mongodb.com/docs/manual/reference/glossary/#std-term-prefix-compression)"""
502
+
503
+ def __init__(
504
+ self,
505
+ *,
506
+ prefix_compression: google.protobuf.wrappers_pb2.BoolValue | None = ...,
507
+ ) -> None: ...
508
+ def HasField(self, field_name: typing.Literal["prefix_compression", b"prefix_compression"]) -> builtins.bool: ...
509
+ def ClearField(self, field_name: typing.Literal["prefix_compression", b"prefix_compression"]) -> None: ...
510
+
490
511
  ENGINE_CONFIG_FIELD_NUMBER: builtins.int
512
+ INDEX_CONFIG_FIELD_NUMBER: builtins.int
491
513
  @property
492
514
  def engine_config(self) -> global___MongoCfgConfig.Storage.WiredTiger.EngineConfig:
493
515
  """Engine configuration for WiredTiger."""
494
516
 
517
+ @property
518
+ def index_config(self) -> global___MongoCfgConfig.Storage.WiredTiger.IndexConfig:
519
+ """Index configuration for WiredTiger."""
520
+
495
521
  def __init__(
496
522
  self,
497
523
  *,
498
524
  engine_config: global___MongoCfgConfig.Storage.WiredTiger.EngineConfig | None = ...,
525
+ index_config: global___MongoCfgConfig.Storage.WiredTiger.IndexConfig | None = ...,
499
526
  ) -> None: ...
500
- def HasField(self, field_name: typing.Literal["engine_config", b"engine_config"]) -> builtins.bool: ...
501
- def ClearField(self, field_name: typing.Literal["engine_config", b"engine_config"]) -> None: ...
527
+ def HasField(self, field_name: typing.Literal["engine_config", b"engine_config", "index_config", b"index_config"]) -> builtins.bool: ...
528
+ def ClearField(self, field_name: typing.Literal["engine_config", b"engine_config", "index_config", b"index_config"]) -> None: ...
502
529
 
503
530
  WIRED_TIGER_FIELD_NUMBER: builtins.int
504
531
  @property
@@ -564,22 +591,120 @@ class MongoCfgConfig(google.protobuf.message.Message):
564
591
  class Network(google.protobuf.message.Message):
565
592
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
566
593
 
594
+ @typing.final
595
+ class Compression(google.protobuf.message.Message):
596
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
597
+
598
+ class _Compressor:
599
+ ValueType = typing.NewType("ValueType", builtins.int)
600
+ V: typing_extensions.TypeAlias = ValueType
601
+
602
+ class _CompressorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[MongoCfgConfig.Network.Compression._Compressor.ValueType], builtins.type):
603
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
604
+ COMPRESSOR_UNSPECIFIED: MongoCfgConfig.Network.Compression._Compressor.ValueType # 0
605
+ SNAPPY: MongoCfgConfig.Network.Compression._Compressor.ValueType # 1
606
+ """The [Snappy](https://docs.mongodb.com/v4.2/reference/glossary/#term-snappy) compression."""
607
+ ZLIB: MongoCfgConfig.Network.Compression._Compressor.ValueType # 2
608
+ """The [zlib](https://docs.mongodb.com/v4.2/reference/glossary/#term-zlib) compression."""
609
+ ZSTD: MongoCfgConfig.Network.Compression._Compressor.ValueType # 3
610
+ """The [zstd](https://docs.mongodb.com/v4.2/reference/glossary/#term-zstd) compression."""
611
+ DISABLED: MongoCfgConfig.Network.Compression._Compressor.ValueType # 4
612
+ """No compression"""
613
+
614
+ class Compressor(_Compressor, metaclass=_CompressorEnumTypeWrapper): ...
615
+ COMPRESSOR_UNSPECIFIED: MongoCfgConfig.Network.Compression.Compressor.ValueType # 0
616
+ SNAPPY: MongoCfgConfig.Network.Compression.Compressor.ValueType # 1
617
+ """The [Snappy](https://docs.mongodb.com/v4.2/reference/glossary/#term-snappy) compression."""
618
+ ZLIB: MongoCfgConfig.Network.Compression.Compressor.ValueType # 2
619
+ """The [zlib](https://docs.mongodb.com/v4.2/reference/glossary/#term-zlib) compression."""
620
+ ZSTD: MongoCfgConfig.Network.Compression.Compressor.ValueType # 3
621
+ """The [zstd](https://docs.mongodb.com/v4.2/reference/glossary/#term-zstd) compression."""
622
+ DISABLED: MongoCfgConfig.Network.Compression.Compressor.ValueType # 4
623
+ """No compression"""
624
+
625
+ COMPRESSORS_FIELD_NUMBER: builtins.int
626
+ @property
627
+ def compressors(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___MongoCfgConfig.Network.Compression.Compressor.ValueType]:
628
+ """Specifies the default compressor(s) to use for communication between this mongod or mongos instance and:
629
+ - other members of the deployment if the instance is part of a replica set or a sharded cluster
630
+ - mongosh
631
+ - drivers that support the OP_COMPRESSED message format.
632
+ MongoDB supports the following compressors:
633
+ """
634
+
635
+ def __init__(
636
+ self,
637
+ *,
638
+ compressors: collections.abc.Iterable[global___MongoCfgConfig.Network.Compression.Compressor.ValueType] | None = ...,
639
+ ) -> None: ...
640
+ def ClearField(self, field_name: typing.Literal["compressors", b"compressors"]) -> None: ...
641
+
567
642
  MAX_INCOMING_CONNECTIONS_FIELD_NUMBER: builtins.int
643
+ COMPRESSION_FIELD_NUMBER: builtins.int
568
644
  @property
569
645
  def max_incoming_connections(self) -> google.protobuf.wrappers_pb2.Int64Value:
570
646
  """The maximum number of simultaneous connections that mongocfg will accept."""
571
647
 
648
+ @property
649
+ def compression(self) -> global___MongoCfgConfig.Network.Compression:
650
+ """Compression settings"""
651
+
572
652
  def __init__(
573
653
  self,
574
654
  *,
575
655
  max_incoming_connections: google.protobuf.wrappers_pb2.Int64Value | None = ...,
656
+ compression: global___MongoCfgConfig.Network.Compression | None = ...,
576
657
  ) -> None: ...
577
- def HasField(self, field_name: typing.Literal["max_incoming_connections", b"max_incoming_connections"]) -> builtins.bool: ...
578
- def ClearField(self, field_name: typing.Literal["max_incoming_connections", b"max_incoming_connections"]) -> None: ...
658
+ def HasField(self, field_name: typing.Literal["compression", b"compression", "max_incoming_connections", b"max_incoming_connections"]) -> builtins.bool: ...
659
+ def ClearField(self, field_name: typing.Literal["compression", b"compression", "max_incoming_connections", b"max_incoming_connections"]) -> None: ...
660
+
661
+ @typing.final
662
+ class SetParameter(google.protobuf.message.Message):
663
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
664
+
665
+ ENABLE_FLOW_CONTROL_FIELD_NUMBER: builtins.int
666
+ AUDIT_AUTHORIZATION_SUCCESS_FIELD_NUMBER: builtins.int
667
+ @property
668
+ def enable_flow_control(self) -> google.protobuf.wrappers_pb2.BoolValue:
669
+ """Enables or disables the mechanism that controls the rate at which the primary applies its writes with the
670
+ goal of keeping the secondary members [majority committed](https://www.mongodb.com/docs/v4.2/reference/command/replSetGetStatus/#replSetGetStatus.optimes.lastCommittedOpTime)
671
+ lag under a configurable maximum value.
672
+ """
673
+
674
+ @property
675
+ def audit_authorization_success(self) -> google.protobuf.wrappers_pb2.BoolValue:
676
+ """Enables the auditing of authorization successes
677
+ https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.auditAuthorizationSuccess
678
+ """
679
+
680
+ def __init__(
681
+ self,
682
+ *,
683
+ enable_flow_control: google.protobuf.wrappers_pb2.BoolValue | None = ...,
684
+ audit_authorization_success: google.protobuf.wrappers_pb2.BoolValue | None = ...,
685
+ ) -> None: ...
686
+ def HasField(self, field_name: typing.Literal["audit_authorization_success", b"audit_authorization_success", "enable_flow_control", b"enable_flow_control"]) -> builtins.bool: ...
687
+ def ClearField(self, field_name: typing.Literal["audit_authorization_success", b"audit_authorization_success", "enable_flow_control", b"enable_flow_control"]) -> None: ...
688
+
689
+ @typing.final
690
+ class AuditLog(google.protobuf.message.Message):
691
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
692
+
693
+ FILTER_FIELD_NUMBER: builtins.int
694
+ filter: builtins.str
695
+ """Audit filter, should be valid JSON object string"""
696
+ def __init__(
697
+ self,
698
+ *,
699
+ filter: builtins.str = ...,
700
+ ) -> None: ...
701
+ def ClearField(self, field_name: typing.Literal["filter", b"filter"]) -> None: ...
579
702
 
580
703
  STORAGE_FIELD_NUMBER: builtins.int
581
704
  OPERATION_PROFILING_FIELD_NUMBER: builtins.int
582
705
  NET_FIELD_NUMBER: builtins.int
706
+ SET_PARAMETER_FIELD_NUMBER: builtins.int
707
+ AUDIT_LOG_FIELD_NUMBER: builtins.int
583
708
  @property
584
709
  def storage(self) -> global___MongoCfgConfig.Storage:
585
710
  """`storage` section of mongocfg configuration."""
@@ -592,15 +717,25 @@ class MongoCfgConfig(google.protobuf.message.Message):
592
717
  def net(self) -> global___MongoCfgConfig.Network:
593
718
  """`net` section of mongocfg configuration."""
594
719
 
720
+ @property
721
+ def set_parameter(self) -> global___MongoCfgConfig.SetParameter:
722
+ """`setParameter` section of mongocfg configuration."""
723
+
724
+ @property
725
+ def audit_log(self) -> global___MongoCfgConfig.AuditLog:
726
+ """`AuditLog` section of mongocfg configuration."""
727
+
595
728
  def __init__(
596
729
  self,
597
730
  *,
598
731
  storage: global___MongoCfgConfig.Storage | None = ...,
599
732
  operation_profiling: global___MongoCfgConfig.OperationProfiling | None = ...,
600
733
  net: global___MongoCfgConfig.Network | None = ...,
734
+ set_parameter: global___MongoCfgConfig.SetParameter | None = ...,
735
+ audit_log: global___MongoCfgConfig.AuditLog | None = ...,
601
736
  ) -> None: ...
602
- def HasField(self, field_name: typing.Literal["net", b"net", "operation_profiling", b"operation_profiling", "storage", b"storage"]) -> builtins.bool: ...
603
- def ClearField(self, field_name: typing.Literal["net", b"net", "operation_profiling", b"operation_profiling", "storage", b"storage"]) -> None: ...
737
+ def HasField(self, field_name: typing.Literal["audit_log", b"audit_log", "net", b"net", "operation_profiling", b"operation_profiling", "set_parameter", b"set_parameter", "storage", b"storage"]) -> builtins.bool: ...
738
+ def ClearField(self, field_name: typing.Literal["audit_log", b"audit_log", "net", b"net", "operation_profiling", b"operation_profiling", "set_parameter", b"set_parameter", "storage", b"storage"]) -> None: ...
604
739
 
605
740
  global___MongoCfgConfig = MongoCfgConfig
606
741
 
@@ -679,18 +814,63 @@ class MongosConfig(google.protobuf.message.Message):
679
814
  def HasField(self, field_name: typing.Literal["compression", b"compression", "max_incoming_connections", b"max_incoming_connections"]) -> builtins.bool: ...
680
815
  def ClearField(self, field_name: typing.Literal["compression", b"compression", "max_incoming_connections", b"max_incoming_connections"]) -> None: ...
681
816
 
817
+ @typing.final
818
+ class SetParameter(google.protobuf.message.Message):
819
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
820
+
821
+ AUDIT_AUTHORIZATION_SUCCESS_FIELD_NUMBER: builtins.int
822
+ @property
823
+ def audit_authorization_success(self) -> google.protobuf.wrappers_pb2.BoolValue:
824
+ """Enables the auditing of authorization successes
825
+ https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.auditAuthorizationSuccess
826
+ """
827
+
828
+ def __init__(
829
+ self,
830
+ *,
831
+ audit_authorization_success: google.protobuf.wrappers_pb2.BoolValue | None = ...,
832
+ ) -> None: ...
833
+ def HasField(self, field_name: typing.Literal["audit_authorization_success", b"audit_authorization_success"]) -> builtins.bool: ...
834
+ def ClearField(self, field_name: typing.Literal["audit_authorization_success", b"audit_authorization_success"]) -> None: ...
835
+
836
+ @typing.final
837
+ class AuditLog(google.protobuf.message.Message):
838
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
839
+
840
+ FILTER_FIELD_NUMBER: builtins.int
841
+ filter: builtins.str
842
+ """Audit filter, should be valid JSON object string"""
843
+ def __init__(
844
+ self,
845
+ *,
846
+ filter: builtins.str = ...,
847
+ ) -> None: ...
848
+ def ClearField(self, field_name: typing.Literal["filter", b"filter"]) -> None: ...
849
+
682
850
  NET_FIELD_NUMBER: builtins.int
851
+ SET_PARAMETER_FIELD_NUMBER: builtins.int
852
+ AUDIT_LOG_FIELD_NUMBER: builtins.int
683
853
  @property
684
854
  def net(self) -> global___MongosConfig.Network:
685
855
  """Network settings for mongos."""
686
856
 
857
+ @property
858
+ def set_parameter(self) -> global___MongosConfig.SetParameter:
859
+ """`setParameter` section of mongos configuration."""
860
+
861
+ @property
862
+ def audit_log(self) -> global___MongosConfig.AuditLog:
863
+ """`AuditLog` section of mongos configuration."""
864
+
687
865
  def __init__(
688
866
  self,
689
867
  *,
690
868
  net: global___MongosConfig.Network | None = ...,
869
+ set_parameter: global___MongosConfig.SetParameter | None = ...,
870
+ audit_log: global___MongosConfig.AuditLog | None = ...,
691
871
  ) -> None: ...
692
- def HasField(self, field_name: typing.Literal["net", b"net"]) -> builtins.bool: ...
693
- def ClearField(self, field_name: typing.Literal["net", b"net"]) -> None: ...
872
+ def HasField(self, field_name: typing.Literal["audit_log", b"audit_log", "net", b"net", "set_parameter", b"set_parameter"]) -> builtins.bool: ...
873
+ def ClearField(self, field_name: typing.Literal["audit_log", b"audit_log", "net", b"net", "set_parameter", b"set_parameter"]) -> None: ...
694
874
 
695
875
  global___MongosConfig = MongosConfig
696
876