yandexcloud 0.352.0__py3-none-any.whl → 0.354.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 (80) hide show
  1. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +18 -18
  2. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +18 -2
  3. yandex/cloud/baremetal/v1alpha/disk_pb2.py +2 -2
  4. yandex/cloud/baremetal/v1alpha/disk_pb2.pyi +8 -4
  5. yandex/cloud/baremetal/v1alpha/server_pb2.py +13 -11
  6. yandex/cloud/connectionmanager/__init__.py +0 -0
  7. yandex/cloud/connectionmanager/v1/__init__.py +0 -0
  8. yandex/cloud/connectionmanager/v1/clickhouse_pb2.py +46 -0
  9. yandex/cloud/connectionmanager/v1/clickhouse_pb2.pyi +138 -0
  10. yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.py +24 -0
  11. yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.pyi +17 -0
  12. yandex/cloud/connectionmanager/v1/common_pb2.py +49 -0
  13. yandex/cloud/connectionmanager/v1/common_pb2.pyi +187 -0
  14. yandex/cloud/connectionmanager/v1/common_pb2_grpc.py +24 -0
  15. yandex/cloud/connectionmanager/v1/common_pb2_grpc.pyi +17 -0
  16. yandex/cloud/connectionmanager/v1/connection_pb2.py +58 -0
  17. yandex/cloud/connectionmanager/v1/connection_pb2.pyi +205 -0
  18. yandex/cloud/connectionmanager/v1/connection_pb2_grpc.py +24 -0
  19. yandex/cloud/connectionmanager/v1/connection_pb2_grpc.pyi +17 -0
  20. yandex/cloud/connectionmanager/v1/connection_service_pb2.py +91 -0
  21. yandex/cloud/connectionmanager/v1/connection_service_pb2.pyi +320 -0
  22. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.py +371 -0
  23. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.pyi +187 -0
  24. yandex/cloud/connectionmanager/v1/greenplum_pb2.py +48 -0
  25. yandex/cloud/connectionmanager/v1/greenplum_pb2.pyi +151 -0
  26. yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.py +24 -0
  27. yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.pyi +17 -0
  28. yandex/cloud/connectionmanager/v1/mongodb_pb2.py +50 -0
  29. yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +169 -0
  30. yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.py +24 -0
  31. yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.pyi +17 -0
  32. yandex/cloud/connectionmanager/v1/mysql_pb2.py +48 -0
  33. yandex/cloud/connectionmanager/v1/mysql_pb2.pyi +151 -0
  34. yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.py +24 -0
  35. yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.pyi +17 -0
  36. yandex/cloud/connectionmanager/v1/opensearch_pb2.py +48 -0
  37. yandex/cloud/connectionmanager/v1/opensearch_pb2.pyi +148 -0
  38. yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.py +24 -0
  39. yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.pyi +17 -0
  40. yandex/cloud/connectionmanager/v1/package_options_pb2.py +35 -0
  41. yandex/cloud/connectionmanager/v1/package_options_pb2.pyi +8 -0
  42. yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.py +24 -0
  43. yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.pyi +17 -0
  44. yandex/cloud/connectionmanager/v1/postgresql_pb2.py +50 -0
  45. yandex/cloud/connectionmanager/v1/postgresql_pb2.pyi +171 -0
  46. yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.py +24 -0
  47. yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.pyi +17 -0
  48. yandex/cloud/connectionmanager/v1/redis_pb2.py +50 -0
  49. yandex/cloud/connectionmanager/v1/redis_pb2.pyi +163 -0
  50. yandex/cloud/connectionmanager/v1/redis_pb2_grpc.py +24 -0
  51. yandex/cloud/connectionmanager/v1/redis_pb2_grpc.pyi +17 -0
  52. yandex/cloud/connectionmanager/v1/trino_pb2.py +44 -0
  53. yandex/cloud/connectionmanager/v1/trino_pb2.pyi +88 -0
  54. yandex/cloud/connectionmanager/v1/trino_pb2_grpc.py +24 -0
  55. yandex/cloud/connectionmanager/v1/trino_pb2_grpc.pyi +17 -0
  56. yandex/cloud/connectionmanager/v1/valkey_pb2.py +50 -0
  57. yandex/cloud/connectionmanager/v1/valkey_pb2.pyi +173 -0
  58. yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.py +24 -0
  59. yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.pyi +17 -0
  60. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +94 -76
  61. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +239 -14
  62. yandex/cloud/organizationmanager/v1/group_pb2.py +3 -3
  63. yandex/cloud/organizationmanager/v1/group_pb2.pyi +9 -1
  64. yandex/cloud/organizationmanager/v1/group_service_pb2.py +95 -37
  65. yandex/cloud/organizationmanager/v1/group_service_pb2.pyi +276 -0
  66. yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.py +220 -0
  67. yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.pyi +100 -0
  68. yandex/cloud/organizationmanager/v1/saml/federation_pb2.py +17 -3
  69. yandex/cloud/organizationmanager/v1/saml/federation_pb2.pyi +209 -0
  70. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +55 -3
  71. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +231 -0
  72. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +222 -0
  73. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +109 -0
  74. yandexcloud/__init__.py +1 -1
  75. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/METADATA +1 -1
  76. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/RECORD +80 -26
  77. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/AUTHORS +0 -0
  78. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/LICENSE +0 -0
  79. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/WHEEL +0 -0
  80. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,187 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+ import yandex.cloud.connectionmanager.v1.connection_pb2
