yandexcloud 0.364.0__py3-none-any.whl → 0.367.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 (152) hide show
  1. yandex/cloud/access/access_pb2.py +5 -3
  2. yandex/cloud/access/access_pb2.pyi +24 -0
  3. yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +34 -32
  4. yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +9 -1
  5. yandex/cloud/audittrails/v1/trail_pb2.py +9 -11
  6. yandex/cloud/audittrails/v1/trail_pb2.pyi +1 -5
  7. yandex/cloud/backup/v1/policy_pb2.py +9 -9
  8. yandex/cloud/backup/v1/policy_pb2.pyi +8 -0
  9. yandex/cloud/baremetal/v1alpha/standard_image_pb2.py +37 -0
  10. yandex/cloud/baremetal/v1alpha/standard_image_pb2.pyi +37 -0
  11. yandex/cloud/baremetal/v1alpha/standard_image_pb2_grpc.py +24 -0
  12. yandex/cloud/baremetal/v1alpha/standard_image_pb2_grpc.pyi +17 -0
  13. yandex/cloud/baremetal/v1alpha/standard_image_service_pb2.py +56 -0
  14. yandex/cloud/baremetal/v1alpha/standard_image_service_pb2.pyi +118 -0
  15. yandex/cloud/baremetal/v1alpha/standard_image_service_pb2_grpc.py +148 -0
  16. yandex/cloud/baremetal/v1alpha/standard_image_service_pb2_grpc.pyi +80 -0
  17. yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2.py +60 -0
  18. yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2.pyi +353 -0
  19. yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2_grpc.py +24 -0
  20. yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2_grpc.pyi +17 -0
  21. yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2.py +106 -0
  22. yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2.pyi +238 -0
  23. yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2_grpc.py +324 -0
  24. yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2_grpc.pyi +153 -0
  25. yandex/cloud/compute/v1/instance_service_pb2.pyi +8 -1
  26. yandex/cloud/connectionmanager/v1/connection_pb2.py +12 -11
  27. yandex/cloud/connectionmanager/v1/connection_pb2.pyi +10 -3
  28. yandex/cloud/connectionmanager/v1/storedoc_pb2.py +50 -0
  29. yandex/cloud/connectionmanager/v1/storedoc_pb2.pyi +172 -0
  30. yandex/cloud/connectionmanager/v1/storedoc_pb2_grpc.py +24 -0
  31. yandex/cloud/connectionmanager/v1/storedoc_pb2_grpc.pyi +17 -0
  32. yandex/cloud/dns/v1/dns_zone_service_pb2.py +37 -27
  33. yandex/cloud/dns/v1/dns_zone_service_pb2.pyi +42 -0
  34. yandex/cloud/dns/v1/dns_zone_service_pb2_grpc.py +44 -0
  35. yandex/cloud/dns/v1/dns_zone_service_pb2_grpc.pyi +20 -0
  36. yandex/cloud/gitlab/v1/package_options_pb2.py +35 -0
  37. yandex/cloud/gitlab/v1/package_options_pb2.pyi +8 -0
  38. yandex/cloud/gitlab/v1/package_options_pb2_grpc.py +24 -0
  39. yandex/cloud/gitlab/v1/package_options_pb2_grpc.pyi +17 -0
  40. yandex/cloud/iam/v1/access_policy_template_service_pb2.py +50 -0
  41. yandex/cloud/iam/v1/access_policy_template_service_pb2.pyi +67 -0
  42. yandex/cloud/iam/v1/access_policy_template_service_pb2_grpc.py +98 -0
  43. yandex/cloud/iam/v1/access_policy_template_service_pb2_grpc.pyi +44 -0
  44. yandex/cloud/iam/v1/workload/federated_credential_service_pb2.py +11 -11
  45. yandex/cloud/kms/v1/symmetric_key_pb2.py +3 -3
  46. yandex/cloud/kms/v1/symmetric_key_pb2.pyi +4 -0
  47. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +184 -177
  48. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py +133 -0
  49. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.pyi +61 -0
  50. yandex/cloud/mdb/greenplum/v1/cluster_pb2.py +16 -16
  51. yandex/cloud/mdb/greenplum/v1/cluster_pb2.pyi +3 -15
  52. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +98 -91
  53. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +3 -15
  54. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.py +133 -0
  55. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.pyi +61 -0
  56. yandex/cloud/mdb/greenplum/v1/config_pb2.py +11 -29
  57. yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +0 -399
  58. yandex/cloud/mdb/kafka/v1/cluster_pb2.py +28 -28
  59. yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +5 -1
  60. yandex/cloud/mdb/kafka/v1/cluster_service_pb2.py +70 -63
  61. yandex/cloud/mdb/kafka/v1/cluster_service_pb2_grpc.py +133 -0
  62. yandex/cloud/mdb/kafka/v1/cluster_service_pb2_grpc.pyi +61 -0
  63. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.py +248 -241
  64. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.py +133 -0
  65. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.pyi +61 -0
  66. yandex/cloud/mdb/mongodb/v1/config/mongodb3_6_pb2.py +4 -4
  67. yandex/cloud/mdb/mongodb/v1/config/mongodb4_0_pb2.py +4 -4
  68. yandex/cloud/mdb/mongodb/v1/config/mongodb4_2_pb2.py +4 -4
  69. yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_enterprise_pb2.py +4 -4
  70. yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_pb2.py +4 -4
  71. yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_enterprise_pb2.py +4 -4
  72. yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_pb2.py +4 -4
  73. yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_enterprise_pb2.py +4 -4
  74. yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_pb2.py +4 -4
  75. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +65 -99
  76. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +21 -426
  77. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +110 -103
  78. yandex/cloud/mdb/mysql/v1/cluster_service_pb2_grpc.py +133 -0
  79. yandex/cloud/mdb/mysql/v1/cluster_service_pb2_grpc.pyi +61 -0
  80. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +146 -139
  81. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +133 -0
  82. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +61 -0
  83. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +114 -107
  84. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2_grpc.py +133 -0
  85. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2_grpc.pyi +61 -0
  86. yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +132 -125
  87. yandex/cloud/mdb/redis/v1/cluster_service_pb2_grpc.py +133 -0
  88. yandex/cloud/mdb/redis/v1/cluster_service_pb2_grpc.pyi +61 -0
  89. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +136 -129
  90. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +133 -0
  91. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +61 -0
  92. yandex/cloud/organizationmanager/v1/idp/application/saml/__init__.py +0 -0
  93. yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2.py +100 -0
  94. yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2.pyi +487 -0
  95. yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2_grpc.py +24 -0
  96. yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2_grpc.pyi +17 -0
  97. yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2.py +198 -0
  98. yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2.pyi +733 -0
  99. yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2_grpc.py +678 -0
  100. yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2_grpc.pyi +322 -0
  101. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2.py +40 -0
  102. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2.pyi +103 -0
  103. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2_grpc.py +24 -0
  104. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2_grpc.pyi +17 -0
  105. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2.py +95 -0
  106. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2.pyi +220 -0
  107. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2_grpc.py +281 -0
  108. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2_grpc.pyi +141 -0
  109. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +29 -3
  110. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +132 -0
  111. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +90 -0
  112. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +52 -0
  113. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +10 -10
  114. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +5 -1
  115. yandex/cloud/searchapi/v2/wordstat_service_pb2.py +96 -0
  116. yandex/cloud/searchapi/v2/wordstat_service_pb2.pyi +344 -0
  117. yandex/cloud/searchapi/v2/wordstat_service_pb2_grpc.py +189 -0
  118. yandex/cloud/searchapi/v2/wordstat_service_pb2_grpc.pyi +90 -0
  119. yandex/cloud/serverless/mcpgateway/__init__.py +0 -0
  120. yandex/cloud/serverless/mcpgateway/v1/__init__.py +0 -0
  121. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2.py +152 -0
  122. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2.pyi +780 -0
  123. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2_grpc.py +24 -0
  124. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2_grpc.pyi +17 -0
  125. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2.py +134 -0
  126. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2.pyi +390 -0
  127. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2_grpc.py +456 -0
  128. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2_grpc.pyi +213 -0
  129. yandex/cloud/serverless/mcpgateway/v1/package_options_pb2.py +35 -0
  130. yandex/cloud/serverless/mcpgateway/v1/package_options_pb2.pyi +8 -0
  131. yandex/cloud/serverless/mcpgateway/v1/package_options_pb2_grpc.py +24 -0
  132. yandex/cloud/serverless/mcpgateway/v1/package_options_pb2_grpc.pyi +17 -0
  133. yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +3 -3
  134. yandex/cloud/serverless/workflows/v1/workflow_service_pb2.py +38 -31
  135. yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.py +133 -0
  136. yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.pyi +61 -0
  137. yandex/cloud/trino/v1/cluster_pb2.py +46 -45
  138. yandex/cloud/trino/v1/cluster_pb2.pyi +9 -2
  139. yandex/cloud/trino/v1/cluster_service_pb2.py +50 -49
  140. yandex/cloud/trino/v1/cluster_service_pb2.pyi +17 -4
  141. yandex/cloud/trino/v1/resource_management_pb2.py +66 -0
  142. yandex/cloud/trino/v1/resource_management_pb2.pyi +257 -0
  143. yandex/cloud/trino/v1/resource_management_pb2_grpc.py +24 -0
  144. yandex/cloud/trino/v1/resource_management_pb2_grpc.pyi +17 -0
  145. yandex/cloud/video/v1/style_preset_service_pb2.py +20 -20
  146. yandexcloud/__init__.py +1 -1
  147. {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/METADATA +1 -1
  148. {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/RECORD +152 -85
  149. {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/AUTHORS +0 -0
  150. {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/LICENSE +0 -0
  151. {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/WHEEL +0 -0
  152. {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,153 @@
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 google.protobuf.empty_pb2
9
+ import grpc
10
+ import grpc.aio
11
+ import typing
12
+ import yandex.cloud.cloudregistry.v1.lifecycle_policy_pb2
13
+ import yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2
14
+ import yandex.cloud.operation.operation_pb2
15
+
16
+ _T = typing.TypeVar("_T")
17
+
18
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
19
+
20
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
21
+ ...
22
+
23
+ class LifecyclePolicyServiceStub:
24
+ """A set of methods for managing LifecyclePolicy resources."""
25
+
26
+ def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
27
+ Create: grpc.UnaryUnaryMultiCallable[
28
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.CreateLifecyclePolicyRequest,
29
+ yandex.cloud.operation.operation_pb2.Operation,
30
+ ]
31
+ """Creates a lifecycle policy in the specified registry."""
32
+
33
+ Update: grpc.UnaryUnaryMultiCallable[
34
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.UpdateLifecyclePolicyRequest,
35
+ yandex.cloud.operation.operation_pb2.Operation,
36
+ ]
37
+ """Updates the specified lifecycle policy."""
38
+
39
+ Delete: grpc.UnaryUnaryMultiCallable[
40
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.DeleteLifecyclePolicyRequest,
41
+ yandex.cloud.operation.operation_pb2.Operation,
42
+ ]
43
+ """Deletes the specified lifecycle policy."""
44
+
45
+ Get: grpc.UnaryUnaryMultiCallable[
46
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.GetLifecyclePolicyRequest,
47
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_pb2.LifecyclePolicy,
48
+ ]
49
+ """Returns the specified lifecycle policy."""
50
+
51
+ List: grpc.UnaryUnaryMultiCallable[
52
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.ListLifecyclePolicyRequest,
53
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.ListLifecyclePolicyResponse,
54
+ ]
55
+ """Retrieves the list of lifecycle policies in the specified registry."""
56
+
57
+ ChangeState: grpc.UnaryUnaryMultiCallable[
58
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.ChangeLifecyclePolicyStateRequest,
59
+ google.protobuf.empty_pb2.Empty,
60
+ ]
61
+ """Changes the state of the specified lifecycle policy."""
62
+
63
+ class LifecyclePolicyServiceAsyncStub:
64
+ """A set of methods for managing LifecyclePolicy resources."""
65
+
66
+ Create: grpc.aio.UnaryUnaryMultiCallable[
67
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.CreateLifecyclePolicyRequest,
68
+ yandex.cloud.operation.operation_pb2.Operation,
69
+ ]
70
+ """Creates a lifecycle policy in the specified registry."""
71
+
72
+ Update: grpc.aio.UnaryUnaryMultiCallable[
73
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.UpdateLifecyclePolicyRequest,
74
+ yandex.cloud.operation.operation_pb2.Operation,
75
+ ]
76
+ """Updates the specified lifecycle policy."""
77
+
78
+ Delete: grpc.aio.UnaryUnaryMultiCallable[
79
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.DeleteLifecyclePolicyRequest,
80
+ yandex.cloud.operation.operation_pb2.Operation,
81
+ ]
82
+ """Deletes the specified lifecycle policy."""
83
+
84
+ Get: grpc.aio.UnaryUnaryMultiCallable[
85
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.GetLifecyclePolicyRequest,
86
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_pb2.LifecyclePolicy,
87
+ ]
88
+ """Returns the specified lifecycle policy."""
89
+
90
+ List: grpc.aio.UnaryUnaryMultiCallable[
91
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.ListLifecyclePolicyRequest,
92
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.ListLifecyclePolicyResponse,
93
+ ]
94
+ """Retrieves the list of lifecycle policies in the specified registry."""
95
+
96
+ ChangeState: grpc.aio.UnaryUnaryMultiCallable[
97
+ yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.ChangeLifecyclePolicyStateRequest,
98
+ google.protobuf.empty_pb2.Empty,
99
+ ]
100
+ """Changes the state of the specified lifecycle policy."""
101
+
102
+ class LifecyclePolicyServiceServicer(metaclass=abc.ABCMeta):
103
+ """A set of methods for managing LifecyclePolicy resources."""
104
+
105
+ @abc.abstractmethod
106
+ def Create(
107
+ self,
108
+ request: yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.CreateLifecyclePolicyRequest,
109
+ context: _ServicerContext,
110
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
111
+ """Creates a lifecycle policy in the specified registry."""
112
+
113
+ @abc.abstractmethod
114
+ def Update(
115
+ self,
116
+ request: yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.UpdateLifecyclePolicyRequest,
117
+ context: _ServicerContext,
118
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
119
+ """Updates the specified lifecycle policy."""
120
+
121
+ @abc.abstractmethod
122
+ def Delete(
123
+ self,
124
+ request: yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.DeleteLifecyclePolicyRequest,
125
+ context: _ServicerContext,
126
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
127
+ """Deletes the specified lifecycle policy."""
128
+
129
+ @abc.abstractmethod
130
+ def Get(
131
+ self,
132
+ request: yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.GetLifecyclePolicyRequest,
133
+ context: _ServicerContext,
134
+ ) -> typing.Union[yandex.cloud.cloudregistry.v1.lifecycle_policy_pb2.LifecyclePolicy, collections.abc.Awaitable[yandex.cloud.cloudregistry.v1.lifecycle_policy_pb2.LifecyclePolicy]]:
135
+ """Returns the specified lifecycle policy."""
136
+
137
+ @abc.abstractmethod
138
+ def List(
139
+ self,
140
+ request: yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.ListLifecyclePolicyRequest,
141
+ context: _ServicerContext,
142
+ ) -> typing.Union[yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.ListLifecyclePolicyResponse, collections.abc.Awaitable[yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.ListLifecyclePolicyResponse]]:
143
+ """Retrieves the list of lifecycle policies in the specified registry."""
144
+
145
+ @abc.abstractmethod
146
+ def ChangeState(
147
+ self,
148
+ request: yandex.cloud.cloudregistry.v1.lifecycle_policy_service_pb2.ChangeLifecyclePolicyStateRequest,
149
+ context: _ServicerContext,
150
+ ) -> typing.Union[google.protobuf.empty_pb2.Empty, collections.abc.Awaitable[google.protobuf.empty_pb2.Empty]]:
151
+ """Changes the state of the specified lifecycle policy."""
152
+
153
+ def add_LifecyclePolicyServiceServicer_to_server(servicer: LifecyclePolicyServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -96,7 +96,14 @@ class ListInstancesRequest(google.protobuf.message.Message):
96
96
  The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`.
97
97
 
98
98
  Each condition has the form `<field> <operator> <value>`, where:
99
- 1. `<field>` is the field name. Currently you can use filtering only on the limited number of fields.
99
+ 1. `<field>` is the field name. Currently you can use filtering on these fields only:
100
+ - `id`: ID of the instance.
101
+ - `name`: name of the instance.
102
+ - `created_at`: timestamp representing the moment in time the instance was created at.
103
+ - `status`: [status](/docs/compute/concepts/vm-statuses) of the instance.
104
+ - `zone_id`: ID of the [availability zone](/docs/overview/concepts/geo-scope) where the instance resides.
105
+ - `platform_id`: ID of the hardware [platform configuration](/docs/compute/concepts/vm-platforms) the instance is created on.
106
+ - `host_id`: ID of the [dedicated host](/docs/compute/concepts/dedicated-host) that the instance belongs to.
100
107
  2. `<operator>` is a logical operator, one of `=`, `!=`, `IN`, `NOT IN`.
101
108
  3. `<value>` represents a value.
102
109
  String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\\"` turns to `"`, `\\'` to `'`, `\\\\` to backslash).
@@ -34,9 +34,10 @@ from yandex.cloud.connectionmanager.v1 import valkey_pb2 as yandex_dot_cloud_dot
34
34
  from yandex.cloud.connectionmanager.v1 import opensearch_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_opensearch__pb2
35
35
  from yandex.cloud.connectionmanager.v1 import greenplum_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_greenplum__pb2
36
36
  from yandex.cloud.connectionmanager.v1 import kafka_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_kafka__pb2
37
+ from yandex.cloud.connectionmanager.v1 import storedoc_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_storedoc__pb2
37
38
 
38
39
 
39
- 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\x1a-yandex/cloud/connectionmanager/v1/kafka.proto\"\xf8\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\x05kafka\x18\x05 \x01(\x0b\x32\x32.yandex.cloud.connectionmanager.v1.KafkaConnectionH\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\x04type\"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*\xa5\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\x05KAFKA\x10\x05\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\nB\x80\x01\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3')
40
+ 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\x1a-yandex/cloud/connectionmanager/v1/kafka.proto\x1a\x30yandex/cloud/connectionmanager/v1/storedoc.proto\"\xc3\x06\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\x05kafka\x18\x05 \x01(\x0b\x32\x32.yandex.cloud.connectionmanager.v1.KafkaConnectionH\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\x12I\n\x08storedoc\x18\x0b \x01(\x0b\x32\x35.yandex.cloud.connectionmanager.v1.StoreDocConnectionH\x00\x42\x06\n\x04type\"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*\xb3\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\x05KAFKA\x10\x05\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\x12\x0c\n\x08STOREDOC\x10\x0b\x42\x80\x01\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3')
40
41
 
41
42
  _globals = globals()
42
43
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -46,14 +47,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
46
47
  _globals['DESCRIPTOR']._serialized_options = b'\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanager'
47
48
  _globals['_CONNECTION_LABELSENTRY']._loaded_options = None
48
49
  _globals['_CONNECTION_LABELSENTRY']._serialized_options = b'8\001'
49
- _globals['_DBTYPE']._serialized_start=2025
50
- _globals['_DBTYPE']._serialized_end=2190
51
- _globals['_CONNECTIONPARAMS']._serialized_start=647
52
- _globals['_CONNECTIONPARAMS']._serialized_end=1407
53
- _globals['_LOCKBOXSECRET']._serialized_start=1409
54
- _globals['_LOCKBOXSECRET']._serialized_end=1477
55
- _globals['_CONNECTION']._serialized_start=1480
56
- _globals['_CONNECTION']._serialized_end=2022
57
- _globals['_CONNECTION_LABELSENTRY']._serialized_start=1961
58
- _globals['_CONNECTION_LABELSENTRY']._serialized_end=2006
50
+ _globals['_DBTYPE']._serialized_start=2150
51
+ _globals['_DBTYPE']._serialized_end=2329
52
+ _globals['_CONNECTIONPARAMS']._serialized_start=697
53
+ _globals['_CONNECTIONPARAMS']._serialized_end=1532
54
+ _globals['_LOCKBOXSECRET']._serialized_start=1534
55
+ _globals['_LOCKBOXSECRET']._serialized_end=1602
56
+ _globals['_CONNECTION']._serialized_start=1605
57
+ _globals['_CONNECTION']._serialized_end=2147
58
+ _globals['_CONNECTION_LABELSENTRY']._serialized_start=2086
59
+ _globals['_CONNECTION_LABELSENTRY']._serialized_end=2131
59
60
  # @@protoc_insertion_point(module_scope)
@@ -21,6 +21,7 @@ import yandex.cloud.connectionmanager.v1.mysql_pb2
21
21
  import yandex.cloud.connectionmanager.v1.opensearch_pb2
22
22
  import yandex.cloud.connectionmanager.v1.postgresql_pb2
23
23
  import yandex.cloud.connectionmanager.v1.redis_pb2
24
+ import yandex.cloud.connectionmanager.v1.storedoc_pb2
24
25
  import yandex.cloud.connectionmanager.v1.trino_pb2
25
26
  import yandex.cloud.connectionmanager.v1.valkey_pb2
26
27
 
@@ -48,6 +49,7 @@ class _DBTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTyp
48
49
  TRINO: _DBType.ValueType # 8
49
50
  VALKEY: _DBType.ValueType # 9
50
51
  GREENPLUM: _DBType.ValueType # 10
52
+ STOREDOC: _DBType.ValueType # 11
51
53
 
52
54
  class DBType(_DBType, metaclass=_DBTypeEnumTypeWrapper): ...
53
55
 
@@ -62,6 +64,7 @@ OPENSEARCH: DBType.ValueType # 7
62
64
  TRINO: DBType.ValueType # 8
63
65
  VALKEY: DBType.ValueType # 9
64
66
  GREENPLUM: DBType.ValueType # 10
67
+ STOREDOC: DBType.ValueType # 11
65
68
  global___DBType = DBType
66
69
 
67
70
  @typing.final
@@ -78,6 +81,7 @@ class ConnectionParams(google.protobuf.message.Message):
78
81
  TRINO_FIELD_NUMBER: builtins.int
79
82
  VALKEY_FIELD_NUMBER: builtins.int
80
83
  GREENPLUM_FIELD_NUMBER: builtins.int
84
+ STOREDOC_FIELD_NUMBER: builtins.int
81
85
  @property
82
86
  def postgresql(self) -> yandex.cloud.connectionmanager.v1.postgresql_pb2.PostgreSQLConnection: ...
83
87
  @property
@@ -98,6 +102,8 @@ class ConnectionParams(google.protobuf.message.Message):
98
102
  def valkey(self) -> yandex.cloud.connectionmanager.v1.valkey_pb2.ValkeyConnection: ...
99
103
  @property
100
104
  def greenplum(self) -> yandex.cloud.connectionmanager.v1.greenplum_pb2.GreenplumConnection: ...
105
+ @property
106
+ def storedoc(self) -> yandex.cloud.connectionmanager.v1.storedoc_pb2.StoreDocConnection: ...
101
107
  def __init__(
102
108
  self,
103
109
  *,
@@ -111,10 +117,11 @@ class ConnectionParams(google.protobuf.message.Message):
111
117
  trino: yandex.cloud.connectionmanager.v1.trino_pb2.TrinoConnection | None = ...,
112
118
  valkey: yandex.cloud.connectionmanager.v1.valkey_pb2.ValkeyConnection | None = ...,
113
119
  greenplum: yandex.cloud.connectionmanager.v1.greenplum_pb2.GreenplumConnection | None = ...,
120
+ storedoc: yandex.cloud.connectionmanager.v1.storedoc_pb2.StoreDocConnection | None = ...,
114
121
  ) -> None: ...
115
- def HasField(self, field_name: typing.Literal["clickhouse", b"clickhouse", "greenplum", b"greenplum", "kafka", b"kafka", "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: ...
116
- def ClearField(self, field_name: typing.Literal["clickhouse", b"clickhouse", "greenplum", b"greenplum", "kafka", b"kafka", "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: ...
117
- def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["postgresql", "mysql", "mongodb", "clickhouse", "kafka", "redis", "opensearch", "trino", "valkey", "greenplum"] | None: ...
122
+ def HasField(self, field_name: typing.Literal["clickhouse", b"clickhouse", "greenplum", b"greenplum", "kafka", b"kafka", "mongodb", b"mongodb", "mysql", b"mysql", "opensearch", b"opensearch", "postgresql", b"postgresql", "redis", b"redis", "storedoc", b"storedoc", "trino", b"trino", "type", b"type", "valkey", b"valkey"]) -> builtins.bool: ...
123
+ def ClearField(self, field_name: typing.Literal["clickhouse", b"clickhouse", "greenplum", b"greenplum", "kafka", b"kafka", "mongodb", b"mongodb", "mysql", b"mysql", "opensearch", b"opensearch", "postgresql", b"postgresql", "redis", b"redis", "storedoc", b"storedoc", "trino", b"trino", "type", b"type", "valkey", b"valkey"]) -> None: ...
124
+ def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["postgresql", "mysql", "mongodb", "clickhouse", "kafka", "redis", "opensearch", "trino", "valkey", "greenplum", "storedoc"] | None: ...
118
125
 
119
126
  global___ConnectionParams = ConnectionParams
120
127
 
@@ -0,0 +1,50 @@
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/storedoc.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/storedoc.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'\n0yandex/cloud/connectionmanager/v1/storedoc.proto\x12!yandex.cloud.connectionmanager.v1\x1a.yandex/cloud/connectionmanager/v1/common.proto\"}\n\x0cStoreDocAuth\x12L\n\ruser_password\x18\x01 \x01(\x0b\x32\x33.yandex.cloud.connectionmanager.v1.UserPasswordAuthH\x00\x12\x13\n\x0b\x61uth_source\x18\x02 \x01(\tB\n\n\x08security\"\xed\x04\n\x0fStoreDocCluster\x12\x46\n\x05hosts\x18\x01 \x03(\x0b\x32\x37.yandex.cloud.connectionmanager.v1.StoreDocCluster.Host\x12@\n\ntls_params\x18\x02 \x01(\x0b\x32,.yandex.cloud.connectionmanager.v1.TLSParams\x1a\xcf\x03\n\x04Host\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x03\x12J\n\x04role\x18\x03 \x01(\x0e\x32<.yandex.cloud.connectionmanager.v1.StoreDocCluster.Host.Role\x12N\n\x06health\x18\x04 \x01(\x0e\x32>.yandex.cloud.connectionmanager.v1.StoreDocCluster.Host.Health\x12J\n\x04type\x18\x05 \x01(\x0e\x32<.yandex.cloud.connectionmanager.v1.StoreDocCluster.Host.Type\"D\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06MONGOD\x10\x01\x12\n\n\x06MONGOS\x10\x02\x12\x0e\n\nMONGOINFRA\x10\x03\"8\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tSECONDARY\x10\x02\"C\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\"\xc7\x01\n\x12StoreDocConnection\x12\x43\n\x07\x63luster\x18\x01 \x01(\x0b\x32\x32.yandex.cloud.connectionmanager.v1.StoreDocCluster\x12\x1a\n\x12managed_cluster_id\x18\x02 \x01(\t\x12=\n\x04\x61uth\x18\x03 \x01(\x0b\x32/.yandex.cloud.connectionmanager.v1.StoreDocAuth\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.storedoc_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['_STOREDOCAUTH']._serialized_start=135
37
+ _globals['_STOREDOCAUTH']._serialized_end=260
38
+ _globals['_STOREDOCCLUSTER']._serialized_start=263
39
+ _globals['_STOREDOCCLUSTER']._serialized_end=884
40
+ _globals['_STOREDOCCLUSTER_HOST']._serialized_start=421
41
+ _globals['_STOREDOCCLUSTER_HOST']._serialized_end=884
42
+ _globals['_STOREDOCCLUSTER_HOST_TYPE']._serialized_start=689
43
+ _globals['_STOREDOCCLUSTER_HOST_TYPE']._serialized_end=757
44
+ _globals['_STOREDOCCLUSTER_HOST_ROLE']._serialized_start=759
45
+ _globals['_STOREDOCCLUSTER_HOST_ROLE']._serialized_end=815
46
+ _globals['_STOREDOCCLUSTER_HOST_HEALTH']._serialized_start=817
47
+ _globals['_STOREDOCCLUSTER_HOST_HEALTH']._serialized_end=884
48
+ _globals['_STOREDOCCONNECTION']._serialized_start=887
49
+ _globals['_STOREDOCCONNECTION']._serialized_end=1086
50
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,172 @@
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 StoreDocAuth(google.protobuf.message.Message):
25
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
26
+
27
+ USER_PASSWORD_FIELD_NUMBER: builtins.int
28
+ AUTH_SOURCE_FIELD_NUMBER: builtins.int
29
+ auth_source: builtins.str
30
+ @property
31
+ def user_password(self) -> yandex.cloud.connectionmanager.v1.common_pb2.UserPasswordAuth: ...
32
+ def __init__(
33
+ self,
34
+ *,
35
+ user_password: yandex.cloud.connectionmanager.v1.common_pb2.UserPasswordAuth | None = ...,
36
+ auth_source: builtins.str = ...,
37
+ ) -> None: ...
38
+ def HasField(self, field_name: typing.Literal["security", b"security", "user_password", b"user_password"]) -> builtins.bool: ...
39
+ def ClearField(self, field_name: typing.Literal["auth_source", b"auth_source", "security", b"security", "user_password", b"user_password"]) -> None: ...
40
+ def WhichOneof(self, oneof_group: typing.Literal["security", b"security"]) -> typing.Literal["user_password"] | None: ...
41
+
42
+ global___StoreDocAuth = StoreDocAuth
43
+
44
+ @typing.final
45
+ class StoreDocCluster(google.protobuf.message.Message):
46
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
47
+
48
+ @typing.final
49
+ class Host(google.protobuf.message.Message):
50
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
51
+
52
+ class _Type:
53
+ ValueType = typing.NewType("ValueType", builtins.int)
54
+ V: typing_extensions.TypeAlias = ValueType
55
+
56
+ class _TypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[StoreDocCluster.Host._Type.ValueType], builtins.type):
57
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
58
+ TYPE_UNSPECIFIED: StoreDocCluster.Host._Type.ValueType # 0
59
+ MONGOD: StoreDocCluster.Host._Type.ValueType # 1
60
+ MONGOS: StoreDocCluster.Host._Type.ValueType # 2
61
+ MONGOINFRA: StoreDocCluster.Host._Type.ValueType # 3
62
+
63
+ class Type(_Type, metaclass=_TypeEnumTypeWrapper): ...
64
+ TYPE_UNSPECIFIED: StoreDocCluster.Host.Type.ValueType # 0
65
+ MONGOD: StoreDocCluster.Host.Type.ValueType # 1
66
+ MONGOS: StoreDocCluster.Host.Type.ValueType # 2
67
+ MONGOINFRA: StoreDocCluster.Host.Type.ValueType # 3
68
+
69
+ class _Role:
70
+ ValueType = typing.NewType("ValueType", builtins.int)
71
+ V: typing_extensions.TypeAlias = ValueType
72
+
73
+ class _RoleEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[StoreDocCluster.Host._Role.ValueType], builtins.type):
74
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
75
+ ROLE_UNSPECIFIED: StoreDocCluster.Host._Role.ValueType # 0
76
+ PRIMARY: StoreDocCluster.Host._Role.ValueType # 1
77
+ SECONDARY: StoreDocCluster.Host._Role.ValueType # 2
78
+
79
+ class Role(_Role, metaclass=_RoleEnumTypeWrapper): ...
80
+ ROLE_UNSPECIFIED: StoreDocCluster.Host.Role.ValueType # 0
81
+ PRIMARY: StoreDocCluster.Host.Role.ValueType # 1
82
+ SECONDARY: StoreDocCluster.Host.Role.ValueType # 2
83
+
84
+ class _Health:
85
+ ValueType = typing.NewType("ValueType", builtins.int)
86
+ V: typing_extensions.TypeAlias = ValueType
87
+
88
+ class _HealthEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[StoreDocCluster.Host._Health.ValueType], builtins.type):
89
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
90
+ HEALTH_UNSPECIFIED: StoreDocCluster.Host._Health.ValueType # 0
91
+ ALIVE: StoreDocCluster.Host._Health.ValueType # 1
92
+ DEAD: StoreDocCluster.Host._Health.ValueType # 2
93
+ DEGRADED: StoreDocCluster.Host._Health.ValueType # 3
94
+
95
+ class Health(_Health, metaclass=_HealthEnumTypeWrapper): ...
96
+ HEALTH_UNSPECIFIED: StoreDocCluster.Host.Health.ValueType # 0
97
+ ALIVE: StoreDocCluster.Host.Health.ValueType # 1
98
+ DEAD: StoreDocCluster.Host.Health.ValueType # 2
99
+ DEGRADED: StoreDocCluster.Host.Health.ValueType # 3
100
+
101
+ HOST_FIELD_NUMBER: builtins.int
102
+ PORT_FIELD_NUMBER: builtins.int
103
+ ROLE_FIELD_NUMBER: builtins.int
104
+ HEALTH_FIELD_NUMBER: builtins.int
105
+ TYPE_FIELD_NUMBER: builtins.int
106
+ host: builtins.str
107
+ port: builtins.int
108
+ role: global___StoreDocCluster.Host.Role.ValueType
109
+ health: global___StoreDocCluster.Host.Health.ValueType
110
+ type: global___StoreDocCluster.Host.Type.ValueType
111
+ def __init__(
112
+ self,
113
+ *,
114
+ host: builtins.str = ...,
115
+ port: builtins.int = ...,
116
+ role: global___StoreDocCluster.Host.Role.ValueType = ...,
117
+ health: global___StoreDocCluster.Host.Health.ValueType = ...,
118
+ type: global___StoreDocCluster.Host.Type.ValueType = ...,
119
+ ) -> None: ...
120
+ def ClearField(self, field_name: typing.Literal["health", b"health", "host", b"host", "port", b"port", "role", b"role", "type", b"type"]) -> None: ...
121
+
122
+ HOSTS_FIELD_NUMBER: builtins.int
123
+ TLS_PARAMS_FIELD_NUMBER: builtins.int
124
+ @property
125
+ def hosts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___StoreDocCluster.Host]: ...
126
+ @property
127
+ def tls_params(self) -> yandex.cloud.connectionmanager.v1.common_pb2.TLSParams: ...
128
+ def __init__(
129
+ self,
130
+ *,
131
+ hosts: collections.abc.Iterable[global___StoreDocCluster.Host] | None = ...,
132
+ tls_params: yandex.cloud.connectionmanager.v1.common_pb2.TLSParams | None = ...,
133
+ ) -> None: ...
134
+ def HasField(self, field_name: typing.Literal["tls_params", b"tls_params"]) -> builtins.bool: ...
135
+ def ClearField(self, field_name: typing.Literal["hosts", b"hosts", "tls_params", b"tls_params"]) -> None: ...
136
+
137
+ global___StoreDocCluster = StoreDocCluster
138
+
139
+ @typing.final
140
+ class StoreDocConnection(google.protobuf.message.Message):
141
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
142
+
143
+ CLUSTER_FIELD_NUMBER: builtins.int
144
+ MANAGED_CLUSTER_ID_FIELD_NUMBER: builtins.int
145
+ AUTH_FIELD_NUMBER: builtins.int
146
+ DATABASES_FIELD_NUMBER: builtins.int
147
+ managed_cluster_id: builtins.str
148
+ """When creating/updating Connection, the field "managed_cluster_id" is mutually
149
+ exclusive with "cluster".
150
+ """
151
+ @property
152
+ def cluster(self) -> global___StoreDocCluster:
153
+ """When creating/updating Connection, the field "cluster" is mutually
154
+ exclusive with "managed_cluster_id".
155
+ """
156
+
157
+ @property
158
+ def auth(self) -> global___StoreDocAuth: ...
159
+ @property
160
+ def databases(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
161
+ def __init__(
162
+ self,
163
+ *,
164
+ cluster: global___StoreDocCluster | None = ...,
165
+ managed_cluster_id: builtins.str = ...,
166
+ auth: global___StoreDocAuth | None = ...,
167
+ databases: collections.abc.Iterable[builtins.str] | None = ...,
168
+ ) -> None: ...
169
+ def HasField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster"]) -> builtins.bool: ...
170
+ def ClearField(self, field_name: typing.Literal["auth", b"auth", "cluster", b"cluster", "databases", b"databases", "managed_cluster_id", b"managed_cluster_id"]) -> None: ...
171
+
172
+ global___StoreDocConnection = StoreDocConnection
@@ -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/storedoc_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
+ ...