yandexcloud 0.352.0__py3-none-any.whl → 0.354.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of yandexcloud might be problematic. Click here for more details.

Files changed (80) hide show
  1. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +18 -18
  2. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +18 -2
  3. yandex/cloud/baremetal/v1alpha/disk_pb2.py +2 -2
  4. yandex/cloud/baremetal/v1alpha/disk_pb2.pyi +8 -4
  5. yandex/cloud/baremetal/v1alpha/server_pb2.py +13 -11
  6. yandex/cloud/connectionmanager/__init__.py +0 -0
  7. yandex/cloud/connectionmanager/v1/__init__.py +0 -0
  8. yandex/cloud/connectionmanager/v1/clickhouse_pb2.py +46 -0
  9. yandex/cloud/connectionmanager/v1/clickhouse_pb2.pyi +138 -0
  10. yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.py +24 -0
  11. yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.pyi +17 -0
  12. yandex/cloud/connectionmanager/v1/common_pb2.py +49 -0
  13. yandex/cloud/connectionmanager/v1/common_pb2.pyi +187 -0
  14. yandex/cloud/connectionmanager/v1/common_pb2_grpc.py +24 -0
  15. yandex/cloud/connectionmanager/v1/common_pb2_grpc.pyi +17 -0
  16. yandex/cloud/connectionmanager/v1/connection_pb2.py +58 -0
  17. yandex/cloud/connectionmanager/v1/connection_pb2.pyi +205 -0
  18. yandex/cloud/connectionmanager/v1/connection_pb2_grpc.py +24 -0
  19. yandex/cloud/connectionmanager/v1/connection_pb2_grpc.pyi +17 -0
  20. yandex/cloud/connectionmanager/v1/connection_service_pb2.py +91 -0
  21. yandex/cloud/connectionmanager/v1/connection_service_pb2.pyi +320 -0
  22. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.py +371 -0
  23. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.pyi +187 -0
  24. yandex/cloud/connectionmanager/v1/greenplum_pb2.py +48 -0
  25. yandex/cloud/connectionmanager/v1/greenplum_pb2.pyi +151 -0
  26. yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.py +24 -0
  27. yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.pyi +17 -0
  28. yandex/cloud/connectionmanager/v1/mongodb_pb2.py +50 -0
  29. yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +169 -0
  30. yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.py +24 -0
  31. yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.pyi +17 -0
  32. yandex/cloud/connectionmanager/v1/mysql_pb2.py +48 -0
  33. yandex/cloud/connectionmanager/v1/mysql_pb2.pyi +151 -0
  34. yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.py +24 -0
  35. yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.pyi +17 -0
  36. yandex/cloud/connectionmanager/v1/opensearch_pb2.py +48 -0
  37. yandex/cloud/connectionmanager/v1/opensearch_pb2.pyi +148 -0
  38. yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.py +24 -0
  39. yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.pyi +17 -0
  40. yandex/cloud/connectionmanager/v1/package_options_pb2.py +35 -0
  41. yandex/cloud/connectionmanager/v1/package_options_pb2.pyi +8 -0
  42. yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.py +24 -0
  43. yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.pyi +17 -0
  44. yandex/cloud/connectionmanager/v1/postgresql_pb2.py +50 -0
  45. yandex/cloud/connectionmanager/v1/postgresql_pb2.pyi +171 -0
  46. yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.py +24 -0
  47. yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.pyi +17 -0
  48. yandex/cloud/connectionmanager/v1/redis_pb2.py +50 -0
  49. yandex/cloud/connectionmanager/v1/redis_pb2.pyi +163 -0
  50. yandex/cloud/connectionmanager/v1/redis_pb2_grpc.py +24 -0
  51. yandex/cloud/connectionmanager/v1/redis_pb2_grpc.pyi +17 -0
  52. yandex/cloud/connectionmanager/v1/trino_pb2.py +44 -0
  53. yandex/cloud/connectionmanager/v1/trino_pb2.pyi +88 -0
  54. yandex/cloud/connectionmanager/v1/trino_pb2_grpc.py +24 -0
  55. yandex/cloud/connectionmanager/v1/trino_pb2_grpc.pyi +17 -0
  56. yandex/cloud/connectionmanager/v1/valkey_pb2.py +50 -0
  57. yandex/cloud/connectionmanager/v1/valkey_pb2.pyi +173 -0
  58. yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.py +24 -0
  59. yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.pyi +17 -0
  60. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +94 -76
  61. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +239 -14
  62. yandex/cloud/organizationmanager/v1/group_pb2.py +3 -3
  63. yandex/cloud/organizationmanager/v1/group_pb2.pyi +9 -1
  64. yandex/cloud/organizationmanager/v1/group_service_pb2.py +95 -37
  65. yandex/cloud/organizationmanager/v1/group_service_pb2.pyi +276 -0
  66. yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.py +220 -0
  67. yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.pyi +100 -0
  68. yandex/cloud/organizationmanager/v1/saml/federation_pb2.py +17 -3
  69. yandex/cloud/organizationmanager/v1/saml/federation_pb2.pyi +209 -0
  70. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +55 -3
  71. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +231 -0
  72. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +222 -0
  73. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +109 -0
  74. yandexcloud/__init__.py +1 -1
  75. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/METADATA +1 -1
  76. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/RECORD +80 -26
  77. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/AUTHORS +0 -0
  78. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/LICENSE +0 -0
  79. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/WHEEL +0 -0
  80. {yandexcloud-0.352.0.dist-info → yandexcloud-0.354.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,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/mongodb_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,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/mysql.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/mysql.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from yandex.cloud.connectionmanager.v1 import common_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_common__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/connectionmanager/v1/mysql.proto\x12!yandex.cloud.connectionmanager.v1\x1a.yandex/cloud/connectionmanager/v1/common.proto\"e\n\tMySQLAuth\x12L\n\ruser_password\x18\x01 \x01(\x0b\x32\x33.yandex.cloud.connectionmanager.v1.UserPasswordAuthH\x00\x42\n\n\x08security\"\xe6\x03\n\x0cMySQLCluster\x12\x43\n\x05hosts\x18\x04 \x03(\x0b\x32\x34.yandex.cloud.connectionmanager.v1.MySQLCluster.Host\x12@\n\ntls_params\x18\x03 \x01(\x0b\x32,.yandex.cloud.connectionmanager.v1.TLSParams\x1a\xc2\x02\n\x04Host\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x03\x12G\n\x04role\x18\x03 \x01(\x0e\x32\x39.yandex.cloud.connectionmanager.v1.MySQLCluster.Host.Role\x12K\n\x06health\x18\x04 \x01(\x0e\x32;.yandex.cloud.connectionmanager.v1.MySQLCluster.Host.Health\"5\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\n\n\x06MASTER\x10\x01\x12\x0b\n\x07REPLICA\x10\x02\"Q\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\x0c\n\x08READONLY\x10\x04J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"\xbe\x01\n\x0fMySQLConnection\x12@\n\x07\x63luster\x18\x01 \x01(\x0b\x32/.yandex.cloud.connectionmanager.v1.MySQLCluster\x12\x1a\n\x12managed_cluster_id\x18\x02 \x01(\t\x12:\n\x04\x61uth\x18\x03 \x01(\x0b\x32,.yandex.cloud.connectionmanager.v1.MySQLAuth\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.mysql_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['_MYSQLAUTH']._serialized_start=132
37
+ _globals['_MYSQLAUTH']._serialized_end=233
38
+ _globals['_MYSQLCLUSTER']._serialized_start=236
39
+ _globals['_MYSQLCLUSTER']._serialized_end=722
40
+ _globals['_MYSQLCLUSTER_HOST']._serialized_start=388
41
+ _globals['_MYSQLCLUSTER_HOST']._serialized_end=710
42
+ _globals['_MYSQLCLUSTER_HOST_ROLE']._serialized_start=574
43
+ _globals['_MYSQLCLUSTER_HOST_ROLE']._serialized_end=627
44
+ _globals['_MYSQLCLUSTER_HOST_HEALTH']._serialized_start=629
45
+ _globals['_MYSQLCLUSTER_HOST_HEALTH']._serialized_end=710
46
+ _globals['_MYSQLCONNECTION']._serialized_start=725
47
+ _globals['_MYSQLCONNECTION']._serialized_end=915
48
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,151 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.internal.containers
10
+ import google.protobuf.internal.enum_type_wrapper
11
+ import google.protobuf.message
12
+ import sys
13
+ import typing
14
+ import yandex.cloud.connectionmanager.v1.common_pb2
15
+
16
+ if sys.version_info >= (3, 10):
17
+ import typing as typing_extensions
18
+ else:
19
+ import typing_extensions
20
+
21
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
22
+
23
+ @typing.final
24
+ class MySQLAuth(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___MySQLAuth = MySQLAuth
40
+
41
+ @typing.final
42
+ class MySQLCluster(google.protobuf.message.Message):
43
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
44
+
45
+ @typing.final
46
+ class Host(google.protobuf.message.Message):
47
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
48
+
49
+ class _Role:
50
+ ValueType = typing.NewType("ValueType", builtins.int)
51
+ V: typing_extensions.TypeAlias = ValueType
52
+
53
+ class _RoleEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[MySQLCluster.Host._Role.ValueType], builtins.type):
54
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
55
+ ROLE_UNSPECIFIED: MySQLCluster.Host._Role.ValueType # 0
56
+ MASTER: MySQLCluster.Host._Role.ValueType # 1
57
+ REPLICA: MySQLCluster.Host._Role.ValueType # 2
58
+
59
+ class Role(_Role, metaclass=_RoleEnumTypeWrapper): ...
60
+ ROLE_UNSPECIFIED: MySQLCluster.Host.Role.ValueType # 0
61
+ MASTER: MySQLCluster.Host.Role.ValueType # 1
62
+ REPLICA: MySQLCluster.Host.Role.ValueType # 2
63
+
64
+ class _Health:
65
+ ValueType = typing.NewType("ValueType", builtins.int)
66
+ V: typing_extensions.TypeAlias = ValueType
67
+
68
+ class _HealthEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[MySQLCluster.Host._Health.ValueType], builtins.type):
69
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
70
+ HEALTH_UNSPECIFIED: MySQLCluster.Host._Health.ValueType # 0
71
+ ALIVE: MySQLCluster.Host._Health.ValueType # 1
72
+ DEAD: MySQLCluster.Host._Health.ValueType # 2
73
+ DEGRADED: MySQLCluster.Host._Health.ValueType # 3
74
+ READONLY: MySQLCluster.Host._Health.ValueType # 4
75
+
76
+ class Health(_Health, metaclass=_HealthEnumTypeWrapper): ...
77
+ HEALTH_UNSPECIFIED: MySQLCluster.Host.Health.ValueType # 0
78
+ ALIVE: MySQLCluster.Host.Health.ValueType # 1
79
+ DEAD: MySQLCluster.Host.Health.ValueType # 2
80
+ DEGRADED: MySQLCluster.Host.Health.ValueType # 3
81
+ READONLY: MySQLCluster.Host.Health.ValueType # 4
82
+
83
+ HOST_FIELD_NUMBER: builtins.int
84
+ PORT_FIELD_NUMBER: builtins.int
85
+ ROLE_FIELD_NUMBER: builtins.int
86
+ HEALTH_FIELD_NUMBER: builtins.int
87
+ host: builtins.str
88
+ port: builtins.int
89
+ role: global___MySQLCluster.Host.Role.ValueType
90
+ health: global___MySQLCluster.Host.Health.ValueType
91
+ def __init__(
92
+ self,
93
+ *,
94
+ host: builtins.str = ...,
95
+ port: builtins.int = ...,
96
+ role: global___MySQLCluster.Host.Role.ValueType = ...,
97
+ health: global___MySQLCluster.Host.Health.ValueType = ...,
98
+ ) -> None: ...
99
+ def ClearField(self, field_name: typing.Literal["health", b"health", "host", b"host", "port", b"port", "role", b"role"]) -> None: ...
100
+
101
+ HOSTS_FIELD_NUMBER: builtins.int
102
+ TLS_PARAMS_FIELD_NUMBER: builtins.int
103
+ @property
104
+ def hosts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___MySQLCluster.Host]: ...
105
+ @property
106
+ def tls_params(self) -> yandex.cloud.connectionmanager.v1.common_pb2.TLSParams: ...
107
+ def __init__(
108
+ self,
109
+ *,
110
+ hosts: collections.abc.Iterable[global___MySQLCluster.Host] | None = ...,
111
+ tls_params: yandex.cloud.connectionmanager.v1.common_pb2.TLSParams | None = ...,
112
+ ) -> None: ...
113
+ def HasField(self, field_name: typing.Literal["tls_params", b"tls_params"]) -> builtins.bool: ...
114
+ def ClearField(self, field_name: typing.Literal["hosts", b"hosts", "tls_params", b"tls_params"]) -> None: ...
115
+
116
+ global___MySQLCluster = MySQLCluster
117
+
118
+ @typing.final
119
+ class MySQLConnection(google.protobuf.message.Message):
120
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
121
+
122
+ CLUSTER_FIELD_NUMBER: builtins.int
123
+ MANAGED_CLUSTER_ID_FIELD_NUMBER: builtins.int
124
+ AUTH_FIELD_NUMBER: builtins.int
125
+ DATABASES_FIELD_NUMBER: builtins.int
126
+ managed_cluster_id: builtins.str
127
+ """When creating/updating Connection, the field "managed_cluster_id" is
128
+ mutually exclusive with "cluster".
129
+ """
130
+ @property
131
+ def cluster(self) -> global___MySQLCluster:
132
+ """When creating/updating Connection, the field "cluster" is mutually
133
+ exclusive with "managed_cluster_id".
134
+ """
135
+
136
+ @property
137
+ def auth(self) -> global___MySQLAuth: ...
138
+ @property
139
+ def databases(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
140
+ def __init__(
141
+ self,
142
+ *,
143
+ cluster: global___MySQLCluster | None = ...,
144
+ managed_cluster_id: builtins.str = ...,
145
+ auth: global___MySQLAuth | None = ...,
146
+ databases: collections.abc.Iterable[builtins.str] | None = ...,
147
+ ) -> None: ...
148
+ def HasField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster"]) -> builtins.bool: ...
149
+ def ClearField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster", "databases", b"databases", "managed_cluster_id", b"managed_cluster_id"]) -> None: ...
150
+
151
+ global___MySQLConnection = MySQLConnection
@@ -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/mysql_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,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/opensearch.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/opensearch.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'\n2yandex/cloud/connectionmanager/v1/opensearch.proto\x12!yandex.cloud.connectionmanager.v1\x1a.yandex/cloud/connectionmanager/v1/common.proto\"j\n\x0eOpenSearchAuth\x12L\n\ruser_password\x18\x01 \x01(\x0b\x32\x33.yandex.cloud.connectionmanager.v1.UserPasswordAuthH\x00\x42\n\n\x08security\"\x8f\x04\n\x11OpenSearchCluster\x12H\n\x05hosts\x18\x01 \x03(\x0b\x32\x39.yandex.cloud.connectionmanager.v1.OpenSearchCluster.Host\x12@\n\ntls_params\x18\x02 \x01(\x0b\x32,.yandex.cloud.connectionmanager.v1.TLSParams\x1a\xed\x02\n\x04Host\x12\x0c\n\x04host\x18\x03 \x01(\t\x12\x0c\n\x04port\x18\x04 \x01(\x03\x12P\n\x06health\x18\x06 \x01(\x0e\x32@.yandex.cloud.connectionmanager.v1.OpenSearchCluster.Host.Health\x12R\n\x05roles\x18\x07 \x03(\x0e\x32\x43.yandex.cloud.connectionmanager.v1.OpenSearchCluster.Host.GroupRole\">\n\tGroupRole\x12\x1a\n\x16GROUP_ROLE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x44\x41TA\x10\x01\x12\x0b\n\x07MANAGER\x10\x02\"Q\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\x0c\n\x08READONLY\x10\x04J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06\"\xc0\x01\n\x14OpenSearchConnection\x12\x45\n\x07\x63luster\x18\x01 \x01(\x0b\x32\x34.yandex.cloud.connectionmanager.v1.OpenSearchCluster\x12\x1a\n\x12managed_cluster_id\x18\x02 \x01(\t\x12?\n\x04\x61uth\x18\x04 \x01(\x0b\x32\x31.yandex.cloud.connectionmanager.v1.OpenSearchAuthJ\x04\x08\x03\x10\x04\x42\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.opensearch_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['_OPENSEARCHAUTH']._serialized_start=137
37
+ _globals['_OPENSEARCHAUTH']._serialized_end=243
38
+ _globals['_OPENSEARCHCLUSTER']._serialized_start=246
39
+ _globals['_OPENSEARCHCLUSTER']._serialized_end=773
40
+ _globals['_OPENSEARCHCLUSTER_HOST']._serialized_start=408
41
+ _globals['_OPENSEARCHCLUSTER_HOST']._serialized_end=773
42
+ _globals['_OPENSEARCHCLUSTER_HOST_GROUPROLE']._serialized_start=610
43
+ _globals['_OPENSEARCHCLUSTER_HOST_GROUPROLE']._serialized_end=672
44
+ _globals['_OPENSEARCHCLUSTER_HOST_HEALTH']._serialized_start=674
45
+ _globals['_OPENSEARCHCLUSTER_HOST_HEALTH']._serialized_end=755
46
+ _globals['_OPENSEARCHCONNECTION']._serialized_start=776
47
+ _globals['_OPENSEARCHCONNECTION']._serialized_end=968
48
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,148 @@
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 OpenSearchAuth(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___OpenSearchAuth = OpenSearchAuth
40
+
41
+ @typing.final
42
+ class OpenSearchCluster(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 _GroupRole:
50
+ ValueType = typing.NewType("ValueType", builtins.int)
51
+ V: typing_extensions.TypeAlias = ValueType
52
+
53
+ class _GroupRoleEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[OpenSearchCluster.Host._GroupRole.ValueType], builtins.type):
54
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
55
+ GROUP_ROLE_UNSPECIFIED: OpenSearchCluster.Host._GroupRole.ValueType # 0
56
+ DATA: OpenSearchCluster.Host._GroupRole.ValueType # 1
57
+ MANAGER: OpenSearchCluster.Host._GroupRole.ValueType # 2
58
+
59
+ class GroupRole(_GroupRole, metaclass=_GroupRoleEnumTypeWrapper): ...
60
+ GROUP_ROLE_UNSPECIFIED: OpenSearchCluster.Host.GroupRole.ValueType # 0
61
+ DATA: OpenSearchCluster.Host.GroupRole.ValueType # 1
62
+ MANAGER: OpenSearchCluster.Host.GroupRole.ValueType # 2
63
+
64
+ class _Health:
65
+ ValueType = typing.NewType("ValueType", builtins.int)
66
+ V: typing_extensions.TypeAlias = ValueType
67
+
68
+ class _HealthEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[OpenSearchCluster.Host._Health.ValueType], builtins.type):
69
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
70
+ HEALTH_UNSPECIFIED: OpenSearchCluster.Host._Health.ValueType # 0
71
+ ALIVE: OpenSearchCluster.Host._Health.ValueType # 1
72
+ DEAD: OpenSearchCluster.Host._Health.ValueType # 2
73
+ DEGRADED: OpenSearchCluster.Host._Health.ValueType # 3
74
+ READONLY: OpenSearchCluster.Host._Health.ValueType # 4
75
+
76
+ class Health(_Health, metaclass=_HealthEnumTypeWrapper): ...
77
+ HEALTH_UNSPECIFIED: OpenSearchCluster.Host.Health.ValueType # 0
78
+ ALIVE: OpenSearchCluster.Host.Health.ValueType # 1
79
+ DEAD: OpenSearchCluster.Host.Health.ValueType # 2
80
+ DEGRADED: OpenSearchCluster.Host.Health.ValueType # 3
81
+ READONLY: OpenSearchCluster.Host.Health.ValueType # 4
82
+
83
+ HOST_FIELD_NUMBER: builtins.int
84
+ PORT_FIELD_NUMBER: builtins.int
85
+ HEALTH_FIELD_NUMBER: builtins.int
86
+ ROLES_FIELD_NUMBER: builtins.int
87
+ host: builtins.str
88
+ port: builtins.int
89
+ health: global___OpenSearchCluster.Host.Health.ValueType
90
+ @property
91
+ def roles(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___OpenSearchCluster.Host.GroupRole.ValueType]: ...
92
+ def __init__(
93
+ self,
94
+ *,
95
+ host: builtins.str = ...,
96
+ port: builtins.int = ...,
97
+ health: global___OpenSearchCluster.Host.Health.ValueType = ...,
98
+ roles: collections.abc.Iterable[global___OpenSearchCluster.Host.GroupRole.ValueType] | None = ...,
99
+ ) -> None: ...
100
+ def ClearField(self, field_name: typing.Literal["health", b"health", "host", b"host", "port", b"port", "roles", b"roles"]) -> None: ...
101
+
102
+ HOSTS_FIELD_NUMBER: builtins.int
103
+ TLS_PARAMS_FIELD_NUMBER: builtins.int
104
+ @property
105
+ def hosts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OpenSearchCluster.Host]: ...
106
+ @property
107
+ def tls_params(self) -> yandex.cloud.connectionmanager.v1.common_pb2.TLSParams: ...
108
+ def __init__(
109
+ self,
110
+ *,
111
+ hosts: collections.abc.Iterable[global___OpenSearchCluster.Host] | None = ...,
112
+ tls_params: yandex.cloud.connectionmanager.v1.common_pb2.TLSParams | None = ...,
113
+ ) -> None: ...
114
+ def HasField(self, field_name: typing.Literal["tls_params", b"tls_params"]) -> builtins.bool: ...
115
+ def ClearField(self, field_name: typing.Literal["hosts", b"hosts", "tls_params", b"tls_params"]) -> None: ...
116
+
117
+ global___OpenSearchCluster = OpenSearchCluster
118
+
119
+ @typing.final
120
+ class OpenSearchConnection(google.protobuf.message.Message):
121
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
122
+
123
+ CLUSTER_FIELD_NUMBER: builtins.int
124
+ MANAGED_CLUSTER_ID_FIELD_NUMBER: builtins.int
125
+ AUTH_FIELD_NUMBER: builtins.int
126
+ managed_cluster_id: builtins.str
127
+ """When creating/updating Connection, the field "managed_cluster_id" is
128
+ mutually exclusive with "cluster".
129
+ """
130
+ @property
131
+ def cluster(self) -> global___OpenSearchCluster:
132
+ """When creating/updating Connection, the field "cluster" is mutually
133
+ exclusive with "managed_cluster_id".
134
+ """
135
+
136
+ @property
137
+ def auth(self) -> global___OpenSearchAuth: ...
138
+ def __init__(
139
+ self,
140
+ *,
141
+ cluster: global___OpenSearchCluster | None = ...,
142
+ managed_cluster_id: builtins.str = ...,
143
+ auth: global___OpenSearchAuth | None = ...,
144
+ ) -> None: ...
145
+ def HasField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster"]) -> builtins.bool: ...
146
+ def ClearField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster", "managed_cluster_id", b"managed_cluster_id"]) -> None: ...
147
+
148
+ global___OpenSearchConnection = OpenSearchConnection
@@ -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/opensearch_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,35 @@
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/package_options.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/package_options.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7yandex/cloud/connectionmanager/v1/package_options.proto\x12!yandex.cloud.connectionmanager.v1BYZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.connectionmanager.v1.package_options_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ _globals['DESCRIPTOR']._loaded_options = None
34
+ _globals['DESCRIPTOR']._serialized_options = b'ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanager'
35
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,8 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import google.protobuf.descriptor
7
+
8
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@@ -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/package_options_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
+ ...