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,138 @@
|
|
|
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 ClickHouseAuth(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___ClickHouseAuth = ClickHouseAuth
|
|
40
|
+
|
|
41
|
+
@typing.final
|
|
42
|
+
class ClickHouseCluster(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 _Health:
|
|
50
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
51
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
52
|
+
|
|
53
|
+
class _HealthEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ClickHouseCluster.Host._Health.ValueType], builtins.type):
|
|
54
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
55
|
+
HEALTH_UNKNOWN: ClickHouseCluster.Host._Health.ValueType # 0
|
|
56
|
+
ALIVE: ClickHouseCluster.Host._Health.ValueType # 1
|
|
57
|
+
DEAD: ClickHouseCluster.Host._Health.ValueType # 2
|
|
58
|
+
DEGRADED: ClickHouseCluster.Host._Health.ValueType # 3
|
|
59
|
+
|
|
60
|
+
class Health(_Health, metaclass=_HealthEnumTypeWrapper): ...
|
|
61
|
+
HEALTH_UNKNOWN: ClickHouseCluster.Host.Health.ValueType # 0
|
|
62
|
+
ALIVE: ClickHouseCluster.Host.Health.ValueType # 1
|
|
63
|
+
DEAD: ClickHouseCluster.Host.Health.ValueType # 2
|
|
64
|
+
DEGRADED: ClickHouseCluster.Host.Health.ValueType # 3
|
|
65
|
+
|
|
66
|
+
HOST_FIELD_NUMBER: builtins.int
|
|
67
|
+
HTTP_PORT_FIELD_NUMBER: builtins.int
|
|
68
|
+
TCP_PORT_FIELD_NUMBER: builtins.int
|
|
69
|
+
SHARD_NAME_FIELD_NUMBER: builtins.int
|
|
70
|
+
HEALTH_FIELD_NUMBER: builtins.int
|
|
71
|
+
host: builtins.str
|
|
72
|
+
http_port: builtins.int
|
|
73
|
+
"""depends on tls params may vary as http or https"""
|
|
74
|
+
tcp_port: builtins.int
|
|
75
|
+
shard_name: builtins.str
|
|
76
|
+
health: global___ClickHouseCluster.Host.Health.ValueType
|
|
77
|
+
def __init__(
|
|
78
|
+
self,
|
|
79
|
+
*,
|
|
80
|
+
host: builtins.str = ...,
|
|
81
|
+
http_port: builtins.int = ...,
|
|
82
|
+
tcp_port: builtins.int = ...,
|
|
83
|
+
shard_name: builtins.str = ...,
|
|
84
|
+
health: global___ClickHouseCluster.Host.Health.ValueType = ...,
|
|
85
|
+
) -> None: ...
|
|
86
|
+
def ClearField(self, field_name: typing.Literal["health", b"health", "host", b"host", "http_port", b"http_port", "shard_name", b"shard_name", "tcp_port", b"tcp_port"]) -> None: ...
|
|
87
|
+
|
|
88
|
+
HOSTS_FIELD_NUMBER: builtins.int
|
|
89
|
+
TLS_PARAMS_FIELD_NUMBER: builtins.int
|
|
90
|
+
@property
|
|
91
|
+
def hosts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ClickHouseCluster.Host]: ...
|
|
92
|
+
@property
|
|
93
|
+
def tls_params(self) -> yandex.cloud.connectionmanager.v1.common_pb2.TLSParams: ...
|
|
94
|
+
def __init__(
|
|
95
|
+
self,
|
|
96
|
+
*,
|
|
97
|
+
hosts: collections.abc.Iterable[global___ClickHouseCluster.Host] | None = ...,
|
|
98
|
+
tls_params: yandex.cloud.connectionmanager.v1.common_pb2.TLSParams | None = ...,
|
|
99
|
+
) -> None: ...
|
|
100
|
+
def HasField(self, field_name: typing.Literal["tls_params", b"tls_params"]) -> builtins.bool: ...
|
|
101
|
+
def ClearField(self, field_name: typing.Literal["hosts", b"hosts", "tls_params", b"tls_params"]) -> None: ...
|
|
102
|
+
|
|
103
|
+
global___ClickHouseCluster = ClickHouseCluster
|
|
104
|
+
|
|
105
|
+
@typing.final
|
|
106
|
+
class ClickHouseConnection(google.protobuf.message.Message):
|
|
107
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
108
|
+
|
|
109
|
+
CLUSTER_FIELD_NUMBER: builtins.int
|
|
110
|
+
MANAGED_CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
111
|
+
AUTH_FIELD_NUMBER: builtins.int
|
|
112
|
+
DATABASES_FIELD_NUMBER: builtins.int
|
|
113
|
+
managed_cluster_id: builtins.str
|
|
114
|
+
"""When creating/updating Connection, the field "managed_cluster_id" is
|
|
115
|
+
mutually exclusive with "cluster".
|
|
116
|
+
"""
|
|
117
|
+
@property
|
|
118
|
+
def cluster(self) -> global___ClickHouseCluster:
|
|
119
|
+
"""When creating/updating Connection, the field "cluster" is mutually
|
|
120
|
+
exclusive with "managed_cluster_id".
|
|
121
|
+
"""
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
def auth(self) -> global___ClickHouseAuth: ...
|
|
125
|
+
@property
|
|
126
|
+
def databases(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
127
|
+
def __init__(
|
|
128
|
+
self,
|
|
129
|
+
*,
|
|
130
|
+
cluster: global___ClickHouseCluster | None = ...,
|
|
131
|
+
managed_cluster_id: builtins.str = ...,
|
|
132
|
+
auth: global___ClickHouseAuth | None = ...,
|
|
133
|
+
databases: collections.abc.Iterable[builtins.str] | None = ...,
|
|
134
|
+
) -> None: ...
|
|
135
|
+
def HasField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster"]) -> builtins.bool: ...
|
|
136
|
+
def ClearField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster", "databases", b"databases", "managed_cluster_id", b"managed_cluster_id"]) -> None: ...
|
|
137
|
+
|
|
138
|
+
global___ClickHouseConnection = ClickHouseConnection
|
|
@@ -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/clickhouse_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,49 @@
|
|
|
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/common.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/common.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
26
|
+
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/connectionmanager/v1/common.proto\x12!yandex.cloud.connectionmanager.v1\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x80\x01\n\tTLSParams\x12*\n\x08\x64isabled\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12;\n\x03tls\x18\x02 \x01(\x0b\x32,.yandex.cloud.connectionmanager.v1.TLSConfigH\x00\x42\n\n\x08tls_mode\"#\n\tTLSConfig\x12\x16\n\x0e\x63\x61_certificate\x18\x01 \x01(\t\"\xa6\x01\n\x08Password\x12\x0b\n\x03raw\x18\x01 \x01(\t\x12\x61\n\x1bpassword_generation_options\x18\x03 \x01(\x0b\x32<.yandex.cloud.connectionmanager.v1.PasswordGenerationOptions\x12\x1c\n\x12lockbox_secret_key\x18\x02 \x01(\tH\x00\x42\x0c\n\nsecret_key\"\xbe\x01\n\x19PasswordGenerationOptions\x12\x0e\n\x06\x63ookie\x18\x01 \x01(\t\x12r\n#lockbox_password_generation_options\x18\x02 \x01(\x0b\x32\x43.yandex.cloud.connectionmanager.v1.LockboxPasswordGenerationOptionsH\x00\x42\x1d\n\x1bpassword_generation_options\"\xcf\x02\n LockboxPasswordGenerationOptions\x12\x0e\n\x06length\x18\x02 \x01(\x03\x12\x35\n\x11include_uppercase\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x35\n\x11include_lowercase\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x32\n\x0einclude_digits\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x37\n\x13include_punctuation\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x1c\n\x14included_punctuation\x18\x07 \x01(\t\x12\x1c\n\x14\x65xcluded_punctuation\x18\x08 \x01(\tJ\x04\x08\x01\x10\x02\"_\n\x10UserPasswordAuth\x12\x0c\n\x04user\x18\x01 \x01(\t\x12=\n\x08password\x18\x02 \x01(\x0b\x32+.yandex.cloud.connectionmanager.v1.PasswordB\x80\x01\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.connectionmanager.v1.common_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanager'
|
|
37
|
+
_globals['_TLSPARAMS']._serialized_start=147
|
|
38
|
+
_globals['_TLSPARAMS']._serialized_end=275
|
|
39
|
+
_globals['_TLSCONFIG']._serialized_start=277
|
|
40
|
+
_globals['_TLSCONFIG']._serialized_end=312
|
|
41
|
+
_globals['_PASSWORD']._serialized_start=315
|
|
42
|
+
_globals['_PASSWORD']._serialized_end=481
|
|
43
|
+
_globals['_PASSWORDGENERATIONOPTIONS']._serialized_start=484
|
|
44
|
+
_globals['_PASSWORDGENERATIONOPTIONS']._serialized_end=674
|
|
45
|
+
_globals['_LOCKBOXPASSWORDGENERATIONOPTIONS']._serialized_start=677
|
|
46
|
+
_globals['_LOCKBOXPASSWORDGENERATIONOPTIONS']._serialized_end=1012
|
|
47
|
+
_globals['_USERPASSWORDAUTH']._serialized_start=1014
|
|
48
|
+
_globals['_USERPASSWORDAUTH']._serialized_end=1109
|
|
49
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.empty_pb2
|
|
9
|
+
import google.protobuf.message
|
|
10
|
+
import google.protobuf.wrappers_pb2
|
|
11
|
+
import typing
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
14
|
+
|
|
15
|
+
@typing.final
|
|
16
|
+
class TLSParams(google.protobuf.message.Message):
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
18
|
+
|
|
19
|
+
DISABLED_FIELD_NUMBER: builtins.int
|
|
20
|
+
TLS_FIELD_NUMBER: builtins.int
|
|
21
|
+
@property
|
|
22
|
+
def disabled(self) -> google.protobuf.empty_pb2.Empty: ...
|
|
23
|
+
@property
|
|
24
|
+
def tls(self) -> global___TLSConfig: ...
|
|
25
|
+
def __init__(
|
|
26
|
+
self,
|
|
27
|
+
*,
|
|
28
|
+
disabled: google.protobuf.empty_pb2.Empty | None = ...,
|
|
29
|
+
tls: global___TLSConfig | None = ...,
|
|
30
|
+
) -> None: ...
|
|
31
|
+
def HasField(self, field_name: typing.Literal["disabled", b"disabled", "tls", b"tls", "tls_mode", b"tls_mode"]) -> builtins.bool: ...
|
|
32
|
+
def ClearField(self, field_name: typing.Literal["disabled", b"disabled", "tls", b"tls", "tls_mode", b"tls_mode"]) -> None: ...
|
|
33
|
+
def WhichOneof(self, oneof_group: typing.Literal["tls_mode", b"tls_mode"]) -> typing.Literal["disabled", "tls"] | None: ...
|
|
34
|
+
|
|
35
|
+
global___TLSParams = TLSParams
|
|
36
|
+
|
|
37
|
+
@typing.final
|
|
38
|
+
class TLSConfig(google.protobuf.message.Message):
|
|
39
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
40
|
+
|
|
41
|
+
CA_CERTIFICATE_FIELD_NUMBER: builtins.int
|
|
42
|
+
ca_certificate: builtins.str
|
|
43
|
+
def __init__(
|
|
44
|
+
self,
|
|
45
|
+
*,
|
|
46
|
+
ca_certificate: builtins.str = ...,
|
|
47
|
+
) -> None: ...
|
|
48
|
+
def ClearField(self, field_name: typing.Literal["ca_certificate", b"ca_certificate"]) -> None: ...
|
|
49
|
+
|
|
50
|
+
global___TLSConfig = TLSConfig
|
|
51
|
+
|
|
52
|
+
@typing.final
|
|
53
|
+
class Password(google.protobuf.message.Message):
|
|
54
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
55
|
+
|
|
56
|
+
RAW_FIELD_NUMBER: builtins.int
|
|
57
|
+
PASSWORD_GENERATION_OPTIONS_FIELD_NUMBER: builtins.int
|
|
58
|
+
LOCKBOX_SECRET_KEY_FIELD_NUMBER: builtins.int
|
|
59
|
+
raw: builtins.str
|
|
60
|
+
"""When creating/updating Password, the field "raw" is mutually exclusive
|
|
61
|
+
with "password_generation_options". In order to switch to the "raw"
|
|
62
|
+
password you have to explicitly clear the "password_generation_options"
|
|
63
|
+
field.
|
|
64
|
+
"""
|
|
65
|
+
lockbox_secret_key: builtins.str
|
|
66
|
+
"""Read-only. Do not fill this field in create/update requests."""
|
|
67
|
+
@property
|
|
68
|
+
def password_generation_options(self) -> global___PasswordGenerationOptions:
|
|
69
|
+
"""When creating/updating Password, the field "password_generation_options"
|
|
70
|
+
is mutually exclusive with "raw". In order to switch to the
|
|
71
|
+
"password_generation_options" you have to explicitly clear the "raw"
|
|
72
|
+
field.
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
def __init__(
|
|
76
|
+
self,
|
|
77
|
+
*,
|
|
78
|
+
raw: builtins.str = ...,
|
|
79
|
+
password_generation_options: global___PasswordGenerationOptions | None = ...,
|
|
80
|
+
lockbox_secret_key: builtins.str = ...,
|
|
81
|
+
) -> None: ...
|
|
82
|
+
def HasField(self, field_name: typing.Literal["lockbox_secret_key", b"lockbox_secret_key", "password_generation_options", b"password_generation_options", "secret_key", b"secret_key"]) -> builtins.bool: ...
|
|
83
|
+
def ClearField(self, field_name: typing.Literal["lockbox_secret_key", b"lockbox_secret_key", "password_generation_options", b"password_generation_options", "raw", b"raw", "secret_key", b"secret_key"]) -> None: ...
|
|
84
|
+
def WhichOneof(self, oneof_group: typing.Literal["secret_key", b"secret_key"]) -> typing.Literal["lockbox_secret_key"] | None: ...
|
|
85
|
+
|
|
86
|
+
global___Password = Password
|
|
87
|
+
|
|
88
|
+
@typing.final
|
|
89
|
+
class PasswordGenerationOptions(google.protobuf.message.Message):
|
|
90
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
91
|
+
|
|
92
|
+
COOKIE_FIELD_NUMBER: builtins.int
|
|
93
|
+
LOCKBOX_PASSWORD_GENERATION_OPTIONS_FIELD_NUMBER: builtins.int
|
|
94
|
+
cookie: builtins.str
|
|
95
|
+
"""Cookie is an arbitrary non-sensitive string that is saved with the
|
|
96
|
+
password. When updating PasswordGenerationOptions, if the cookie passed
|
|
97
|
+
in the update request differs from the cookie in the current
|
|
98
|
+
PasswordGenerationOptions, the password will be re-generated. If the
|
|
99
|
+
same cookie is passed, the password will not change.
|
|
100
|
+
"""
|
|
101
|
+
@property
|
|
102
|
+
def lockbox_password_generation_options(self) -> global___LockboxPasswordGenerationOptions: ...
|
|
103
|
+
def __init__(
|
|
104
|
+
self,
|
|
105
|
+
*,
|
|
106
|
+
cookie: builtins.str = ...,
|
|
107
|
+
lockbox_password_generation_options: global___LockboxPasswordGenerationOptions | None = ...,
|
|
108
|
+
) -> None: ...
|
|
109
|
+
def HasField(self, field_name: typing.Literal["lockbox_password_generation_options", b"lockbox_password_generation_options", "password_generation_options", b"password_generation_options"]) -> builtins.bool: ...
|
|
110
|
+
def ClearField(self, field_name: typing.Literal["cookie", b"cookie", "lockbox_password_generation_options", b"lockbox_password_generation_options", "password_generation_options", b"password_generation_options"]) -> None: ...
|
|
111
|
+
def WhichOneof(self, oneof_group: typing.Literal["password_generation_options", b"password_generation_options"]) -> typing.Literal["lockbox_password_generation_options"] | None: ...
|
|
112
|
+
|
|
113
|
+
global___PasswordGenerationOptions = PasswordGenerationOptions
|
|
114
|
+
|
|
115
|
+
@typing.final
|
|
116
|
+
class LockboxPasswordGenerationOptions(google.protobuf.message.Message):
|
|
117
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
118
|
+
|
|
119
|
+
LENGTH_FIELD_NUMBER: builtins.int
|
|
120
|
+
INCLUDE_UPPERCASE_FIELD_NUMBER: builtins.int
|
|
121
|
+
INCLUDE_LOWERCASE_FIELD_NUMBER: builtins.int
|
|
122
|
+
INCLUDE_DIGITS_FIELD_NUMBER: builtins.int
|
|
123
|
+
INCLUDE_PUNCTUATION_FIELD_NUMBER: builtins.int
|
|
124
|
+
INCLUDED_PUNCTUATION_FIELD_NUMBER: builtins.int
|
|
125
|
+
EXCLUDED_PUNCTUATION_FIELD_NUMBER: builtins.int
|
|
126
|
+
length: builtins.int
|
|
127
|
+
"""password length; by default, a reasonable length will be decided"""
|
|
128
|
+
included_punctuation: builtins.str
|
|
129
|
+
"""If include_punctuation is true, one of these two fields (not both) may be used optionally to customize the punctuation:
|
|
130
|
+
a string of specific punctuation characters to use
|
|
131
|
+
"""
|
|
132
|
+
excluded_punctuation: builtins.str
|
|
133
|
+
"""a string of punctuation characters to exclude from the default"""
|
|
134
|
+
@property
|
|
135
|
+
def include_uppercase(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
136
|
+
"""whether at least one A..Z character is included in the password, true by default"""
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
def include_lowercase(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
140
|
+
"""whether at least one a..z character is included in the password, true by default"""
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
def include_digits(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
144
|
+
"""whether at least one 0..9 character is included in the password, true by default"""
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
def include_punctuation(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
148
|
+
"""whether at least one punctuation character is included in the password, true by default
|
|
149
|
+
punctuation characters by default: !"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~
|
|
150
|
+
to customize the punctuation characters, see included_punctuation and excluded_punctuation below
|
|
151
|
+
"""
|
|
152
|
+
|
|
153
|
+
def __init__(
|
|
154
|
+
self,
|
|
155
|
+
*,
|
|
156
|
+
length: builtins.int = ...,
|
|
157
|
+
include_uppercase: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
158
|
+
include_lowercase: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
159
|
+
include_digits: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
160
|
+
include_punctuation: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
161
|
+
included_punctuation: builtins.str = ...,
|
|
162
|
+
excluded_punctuation: builtins.str = ...,
|
|
163
|
+
) -> None: ...
|
|
164
|
+
def HasField(self, field_name: typing.Literal["include_digits", b"include_digits", "include_lowercase", b"include_lowercase", "include_punctuation", b"include_punctuation", "include_uppercase", b"include_uppercase"]) -> builtins.bool: ...
|
|
165
|
+
def ClearField(self, field_name: typing.Literal["excluded_punctuation", b"excluded_punctuation", "include_digits", b"include_digits", "include_lowercase", b"include_lowercase", "include_punctuation", b"include_punctuation", "include_uppercase", b"include_uppercase", "included_punctuation", b"included_punctuation", "length", b"length"]) -> None: ...
|
|
166
|
+
|
|
167
|
+
global___LockboxPasswordGenerationOptions = LockboxPasswordGenerationOptions
|
|
168
|
+
|
|
169
|
+
@typing.final
|
|
170
|
+
class UserPasswordAuth(google.protobuf.message.Message):
|
|
171
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
172
|
+
|
|
173
|
+
USER_FIELD_NUMBER: builtins.int
|
|
174
|
+
PASSWORD_FIELD_NUMBER: builtins.int
|
|
175
|
+
user: builtins.str
|
|
176
|
+
@property
|
|
177
|
+
def password(self) -> global___Password: ...
|
|
178
|
+
def __init__(
|
|
179
|
+
self,
|
|
180
|
+
*,
|
|
181
|
+
user: builtins.str = ...,
|
|
182
|
+
password: global___Password | None = ...,
|
|
183
|
+
) -> None: ...
|
|
184
|
+
def HasField(self, field_name: typing.Literal["password", b"password"]) -> builtins.bool: ...
|
|
185
|
+
def ClearField(self, field_name: typing.Literal["password", b"password", "user", b"user"]) -> None: ...
|
|
186
|
+
|
|
187
|
+
global___UserPasswordAuth = UserPasswordAuth
|
|
@@ -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/common_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,58 @@
|
|
|
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/connection.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/connection.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
27
|
+
from yandex.cloud.connectionmanager.v1 import mysql_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_mysql__pb2
|
|
28
|
+
from yandex.cloud.connectionmanager.v1 import postgresql_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_postgresql__pb2
|
|
29
|
+
from yandex.cloud.connectionmanager.v1 import mongodb_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_mongodb__pb2
|
|
30
|
+
from yandex.cloud.connectionmanager.v1 import clickhouse_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_clickhouse__pb2
|
|
31
|
+
from yandex.cloud.connectionmanager.v1 import redis_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_redis__pb2
|
|
32
|
+
from yandex.cloud.connectionmanager.v1 import trino_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_trino__pb2
|
|
33
|
+
from yandex.cloud.connectionmanager.v1 import valkey_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_valkey__pb2
|
|
34
|
+
from yandex.cloud.connectionmanager.v1 import opensearch_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_opensearch__pb2
|
|
35
|
+
from yandex.cloud.connectionmanager.v1 import greenplum_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_greenplum__pb2
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/connectionmanager/v1/connection.proto\x12!yandex.cloud.connectionmanager.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a-yandex/cloud/connectionmanager/v1/mysql.proto\x1a\x32yandex/cloud/connectionmanager/v1/postgresql.proto\x1a/yandex/cloud/connectionmanager/v1/mongodb.proto\x1a\x32yandex/cloud/connectionmanager/v1/clickhouse.proto\x1a-yandex/cloud/connectionmanager/v1/redis.proto\x1a-yandex/cloud/connectionmanager/v1/trino.proto\x1a.yandex/cloud/connectionmanager/v1/valkey.proto\x1a\x32yandex/cloud/connectionmanager/v1/opensearch.proto\x1a\x31yandex/cloud/connectionmanager/v1/greenplum.proto\"\xb9\x05\n\x10\x43onnectionParams\x12M\n\npostgresql\x18\x01 \x01(\x0b\x32\x37.yandex.cloud.connectionmanager.v1.PostgreSQLConnectionH\x00\x12\x43\n\x05mysql\x18\x02 \x01(\x0b\x32\x32.yandex.cloud.connectionmanager.v1.MySQLConnectionH\x00\x12G\n\x07mongodb\x18\x03 \x01(\x0b\x32\x34.yandex.cloud.connectionmanager.v1.MongoDBConnectionH\x00\x12M\n\nclickhouse\x18\x04 \x01(\x0b\x32\x37.yandex.cloud.connectionmanager.v1.ClickHouseConnectionH\x00\x12\x43\n\x05redis\x18\x06 \x01(\x0b\x32\x32.yandex.cloud.connectionmanager.v1.RedisConnectionH\x00\x12M\n\nopensearch\x18\x07 \x01(\x0b\x32\x37.yandex.cloud.connectionmanager.v1.OpenSearchConnectionH\x00\x12\x43\n\x05trino\x18\x08 \x01(\x0b\x32\x32.yandex.cloud.connectionmanager.v1.TrinoConnectionH\x00\x12\x45\n\x06valkey\x18\t \x01(\x0b\x32\x33.yandex.cloud.connectionmanager.v1.ValkeyConnectionH\x00\x12K\n\tgreenplum\x18\n \x01(\x0b\x32\x36.yandex.cloud.connectionmanager.v1.GreenplumConnectionH\x00\x42\x06\n\x04typeJ\x04\x08\x05\x10\x06\"D\n\rLockboxSecret\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x16\n\x0enewest_version\x18\x03 \x01(\t\"\x9e\x04\n\nConnection\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12I\n\x06labels\x18\x07 \x03(\x0b\x32\x39.yandex.cloud.connectionmanager.v1.Connection.LabelsEntry\x12\x12\n\ncreated_by\x18\x08 \x01(\t\x12\x43\n\x06params\x18\t \x01(\x0b\x32\x33.yandex.cloud.connectionmanager.v1.ConnectionParams\x12J\n\x0elockbox_secret\x18\n \x01(\x0b\x32\x30.yandex.cloud.connectionmanager.v1.LockboxSecretH\x00\x12\x12\n\nis_managed\x18\x0c \x01(\x08\x12+\n\x07\x63\x61n_use\x18\r \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x08\n\x06secretJ\x04\x08\x0b\x10\x0c*\xa0\x01\n\x06\x44\x42Type\x12\x17\n\x13\x44\x42_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nPOSTGRESQL\x10\x01\x12\t\n\x05MYSQL\x10\x02\x12\x0e\n\nCLICKHOUSE\x10\x03\x12\x0b\n\x07MONGODB\x10\x04\x12\t\n\x05REDIS\x10\x06\x12\x0e\n\nOPENSEARCH\x10\x07\x12\t\n\x05TRINO\x10\x08\x12\n\n\x06VALKEY\x10\t\x12\r\n\tGREENPLUM\x10\n\"\x04\x08\x05\x10\x05\x42\x80\x01\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3')
|
|
39
|
+
|
|
40
|
+
_globals = globals()
|
|
41
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
42
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.connectionmanager.v1.connection_pb2', _globals)
|
|
43
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
44
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
45
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanager'
|
|
46
|
+
_globals['_CONNECTION_LABELSENTRY']._loaded_options = None
|
|
47
|
+
_globals['_CONNECTION_LABELSENTRY']._serialized_options = b'8\001'
|
|
48
|
+
_globals['_DBTYPE']._serialized_start=1915
|
|
49
|
+
_globals['_DBTYPE']._serialized_end=2075
|
|
50
|
+
_globals['_CONNECTIONPARAMS']._serialized_start=600
|
|
51
|
+
_globals['_CONNECTIONPARAMS']._serialized_end=1297
|
|
52
|
+
_globals['_LOCKBOXSECRET']._serialized_start=1299
|
|
53
|
+
_globals['_LOCKBOXSECRET']._serialized_end=1367
|
|
54
|
+
_globals['_CONNECTION']._serialized_start=1370
|
|
55
|
+
_globals['_CONNECTION']._serialized_end=1912
|
|
56
|
+
_globals['_CONNECTION_LABELSENTRY']._serialized_start=1851
|
|
57
|
+
_globals['_CONNECTION_LABELSENTRY']._serialized_end=1896
|
|
58
|
+
# @@protoc_insertion_point(module_scope)
|