yandexcloud 0.351.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.
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +18 -18
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +18 -2
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/baremetal/v1alpha/server_pb2.py +13 -11
- yandex/cloud/cdn/v1/origin_group_pb2.py +3 -3
- yandex/cloud/cdn/v1/origin_group_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_group_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_group_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_pb2.py +10 -10
- yandex/cloud/cdn/v1/origin_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/resource_pb2.py +64 -64
- yandex/cloud/cdn/v1/resource_pb2.pyi +9 -1
- yandex/cloud/cdn/v1/resource_service_pb2.py +26 -26
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/connectionmanager/__init__.py +0 -0
- yandex/cloud/connectionmanager/v1/__init__.py +0 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2.py +46 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2.pyi +138 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/common_pb2.py +49 -0
- yandex/cloud/connectionmanager/v1/common_pb2.pyi +187 -0
- yandex/cloud/connectionmanager/v1/common_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/common_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/connection_pb2.py +58 -0
- yandex/cloud/connectionmanager/v1/connection_pb2.pyi +205 -0
- yandex/cloud/connectionmanager/v1/connection_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/connection_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2.py +91 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2.pyi +320 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.py +362 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.pyi +163 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2.py +48 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2.pyi +151 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +169 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2.py +48 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2.pyi +151 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2.py +48 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2.pyi +148 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2.py +35 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2.pyi +171 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/redis_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/redis_pb2.pyi +163 -0
- yandex/cloud/connectionmanager/v1/redis_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/redis_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/trino_pb2.py +44 -0
- yandex/cloud/connectionmanager/v1/trino_pb2.pyi +88 -0
- yandex/cloud/connectionmanager/v1/trino_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/trino_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2.pyi +173 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.pyi +17 -0
- yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
- yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +9 -5
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +94 -76
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +239 -14
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -76
- yandex/cloud/metastore/v1/cluster_pb2.py +19 -19
- yandex/cloud/metastore/v1/cluster_pb2.pyi +39 -32
- yandex/cloud/metastore/v1/cluster_service_pb2.py +47 -47
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +90 -91
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +63 -66
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +62 -77
- yandex/cloud/organizationmanager/v1/saml/federation_pb2.py +17 -3
- yandex/cloud/organizationmanager/v1/saml/federation_pb2.pyi +209 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +55 -3
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +231 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +222 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +109 -0
- yandex/cloud/quotamanager/v1/quota_request_service_pb2.py +3 -3
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +12 -10
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +17 -3
- yandex/cloud/video/v1/channel_pb2.py +12 -12
- yandex/cloud/video/v1/channel_pb2.pyi +88 -22
- yandex/cloud/video/v1/channel_service_pb2.py +14 -14
- yandex/cloud/video/v1/channel_service_pb2.pyi +77 -41
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +26 -9
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +87 -30
- yandex/cloud/video/v1/episode_pb2.py +8 -10
- yandex/cloud/video/v1/episode_pb2.pyi +52 -36
- yandex/cloud/video/v1/episode_service_pb2.py +44 -42
- yandex/cloud/video/v1/episode_service_pb2.pyi +131 -82
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +30 -10
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +102 -33
- yandex/cloud/video/v1/manifest_pb2.pyi +24 -1
- yandex/cloud/video/v1/playlist_pb2.py +4 -6
- yandex/cloud/video/v1/playlist_pb2.pyi +24 -12
- yandex/cloud/video/v1/playlist_service_pb2.py +28 -24
- yandex/cloud/video/v1/playlist_service_pb2.pyi +99 -47
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +20 -7
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +75 -24
- yandex/cloud/video/v1/stream_line_pb2.py +16 -16
- yandex/cloud/video/v1/stream_line_pb2.pyi +11 -12
- yandex/cloud/video/v1/stream_line_service_pb2.py +54 -56
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +110 -65
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +25 -10
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +96 -33
- yandex/cloud/video/v1/stream_pb2.pyi +49 -36
- yandex/cloud/video/v1/stream_service_pb2.pyi +123 -52
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +25 -8
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +84 -27
- yandex/cloud/video/v1/style_preset_pb2.py +49 -0
- yandex/cloud/video/v1/style_preset_pb2.pyi +200 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.py +24 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/style_preset_service_pb2.py +141 -0
- yandex/cloud/video/v1/style_preset_service_pb2.pyi +348 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.py +290 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.pyi +171 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +32 -23
- yandex/cloud/video/v1/subtitle_service_pb2.py +17 -17
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +25 -13
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +18 -5
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +63 -18
- yandex/cloud/video/v1/thumbnail_pb2.py +3 -3
- yandex/cloud/video/v1/thumbnail_pb2.pyi +18 -5
- yandex/cloud/video/v1/thumbnail_service_pb2.py +39 -31
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +94 -33
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +21 -6
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +75 -21
- yandex/cloud/video/v1/video_pb2.py +24 -24
- yandex/cloud/video/v1/video_pb2.pyi +105 -64
- yandex/cloud/video/v1/video_service_pb2.py +80 -74
- yandex/cloud/video/v1/video_service_pb2.pyi +193 -90
- yandex/cloud/video/v1/video_service_pb2_grpc.py +35 -12
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +123 -39
- yandex/cloud/ytsaurus/v1/package_options_pb2.py +35 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.pyi +17 -0
- yandexcloud/__init__.py +1 -1
- yandexcloud/_wrappers/dataproc/__init__.py +4 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/RECORD +163 -97
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/top_level.txt +0 -0
|
@@ -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)
|
|
@@ -0,0 +1,163 @@
|
|
|
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
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
24
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
25
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.GetConnectionRequest,
|
|
26
|
+
yandex.cloud.connectionmanager.v1.connection_pb2.Connection,
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
ResolveCluster: grpc.UnaryUnaryMultiCallable[
|
|
30
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.ResolveClusterRequest,
|
|
31
|
+
yandex.cloud.connectionmanager.v1.connection_pb2.Connection,
|
|
32
|
+
]
|
|
33
|
+
"""Returns the connection with the resolved cluster; that is,
|
|
34
|
+
* for connections to the on-premise clusters is identical to the Get RPC;
|
|
35
|
+
* for connections to the managed clusters, resolves the cluster topology
|
|
36
|
+
and returns it in the `on_premise` field of the connection parameters.
|
|
37
|
+
Requires `connection-manager.connections.resolveCluster` permission.
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
List: grpc.UnaryUnaryMultiCallable[
|
|
41
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionRequest,
|
|
42
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse,
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
Create: grpc.UnaryUnaryMultiCallable[
|
|
46
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.CreateConnectionRequest,
|
|
47
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
48
|
+
]
|
|
49
|
+
|
|
50
|
+
Update: grpc.UnaryUnaryMultiCallable[
|
|
51
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.UpdateConnectionRequest,
|
|
52
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
Delete: grpc.UnaryUnaryMultiCallable[
|
|
56
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.DeleteConnectionRequest,
|
|
57
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
58
|
+
]
|
|
59
|
+
|
|
60
|
+
ListOperations: grpc.UnaryUnaryMultiCallable[
|
|
61
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsRequest,
|
|
62
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse,
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
class ConnectionServiceAsyncStub:
|
|
66
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
67
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.GetConnectionRequest,
|
|
68
|
+
yandex.cloud.connectionmanager.v1.connection_pb2.Connection,
|
|
69
|
+
]
|
|
70
|
+
|
|
71
|
+
ResolveCluster: grpc.aio.UnaryUnaryMultiCallable[
|
|
72
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.ResolveClusterRequest,
|
|
73
|
+
yandex.cloud.connectionmanager.v1.connection_pb2.Connection,
|
|
74
|
+
]
|
|
75
|
+
"""Returns the connection with the resolved cluster; that is,
|
|
76
|
+
* for connections to the on-premise clusters is identical to the Get RPC;
|
|
77
|
+
* for connections to the managed clusters, resolves the cluster topology
|
|
78
|
+
and returns it in the `on_premise` field of the connection parameters.
|
|
79
|
+
Requires `connection-manager.connections.resolveCluster` permission.
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
83
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionRequest,
|
|
84
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse,
|
|
85
|
+
]
|
|
86
|
+
|
|
87
|
+
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
88
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.CreateConnectionRequest,
|
|
89
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
90
|
+
]
|
|
91
|
+
|
|
92
|
+
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
93
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.UpdateConnectionRequest,
|
|
94
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
95
|
+
]
|
|
96
|
+
|
|
97
|
+
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
98
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.DeleteConnectionRequest,
|
|
99
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
100
|
+
]
|
|
101
|
+
|
|
102
|
+
ListOperations: grpc.aio.UnaryUnaryMultiCallable[
|
|
103
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsRequest,
|
|
104
|
+
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse,
|
|
105
|
+
]
|
|
106
|
+
|
|
107
|
+
class ConnectionServiceServicer(metaclass=abc.ABCMeta):
|
|
108
|
+
@abc.abstractmethod
|
|
109
|
+
def Get(
|
|
110
|
+
self,
|
|
111
|
+
request: yandex.cloud.connectionmanager.v1.connection_service_pb2.GetConnectionRequest,
|
|
112
|
+
context: _ServicerContext,
|
|
113
|
+
) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_pb2.Connection, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_pb2.Connection]]: ...
|
|
114
|
+
|
|
115
|
+
@abc.abstractmethod
|
|
116
|
+
def ResolveCluster(
|
|
117
|
+
self,
|
|
118
|
+
request: yandex.cloud.connectionmanager.v1.connection_service_pb2.ResolveClusterRequest,
|
|
119
|
+
context: _ServicerContext,
|
|
120
|
+
) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_pb2.Connection, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_pb2.Connection]]:
|
|
121
|
+
"""Returns the connection with the resolved cluster; that is,
|
|
122
|
+
* for connections to the on-premise clusters is identical to the Get RPC;
|
|
123
|
+
* for connections to the managed clusters, resolves the cluster topology
|
|
124
|
+
and returns it in the `on_premise` field of the connection parameters.
|
|
125
|
+
Requires `connection-manager.connections.resolveCluster` permission.
|
|
126
|
+
"""
|
|
127
|
+
|
|
128
|
+
@abc.abstractmethod
|
|
129
|
+
def List(
|
|
130
|
+
self,
|
|
131
|
+
request: yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionRequest,
|
|
132
|
+
context: _ServicerContext,
|
|
133
|
+
) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse]]: ...
|
|
134
|
+
|
|
135
|
+
@abc.abstractmethod
|
|
136
|
+
def Create(
|
|
137
|
+
self,
|
|
138
|
+
request: yandex.cloud.connectionmanager.v1.connection_service_pb2.CreateConnectionRequest,
|
|
139
|
+
context: _ServicerContext,
|
|
140
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]: ...
|
|
141
|
+
|
|
142
|
+
@abc.abstractmethod
|
|
143
|
+
def Update(
|
|
144
|
+
self,
|
|
145
|
+
request: yandex.cloud.connectionmanager.v1.connection_service_pb2.UpdateConnectionRequest,
|
|
146
|
+
context: _ServicerContext,
|
|
147
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]: ...
|
|
148
|
+
|
|
149
|
+
@abc.abstractmethod
|
|
150
|
+
def Delete(
|
|
151
|
+
self,
|
|
152
|
+
request: yandex.cloud.connectionmanager.v1.connection_service_pb2.DeleteConnectionRequest,
|
|
153
|
+
context: _ServicerContext,
|
|
154
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]: ...
|
|
155
|
+
|
|
156
|
+
@abc.abstractmethod
|
|
157
|
+
def ListOperations(
|
|
158
|
+
self,
|
|
159
|
+
request: yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsRequest,
|
|
160
|
+
context: _ServicerContext,
|
|
161
|
+
) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse]]: ...
|
|
162
|
+
|
|
163
|
+
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)
|