yandexcloud 0.352.0__py3-none-any.whl → 0.353.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 (72) 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/server_pb2.py +13 -11
  4. yandex/cloud/connectionmanager/__init__.py +0 -0
  5. yandex/cloud/connectionmanager/v1/__init__.py +0 -0
  6. yandex/cloud/connectionmanager/v1/clickhouse_pb2.py +46 -0
  7. yandex/cloud/connectionmanager/v1/clickhouse_pb2.pyi +138 -0
  8. yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.py +24 -0
  9. yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.pyi +17 -0
  10. yandex/cloud/connectionmanager/v1/common_pb2.py +49 -0
  11. yandex/cloud/connectionmanager/v1/common_pb2.pyi +187 -0
  12. yandex/cloud/connectionmanager/v1/common_pb2_grpc.py +24 -0
  13. yandex/cloud/connectionmanager/v1/common_pb2_grpc.pyi +17 -0
  14. yandex/cloud/connectionmanager/v1/connection_pb2.py +58 -0
  15. yandex/cloud/connectionmanager/v1/connection_pb2.pyi +205 -0
  16. yandex/cloud/connectionmanager/v1/connection_pb2_grpc.py +24 -0
  17. yandex/cloud/connectionmanager/v1/connection_pb2_grpc.pyi +17 -0
  18. yandex/cloud/connectionmanager/v1/connection_service_pb2.py +91 -0
  19. yandex/cloud/connectionmanager/v1/connection_service_pb2.pyi +320 -0
  20. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.py +362 -0
  21. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.pyi +163 -0
  22. yandex/cloud/connectionmanager/v1/greenplum_pb2.py +48 -0
  23. yandex/cloud/connectionmanager/v1/greenplum_pb2.pyi +151 -0
  24. yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.py +24 -0
  25. yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.pyi +17 -0
  26. yandex/cloud/connectionmanager/v1/mongodb_pb2.py +50 -0
  27. yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +169 -0
  28. yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.py +24 -0
  29. yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.pyi +17 -0
  30. yandex/cloud/connectionmanager/v1/mysql_pb2.py +48 -0
  31. yandex/cloud/connectionmanager/v1/mysql_pb2.pyi +151 -0
  32. yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.py +24 -0
  33. yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.pyi +17 -0
  34. yandex/cloud/connectionmanager/v1/opensearch_pb2.py +48 -0
  35. yandex/cloud/connectionmanager/v1/opensearch_pb2.pyi +148 -0
  36. yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.py +24 -0
  37. yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.pyi +17 -0
  38. yandex/cloud/connectionmanager/v1/package_options_pb2.py +35 -0
  39. yandex/cloud/connectionmanager/v1/package_options_pb2.pyi +8 -0
  40. yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.py +24 -0
  41. yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.pyi +17 -0
  42. yandex/cloud/connectionmanager/v1/postgresql_pb2.py +50 -0
  43. yandex/cloud/connectionmanager/v1/postgresql_pb2.pyi +171 -0
  44. yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.py +24 -0
  45. yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.pyi +17 -0
  46. yandex/cloud/connectionmanager/v1/redis_pb2.py +50 -0
  47. yandex/cloud/connectionmanager/v1/redis_pb2.pyi +163 -0
  48. yandex/cloud/connectionmanager/v1/redis_pb2_grpc.py +24 -0
  49. yandex/cloud/connectionmanager/v1/redis_pb2_grpc.pyi +17 -0
  50. yandex/cloud/connectionmanager/v1/trino_pb2.py +44 -0
  51. yandex/cloud/connectionmanager/v1/trino_pb2.pyi +88 -0
  52. yandex/cloud/connectionmanager/v1/trino_pb2_grpc.py +24 -0
  53. yandex/cloud/connectionmanager/v1/trino_pb2_grpc.pyi +17 -0
  54. yandex/cloud/connectionmanager/v1/valkey_pb2.py +50 -0
  55. yandex/cloud/connectionmanager/v1/valkey_pb2.pyi +173 -0
  56. yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.py +24 -0
  57. yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.pyi +17 -0
  58. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +94 -76
  59. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +239 -14
  60. yandex/cloud/organizationmanager/v1/saml/federation_pb2.py +17 -3
  61. yandex/cloud/organizationmanager/v1/saml/federation_pb2.pyi +209 -0
  62. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +55 -3
  63. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +231 -0
  64. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +222 -0
  65. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +109 -0
  66. yandexcloud/__init__.py +1 -1
  67. {yandexcloud-0.352.0.dist-info → yandexcloud-0.353.0.dist-info}/METADATA +1 -1
  68. {yandexcloud-0.352.0.dist-info → yandexcloud-0.353.0.dist-info}/RECORD +72 -18
  69. {yandexcloud-0.352.0.dist-info → yandexcloud-0.353.0.dist-info}/AUTHORS +0 -0
  70. {yandexcloud-0.352.0.dist-info → yandexcloud-0.353.0.dist-info}/LICENSE +0 -0
  71. {yandexcloud-0.352.0.dist-info → yandexcloud-0.353.0.dist-info}/WHEEL +0 -0
  72. {yandexcloud-0.352.0.dist-info → yandexcloud-0.353.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,320 @@
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.field_mask_pb2
10
+ import google.protobuf.internal.containers
11
+ import google.protobuf.message
12
+ import google.protobuf.wrappers_pb2
13
+ import typing
14
+ import yandex.cloud.connectionmanager.v1.connection_pb2
15
+ import yandex.cloud.operation.operation_pb2
16
+
17
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
18
+
19
+ @typing.final
20
+ class CreateConnectionRequest(google.protobuf.message.Message):
21
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
22
+
23
+ @typing.final
24
+ class LabelsEntry(google.protobuf.message.Message):
25
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
26
+
27
+ KEY_FIELD_NUMBER: builtins.int
28
+ VALUE_FIELD_NUMBER: builtins.int
29
+ key: builtins.str
30
+ value: builtins.str
31
+ def __init__(
32
+ self,
33
+ *,
34
+ key: builtins.str = ...,
35
+ value: builtins.str = ...,
36
+ ) -> None: ...
37
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
38
+
39
+ FOLDER_ID_FIELD_NUMBER: builtins.int
40
+ NAME_FIELD_NUMBER: builtins.int
41
+ DESCRIPTION_FIELD_NUMBER: builtins.int
42
+ LABELS_FIELD_NUMBER: builtins.int
43
+ PARAMS_FIELD_NUMBER: builtins.int
44
+ folder_id: builtins.str
45
+ name: builtins.str
46
+ description: builtins.str
47
+ @property
48
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
49
+ @property
50
+ def params(self) -> yandex.cloud.connectionmanager.v1.connection_pb2.ConnectionParams: ...
51
+ def __init__(
52
+ self,
53
+ *,
54
+ folder_id: builtins.str = ...,
55
+ name: builtins.str = ...,
56
+ description: builtins.str = ...,
57
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
58
+ params: yandex.cloud.connectionmanager.v1.connection_pb2.ConnectionParams | None = ...,
59
+ ) -> None: ...
60
+ def HasField(self, field_name: typing.Literal["params", b"params"]) -> builtins.bool: ...
61
+ def ClearField(self, field_name: typing.Literal["description", b"description", "folder_id", b"folder_id", "labels", b"labels", "name", b"name", "params", b"params"]) -> None: ...
62
+
63
+ global___CreateConnectionRequest = CreateConnectionRequest
64
+
65
+ @typing.final
66
+ class CreateConnectionMetadata(google.protobuf.message.Message):
67
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
68
+
69
+ CONNECTION_ID_FIELD_NUMBER: builtins.int
70
+ connection_id: builtins.str
71
+ def __init__(
72
+ self,
73
+ *,
74
+ connection_id: builtins.str = ...,
75
+ ) -> None: ...
76
+ def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id"]) -> None: ...
77
+
78
+ global___CreateConnectionMetadata = CreateConnectionMetadata
79
+
80
+ @typing.final
81
+ class UpdateConnectionRequest(google.protobuf.message.Message):
82
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
83
+
84
+ @typing.final
85
+ class LabelsEntry(google.protobuf.message.Message):
86
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
87
+
88
+ KEY_FIELD_NUMBER: builtins.int
89
+ VALUE_FIELD_NUMBER: builtins.int
90
+ key: builtins.str
91
+ value: builtins.str
92
+ def __init__(
93
+ self,
94
+ *,
95
+ key: builtins.str = ...,
96
+ value: builtins.str = ...,
97
+ ) -> None: ...
98
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
99
+
100
+ CONNECTION_ID_FIELD_NUMBER: builtins.int
101
+ UPDATE_MASK_FIELD_NUMBER: builtins.int
102
+ NAME_FIELD_NUMBER: builtins.int
103
+ DESCRIPTION_FIELD_NUMBER: builtins.int
104
+ LABELS_FIELD_NUMBER: builtins.int
105
+ PARAMS_FIELD_NUMBER: builtins.int
106
+ connection_id: builtins.str
107
+ name: builtins.str
108
+ description: builtins.str
109
+ @property
110
+ def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: ...
111
+ @property
112
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
113
+ @property
114
+ def params(self) -> yandex.cloud.connectionmanager.v1.connection_pb2.ConnectionParams: ...
115
+ def __init__(
116
+ self,
117
+ *,
118
+ connection_id: builtins.str = ...,
119
+ update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
120
+ name: builtins.str = ...,
121
+ description: builtins.str = ...,
122
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
123
+ params: yandex.cloud.connectionmanager.v1.connection_pb2.ConnectionParams | None = ...,
124
+ ) -> None: ...
125
+ def HasField(self, field_name: typing.Literal["params", b"params", "update_mask", b"update_mask"]) -> builtins.bool: ...
126
+ def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id", "description", b"description", "labels", b"labels", "name", b"name", "params", b"params", "update_mask", b"update_mask"]) -> None: ...
127
+
128
+ global___UpdateConnectionRequest = UpdateConnectionRequest
129
+
130
+ @typing.final
131
+ class UpdateConnectionMetadata(google.protobuf.message.Message):
132
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
133
+
134
+ CONNECTION_ID_FIELD_NUMBER: builtins.int
135
+ connection_id: builtins.str
136
+ def __init__(
137
+ self,
138
+ *,
139
+ connection_id: builtins.str = ...,
140
+ ) -> None: ...
141
+ def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id"]) -> None: ...
142
+
143
+ global___UpdateConnectionMetadata = UpdateConnectionMetadata
144
+
145
+ @typing.final
146
+ class DeleteConnectionRequest(google.protobuf.message.Message):
147
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
148
+
149
+ CONNECTION_ID_FIELD_NUMBER: builtins.int
150
+ connection_id: builtins.str
151
+ def __init__(
152
+ self,
153
+ *,
154
+ connection_id: builtins.str = ...,
155
+ ) -> None: ...
156
+ def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id"]) -> None: ...
157
+
158
+ global___DeleteConnectionRequest = DeleteConnectionRequest
159
+
160
+ @typing.final
161
+ class DeleteConnectionMetadata(google.protobuf.message.Message):
162
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
163
+
164
+ def __init__(
165
+ self,
166
+ ) -> None: ...
167
+
168
+ global___DeleteConnectionMetadata = DeleteConnectionMetadata
169
+
170
+ @typing.final
171
+ class ListConnectionRequest(google.protobuf.message.Message):
172
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
173
+
174
+ FOLDER_ID_FIELD_NUMBER: builtins.int
175
+ MDB_CLUSTER_ID_FIELD_NUMBER: builtins.int
176
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
177
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
178
+ NAME_PATTERN_OR_ID_FIELD_NUMBER: builtins.int
179
+ AUTHOR_ID_FIELD_NUMBER: builtins.int
180
+ WITH_CAN_USE_FIELD_NUMBER: builtins.int
181
+ IS_ONPREMISE_FIELD_NUMBER: builtins.int
182
+ IS_MANUAL_FIELD_NUMBER: builtins.int
183
+ DB_TYPE_FIELD_NUMBER: builtins.int
184
+ folder_id: builtins.str
185
+ mdb_cluster_id: builtins.str
186
+ page_size: builtins.int
187
+ page_token: builtins.str
188
+ name_pattern_or_id: builtins.str
189
+ author_id: builtins.str
190
+ with_can_use: builtins.bool
191
+ db_type: yandex.cloud.connectionmanager.v1.connection_pb2.DBType.ValueType
192
+ @property
193
+ def is_onpremise(self) -> google.protobuf.wrappers_pb2.BoolValue: ...
194
+ @property
195
+ def is_manual(self) -> google.protobuf.wrappers_pb2.BoolValue: ...
196
+ def __init__(
197
+ self,
198
+ *,
199
+ folder_id: builtins.str = ...,
200
+ mdb_cluster_id: builtins.str = ...,
201
+ page_size: builtins.int = ...,
202
+ page_token: builtins.str = ...,
203
+ name_pattern_or_id: builtins.str = ...,
204
+ author_id: builtins.str = ...,
205
+ with_can_use: builtins.bool = ...,
206
+ is_onpremise: google.protobuf.wrappers_pb2.BoolValue | None = ...,
207
+ is_manual: google.protobuf.wrappers_pb2.BoolValue | None = ...,
208
+ db_type: yandex.cloud.connectionmanager.v1.connection_pb2.DBType.ValueType = ...,
209
+ ) -> None: ...
210
+ def HasField(self, field_name: typing.Literal["is_manual", b"is_manual", "is_onpremise", b"is_onpremise"]) -> builtins.bool: ...
211
+ def ClearField(self, field_name: typing.Literal["author_id", b"author_id", "db_type", b"db_type", "folder_id", b"folder_id", "is_manual", b"is_manual", "is_onpremise", b"is_onpremise", "mdb_cluster_id", b"mdb_cluster_id", "name_pattern_or_id", b"name_pattern_or_id", "page_size", b"page_size", "page_token", b"page_token", "with_can_use", b"with_can_use"]) -> None: ...
212
+
213
+ global___ListConnectionRequest = ListConnectionRequest
214
+
215
+ @typing.final
216
+ class ListConnectionResponse(google.protobuf.message.Message):
217
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
218
+
219
+ CONNECTION_FIELD_NUMBER: builtins.int
220
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
221
+ next_page_token: builtins.str
222
+ @property
223
+ def connection(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.connectionmanager.v1.connection_pb2.Connection]: ...
224
+ def __init__(
225
+ self,
226
+ *,
227
+ connection: collections.abc.Iterable[yandex.cloud.connectionmanager.v1.connection_pb2.Connection] | None = ...,
228
+ next_page_token: builtins.str = ...,
229
+ ) -> None: ...
230
+ def ClearField(self, field_name: typing.Literal["connection", b"connection", "next_page_token", b"next_page_token"]) -> None: ...
231
+
232
+ global___ListConnectionResponse = ListConnectionResponse
233
+
234
+ @typing.final
235
+ class GetConnectionRequest(google.protobuf.message.Message):
236
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
237
+
238
+ CONNECTION_ID_FIELD_NUMBER: builtins.int
239
+ connection_id: builtins.str
240
+ def __init__(
241
+ self,
242
+ *,
243
+ connection_id: builtins.str = ...,
244
+ ) -> None: ...
245
+ def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id"]) -> None: ...
246
+
247
+ global___GetConnectionRequest = GetConnectionRequest
248
+
249
+ @typing.final
250
+ class ResolveClusterRequest(google.protobuf.message.Message):
251
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
252
+
253
+ CONNECTION_ID_FIELD_NUMBER: builtins.int
254
+ connection_id: builtins.str
255
+ def __init__(
256
+ self,
257
+ *,
258
+ connection_id: builtins.str = ...,
259
+ ) -> None: ...
260
+ def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id"]) -> None: ...
261
+
262
+ global___ResolveClusterRequest = ResolveClusterRequest
263
+
264
+ @typing.final
265
+ class DeleteVersionMetadata(google.protobuf.message.Message):
266
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
267
+
268
+ CONNECTION_ID_FIELD_NUMBER: builtins.int
269
+ VERSION_ID_FIELD_NUMBER: builtins.int
270
+ connection_id: builtins.str
271
+ version_id: builtins.str
272
+ def __init__(
273
+ self,
274
+ *,
275
+ connection_id: builtins.str = ...,
276
+ version_id: builtins.str = ...,
277
+ ) -> None: ...
278
+ def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id", "version_id", b"version_id"]) -> None: ...
279
+
280
+ global___DeleteVersionMetadata = DeleteVersionMetadata
281
+
282
+ @typing.final
283
+ class ListOperationsRequest(google.protobuf.message.Message):
284
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
285
+
286
+ CONNECTION_ID_FIELD_NUMBER: builtins.int
287
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
288
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
289
+ connection_id: builtins.str
290
+ page_size: builtins.int
291
+ page_token: builtins.str
292
+ def __init__(
293
+ self,
294
+ *,
295
+ connection_id: builtins.str = ...,
296
+ page_size: builtins.int = ...,
297
+ page_token: builtins.str = ...,
298
+ ) -> None: ...
299
+ def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
300
+
301
+ global___ListOperationsRequest = ListOperationsRequest
302
+
303
+ @typing.final
304
+ class ListOperationsResponse(google.protobuf.message.Message):
305
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
306
+
307
+ OPERATIONS_FIELD_NUMBER: builtins.int
308
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
309
+ next_page_token: builtins.str
310
+ @property
311
+ def operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.operation.operation_pb2.Operation]: ...
312
+ def __init__(
313
+ self,
314
+ *,
315
+ operations: collections.abc.Iterable[yandex.cloud.operation.operation_pb2.Operation] | None = ...,
316
+ next_page_token: builtins.str = ...,
317
+ ) -> None: ...
318
+ def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "operations", b"operations"]) -> None: ...
319
+
320
+ global___ListOperationsResponse = ListOperationsResponse
@@ -0,0 +1,362 @@
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
+ from yandex.cloud.connectionmanager.v1 import connection_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__pb2
7
+ from yandex.cloud.connectionmanager.v1 import connection_service_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2
8
+ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
9
+
10
+ GRPC_GENERATED_VERSION = '1.70.0'
11
+ GRPC_VERSION = grpc.__version__
12
+ _version_not_supported = False
13
+
14
+ try:
15
+ from grpc._utilities import first_version_is_lower
16
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
17
+ except ImportError:
18
+ _version_not_supported = True
19
+
20
+ if _version_not_supported:
21
+ raise RuntimeError(
22
+ f'The grpc package installed is at version {GRPC_VERSION},'
23
+ + f' but the generated code in yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.py depends on'
24
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
25
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
26
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
27
+ )
28
+
29
+
30
+ class ConnectionServiceStub(object):
31
+ """Missing associated documentation comment in .proto file."""
32
+
33
+ def __init__(self, channel):
34
+ """Constructor.
35
+
36
+ Args:
37
+ channel: A grpc.Channel.
38
+ """
39
+ self.Get = channel.unary_unary(
40
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/Get',
41
+ request_serializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.GetConnectionRequest.SerializeToString,
42
+ response_deserializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__pb2.Connection.FromString,
43
+ _registered_method=True)
44
+ self.ResolveCluster = channel.unary_unary(
45
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/ResolveCluster',
46
+ request_serializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ResolveClusterRequest.SerializeToString,
47
+ response_deserializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__pb2.Connection.FromString,
48
+ _registered_method=True)
49
+ self.List = channel.unary_unary(
50
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/List',
51
+ request_serializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ListConnectionRequest.SerializeToString,
52
+ response_deserializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ListConnectionResponse.FromString,
53
+ _registered_method=True)
54
+ self.Create = channel.unary_unary(
55
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/Create',
56
+ request_serializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.CreateConnectionRequest.SerializeToString,
57
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
58
+ _registered_method=True)
59
+ self.Update = channel.unary_unary(
60
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/Update',
61
+ request_serializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.UpdateConnectionRequest.SerializeToString,
62
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
63
+ _registered_method=True)
64
+ self.Delete = channel.unary_unary(
65
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/Delete',
66
+ request_serializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.DeleteConnectionRequest.SerializeToString,
67
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
68
+ _registered_method=True)
69
+ self.ListOperations = channel.unary_unary(
70
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/ListOperations',
71
+ request_serializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ListOperationsRequest.SerializeToString,
72
+ response_deserializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ListOperationsResponse.FromString,
73
+ _registered_method=True)
74
+
75
+
76
+ class ConnectionServiceServicer(object):
77
+ """Missing associated documentation comment in .proto file."""
78
+
79
+ def Get(self, request, context):
80
+ """Missing associated documentation comment in .proto file."""
81
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
82
+ context.set_details('Method not implemented!')
83
+ raise NotImplementedError('Method not implemented!')
84
+
85
+ def ResolveCluster(self, request, context):
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
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
93
+ context.set_details('Method not implemented!')
94
+ raise NotImplementedError('Method not implemented!')
95
+
96
+ def List(self, request, context):
97
+ """Missing associated documentation comment in .proto file."""
98
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
99
+ context.set_details('Method not implemented!')
100
+ raise NotImplementedError('Method not implemented!')
101
+
102
+ def Create(self, request, context):
103
+ """Missing associated documentation comment in .proto file."""
104
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
105
+ context.set_details('Method not implemented!')
106
+ raise NotImplementedError('Method not implemented!')
107
+
108
+ def Update(self, request, context):
109
+ """Missing associated documentation comment in .proto file."""
110
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
111
+ context.set_details('Method not implemented!')
112
+ raise NotImplementedError('Method not implemented!')
113
+
114
+ def Delete(self, request, context):
115
+ """Missing associated documentation comment in .proto file."""
116
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
117
+ context.set_details('Method not implemented!')
118
+ raise NotImplementedError('Method not implemented!')
119
+
120
+ def ListOperations(self, request, context):
121
+ """Missing associated documentation comment in .proto file."""
122
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
123
+ context.set_details('Method not implemented!')
124
+ raise NotImplementedError('Method not implemented!')
125
+
126
+
127
+ def add_ConnectionServiceServicer_to_server(servicer, server):
128
+ rpc_method_handlers = {
129
+ 'Get': grpc.unary_unary_rpc_method_handler(
130
+ servicer.Get,
131
+ request_deserializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.GetConnectionRequest.FromString,
132
+ response_serializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__pb2.Connection.SerializeToString,
133
+ ),
134
+ 'ResolveCluster': grpc.unary_unary_rpc_method_handler(
135
+ servicer.ResolveCluster,
136
+ request_deserializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ResolveClusterRequest.FromString,
137
+ response_serializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__pb2.Connection.SerializeToString,
138
+ ),
139
+ 'List': grpc.unary_unary_rpc_method_handler(
140
+ servicer.List,
141
+ request_deserializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ListConnectionRequest.FromString,
142
+ response_serializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ListConnectionResponse.SerializeToString,
143
+ ),
144
+ 'Create': grpc.unary_unary_rpc_method_handler(
145
+ servicer.Create,
146
+ request_deserializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.CreateConnectionRequest.FromString,
147
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
148
+ ),
149
+ 'Update': grpc.unary_unary_rpc_method_handler(
150
+ servicer.Update,
151
+ request_deserializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.UpdateConnectionRequest.FromString,
152
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
153
+ ),
154
+ 'Delete': grpc.unary_unary_rpc_method_handler(
155
+ servicer.Delete,
156
+ request_deserializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.DeleteConnectionRequest.FromString,
157
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
158
+ ),
159
+ 'ListOperations': grpc.unary_unary_rpc_method_handler(
160
+ servicer.ListOperations,
161
+ request_deserializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ListOperationsRequest.FromString,
162
+ response_serializer=yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ListOperationsResponse.SerializeToString,
163
+ ),
164
+ }
165
+ generic_handler = grpc.method_handlers_generic_handler(
166
+ 'yandex.cloud.connectionmanager.v1.ConnectionService', rpc_method_handlers)
167
+ server.add_generic_rpc_handlers((generic_handler,))
168
+ server.add_registered_method_handlers('yandex.cloud.connectionmanager.v1.ConnectionService', rpc_method_handlers)
169
+
170
+
171
+ # This class is part of an EXPERIMENTAL API.
172
+ class ConnectionService(object):
173
+ """Missing associated documentation comment in .proto file."""
174
+
175
+ @staticmethod
176
+ def Get(request,
177
+ target,
178
+ options=(),
179
+ channel_credentials=None,
180
+ call_credentials=None,
181
+ insecure=False,
182
+ compression=None,
183
+ wait_for_ready=None,
184
+ timeout=None,
185
+ metadata=None):
186
+ return grpc.experimental.unary_unary(
187
+ request,
188
+ target,
189
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/Get',
190
+ yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.GetConnectionRequest.SerializeToString,
191
+ yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__pb2.Connection.FromString,
192
+ options,
193
+ channel_credentials,
194
+ insecure,
195
+ call_credentials,
196
+ compression,
197
+ wait_for_ready,
198
+ timeout,
199
+ metadata,
200
+ _registered_method=True)
201
+
202
+ @staticmethod
203
+ def ResolveCluster(request,
204
+ target,
205
+ options=(),
206
+ channel_credentials=None,
207
+ call_credentials=None,
208
+ insecure=False,
209
+ compression=None,
210
+ wait_for_ready=None,
211
+ timeout=None,
212
+ metadata=None):
213
+ return grpc.experimental.unary_unary(
214
+ request,
215
+ target,
216
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/ResolveCluster',
217
+ yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ResolveClusterRequest.SerializeToString,
218
+ yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__pb2.Connection.FromString,
219
+ options,
220
+ channel_credentials,
221
+ insecure,
222
+ call_credentials,
223
+ compression,
224
+ wait_for_ready,
225
+ timeout,
226
+ metadata,
227
+ _registered_method=True)
228
+
229
+ @staticmethod
230
+ def List(request,
231
+ target,
232
+ options=(),
233
+ channel_credentials=None,
234
+ call_credentials=None,
235
+ insecure=False,
236
+ compression=None,
237
+ wait_for_ready=None,
238
+ timeout=None,
239
+ metadata=None):
240
+ return grpc.experimental.unary_unary(
241
+ request,
242
+ target,
243
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/List',
244
+ yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ListConnectionRequest.SerializeToString,
245
+ yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ListConnectionResponse.FromString,
246
+ options,
247
+ channel_credentials,
248
+ insecure,
249
+ call_credentials,
250
+ compression,
251
+ wait_for_ready,
252
+ timeout,
253
+ metadata,
254
+ _registered_method=True)
255
+
256
+ @staticmethod
257
+ def Create(request,
258
+ target,
259
+ options=(),
260
+ channel_credentials=None,
261
+ call_credentials=None,
262
+ insecure=False,
263
+ compression=None,
264
+ wait_for_ready=None,
265
+ timeout=None,
266
+ metadata=None):
267
+ return grpc.experimental.unary_unary(
268
+ request,
269
+ target,
270
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/Create',
271
+ yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.CreateConnectionRequest.SerializeToString,
272
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
273
+ options,
274
+ channel_credentials,
275
+ insecure,
276
+ call_credentials,
277
+ compression,
278
+ wait_for_ready,
279
+ timeout,
280
+ metadata,
281
+ _registered_method=True)
282
+
283
+ @staticmethod
284
+ def Update(request,
285
+ target,
286
+ options=(),
287
+ channel_credentials=None,
288
+ call_credentials=None,
289
+ insecure=False,
290
+ compression=None,
291
+ wait_for_ready=None,
292
+ timeout=None,
293
+ metadata=None):
294
+ return grpc.experimental.unary_unary(
295
+ request,
296
+ target,
297
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/Update',
298
+ yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.UpdateConnectionRequest.SerializeToString,
299
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
300
+ options,
301
+ channel_credentials,
302
+ insecure,
303
+ call_credentials,
304
+ compression,
305
+ wait_for_ready,
306
+ timeout,
307
+ metadata,
308
+ _registered_method=True)
309
+
310
+ @staticmethod
311
+ def Delete(request,
312
+ target,
313
+ options=(),
314
+ channel_credentials=None,
315
+ call_credentials=None,
316
+ insecure=False,
317
+ compression=None,
318
+ wait_for_ready=None,
319
+ timeout=None,
320
+ metadata=None):
321
+ return grpc.experimental.unary_unary(
322
+ request,
323
+ target,
324
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/Delete',
325
+ yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.DeleteConnectionRequest.SerializeToString,
326
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
327
+ options,
328
+ channel_credentials,
329
+ insecure,
330
+ call_credentials,
331
+ compression,
332
+ wait_for_ready,
333
+ timeout,
334
+ metadata,
335
+ _registered_method=True)
336
+
337
+ @staticmethod
338
+ def ListOperations(request,
339
+ target,
340
+ options=(),
341
+ channel_credentials=None,
342
+ call_credentials=None,
343
+ insecure=False,
344
+ compression=None,
345
+ wait_for_ready=None,
346
+ timeout=None,
347
+ metadata=None):
348
+ return grpc.experimental.unary_unary(
349
+ request,
350
+ target,
351
+ '/yandex.cloud.connectionmanager.v1.ConnectionService/ListOperations',
352
+ yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ListOperationsRequest.SerializeToString,
353
+ yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__service__pb2.ListOperationsResponse.FromString,
354
+ options,
355
+ channel_credentials,
356
+ insecure,
357
+ call_credentials,
358
+ compression,
359
+ wait_for_ready,
360
+ timeout,
361
+ metadata,
362
+ _registered_method=True)