12
+ import yandex.cloud.connectionmanager.v1.connection_service_pb2
13
+ import yandex.cloud.operation.operation_pb2
14
+
15
+ _T = typing.TypeVar("_T")
16
+
17
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
18
+
19
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
20
+ ...
21
+
22
+ class ConnectionServiceStub:
23
+ """A set of methods for managing Connection resources."""
24
+
25
+ def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
26
+ Get: grpc.UnaryUnaryMultiCallable[
27
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.GetConnectionRequest,
28
+ yandex.cloud.connectionmanager.v1.connection_pb2.Connection,
29
+ ]
30
+ """Returns connection."""
31
+
32
+ ResolveCluster: grpc.UnaryUnaryMultiCallable[
33
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.ResolveClusterRequest,
34
+ yandex.cloud.connectionmanager.v1.connection_pb2.Connection,
35
+ ]
36
+ """Returns the connection with the resolved cluster; that is,
37
+ * for connections to the on-premise clusters is identical to the Get RPC;
38
+ * for connections to the managed clusters, resolves the cluster topology
39
+ and returns it in the `on_premise` field of the connection parameters.
40
+ Requires `connection-manager.connections.resolveCluster` permission.
41
+ """
42
+
43
+ List: grpc.UnaryUnaryMultiCallable[
44
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionRequest,
45
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse,
46
+ ]
47
+ """List connections in specified folder."""
48
+
49
+ Create: grpc.UnaryUnaryMultiCallable[
50
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.CreateConnectionRequest,
51
+ yandex.cloud.operation.operation_pb2.Operation,
52
+ ]
53
+ """Creates connection."""
54
+
55
+ Update: grpc.UnaryUnaryMultiCallable[
56
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.UpdateConnectionRequest,
57
+ yandex.cloud.operation.operation_pb2.Operation,
58
+ ]
59
+ """Updates specified connection."""
60
+
61
+ Delete: grpc.UnaryUnaryMultiCallable[
62
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.DeleteConnectionRequest,
63
+ yandex.cloud.operation.operation_pb2.Operation,
64
+ ]
65
+ """Delete specified connection."""
66
+
67
+ ListOperations: grpc.UnaryUnaryMultiCallable[
68
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsRequest,
69
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse,
70
+ ]
71
+ """Retrieves the list of Operation resources for the specified connection."""
72
+
73
+ class ConnectionServiceAsyncStub:
74
+ """A set of methods for managing Connection resources."""
75
+
76
+ Get: grpc.aio.UnaryUnaryMultiCallable[
77
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.GetConnectionRequest,
78
+ yandex.cloud.connectionmanager.v1.connection_pb2.Connection,
79
+ ]
80
+ """Returns connection."""
81
+
82
+ ResolveCluster: grpc.aio.UnaryUnaryMultiCallable[
83
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.ResolveClusterRequest,
84
+ yandex.cloud.connectionmanager.v1.connection_pb2.Connection,
85
+ ]
86
+ """Returns the connection with the resolved cluster; that is,
87
+ * for connections to the on-premise clusters is identical to the Get RPC;
88
+ * for connections to the managed clusters, resolves the cluster topology
89
+ and returns it in the `on_premise` field of the connection parameters.
90
+ Requires `connection-manager.connections.resolveCluster` permission.
91
+ """
92
+
93
+ List: grpc.aio.UnaryUnaryMultiCallable[
94
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionRequest,
95
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse,
96
+ ]
97
+ """List connections in specified folder."""
98
+
99
+ Create: grpc.aio.UnaryUnaryMultiCallable[
100
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.CreateConnectionRequest,
101
+ yandex.cloud.operation.operation_pb2.Operation,
102
+ ]
103
+ """Creates connection."""
104
+
105
+ Update: grpc.aio.UnaryUnaryMultiCallable[
106
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.UpdateConnectionRequest,
107
+ yandex.cloud.operation.operation_pb2.Operation,
108
+ ]
109
+ """Updates specified connection."""
110
+
111
+ Delete: grpc.aio.UnaryUnaryMultiCallable[
112
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.DeleteConnectionRequest,
113
+ yandex.cloud.operation.operation_pb2.Operation,
114
+ ]
115
+ """Delete specified connection."""
116
+
117
+ ListOperations: grpc.aio.UnaryUnaryMultiCallable[
118
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsRequest,
119
+ yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse,
120
+ ]
121
+ """Retrieves the list of Operation resources for the specified connection."""
122
+
123
+ class ConnectionServiceServicer(metaclass=abc.ABCMeta):
124
+ """A set of methods for managing Connection resources."""
125
+
126
+ @abc.abstractmethod
127
+ def Get(
128
+ self,
129
+ request: yandex.cloud.connectionmanager.v1.connection_service_pb2.GetConnectionRequest,
130
+ context: _ServicerContext,
131
+ ) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_pb2.Connection, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_pb2.Connection]]:
132
+ """Returns connection."""
133
+
134
+ @abc.abstractmethod
135
+ def ResolveCluster(
136
+ self,
137
+ request: yandex.cloud.connectionmanager.v1.connection_service_pb2.ResolveClusterRequest,
138
+ context: _ServicerContext,
139
+ ) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_pb2.Connection, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_pb2.Connection]]:
140
+ """Returns the connection with the resolved cluster; that is,
141
+ * for connections to the on-premise clusters is identical to the Get RPC;
142
+ * for connections to the managed clusters, resolves the cluster topology
143
+ and returns it in the `on_premise` field of the connection parameters.
144
+ Requires `connection-manager.connections.resolveCluster` permission.
145
+ """
146
+
147
+ @abc.abstractmethod
148
+ def List(
149
+ self,
150
+ request: yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionRequest,
151
+ context: _ServicerContext,
152
+ ) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse]]:
153
+ """List connections in specified folder."""
154
+
155
+ @abc.abstractmethod
156
+ def Create(
157
+ self,
158
+ request: yandex.cloud.connectionmanager.v1.connection_service_pb2.CreateConnectionRequest,
159
+ context: _ServicerContext,
160
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
161
+ """Creates connection."""
162
+
163
+ @abc.abstractmethod
164
+ def Update(
165
+ self,
166
+ request: yandex.cloud.connectionmanager.v1.connection_service_pb2.UpdateConnectionRequest,
167
+ context: _ServicerContext,
168
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
169
+ """Updates specified connection."""
170
+
171
+ @abc.abstractmethod
172
+ def Delete(
173
+ self,
174
+ request: yandex.cloud.connectionmanager.v1.connection_service_pb2.DeleteConnectionRequest,
175
+ context: _ServicerContext,
176
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
177
+ """Delete specified connection."""
178
+
179
+ @abc.abstractmethod
180
+ def ListOperations(
181
+ self,
182
+ request: yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsRequest,
183
+ context: _ServicerContext,
184
+ ) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse]]:
185
+ """Retrieves the list of Operation resources for the specified connection."""
186
+
187
+ def add_ConnectionServiceServicer_to_server(servicer: ConnectionServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -0,0 +1,48 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/connectionmanager/v1/greenplum.proto
5
+ # Protobuf Python Version: 5.29.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 0,
17
+ '',
18
+ 'yandex/cloud/connectionmanager/v1/greenplum.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from yandex.cloud.connectionmanager.v1 import common_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_common__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/connectionmanager/v1/greenplum.proto\x12!yandex.cloud.connectionmanager.v1\x1a.yandex/cloud/connectionmanager/v1/common.proto\"i\n\rGreenplumAuth\x12L\n\ruser_password\x18\x01 \x01(\x0b\x32\x33.yandex.cloud.connectionmanager.v1.UserPasswordAuthH\x00\x42\n\n\x08security\"\xf8\x03\n\x10GreenplumCluster\x12S\n\x11\x63oordinator_hosts\x18\x01 \x03(\x0b\x32\x38.yandex.cloud.connectionmanager.v1.GreenplumCluster.Host\x12@\n\ntls_params\x18\x02 \x01(\x0b\x32,.yandex.cloud.connectionmanager.v1.TLSParams\x1a\xcc\x02\n\x04Host\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x03\x12K\n\x04role\x18\x03 \x01(\x0e\x32=.yandex.cloud.connectionmanager.v1.GreenplumCluster.Host.Role\x12O\n\x06health\x18\x04 \x01(\x0e\x32?.yandex.cloud.connectionmanager.v1.GreenplumCluster.Host.Health\"5\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\n\n\x06MASTER\x10\x01\x12\x0b\n\x07REPLICA\x10\x02\"S\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\x12\x0e\n\nUNBALANCED\x10\x04\"\xca\x01\n\x13GreenplumConnection\x12\x44\n\x07\x63luster\x18\x01 \x01(\x0b\x32\x33.yandex.cloud.connectionmanager.v1.GreenplumCluster\x12\x1a\n\x12managed_cluster_id\x18\x02 \x01(\t\x12>\n\x04\x61uth\x18\x03 \x01(\x0b\x32\x30.yandex.cloud.connectionmanager.v1.GreenplumAuth\x12\x11\n\tdatabases\x18\x04 \x03(\tB\x80\x01\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.connectionmanager.v1.greenplum_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanager'
36
+ _globals['_GREENPLUMAUTH']._serialized_start=136
37
+ _globals['_GREENPLUMAUTH']._serialized_end=241
38
+ _globals['_GREENPLUMCLUSTER']._serialized_start=244
39
+ _globals['_GREENPLUMCLUSTER']._serialized_end=748
40
+ _globals['_GREENPLUMCLUSTER_HOST']._serialized_start=416
41
+ _globals['_GREENPLUMCLUSTER_HOST']._serialized_end=748
42
+ _globals['_GREENPLUMCLUSTER_HOST_ROLE']._serialized_start=610
43
+ _globals['_GREENPLUMCLUSTER_HOST_ROLE']._serialized_end=663
44
+ _globals['_GREENPLUMCLUSTER_HOST_HEALTH']._serialized_start=665
45
+ _globals['_GREENPLUMCLUSTER_HOST_HEALTH']._serialized_end=748
46
+ _globals['_GREENPLUMCONNECTION']._serialized_start=751
47
+ _globals['_GREENPLUMCONNECTION']._serialized_end=953
48
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,151 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.internal.containers
10
+ import google.protobuf.internal.enum_type_wrapper
11
+ import google.protobuf.message
12
+ import sys
13
+ import typing
14
+ import yandex.cloud.connectionmanager.v1.common_pb2
15
+
16
+ if sys.version_info >= (3, 10):
17
+ import typing as typing_extensions
18
+ else:
19
+ import typing_extensions
20
+
21
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
22
+
23
+ @typing.final
24
+ class GreenplumAuth(google.protobuf.message.Message):
25
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
26
+
27
+ USER_PASSWORD_FIELD_NUMBER: builtins.int
28
+ @property
29
+ def user_password(self) -> yandex.cloud.connectionmanager.v1.common_pb2.UserPasswordAuth: ...
30
+ def __init__(
31
+ self,
32
+ *,
33
+ user_password: yandex.cloud.connectionmanager.v1.common_pb2.UserPasswordAuth | None = ...,
34
+ ) -> None: ...
35
+ def HasField(self, field_name: typing.Literal["security", b"security", "user_password", b"user_password"]) -> builtins.bool: ...
36
+ def ClearField(self, field_name: typing.Literal["security", b"security", "user_password", b"user_password"]) -> None: ...
37
+ def WhichOneof(self, oneof_group: typing.Literal["security", b"security"]) -> typing.Literal["user_password"] | None: ...
38
+
39
+ global___GreenplumAuth = GreenplumAuth
40
+
41
+ @typing.final
42
+ class GreenplumCluster(google.protobuf.message.Message):
43
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
44
+
45
+ @typing.final
46
+ class Host(google.protobuf.message.Message):
47
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
48
+
49
+ class _Role:
50
+ ValueType = typing.NewType("ValueType", builtins.int)
51
+ V: typing_extensions.TypeAlias = ValueType
52
+
53
+ class _RoleEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[GreenplumCluster.Host._Role.ValueType], builtins.type):
54
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
55
+ ROLE_UNSPECIFIED: GreenplumCluster.Host._Role.ValueType # 0
56
+ MASTER: GreenplumCluster.Host._Role.ValueType # 1
57
+ REPLICA: GreenplumCluster.Host._Role.ValueType # 2
58
+
59
+ class Role(_Role, metaclass=_RoleEnumTypeWrapper): ...
60
+ ROLE_UNSPECIFIED: GreenplumCluster.Host.Role.ValueType # 0
61
+ MASTER: GreenplumCluster.Host.Role.ValueType # 1
62
+ REPLICA: GreenplumCluster.Host.Role.ValueType # 2
63
+
64
+ class _Health:
65
+ ValueType = typing.NewType("ValueType", builtins.int)
66
+ V: typing_extensions.TypeAlias = ValueType
67
+
68
+ class _HealthEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[GreenplumCluster.Host._Health.ValueType], builtins.type):
69
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
70
+ HEALTH_UNSPECIFIED: GreenplumCluster.Host._Health.ValueType # 0
71
+ ALIVE: GreenplumCluster.Host._Health.ValueType # 1
72
+ DEAD: GreenplumCluster.Host._Health.ValueType # 2
73
+ DEGRADED: GreenplumCluster.Host._Health.ValueType # 3
74
+ UNBALANCED: GreenplumCluster.Host._Health.ValueType # 4
75
+
76
+ class Health(_Health, metaclass=_HealthEnumTypeWrapper): ...
77
+ HEALTH_UNSPECIFIED: GreenplumCluster.Host.Health.ValueType # 0
78
+ ALIVE: GreenplumCluster.Host.Health.ValueType # 1
79
+ DEAD: GreenplumCluster.Host.Health.ValueType # 2
80
+ DEGRADED: GreenplumCluster.Host.Health.ValueType # 3
81
+ UNBALANCED: GreenplumCluster.Host.Health.ValueType # 4
82
+
83
+ HOST_FIELD_NUMBER: builtins.int
84
+ PORT_FIELD_NUMBER: builtins.int
85
+ ROLE_FIELD_NUMBER: builtins.int
86
+ HEALTH_FIELD_NUMBER: builtins.int
87
+ host: builtins.str
88
+ port: builtins.int
89
+ role: global___GreenplumCluster.Host.Role.ValueType
90
+ health: global___GreenplumCluster.Host.Health.ValueType
91
+ def __init__(
92
+ self,
93
+ *,
94
+ host: builtins.str = ...,
95
+ port: builtins.int = ...,
96
+ role: global___GreenplumCluster.Host.Role.ValueType = ...,
97
+ health: global___GreenplumCluster.Host.Health.ValueType = ...,
98
+ ) -> None: ...
99
+ def ClearField(self, field_name: typing.Literal["health", b"health", "host", b"host", "port", b"port", "role", b"role"]) -> None: ...
100
+
101
+ COORDINATOR_HOSTS_FIELD_NUMBER: builtins.int
102
+ TLS_PARAMS_FIELD_NUMBER: builtins.int
103
+ @property
104
+ def coordinator_hosts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GreenplumCluster.Host]: ...
105
+ @property
106
+ def tls_params(self) -> yandex.cloud.connectionmanager.v1.common_pb2.TLSParams: ...
107
+ def __init__(
108
+ self,
109
+ *,
110
+ coordinator_hosts: collections.abc.Iterable[global___GreenplumCluster.Host] | None = ...,
111
+ tls_params: yandex.cloud.connectionmanager.v1.common_pb2.TLSParams | None = ...,
112
+ ) -> None: ...
113
+ def HasField(self, field_name: typing.Literal["tls_params", b"tls_params"]) -> builtins.bool: ...
114
+ def ClearField(self, field_name: typing.Literal["coordinator_hosts", b"coordinator_hosts", "tls_params", b"tls_params"]) -> None: ...
115
+
116
+ global___GreenplumCluster = GreenplumCluster
117
+
118
+ @typing.final
119
+ class GreenplumConnection(google.protobuf.message.Message):
120
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
121
+
122
+ CLUSTER_FIELD_NUMBER: builtins.int
123
+ MANAGED_CLUSTER_ID_FIELD_NUMBER: builtins.int
124
+ AUTH_FIELD_NUMBER: builtins.int
125
+ DATABASES_FIELD_NUMBER: builtins.int
126
+ managed_cluster_id: builtins.str
127
+ """When creating/updating Connection, the field "managed_cluster_id" is
128
+ mutually exclusive with "cluster".
129
+ """
130
+ @property
131
+ def cluster(self) -> global___GreenplumCluster:
132
+ """When creating/updating Connection, the field "cluster" is mutually
133
+ exclusive with "managed_cluster_id".
134
+ """
135
+
136
+ @property
137
+ def auth(self) -> global___GreenplumAuth: ...
138
+ @property
139
+ def databases(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
140
+ def __init__(
141
+ self,
142
+ *,
143
+ cluster: global___GreenplumCluster | None = ...,
144
+ managed_cluster_id: builtins.str = ...,
145
+ auth: global___GreenplumAuth | None = ...,
146
+ databases: collections.abc.Iterable[builtins.str] | None = ...,
147
+ ) -> None: ...
148
+ def HasField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster"]) -> builtins.bool: ...
149
+ def ClearField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster", "databases", b"databases", "managed_cluster_id", b"managed_cluster_id"]) -> None: ...
150
+
151
+ global___GreenplumConnection = GreenplumConnection
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.70.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -0,0 +1,50 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/connectionmanager/v1/mongodb.proto
5
+ # Protobuf Python Version: 5.29.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 0,
17
+ '',
18
+ 'yandex/cloud/connectionmanager/v1/mongodb.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from yandex.cloud.connectionmanager.v1 import common_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_common__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/yandex/cloud/connectionmanager/v1/mongodb.proto\x12!yandex.cloud.connectionmanager.v1\x1a.yandex/cloud/connectionmanager/v1/common.proto\"g\n\x0bMongoDBAuth\x12L\n\ruser_password\x18\x01 \x01(\x0b\x32\x33.yandex.cloud.connectionmanager.v1.UserPasswordAuthH\x00\x42\n\n\x08security\"\xe8\x04\n\x0eMongoDBCluster\x12\x45\n\x05hosts\x18\x01 \x03(\x0b\x32\x36.yandex.cloud.connectionmanager.v1.MongoDBCluster.Host\x12@\n\ntls_params\x18\x02 \x01(\x0b\x32,.yandex.cloud.connectionmanager.v1.TLSParams\x1a\xcc\x03\n\x04Host\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x03\x12I\n\x04role\x18\x03 \x01(\x0e\x32;.yandex.cloud.connectionmanager.v1.MongoDBCluster.Host.Role\x12M\n\x06health\x18\x04 \x01(\x0e\x32=.yandex.cloud.connectionmanager.v1.MongoDBCluster.Host.Health\x12I\n\x04type\x18\x05 \x01(\x0e\x32;.yandex.cloud.connectionmanager.v1.MongoDBCluster.Host.Type\"D\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06MONGOD\x10\x01\x12\n\n\x06MONGOS\x10\x02\x12\x0e\n\nMONGOINFRA\x10\x03\"8\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tSECONDARY\x10\x02\"C\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\"\xc4\x01\n\x11MongoDBConnection\x12\x42\n\x07\x63luster\x18\x01 \x01(\x0b\x32\x31.yandex.cloud.connectionmanager.v1.MongoDBCluster\x12\x1a\n\x12managed_cluster_id\x18\x02 \x01(\t\x12<\n\x04\x61uth\x18\x03 \x01(\x0b\x32..yandex.cloud.connectionmanager.v1.MongoDBAuth\x12\x11\n\tdatabases\x18\x04 \x03(\tB\x80\x01\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.connectionmanager.v1.mongodb_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanager'
36
+ _globals['_MONGODBAUTH']._serialized_start=134
37
+ _globals['_MONGODBAUTH']._serialized_end=237
38
+ _globals['_MONGODBCLUSTER']._serialized_start=240
39
+ _globals['_MONGODBCLUSTER']._serialized_end=856
40
+ _globals['_MONGODBCLUSTER_HOST']._serialized_start=396
41
+ _globals['_MONGODBCLUSTER_HOST']._serialized_end=856
42
+ _globals['_MONGODBCLUSTER_HOST_TYPE']._serialized_start=661
43
+ _globals['_MONGODBCLUSTER_HOST_TYPE']._serialized_end=729
44
+ _globals['_MONGODBCLUSTER_HOST_ROLE']._serialized_start=731
45
+ _globals['_MONGODBCLUSTER_HOST_ROLE']._serialized_end=787
46
+ _globals['_MONGODBCLUSTER_HOST_HEALTH']._serialized_start=789
47
+ _globals['_MONGODBCLUSTER_HOST_HEALTH']._serialized_end=856
48
+ _globals['_MONGODBCONNECTION']._serialized_start=859
49
+ _globals['_MONGODBCONNECTION']._serialized_end=1055
50
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,169 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.internal.containers
10
+ import google.protobuf.internal.enum_type_wrapper
11
+ import google.protobuf.message
12
+ import sys
13
+ import typing
14
+ import yandex.cloud.connectionmanager.v1.common_pb2
15
+
16
+ if sys.version_info >= (3, 10):
17
+ import typing as typing_extensions
18
+ else:
19
+ import typing_extensions
20
+
21
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
22
+
23
+ @typing.final
24
+ class MongoDBAuth(google.protobuf.message.Message):
25
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
26
+
27
+ USER_PASSWORD_FIELD_NUMBER: builtins.int
28
+ @property
29
+ def user_password(self) -> yandex.cloud.connectionmanager.v1.common_pb2.UserPasswordAuth: ...
30
+ def __init__(
31
+ self,
32
+ *,
33
+ user_password: yandex.cloud.connectionmanager.v1.common_pb2.UserPasswordAuth | None = ...,
34
+ ) -> None: ...
35
+ def HasField(self, field_name: typing.Literal["security", b"security", "user_password", b"user_password"]) -> builtins.bool: ...
36
+ def ClearField(self, field_name: typing.Literal["security", b"security", "user_password", b"user_password"]) -> None: ...
37
+ def WhichOneof(self, oneof_group: typing.Literal["security", b"security"]) -> typing.Literal["user_password"] | None: ...
38
+
39
+ global___MongoDBAuth = MongoDBAuth
40
+
41
+ @typing.final
42
+ class MongoDBCluster(google.protobuf.message.Message):
43
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
44
+
45
+ @typing.final
46
+ class Host(google.protobuf.message.Message):
47
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
48
+
49
+ class _Type:
50
+ ValueType = typing.NewType("ValueType", builtins.int)
51
+ V: typing_extensions.TypeAlias = ValueType
52
+
53
+ class _TypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[MongoDBCluster.Host._Type.ValueType], builtins.type):
54
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
55
+ TYPE_UNSPECIFIED: MongoDBCluster.Host._Type.ValueType # 0
56
+ MONGOD: MongoDBCluster.Host._Type.ValueType # 1
57
+ MONGOS: MongoDBCluster.Host._Type.ValueType # 2
58
+ MONGOINFRA: MongoDBCluster.Host._Type.ValueType # 3
59
+
60
+ class Type(_Type, metaclass=_TypeEnumTypeWrapper): ...
61
+ TYPE_UNSPECIFIED: MongoDBCluster.Host.Type.ValueType # 0
62
+ MONGOD: MongoDBCluster.Host.Type.ValueType # 1
63
+ MONGOS: MongoDBCluster.Host.Type.ValueType # 2
64
+ MONGOINFRA: MongoDBCluster.Host.Type.ValueType # 3
65
+
66
+ class _Role:
67
+ ValueType = typing.NewType("ValueType", builtins.int)
68
+ V: typing_extensions.TypeAlias = ValueType
69
+
70
+ class _RoleEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[MongoDBCluster.Host._Role.ValueType], builtins.type):
71
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
72
+ ROLE_UNSPECIFIED: MongoDBCluster.Host._Role.ValueType # 0
73
+ PRIMARY: MongoDBCluster.Host._Role.ValueType # 1
74
+ SECONDARY: MongoDBCluster.Host._Role.ValueType # 2
75
+
76
+ class Role(_Role, metaclass=_RoleEnumTypeWrapper): ...
77
+ ROLE_UNSPECIFIED: MongoDBCluster.Host.Role.ValueType # 0
78
+ PRIMARY: MongoDBCluster.Host.Role.ValueType # 1
79
+ SECONDARY: MongoDBCluster.Host.Role.ValueType # 2
80
+
81
+ class _Health:
82
+ ValueType = typing.NewType("ValueType", builtins.int)
83
+ V: typing_extensions.TypeAlias = ValueType
84
+
85
+ class _HealthEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[MongoDBCluster.Host._Health.ValueType], builtins.type):
86
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
87
+ HEALTH_UNSPECIFIED: MongoDBCluster.Host._Health.ValueType # 0
88
+ ALIVE: MongoDBCluster.Host._Health.ValueType # 1
89
+ DEAD: MongoDBCluster.Host._Health.ValueType # 2
90
+ DEGRADED: MongoDBCluster.Host._Health.ValueType # 3
91
+
92
+ class Health(_Health, metaclass=_HealthEnumTypeWrapper): ...
93
+ HEALTH_UNSPECIFIED: MongoDBCluster.Host.Health.ValueType # 0
94
+ ALIVE: MongoDBCluster.Host.Health.ValueType # 1
95
+ DEAD: MongoDBCluster.Host.Health.ValueType # 2
96
+ DEGRADED: MongoDBCluster.Host.Health.ValueType # 3
97
+
98
+ HOST_FIELD_NUMBER: builtins.int
99
+ PORT_FIELD_NUMBER: builtins.int
100
+ ROLE_FIELD_NUMBER: builtins.int
101
+ HEALTH_FIELD_NUMBER: builtins.int
102
+ TYPE_FIELD_NUMBER: builtins.int
103
+ host: builtins.str
104
+ port: builtins.int
105
+ role: global___MongoDBCluster.Host.Role.ValueType
106
+ health: global___MongoDBCluster.Host.Health.ValueType
107
+ type: global___MongoDBCluster.Host.Type.ValueType
108
+ def __init__(
109
+ self,
110
+ *,
111
+ host: builtins.str = ...,
112
+ port: builtins.int = ...,
113
+ role: global___MongoDBCluster.Host.Role.ValueType = ...,
114
+ health: global___MongoDBCluster.Host.Health.ValueType = ...,
115
+ type: global___MongoDBCluster.Host.Type.ValueType = ...,
116
+ ) -> None: ...
117
+ def ClearField(self, field_name: typing.Literal["health", b"health", "host", b"host", "port", b"port", "role", b"role", "type", b"type"]) -> None: ...
118
+
119
+ HOSTS_FIELD_NUMBER: builtins.int
120
+ TLS_PARAMS_FIELD_NUMBER: builtins.int
121
+ @property
122
+ def hosts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___MongoDBCluster.Host]: ...
123
+ @property
124
+ def tls_params(self) -> yandex.cloud.connectionmanager.v1.common_pb2.TLSParams: ...
125
+ def __init__(
126
+ self,
127
+ *,
128
+ hosts: collections.abc.Iterable[global___MongoDBCluster.Host] | None = ...,
129
+ tls_params: yandex.cloud.connectionmanager.v1.common_pb2.TLSParams | None = ...,
130
+ ) -> None: ...
131
+ def HasField(self, field_name: typing.Literal["tls_params", b"tls_params"]) -> builtins.bool: ...
132
+ def ClearField(self, field_name: typing.Literal["hosts", b"hosts", "tls_params", b"tls_params"]) -> None: ...
133
+
134
+ global___MongoDBCluster = MongoDBCluster
135
+
136
+ @typing.final
137
+ class MongoDBConnection(google.protobuf.message.Message):
138
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
139
+
140
+ CLUSTER_FIELD_NUMBER: builtins.int
141
+ MANAGED_CLUSTER_ID_FIELD_NUMBER: builtins.int
142
+ AUTH_FIELD_NUMBER: builtins.int
143
+ DATABASES_FIELD_NUMBER: builtins.int
144
+ managed_cluster_id: builtins.str
145
+ """When creating/updating Connection, the field "managed_cluster_id" is
146
+ mutually exclusive with "cluster".
147
+ """
148
+ @property
149
+ def cluster(self) -> global___MongoDBCluster:
150
+ """When creating/updating Connection, the field "cluster" is mutually
151
+ exclusive with "managed_cluster_id".
152
+ """
153
+
154
+ @property
155
+ def auth(self) -> global___MongoDBAuth: ...
156
+ @property
157
+ def databases(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
158
+ def __init__(
159
+ self,
160
+ *,
161
+ cluster: global___MongoDBCluster | None = ...,
162
+ managed_cluster_id: builtins.str = ...,
163
+ auth: global___MongoDBAuth | None = ...,
164
+ databases: collections.abc.Iterable[builtins.str] | None = ...,
165
+ ) -> None: ...
166
+ def HasField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster"]) -> builtins.bool: ...
167
+ def ClearField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster", "databases", b"databases", "managed_cluster_id", b"managed_cluster_id"]) -> None: ...
168
+
169
+ global___MongoDBConnection = MongoDBConnection