yandexcloud 0.311.0__py3-none-any.whl → 0.312.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 (34) hide show
  1. yandex/cloud/ai/translate/v2/translation_service_pb2_grpc.py +6 -0
  2. yandex/cloud/ai/translate/v2/translation_service_pb2_grpc.pyi +12 -3
  3. yandex/cloud/audittrails/v1/trail_pb2.py +57 -37
  4. yandex/cloud/audittrails/v1/trail_pb2.pyi +115 -4
  5. yandex/cloud/audittrails/v1/trail_service_pb2.py +25 -23
  6. yandex/cloud/audittrails/v1/trail_service_pb2.pyi +22 -6
  7. yandex/cloud/iam/v1/workload/__init__.py +0 -0
  8. yandex/cloud/iam/v1/workload/federated_credential_pb2.py +27 -0
  9. yandex/cloud/iam/v1/workload/federated_credential_pb2.pyi +49 -0
  10. yandex/cloud/iam/v1/workload/federated_credential_pb2_grpc.py +4 -0
  11. yandex/cloud/iam/v1/workload/federated_credential_pb2_grpc.pyi +17 -0
  12. yandex/cloud/iam/v1/workload/federated_credential_service_pb2.py +69 -0
  13. yandex/cloud/iam/v1/workload/federated_credential_service_pb2.pyi +170 -0
  14. yandex/cloud/iam/v1/workload/federated_credential_service_pb2_grpc.py +176 -0
  15. yandex/cloud/iam/v1/workload/federated_credential_service_pb2_grpc.pyi +121 -0
  16. yandex/cloud/iam/v1/workload/oidc/__init__.py +0 -0
  17. yandex/cloud/iam/v1/workload/oidc/federation_pb2.py +31 -0
  18. yandex/cloud/iam/v1/workload/oidc/federation_pb2.pyi +95 -0
  19. yandex/cloud/iam/v1/workload/oidc/federation_pb2_grpc.py +4 -0
  20. yandex/cloud/iam/v1/workload/oidc/federation_pb2_grpc.pyi +17 -0
  21. yandex/cloud/iam/v1/workload/oidc/federation_service_pb2.py +100 -0
  22. yandex/cloud/iam/v1/workload/oidc/federation_service_pb2.pyi +304 -0
  23. yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.py +210 -0
  24. yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.pyi +141 -0
  25. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +92 -60
  26. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +304 -10
  27. yandex/cloud/mdb/clickhouse/v1/user_pb2.py +34 -26
  28. yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +84 -2
  29. {yandexcloud-0.311.0.dist-info → yandexcloud-0.312.0.dist-info}/METADATA +1 -1
  30. {yandexcloud-0.311.0.dist-info → yandexcloud-0.312.0.dist-info}/RECORD +34 -16
  31. {yandexcloud-0.311.0.dist-info → yandexcloud-0.312.0.dist-info}/AUTHORS +0 -0
  32. {yandexcloud-0.311.0.dist-info → yandexcloud-0.312.0.dist-info}/LICENSE +0 -0
  33. {yandexcloud-0.311.0.dist-info → yandexcloud-0.312.0.dist-info}/WHEEL +0 -0
  34. {yandexcloud-0.311.0.dist-info → yandexcloud-0.312.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,210 @@
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
+
5
+ from yandex.cloud.iam.v1.workload.oidc import federation_pb2 as yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__pb2
6
+ from yandex.cloud.iam.v1.workload.oidc import federation_service_pb2 as yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2
7
+ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
8
+
9
+
10
+ class FederationServiceStub(object):
11
+ """A set of methods for managing OIDC workload identity federations.
12
+ """
13
+
14
+ def __init__(self, channel):
15
+ """Constructor.
16
+
17
+ Args:
18
+ channel: A grpc.Channel.
19
+ """
20
+ self.Get = channel.unary_unary(
21
+ '/yandex.cloud.iam.v1.workload.oidc.FederationService/Get',
22
+ request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.GetFederationRequest.SerializeToString,
23
+ response_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__pb2.Federation.FromString,
24
+ )
25
+ self.List = channel.unary_unary(
26
+ '/yandex.cloud.iam.v1.workload.oidc.FederationService/List',
27
+ request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.ListFederationsRequest.SerializeToString,
28
+ response_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.ListFederationsResponse.FromString,
29
+ )
30
+ self.Create = channel.unary_unary(
31
+ '/yandex.cloud.iam.v1.workload.oidc.FederationService/Create',
32
+ request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.CreateFederationRequest.SerializeToString,
33
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
34
+ )
35
+ self.Update = channel.unary_unary(
36
+ '/yandex.cloud.iam.v1.workload.oidc.FederationService/Update',
37
+ request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.UpdateFederationRequest.SerializeToString,
38
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
39
+ )
40
+ self.Delete = channel.unary_unary(
41
+ '/yandex.cloud.iam.v1.workload.oidc.FederationService/Delete',
42
+ request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.DeleteFederationRequest.SerializeToString,
43
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
44
+ )
45
+
46
+
47
+ class FederationServiceServicer(object):
48
+ """A set of methods for managing OIDC workload identity federations.
49
+ """
50
+
51
+ def Get(self, request, context):
52
+ """Returns the specified OIDC workload identity federation.
53
+
54
+ To get the list of available OIDC workload identity federation, make a [List] request.
55
+ """
56
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
57
+ context.set_details('Method not implemented!')
58
+ raise NotImplementedError('Method not implemented!')
59
+
60
+ def List(self, request, context):
61
+ """Retrieves the list of OIDC workload identity federations in the specified folder.
62
+ """
63
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
64
+ context.set_details('Method not implemented!')
65
+ raise NotImplementedError('Method not implemented!')
66
+
67
+ def Create(self, request, context):
68
+ """Creates an OIDC workload identity federation in the specified folder.
69
+ """
70
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
71
+ context.set_details('Method not implemented!')
72
+ raise NotImplementedError('Method not implemented!')
73
+
74
+ def Update(self, request, context):
75
+ """Updates the specified OIDC workload identity federation.
76
+ """
77
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
78
+ context.set_details('Method not implemented!')
79
+ raise NotImplementedError('Method not implemented!')
80
+
81
+ def Delete(self, request, context):
82
+ """Deletes the specified OIDC workload identity federation.
83
+ """
84
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
85
+ context.set_details('Method not implemented!')
86
+ raise NotImplementedError('Method not implemented!')
87
+
88
+
89
+ def add_FederationServiceServicer_to_server(servicer, server):
90
+ rpc_method_handlers = {
91
+ 'Get': grpc.unary_unary_rpc_method_handler(
92
+ servicer.Get,
93
+ request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.GetFederationRequest.FromString,
94
+ response_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__pb2.Federation.SerializeToString,
95
+ ),
96
+ 'List': grpc.unary_unary_rpc_method_handler(
97
+ servicer.List,
98
+ request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.ListFederationsRequest.FromString,
99
+ response_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.ListFederationsResponse.SerializeToString,
100
+ ),
101
+ 'Create': grpc.unary_unary_rpc_method_handler(
102
+ servicer.Create,
103
+ request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.CreateFederationRequest.FromString,
104
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
105
+ ),
106
+ 'Update': grpc.unary_unary_rpc_method_handler(
107
+ servicer.Update,
108
+ request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.UpdateFederationRequest.FromString,
109
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
110
+ ),
111
+ 'Delete': grpc.unary_unary_rpc_method_handler(
112
+ servicer.Delete,
113
+ request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.DeleteFederationRequest.FromString,
114
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
115
+ ),
116
+ }
117
+ generic_handler = grpc.method_handlers_generic_handler(
118
+ 'yandex.cloud.iam.v1.workload.oidc.FederationService', rpc_method_handlers)
119
+ server.add_generic_rpc_handlers((generic_handler,))
120
+
121
+
122
+ # This class is part of an EXPERIMENTAL API.
123
+ class FederationService(object):
124
+ """A set of methods for managing OIDC workload identity federations.
125
+ """
126
+
127
+ @staticmethod
128
+ def Get(request,
129
+ target,
130
+ options=(),
131
+ channel_credentials=None,
132
+ call_credentials=None,
133
+ insecure=False,
134
+ compression=None,
135
+ wait_for_ready=None,
136
+ timeout=None,
137
+ metadata=None):
138
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iam.v1.workload.oidc.FederationService/Get',
139
+ yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.GetFederationRequest.SerializeToString,
140
+ yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__pb2.Federation.FromString,
141
+ options, channel_credentials,
142
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
143
+
144
+ @staticmethod
145
+ def List(request,
146
+ target,
147
+ options=(),
148
+ channel_credentials=None,
149
+ call_credentials=None,
150
+ insecure=False,
151
+ compression=None,
152
+ wait_for_ready=None,
153
+ timeout=None,
154
+ metadata=None):
155
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iam.v1.workload.oidc.FederationService/List',
156
+ yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.ListFederationsRequest.SerializeToString,
157
+ yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.ListFederationsResponse.FromString,
158
+ options, channel_credentials,
159
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
160
+
161
+ @staticmethod
162
+ def Create(request,
163
+ target,
164
+ options=(),
165
+ channel_credentials=None,
166
+ call_credentials=None,
167
+ insecure=False,
168
+ compression=None,
169
+ wait_for_ready=None,
170
+ timeout=None,
171
+ metadata=None):
172
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iam.v1.workload.oidc.FederationService/Create',
173
+ yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.CreateFederationRequest.SerializeToString,
174
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
175
+ options, channel_credentials,
176
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
177
+
178
+ @staticmethod
179
+ def Update(request,
180
+ target,
181
+ options=(),
182
+ channel_credentials=None,
183
+ call_credentials=None,
184
+ insecure=False,
185
+ compression=None,
186
+ wait_for_ready=None,
187
+ timeout=None,
188
+ metadata=None):
189
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iam.v1.workload.oidc.FederationService/Update',
190
+ yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.UpdateFederationRequest.SerializeToString,
191
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
192
+ options, channel_credentials,
193
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
194
+
195
+ @staticmethod
196
+ def Delete(request,
197
+ target,
198
+ options=(),
199
+ channel_credentials=None,
200
+ call_credentials=None,
201
+ insecure=False,
202
+ compression=None,
203
+ wait_for_ready=None,
204
+ timeout=None,
205
+ metadata=None):
206
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iam.v1.workload.oidc.FederationService/Delete',
207
+ yandex_dot_cloud_dot_iam_dot_v1_dot_workload_dot_oidc_dot_federation__service__pb2.DeleteFederationRequest.SerializeToString,
208
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
209
+ options, channel_credentials,
210
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,141 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+ import yandex.cloud.iam.v1.workload.oidc.federation_pb2
12
+ import yandex.cloud.iam.v1.workload.oidc.federation_service_pb2
13
+ import yandex.cloud.operation.operation_pb2
14
+
15
+ _T = typing.TypeVar("_T")
16
+
17
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
18
+
19
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
20
+ ...
21
+
22
+ class FederationServiceStub:
23
+ """A set of methods for managing OIDC workload identity federations."""
24
+
25
+ def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
26
+ Get: grpc.UnaryUnaryMultiCallable[
27
+ yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.GetFederationRequest,
28
+ yandex.cloud.iam.v1.workload.oidc.federation_pb2.Federation,
29
+ ]
30
+ """Returns the specified OIDC workload identity federation.
31
+
32
+ To get the list of available OIDC workload identity federation, make a [List] request.
33
+ """
34
+
35
+ List: grpc.UnaryUnaryMultiCallable[
36
+ yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.ListFederationsRequest,
37
+ yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.ListFederationsResponse,
38
+ ]
39
+ """Retrieves the list of OIDC workload identity federations in the specified folder."""
40
+
41
+ Create: grpc.UnaryUnaryMultiCallable[
42
+ yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.CreateFederationRequest,
43
+ yandex.cloud.operation.operation_pb2.Operation,
44
+ ]
45
+ """Creates an OIDC workload identity federation in the specified folder."""
46
+
47
+ Update: grpc.UnaryUnaryMultiCallable[
48
+ yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.UpdateFederationRequest,
49
+ yandex.cloud.operation.operation_pb2.Operation,
50
+ ]
51
+ """Updates the specified OIDC workload identity federation."""
52
+
53
+ Delete: grpc.UnaryUnaryMultiCallable[
54
+ yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.DeleteFederationRequest,
55
+ yandex.cloud.operation.operation_pb2.Operation,
56
+ ]
57
+ """Deletes the specified OIDC workload identity federation."""
58
+
59
+ class FederationServiceAsyncStub:
60
+ """A set of methods for managing OIDC workload identity federations."""
61
+
62
+ Get: grpc.aio.UnaryUnaryMultiCallable[
63
+ yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.GetFederationRequest,
64
+ yandex.cloud.iam.v1.workload.oidc.federation_pb2.Federation,
65
+ ]
66
+ """Returns the specified OIDC workload identity federation.
67
+
68
+ To get the list of available OIDC workload identity federation, make a [List] request.
69
+ """
70
+
71
+ List: grpc.aio.UnaryUnaryMultiCallable[
72
+ yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.ListFederationsRequest,
73
+ yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.ListFederationsResponse,
74
+ ]
75
+ """Retrieves the list of OIDC workload identity federations in the specified folder."""
76
+
77
+ Create: grpc.aio.UnaryUnaryMultiCallable[
78
+ yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.CreateFederationRequest,
79
+ yandex.cloud.operation.operation_pb2.Operation,
80
+ ]
81
+ """Creates an OIDC workload identity federation in the specified folder."""
82
+
83
+ Update: grpc.aio.UnaryUnaryMultiCallable[
84
+ yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.UpdateFederationRequest,
85
+ yandex.cloud.operation.operation_pb2.Operation,
86
+ ]
87
+ """Updates the specified OIDC workload identity federation."""
88
+
89
+ Delete: grpc.aio.UnaryUnaryMultiCallable[
90
+ yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.DeleteFederationRequest,
91
+ yandex.cloud.operation.operation_pb2.Operation,
92
+ ]
93
+ """Deletes the specified OIDC workload identity federation."""
94
+
95
+ class FederationServiceServicer(metaclass=abc.ABCMeta):
96
+ """A set of methods for managing OIDC workload identity federations."""
97
+
98
+ @abc.abstractmethod
99
+ def Get(
100
+ self,
101
+ request: yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.GetFederationRequest,
102
+ context: _ServicerContext,
103
+ ) -> typing.Union[yandex.cloud.iam.v1.workload.oidc.federation_pb2.Federation, collections.abc.Awaitable[yandex.cloud.iam.v1.workload.oidc.federation_pb2.Federation]]:
104
+ """Returns the specified OIDC workload identity federation.
105
+
106
+ To get the list of available OIDC workload identity federation, make a [List] request.
107
+ """
108
+
109
+ @abc.abstractmethod
110
+ def List(
111
+ self,
112
+ request: yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.ListFederationsRequest,
113
+ context: _ServicerContext,
114
+ ) -> typing.Union[yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.ListFederationsResponse, collections.abc.Awaitable[yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.ListFederationsResponse]]:
115
+ """Retrieves the list of OIDC workload identity federations in the specified folder."""
116
+
117
+ @abc.abstractmethod
118
+ def Create(
119
+ self,
120
+ request: yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.CreateFederationRequest,
121
+ context: _ServicerContext,
122
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
123
+ """Creates an OIDC workload identity federation in the specified folder."""
124
+
125
+ @abc.abstractmethod
126
+ def Update(
127
+ self,
128
+ request: yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.UpdateFederationRequest,
129
+ context: _ServicerContext,
130
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
131
+ """Updates the specified OIDC workload identity federation."""
132
+
133
+ @abc.abstractmethod
134
+ def Delete(
135
+ self,
136
+ request: yandex.cloud.iam.v1.workload.oidc.federation_service_pb2.DeleteFederationRequest,
137
+ context: _ServicerContext,
138
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
139
+ """Deletes the specified OIDC workload identity federation."""
140
+
141
+ def add_FederationServiceServicer_to_server(servicer: FederationServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...