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,205 @@
|
|
|
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 google.protobuf.timestamp_pb2
|
|
13
|
+
import google.protobuf.wrappers_pb2
|
|
14
|
+
import sys
|
|
15
|
+
import typing
|
|
16
|
+
import yandex.cloud.connectionmanager.v1.clickhouse_pb2
|
|
17
|
+
import yandex.cloud.connectionmanager.v1.greenplum_pb2
|
|
18
|
+
import yandex.cloud.connectionmanager.v1.mongodb_pb2
|
|
19
|
+
import yandex.cloud.connectionmanager.v1.mysql_pb2
|
|
20
|
+
import yandex.cloud.connectionmanager.v1.opensearch_pb2
|
|
21
|
+
import yandex.cloud.connectionmanager.v1.postgresql_pb2
|
|
22
|
+
import yandex.cloud.connectionmanager.v1.redis_pb2
|
|
23
|
+
import yandex.cloud.connectionmanager.v1.trino_pb2
|
|
24
|
+
import yandex.cloud.connectionmanager.v1.valkey_pb2
|
|
25
|
+
|
|
26
|
+
if sys.version_info >= (3, 10):
|
|
27
|
+
import typing as typing_extensions
|
|
28
|
+
else:
|
|
29
|
+
import typing_extensions
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
32
|
+
|
|
33
|
+
class _DBType:
|
|
34
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
35
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
36
|
+
|
|
37
|
+
class _DBTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_DBType.ValueType], builtins.type):
|
|
38
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
39
|
+
DB_TYPE_UNSPECIFIED: _DBType.ValueType # 0
|
|
40
|
+
POSTGRESQL: _DBType.ValueType # 1
|
|
41
|
+
MYSQL: _DBType.ValueType # 2
|
|
42
|
+
CLICKHOUSE: _DBType.ValueType # 3
|
|
43
|
+
MONGODB: _DBType.ValueType # 4
|
|
44
|
+
REDIS: _DBType.ValueType # 6
|
|
45
|
+
OPENSEARCH: _DBType.ValueType # 7
|
|
46
|
+
TRINO: _DBType.ValueType # 8
|
|
47
|
+
VALKEY: _DBType.ValueType # 9
|
|
48
|
+
GREENPLUM: _DBType.ValueType # 10
|
|
49
|
+
|
|
50
|
+
class DBType(_DBType, metaclass=_DBTypeEnumTypeWrapper): ...
|
|
51
|
+
|
|
52
|
+
DB_TYPE_UNSPECIFIED: DBType.ValueType # 0
|
|
53
|
+
POSTGRESQL: DBType.ValueType # 1
|
|
54
|
+
MYSQL: DBType.ValueType # 2
|
|
55
|
+
CLICKHOUSE: DBType.ValueType # 3
|
|
56
|
+
MONGODB: DBType.ValueType # 4
|
|
57
|
+
REDIS: DBType.ValueType # 6
|
|
58
|
+
OPENSEARCH: DBType.ValueType # 7
|
|
59
|
+
TRINO: DBType.ValueType # 8
|
|
60
|
+
VALKEY: DBType.ValueType # 9
|
|
61
|
+
GREENPLUM: DBType.ValueType # 10
|
|
62
|
+
global___DBType = DBType
|
|
63
|
+
|
|
64
|
+
@typing.final
|
|
65
|
+
class ConnectionParams(google.protobuf.message.Message):
|
|
66
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
67
|
+
|
|
68
|
+
POSTGRESQL_FIELD_NUMBER: builtins.int
|
|
69
|
+
MYSQL_FIELD_NUMBER: builtins.int
|
|
70
|
+
MONGODB_FIELD_NUMBER: builtins.int
|
|
71
|
+
CLICKHOUSE_FIELD_NUMBER: builtins.int
|
|
72
|
+
REDIS_FIELD_NUMBER: builtins.int
|
|
73
|
+
OPENSEARCH_FIELD_NUMBER: builtins.int
|
|
74
|
+
TRINO_FIELD_NUMBER: builtins.int
|
|
75
|
+
VALKEY_FIELD_NUMBER: builtins.int
|
|
76
|
+
GREENPLUM_FIELD_NUMBER: builtins.int
|
|
77
|
+
@property
|
|
78
|
+
def postgresql(self) -> yandex.cloud.connectionmanager.v1.postgresql_pb2.PostgreSQLConnection: ...
|
|
79
|
+
@property
|
|
80
|
+
def mysql(self) -> yandex.cloud.connectionmanager.v1.mysql_pb2.MySQLConnection: ...
|
|
81
|
+
@property
|
|
82
|
+
def mongodb(self) -> yandex.cloud.connectionmanager.v1.mongodb_pb2.MongoDBConnection: ...
|
|
83
|
+
@property
|
|
84
|
+
def clickhouse(self) -> yandex.cloud.connectionmanager.v1.clickhouse_pb2.ClickHouseConnection: ...
|
|
85
|
+
@property
|
|
86
|
+
def redis(self) -> yandex.cloud.connectionmanager.v1.redis_pb2.RedisConnection: ...
|
|
87
|
+
@property
|
|
88
|
+
def opensearch(self) -> yandex.cloud.connectionmanager.v1.opensearch_pb2.OpenSearchConnection: ...
|
|
89
|
+
@property
|
|
90
|
+
def trino(self) -> yandex.cloud.connectionmanager.v1.trino_pb2.TrinoConnection: ...
|
|
91
|
+
@property
|
|
92
|
+
def valkey(self) -> yandex.cloud.connectionmanager.v1.valkey_pb2.ValkeyConnection: ...
|
|
93
|
+
@property
|
|
94
|
+
def greenplum(self) -> yandex.cloud.connectionmanager.v1.greenplum_pb2.GreenplumConnection: ...
|
|
95
|
+
def __init__(
|
|
96
|
+
self,
|
|
97
|
+
*,
|
|
98
|
+
postgresql: yandex.cloud.connectionmanager.v1.postgresql_pb2.PostgreSQLConnection | None = ...,
|
|
99
|
+
mysql: yandex.cloud.connectionmanager.v1.mysql_pb2.MySQLConnection | None = ...,
|
|
100
|
+
mongodb: yandex.cloud.connectionmanager.v1.mongodb_pb2.MongoDBConnection | None = ...,
|
|
101
|
+
clickhouse: yandex.cloud.connectionmanager.v1.clickhouse_pb2.ClickHouseConnection | None = ...,
|
|
102
|
+
redis: yandex.cloud.connectionmanager.v1.redis_pb2.RedisConnection | None = ...,
|
|
103
|
+
opensearch: yandex.cloud.connectionmanager.v1.opensearch_pb2.OpenSearchConnection | None = ...,
|
|
104
|
+
trino: yandex.cloud.connectionmanager.v1.trino_pb2.TrinoConnection | None = ...,
|
|
105
|
+
valkey: yandex.cloud.connectionmanager.v1.valkey_pb2.ValkeyConnection | None = ...,
|
|
106
|
+
greenplum: yandex.cloud.connectionmanager.v1.greenplum_pb2.GreenplumConnection | None = ...,
|
|
107
|
+
) -> None: ...
|
|
108
|
+
def HasField(self, field_name: typing.Literal["clickhouse", b"clickhouse", "greenplum", b"greenplum", "mongodb", b"mongodb", "mysql", b"mysql", "opensearch", b"opensearch", "postgresql", b"postgresql", "redis", b"redis", "trino", b"trino", "type", b"type", "valkey", b"valkey"]) -> builtins.bool: ...
|
|
109
|
+
def ClearField(self, field_name: typing.Literal["clickhouse", b"clickhouse", "greenplum", b"greenplum", "mongodb", b"mongodb", "mysql", b"mysql", "opensearch", b"opensearch", "postgresql", b"postgresql", "redis", b"redis", "trino", b"trino", "type", b"type", "valkey", b"valkey"]) -> None: ...
|
|
110
|
+
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["postgresql", "mysql", "mongodb", "clickhouse", "redis", "opensearch", "trino", "valkey", "greenplum"] | None: ...
|
|
111
|
+
|
|
112
|
+
global___ConnectionParams = ConnectionParams
|
|
113
|
+
|
|
114
|
+
@typing.final
|
|
115
|
+
class LockboxSecret(google.protobuf.message.Message):
|
|
116
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
117
|
+
|
|
118
|
+
ID_FIELD_NUMBER: builtins.int
|
|
119
|
+
VERSION_FIELD_NUMBER: builtins.int
|
|
120
|
+
NEWEST_VERSION_FIELD_NUMBER: builtins.int
|
|
121
|
+
id: builtins.str
|
|
122
|
+
version: builtins.str
|
|
123
|
+
newest_version: builtins.str
|
|
124
|
+
def __init__(
|
|
125
|
+
self,
|
|
126
|
+
*,
|
|
127
|
+
id: builtins.str = ...,
|
|
128
|
+
version: builtins.str = ...,
|
|
129
|
+
newest_version: builtins.str = ...,
|
|
130
|
+
) -> None: ...
|
|
131
|
+
def ClearField(self, field_name: typing.Literal["id", b"id", "newest_version", b"newest_version", "version", b"version"]) -> None: ...
|
|
132
|
+
|
|
133
|
+
global___LockboxSecret = LockboxSecret
|
|
134
|
+
|
|
135
|
+
@typing.final
|
|
136
|
+
class Connection(google.protobuf.message.Message):
|
|
137
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
138
|
+
|
|
139
|
+
@typing.final
|
|
140
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
141
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
142
|
+
|
|
143
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
144
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
145
|
+
key: builtins.str
|
|
146
|
+
value: builtins.str
|
|
147
|
+
def __init__(
|
|
148
|
+
self,
|
|
149
|
+
*,
|
|
150
|
+
key: builtins.str = ...,
|
|
151
|
+
value: builtins.str = ...,
|
|
152
|
+
) -> None: ...
|
|
153
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
154
|
+
|
|
155
|
+
ID_FIELD_NUMBER: builtins.int
|
|
156
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
157
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
158
|
+
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
159
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
160
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
161
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
162
|
+
CREATED_BY_FIELD_NUMBER: builtins.int
|
|
163
|
+
PARAMS_FIELD_NUMBER: builtins.int
|
|
164
|
+
LOCKBOX_SECRET_FIELD_NUMBER: builtins.int
|
|
165
|
+
IS_MANAGED_FIELD_NUMBER: builtins.int
|
|
166
|
+
CAN_USE_FIELD_NUMBER: builtins.int
|
|
167
|
+
id: builtins.str
|
|
168
|
+
folder_id: builtins.str
|
|
169
|
+
name: builtins.str
|
|
170
|
+
description: builtins.str
|
|
171
|
+
created_by: builtins.str
|
|
172
|
+
is_managed: builtins.bool
|
|
173
|
+
@property
|
|
174
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
175
|
+
@property
|
|
176
|
+
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
177
|
+
@property
|
|
178
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
179
|
+
@property
|
|
180
|
+
def params(self) -> global___ConnectionParams: ...
|
|
181
|
+
@property
|
|
182
|
+
def lockbox_secret(self) -> global___LockboxSecret: ...
|
|
183
|
+
@property
|
|
184
|
+
def can_use(self) -> google.protobuf.wrappers_pb2.BoolValue: ...
|
|
185
|
+
def __init__(
|
|
186
|
+
self,
|
|
187
|
+
*,
|
|
188
|
+
id: builtins.str = ...,
|
|
189
|
+
folder_id: builtins.str = ...,
|
|
190
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
191
|
+
updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
192
|
+
name: builtins.str = ...,
|
|
193
|
+
description: builtins.str = ...,
|
|
194
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
195
|
+
created_by: builtins.str = ...,
|
|
196
|
+
params: global___ConnectionParams | None = ...,
|
|
197
|
+
lockbox_secret: global___LockboxSecret | None = ...,
|
|
198
|
+
is_managed: builtins.bool = ...,
|
|
199
|
+
can_use: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
200
|
+
) -> None: ...
|
|
201
|
+
def HasField(self, field_name: typing.Literal["can_use", b"can_use", "created_at", b"created_at", "lockbox_secret", b"lockbox_secret", "params", b"params", "secret", b"secret", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
202
|
+
def ClearField(self, field_name: typing.Literal["can_use", b"can_use", "created_at", b"created_at", "created_by", b"created_by", "description", b"description", "folder_id", b"folder_id", "id", b"id", "is_managed", b"is_managed", "labels", b"labels", "lockbox_secret", b"lockbox_secret", "name", b"name", "params", b"params", "secret", b"secret", "updated_at", b"updated_at"]) -> None: ...
|
|
203
|
+
def WhichOneof(self, oneof_group: typing.Literal["secret", b"secret"]) -> typing.Literal["lockbox_secret"] | None: ...
|
|
204
|
+
|
|
205
|
+
global___Connection = Connection
|
|
@@ -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/connection_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,91 @@
|
|
|
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_service.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_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
27
|
+
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
28
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
29
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
30
|
+
from yandex.cloud.connectionmanager.v1 import connection_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_connection__pb2
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/connectionmanager/v1/connection_service.proto\x12!yandex.cloud.connectionmanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x32yandex/cloud/connectionmanager/v1/connection.proto\"\xa1\x02\n\x17\x43reateConnectionRequest\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12V\n\x06labels\x18\x04 \x03(\x0b\x32\x46.yandex.cloud.connectionmanager.v1.CreateConnectionRequest.LabelsEntry\x12\x43\n\x06params\x18\x05 \x01(\x0b\x32\x33.yandex.cloud.connectionmanager.v1.ConnectionParams\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x06\x10\x0b\"1\n\x18\x43reateConnectionMetadata\x12\x15\n\rconnection_id\x18\x01 \x01(\t\"\xd6\x02\n\x17UpdateConnectionRequest\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12V\n\x06labels\x18\x05 \x03(\x0b\x32\x46.yandex.cloud.connectionmanager.v1.UpdateConnectionRequest.LabelsEntry\x12\x43\n\x06params\x18\x06 \x01(\x0b\x32\x33.yandex.cloud.connectionmanager.v1.ConnectionParams\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x07\x10\n\"1\n\x18UpdateConnectionMetadata\x12\x15\n\rconnection_id\x18\x01 \x01(\t\"0\n\x17\x44\x65leteConnectionRequest\x12\x15\n\rconnection_id\x18\x01 \x01(\t\"\x1a\n\x18\x44\x65leteConnectionMetadata\"\xd1\x02\n\x15ListConnectionRequest\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\x16\n\x0emdb_cluster_id\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x03\x12\x12\n\npage_token\x18\x05 \x01(\t\x12\x1a\n\x12name_pattern_or_id\x18\x06 \x01(\t\x12\x11\n\tauthor_id\x18\x07 \x01(\t\x12\x14\n\x0cwith_can_use\x18\x08 \x01(\x08\x12\x30\n\x0cis_onpremise\x18\t \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12-\n\tis_manual\x18\n \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12:\n\x07\x64\x62_type\x18\x0b \x01(\x0e\x32).yandex.cloud.connectionmanager.v1.DBTypeJ\x04\x08\x03\x10\x04\"t\n\x16ListConnectionResponse\x12\x41\n\nconnection\x18\x01 \x03(\x0b\x32-.yandex.cloud.connectionmanager.v1.Connection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"9\n\x14GetConnectionRequest\x12\x15\n\rconnection_id\x18\x01 \x01(\tJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04\"4\n\x15ResolveClusterRequest\x12\x15\n\rconnection_id\x18\x01 \x01(\tJ\x04\x08\x02\x10\x03\"B\n\x15\x44\x65leteVersionMetadata\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x12\n\nversion_id\x18\x02 \x01(\t\"U\n\x15ListOperationsRequest\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x03\x12\x12\n\npage_token\x18\x03 \x01(\t\"h\n\x16ListOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xca\t\n\x11\x43onnectionService\x12\x95\x01\n\x03Get\x12\x37.yandex.cloud.connectionmanager.v1.GetConnectionRequest\x1a-.yandex.cloud.connectionmanager.v1.Connection\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/connection/{connection_id}\x12\xb0\x01\n\x0eResolveCluster\x12\x38.yandex.cloud.connectionmanager.v1.ResolveClusterRequest\x1a-.yandex.cloud.connectionmanager.v1.Connection\"5\x82\xd3\xe4\x93\x02/\x12-/v1/connection/resolveCluster/{connection_id}\x12\x94\x01\n\x04List\x12\x38.yandex.cloud.connectionmanager.v1.ListConnectionRequest\x1a\x39.yandex.cloud.connectionmanager.v1.ListConnectionResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1/connections\x12\xac\x01\n\x06\x43reate\x12:.yandex.cloud.connectionmanager.v1.CreateConnectionRequest\x1a!.yandex.cloud.operation.Operation\"C\xb2\xd2*&\n\x18\x43reateConnectionMetadata\x12\nConnection\x82\xd3\xe4\x93\x02\x13\"\x0e/v1/connection:\x01*\x12\xbc\x01\n\x06Update\x12:.yandex.cloud.connectionmanager.v1.UpdateConnectionRequest\x1a!.yandex.cloud.operation.Operation\"S\xb2\xd2*&\n\x18UpdateConnectionMetadata\x12\nConnection\x82\xd3\xe4\x93\x02#2\x1e/v1/connection/{connection_id}:\x01*\x12\xc4\x01\n\x06\x44\x65lete\x12:.yandex.cloud.connectionmanager.v1.DeleteConnectionRequest\x1a!.yandex.cloud.operation.Operation\"[\xb2\xd2*1\n\x18\x44\x65leteConnectionMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02 *\x1e/v1/connection/{connection_id}\x12\x9d\x01\n\x0eListOperations\x12\x38.yandex.cloud.connectionmanager.v1.ListOperationsRequest\x1a\x39.yandex.cloud.connectionmanager.v1.ListOperationsResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/operationsB\x80\x01\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3')
|
|
34
|
+
|
|
35
|
+
_globals = globals()
|
|
36
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
37
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.connectionmanager.v1.connection_service_pb2', _globals)
|
|
38
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
39
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
40
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanager'
|
|
41
|
+
_globals['_CREATECONNECTIONREQUEST_LABELSENTRY']._loaded_options = None
|
|
42
|
+
_globals['_CREATECONNECTIONREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
43
|
+
_globals['_UPDATECONNECTIONREQUEST_LABELSENTRY']._loaded_options = None
|
|
44
|
+
_globals['_UPDATECONNECTIONREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
45
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
46
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002 \022\036/v1/connection/{connection_id}'
|
|
47
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['ResolveCluster']._loaded_options = None
|
|
48
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['ResolveCluster']._serialized_options = b'\202\323\344\223\002/\022-/v1/connection/resolveCluster/{connection_id}'
|
|
49
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['List']._loaded_options = None
|
|
50
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002\021\022\017/v1/connections'
|
|
51
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['Create']._loaded_options = None
|
|
52
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['Create']._serialized_options = b'\262\322*&\n\030CreateConnectionMetadata\022\nConnection\202\323\344\223\002\023\"\016/v1/connection:\001*'
|
|
53
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['Update']._loaded_options = None
|
|
54
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*&\n\030UpdateConnectionMetadata\022\nConnection\202\323\344\223\002#2\036/v1/connection/{connection_id}:\001*'
|
|
55
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
56
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*1\n\030DeleteConnectionMetadata\022\025google.protobuf.Empty\202\323\344\223\002 *\036/v1/connection/{connection_id}'
|
|
57
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['ListOperations']._loaded_options = None
|
|
58
|
+
_globals['_CONNECTIONSERVICE'].methods_by_name['ListOperations']._serialized_options = b'\202\323\344\223\002\020\022\016/v1/operations'
|
|
59
|
+
_globals['_CREATECONNECTIONREQUEST']._serialized_start=320
|
|
60
|
+
_globals['_CREATECONNECTIONREQUEST']._serialized_end=609
|
|
61
|
+
_globals['_CREATECONNECTIONREQUEST_LABELSENTRY']._serialized_start=558
|
|
62
|
+
_globals['_CREATECONNECTIONREQUEST_LABELSENTRY']._serialized_end=603
|
|
63
|
+
_globals['_CREATECONNECTIONMETADATA']._serialized_start=611
|
|
64
|
+
_globals['_CREATECONNECTIONMETADATA']._serialized_end=660
|
|
65
|
+
_globals['_UPDATECONNECTIONREQUEST']._serialized_start=663
|
|
66
|
+
_globals['_UPDATECONNECTIONREQUEST']._serialized_end=1005
|
|
67
|
+
_globals['_UPDATECONNECTIONREQUEST_LABELSENTRY']._serialized_start=558
|
|
68
|
+
_globals['_UPDATECONNECTIONREQUEST_LABELSENTRY']._serialized_end=603
|
|
69
|
+
_globals['_UPDATECONNECTIONMETADATA']._serialized_start=1007
|
|
70
|
+
_globals['_UPDATECONNECTIONMETADATA']._serialized_end=1056
|
|
71
|
+
_globals['_DELETECONNECTIONREQUEST']._serialized_start=1058
|
|
72
|
+
_globals['_DELETECONNECTIONREQUEST']._serialized_end=1106
|
|
73
|
+
_globals['_DELETECONNECTIONMETADATA']._serialized_start=1108
|
|
74
|
+
_globals['_DELETECONNECTIONMETADATA']._serialized_end=1134
|
|
75
|
+
_globals['_LISTCONNECTIONREQUEST']._serialized_start=1137
|
|
76
|
+
_globals['_LISTCONNECTIONREQUEST']._serialized_end=1474
|
|
77
|
+
_globals['_LISTCONNECTIONRESPONSE']._serialized_start=1476
|
|
78
|
+
_globals['_LISTCONNECTIONRESPONSE']._serialized_end=1592
|
|
79
|
+
_globals['_GETCONNECTIONREQUEST']._serialized_start=1594
|
|
80
|
+
_globals['_GETCONNECTIONREQUEST']._serialized_end=1651
|
|
81
|
+
_globals['_RESOLVECLUSTERREQUEST']._serialized_start=1653
|
|
82
|
+
_globals['_RESOLVECLUSTERREQUEST']._serialized_end=1705
|
|
83
|
+
_globals['_DELETEVERSIONMETADATA']._serialized_start=1707
|
|
84
|
+
_globals['_DELETEVERSIONMETADATA']._serialized_end=1773
|
|
85
|
+
_globals['_LISTOPERATIONSREQUEST']._serialized_start=1775
|
|
86
|
+
_globals['_LISTOPERATIONSREQUEST']._serialized_end=1860
|
|
87
|
+
_globals['_LISTOPERATIONSRESPONSE']._serialized_start=1862
|
|
88
|
+
_globals['_LISTOPERATIONSRESPONSE']._serialized_end=1966
|
|
89
|
+
_globals['_CONNECTIONSERVICE']._serialized_start=1969
|
|
90
|
+
_globals['_CONNECTIONSERVICE']._serialized_end=3195
|
|
91
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -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
|