yandexcloud 0.358.0__py3-none-any.whl → 0.360.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.
Files changed (56) hide show
  1. yandex/cloud/cdn/v1/rule_pb2.py +2 -2
  2. yandex/cloud/cdn/v1/rule_pb2.pyi +7 -1
  3. yandex/cloud/cdn/v1/rule_service_pb2.py +16 -16
  4. yandex/cloud/cdn/v1/rule_service_pb2.pyi +16 -3
  5. yandex/cloud/cloudregistry/v1/registry_pb2.py +5 -5
  6. yandex/cloud/cloudregistry/v1/registry_pb2.pyi +4 -0
  7. yandex/cloud/k8s/v1/cluster_pb2.py +48 -46
  8. yandex/cloud/k8s/v1/cluster_pb2.pyi +32 -2
  9. yandex/cloud/k8s/v1/cluster_service_pb2.py +54 -52
  10. yandex/cloud/k8s/v1/cluster_service_pb2.pyi +28 -4
  11. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +3 -1
  12. yandex/cloud/mdb/clickhouse/v1/user_pb2.py +38 -38
  13. yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +15 -3
  14. yandex/cloud/monitoring/v3/group_widget_pb2.py +48 -0
  15. yandex/cloud/monitoring/v3/group_widget_pb2.pyi +131 -0
  16. yandex/cloud/monitoring/v3/group_widget_pb2_grpc.py +24 -0
  17. yandex/cloud/monitoring/v3/group_widget_pb2_grpc.pyi +17 -0
  18. yandex/cloud/monitoring/v3/widget_pb2.py +6 -5
  19. yandex/cloud/monitoring/v3/widget_pb2.pyi +10 -3
  20. yandex/cloud/organizationmanager/v1/idp/__init__.py +0 -0
  21. yandex/cloud/organizationmanager/v1/idp/user_pb2.py +40 -0
  22. yandex/cloud/organizationmanager/v1/idp/user_pb2.pyi +149 -0
  23. yandex/cloud/organizationmanager/v1/idp/user_pb2_grpc.py +24 -0
  24. yandex/cloud/organizationmanager/v1/idp/user_pb2_grpc.pyi +17 -0
  25. yandex/cloud/organizationmanager/v1/idp/user_service_pb2.py +218 -0
  26. yandex/cloud/organizationmanager/v1/idp/user_service_pb2.pyi +809 -0
  27. yandex/cloud/organizationmanager/v1/idp/user_service_pb2_grpc.py +678 -0
  28. yandex/cloud/organizationmanager/v1/idp/user_service_pb2_grpc.pyi +322 -0
  29. yandex/cloud/organizationmanager/v1/idp/userpool_pb2.py +90 -0
  30. yandex/cloud/organizationmanager/v1/idp/userpool_pb2.pyi +549 -0
  31. yandex/cloud/organizationmanager/v1/idp/userpool_pb2_grpc.py +24 -0
  32. yandex/cloud/organizationmanager/v1/idp/userpool_pb2_grpc.pyi +17 -0
  33. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2.py +162 -0
  34. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2.pyi +596 -0
  35. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2_grpc.py +678 -0
  36. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2_grpc.pyi +322 -0
  37. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +22 -22
  38. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +8 -2
  39. yandex/cloud/searchapi/v2/img_search_service_pb2.py +2 -2
  40. yandex/cloud/searchapi/v2/search_query_pb2.py +9 -1
  41. yandex/cloud/searchapi/v2/search_query_pb2.pyi +42 -0
  42. yandex/cloud/searchapi/v2/search_service_pb2.py +13 -13
  43. yandex/cloud/searchapi/v2/search_service_pb2.pyi +8 -2
  44. yandex/cloud/serverless/functions/v1/function_service_pb2.py +13 -13
  45. yandex/cloud/spark/v1/job_pb2.py +18 -12
  46. yandex/cloud/spark/v1/job_pb2.pyi +85 -3
  47. yandex/cloud/spark/v1/job_service_pb2.py +14 -12
  48. yandex/cloud/spark/v1/job_service_pb2.pyi +11 -3
  49. yandex/cloud/storage/v1/presign_service_pb2.pyi +1 -1
  50. yandexcloud/__init__.py +1 -1
  51. {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/METADATA +1 -1
  52. {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/RECORD +56 -35
  53. {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/AUTHORS +0 -0
  54. {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/LICENSE +0 -0
  55. {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/WHEEL +0 -0
  56. {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,678 @@
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
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
7
+ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
8
+ from yandex.cloud.organizationmanager.v1.idp import user_pb2 as yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__pb2
9
+ from yandex.cloud.organizationmanager.v1.idp import user_service_pb2 as yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2
10
+
11
+ GRPC_GENERATED_VERSION = '1.70.0'
12
+ GRPC_VERSION = grpc.__version__
13
+ _version_not_supported = False
14
+
15
+ try:
16
+ from grpc._utilities import first_version_is_lower
17
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
18
+ except ImportError:
19
+ _version_not_supported = True
20
+
21
+ if _version_not_supported:
22
+ raise RuntimeError(
23
+ f'The grpc package installed is at version {GRPC_VERSION},'
24
+ + f' but the generated code in yandex/cloud/organizationmanager/v1/idp/user_service_pb2_grpc.py depends on'
25
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
26
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
27
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
28
+ )
29
+
30
+
31
+ class UserServiceStub(object):
32
+ """A set of methods for managing users in the Identity Provider system.
33
+ """
34
+
35
+ def __init__(self, channel):
36
+ """Constructor.
37
+
38
+ Args:
39
+ channel: A grpc.Channel.
40
+ """
41
+ self.Get = channel.unary_unary(
42
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/Get',
43
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.GetUserRequest.SerializeToString,
44
+ response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__pb2.User.FromString,
45
+ _registered_method=True)
46
+ self.List = channel.unary_unary(
47
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/List',
48
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ListUsersRequest.SerializeToString,
49
+ response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ListUsersResponse.FromString,
50
+ _registered_method=True)
51
+ self.Create = channel.unary_unary(
52
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/Create',
53
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.CreateUserRequest.SerializeToString,
54
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
55
+ _registered_method=True)
56
+ self.Update = channel.unary_unary(
57
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/Update',
58
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.UpdateUserRequest.SerializeToString,
59
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
60
+ _registered_method=True)
61
+ self.Delete = channel.unary_unary(
62
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/Delete',
63
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.DeleteUserRequest.SerializeToString,
64
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
65
+ _registered_method=True)
66
+ self.SetOwnPassword = channel.unary_unary(
67
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/SetOwnPassword',
68
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.SetOwnPasswordRequest.SerializeToString,
69
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
70
+ _registered_method=True)
71
+ self.SetOthersPassword = channel.unary_unary(
72
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/SetOthersPassword',
73
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.SetOthersPasswordRequest.SerializeToString,
74
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
75
+ _registered_method=True)
76
+ self.Suspend = channel.unary_unary(
77
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/Suspend',
78
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.SuspendUserRequest.SerializeToString,
79
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
80
+ _registered_method=True)
81
+ self.Reactivate = channel.unary_unary(
82
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/Reactivate',
83
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ReactivateUserRequest.SerializeToString,
84
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
85
+ _registered_method=True)
86
+ self.GeneratePassword = channel.unary_unary(
87
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/GeneratePassword',
88
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.GeneratePasswordRequest.SerializeToString,
89
+ response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.GeneratePasswordResponse.FromString,
90
+ _registered_method=True)
91
+ self.GetSelfPasswordMetadata = channel.unary_unary(
92
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/GetSelfPasswordMetadata',
93
+ request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
94
+ response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.PasswordMetadata.FromString,
95
+ _registered_method=True)
96
+ self.ConvertToExternal = channel.unary_unary(
97
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/ConvertToExternal',
98
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ConvertToExternalUserRequest.SerializeToString,
99
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
100
+ _registered_method=True)
101
+ self.SetPasswordHash = channel.unary_unary(
102
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/SetPasswordHash',
103
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.SetPasswordHashRequest.SerializeToString,
104
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
105
+ _registered_method=True)
106
+ self.ResolveExternalIds = channel.unary_unary(
107
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/ResolveExternalIds',
108
+ request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ResolveExternalIdsRequest.SerializeToString,
109
+ response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ResolveExternalIdsResponse.FromString,
110
+ _registered_method=True)
111
+
112
+
113
+ class UserServiceServicer(object):
114
+ """A set of methods for managing users in the Identity Provider system.
115
+ """
116
+
117
+ def Get(self, request, context):
118
+ """Returns the specified user.
119
+
120
+ To get the list of available users, make a [List] request.
121
+ """
122
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
123
+ context.set_details('Method not implemented!')
124
+ raise NotImplementedError('Method not implemented!')
125
+
126
+ def List(self, request, context):
127
+ """Retrieves the list of users in the specified userpool.
128
+ """
129
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
130
+ context.set_details('Method not implemented!')
131
+ raise NotImplementedError('Method not implemented!')
132
+
133
+ def Create(self, request, context):
134
+ """Creates a user in the specified userpool.
135
+ """
136
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
137
+ context.set_details('Method not implemented!')
138
+ raise NotImplementedError('Method not implemented!')
139
+
140
+ def Update(self, request, context):
141
+ """Updates the specified user.
142
+ """
143
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
144
+ context.set_details('Method not implemented!')
145
+ raise NotImplementedError('Method not implemented!')
146
+
147
+ def Delete(self, request, context):
148
+ """Deletes the specified user.
149
+ """
150
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
151
+ context.set_details('Method not implemented!')
152
+ raise NotImplementedError('Method not implemented!')
153
+
154
+ def SetOwnPassword(self, request, context):
155
+ """Sets the password for the authenticated user.
156
+ """
157
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
158
+ context.set_details('Method not implemented!')
159
+ raise NotImplementedError('Method not implemented!')
160
+
161
+ def SetOthersPassword(self, request, context):
162
+ """Sets the password for another user.
163
+ """
164
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
165
+ context.set_details('Method not implemented!')
166
+ raise NotImplementedError('Method not implemented!')
167
+
168
+ def Suspend(self, request, context):
169
+ """Suspends the specified user.
170
+ """
171
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
172
+ context.set_details('Method not implemented!')
173
+ raise NotImplementedError('Method not implemented!')
174
+
175
+ def Reactivate(self, request, context):
176
+ """Reactivates a previously suspended user.
177
+ """
178
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
179
+ context.set_details('Method not implemented!')
180
+ raise NotImplementedError('Method not implemented!')
181
+
182
+ def GeneratePassword(self, request, context):
183
+ """Generates a new password.
184
+ """
185
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
186
+ context.set_details('Method not implemented!')
187
+ raise NotImplementedError('Method not implemented!')
188
+
189
+ def GetSelfPasswordMetadata(self, request, context):
190
+ """Returns metadata about the authenticated user's password.
191
+ """
192
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
193
+ context.set_details('Method not implemented!')
194
+ raise NotImplementedError('Method not implemented!')
195
+
196
+ def ConvertToExternal(self, request, context):
197
+ """Converts a user to use external authentication.
198
+ """
199
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
200
+ context.set_details('Method not implemented!')
201
+ raise NotImplementedError('Method not implemented!')
202
+
203
+ def SetPasswordHash(self, request, context):
204
+ """Sets a password hash for the specified user.
205
+ """
206
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
207
+ context.set_details('Method not implemented!')
208
+ raise NotImplementedError('Method not implemented!')
209
+
210
+ def ResolveExternalIds(self, request, context):
211
+ """Resolves external IDs to internal user IDs.
212
+ """
213
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
214
+ context.set_details('Method not implemented!')
215
+ raise NotImplementedError('Method not implemented!')
216
+
217
+
218
+ def add_UserServiceServicer_to_server(servicer, server):
219
+ rpc_method_handlers = {
220
+ 'Get': grpc.unary_unary_rpc_method_handler(
221
+ servicer.Get,
222
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.GetUserRequest.FromString,
223
+ response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__pb2.User.SerializeToString,
224
+ ),
225
+ 'List': grpc.unary_unary_rpc_method_handler(
226
+ servicer.List,
227
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ListUsersRequest.FromString,
228
+ response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ListUsersResponse.SerializeToString,
229
+ ),
230
+ 'Create': grpc.unary_unary_rpc_method_handler(
231
+ servicer.Create,
232
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.CreateUserRequest.FromString,
233
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
234
+ ),
235
+ 'Update': grpc.unary_unary_rpc_method_handler(
236
+ servicer.Update,
237
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.UpdateUserRequest.FromString,
238
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
239
+ ),
240
+ 'Delete': grpc.unary_unary_rpc_method_handler(
241
+ servicer.Delete,
242
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.DeleteUserRequest.FromString,
243
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
244
+ ),
245
+ 'SetOwnPassword': grpc.unary_unary_rpc_method_handler(
246
+ servicer.SetOwnPassword,
247
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.SetOwnPasswordRequest.FromString,
248
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
249
+ ),
250
+ 'SetOthersPassword': grpc.unary_unary_rpc_method_handler(
251
+ servicer.SetOthersPassword,
252
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.SetOthersPasswordRequest.FromString,
253
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
254
+ ),
255
+ 'Suspend': grpc.unary_unary_rpc_method_handler(
256
+ servicer.Suspend,
257
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.SuspendUserRequest.FromString,
258
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
259
+ ),
260
+ 'Reactivate': grpc.unary_unary_rpc_method_handler(
261
+ servicer.Reactivate,
262
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ReactivateUserRequest.FromString,
263
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
264
+ ),
265
+ 'GeneratePassword': grpc.unary_unary_rpc_method_handler(
266
+ servicer.GeneratePassword,
267
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.GeneratePasswordRequest.FromString,
268
+ response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.GeneratePasswordResponse.SerializeToString,
269
+ ),
270
+ 'GetSelfPasswordMetadata': grpc.unary_unary_rpc_method_handler(
271
+ servicer.GetSelfPasswordMetadata,
272
+ request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
273
+ response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.PasswordMetadata.SerializeToString,
274
+ ),
275
+ 'ConvertToExternal': grpc.unary_unary_rpc_method_handler(
276
+ servicer.ConvertToExternal,
277
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ConvertToExternalUserRequest.FromString,
278
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
279
+ ),
280
+ 'SetPasswordHash': grpc.unary_unary_rpc_method_handler(
281
+ servicer.SetPasswordHash,
282
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.SetPasswordHashRequest.FromString,
283
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
284
+ ),
285
+ 'ResolveExternalIds': grpc.unary_unary_rpc_method_handler(
286
+ servicer.ResolveExternalIds,
287
+ request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ResolveExternalIdsRequest.FromString,
288
+ response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ResolveExternalIdsResponse.SerializeToString,
289
+ ),
290
+ }
291
+ generic_handler = grpc.method_handlers_generic_handler(
292
+ 'yandex.cloud.organizationmanager.v1.idp.UserService', rpc_method_handlers)
293
+ server.add_generic_rpc_handlers((generic_handler,))
294
+ server.add_registered_method_handlers('yandex.cloud.organizationmanager.v1.idp.UserService', rpc_method_handlers)
295
+
296
+
297
+ # This class is part of an EXPERIMENTAL API.
298
+ class UserService(object):
299
+ """A set of methods for managing users in the Identity Provider system.
300
+ """
301
+
302
+ @staticmethod
303
+ def Get(request,
304
+ target,
305
+ options=(),
306
+ channel_credentials=None,
307
+ call_credentials=None,
308
+ insecure=False,
309
+ compression=None,
310
+ wait_for_ready=None,
311
+ timeout=None,
312
+ metadata=None):
313
+ return grpc.experimental.unary_unary(
314
+ request,
315
+ target,
316
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/Get',
317
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.GetUserRequest.SerializeToString,
318
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__pb2.User.FromString,
319
+ options,
320
+ channel_credentials,
321
+ insecure,
322
+ call_credentials,
323
+ compression,
324
+ wait_for_ready,
325
+ timeout,
326
+ metadata,
327
+ _registered_method=True)
328
+
329
+ @staticmethod
330
+ def List(request,
331
+ target,
332
+ options=(),
333
+ channel_credentials=None,
334
+ call_credentials=None,
335
+ insecure=False,
336
+ compression=None,
337
+ wait_for_ready=None,
338
+ timeout=None,
339
+ metadata=None):
340
+ return grpc.experimental.unary_unary(
341
+ request,
342
+ target,
343
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/List',
344
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ListUsersRequest.SerializeToString,
345
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ListUsersResponse.FromString,
346
+ options,
347
+ channel_credentials,
348
+ insecure,
349
+ call_credentials,
350
+ compression,
351
+ wait_for_ready,
352
+ timeout,
353
+ metadata,
354
+ _registered_method=True)
355
+
356
+ @staticmethod
357
+ def Create(request,
358
+ target,
359
+ options=(),
360
+ channel_credentials=None,
361
+ call_credentials=None,
362
+ insecure=False,
363
+ compression=None,
364
+ wait_for_ready=None,
365
+ timeout=None,
366
+ metadata=None):
367
+ return grpc.experimental.unary_unary(
368
+ request,
369
+ target,
370
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/Create',
371
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.CreateUserRequest.SerializeToString,
372
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
373
+ options,
374
+ channel_credentials,
375
+ insecure,
376
+ call_credentials,
377
+ compression,
378
+ wait_for_ready,
379
+ timeout,
380
+ metadata,
381
+ _registered_method=True)
382
+
383
+ @staticmethod
384
+ def Update(request,
385
+ target,
386
+ options=(),
387
+ channel_credentials=None,
388
+ call_credentials=None,
389
+ insecure=False,
390
+ compression=None,
391
+ wait_for_ready=None,
392
+ timeout=None,
393
+ metadata=None):
394
+ return grpc.experimental.unary_unary(
395
+ request,
396
+ target,
397
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/Update',
398
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.UpdateUserRequest.SerializeToString,
399
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
400
+ options,
401
+ channel_credentials,
402
+ insecure,
403
+ call_credentials,
404
+ compression,
405
+ wait_for_ready,
406
+ timeout,
407
+ metadata,
408
+ _registered_method=True)
409
+
410
+ @staticmethod
411
+ def Delete(request,
412
+ target,
413
+ options=(),
414
+ channel_credentials=None,
415
+ call_credentials=None,
416
+ insecure=False,
417
+ compression=None,
418
+ wait_for_ready=None,
419
+ timeout=None,
420
+ metadata=None):
421
+ return grpc.experimental.unary_unary(
422
+ request,
423
+ target,
424
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/Delete',
425
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.DeleteUserRequest.SerializeToString,
426
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
427
+ options,
428
+ channel_credentials,
429
+ insecure,
430
+ call_credentials,
431
+ compression,
432
+ wait_for_ready,
433
+ timeout,
434
+ metadata,
435
+ _registered_method=True)
436
+
437
+ @staticmethod
438
+ def SetOwnPassword(request,
439
+ target,
440
+ options=(),
441
+ channel_credentials=None,
442
+ call_credentials=None,
443
+ insecure=False,
444
+ compression=None,
445
+ wait_for_ready=None,
446
+ timeout=None,
447
+ metadata=None):
448
+ return grpc.experimental.unary_unary(
449
+ request,
450
+ target,
451
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/SetOwnPassword',
452
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.SetOwnPasswordRequest.SerializeToString,
453
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
454
+ options,
455
+ channel_credentials,
456
+ insecure,
457
+ call_credentials,
458
+ compression,
459
+ wait_for_ready,
460
+ timeout,
461
+ metadata,
462
+ _registered_method=True)
463
+
464
+ @staticmethod
465
+ def SetOthersPassword(request,
466
+ target,
467
+ options=(),
468
+ channel_credentials=None,
469
+ call_credentials=None,
470
+ insecure=False,
471
+ compression=None,
472
+ wait_for_ready=None,
473
+ timeout=None,
474
+ metadata=None):
475
+ return grpc.experimental.unary_unary(
476
+ request,
477
+ target,
478
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/SetOthersPassword',
479
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.SetOthersPasswordRequest.SerializeToString,
480
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
481
+ options,
482
+ channel_credentials,
483
+ insecure,
484
+ call_credentials,
485
+ compression,
486
+ wait_for_ready,
487
+ timeout,
488
+ metadata,
489
+ _registered_method=True)
490
+
491
+ @staticmethod
492
+ def Suspend(request,
493
+ target,
494
+ options=(),
495
+ channel_credentials=None,
496
+ call_credentials=None,
497
+ insecure=False,
498
+ compression=None,
499
+ wait_for_ready=None,
500
+ timeout=None,
501
+ metadata=None):
502
+ return grpc.experimental.unary_unary(
503
+ request,
504
+ target,
505
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/Suspend',
506
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.SuspendUserRequest.SerializeToString,
507
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
508
+ options,
509
+ channel_credentials,
510
+ insecure,
511
+ call_credentials,
512
+ compression,
513
+ wait_for_ready,
514
+ timeout,
515
+ metadata,
516
+ _registered_method=True)
517
+
518
+ @staticmethod
519
+ def Reactivate(request,
520
+ target,
521
+ options=(),
522
+ channel_credentials=None,
523
+ call_credentials=None,
524
+ insecure=False,
525
+ compression=None,
526
+ wait_for_ready=None,
527
+ timeout=None,
528
+ metadata=None):
529
+ return grpc.experimental.unary_unary(
530
+ request,
531
+ target,
532
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/Reactivate',
533
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ReactivateUserRequest.SerializeToString,
534
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
535
+ options,
536
+ channel_credentials,
537
+ insecure,
538
+ call_credentials,
539
+ compression,
540
+ wait_for_ready,
541
+ timeout,
542
+ metadata,
543
+ _registered_method=True)
544
+
545
+ @staticmethod
546
+ def GeneratePassword(request,
547
+ target,
548
+ options=(),
549
+ channel_credentials=None,
550
+ call_credentials=None,
551
+ insecure=False,
552
+ compression=None,
553
+ wait_for_ready=None,
554
+ timeout=None,
555
+ metadata=None):
556
+ return grpc.experimental.unary_unary(
557
+ request,
558
+ target,
559
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/GeneratePassword',
560
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.GeneratePasswordRequest.SerializeToString,
561
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.GeneratePasswordResponse.FromString,
562
+ options,
563
+ channel_credentials,
564
+ insecure,
565
+ call_credentials,
566
+ compression,
567
+ wait_for_ready,
568
+ timeout,
569
+ metadata,
570
+ _registered_method=True)
571
+
572
+ @staticmethod
573
+ def GetSelfPasswordMetadata(request,
574
+ target,
575
+ options=(),
576
+ channel_credentials=None,
577
+ call_credentials=None,
578
+ insecure=False,
579
+ compression=None,
580
+ wait_for_ready=None,
581
+ timeout=None,
582
+ metadata=None):
583
+ return grpc.experimental.unary_unary(
584
+ request,
585
+ target,
586
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/GetSelfPasswordMetadata',
587
+ google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
588
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.PasswordMetadata.FromString,
589
+ options,
590
+ channel_credentials,
591
+ insecure,
592
+ call_credentials,
593
+ compression,
594
+ wait_for_ready,
595
+ timeout,
596
+ metadata,
597
+ _registered_method=True)
598
+
599
+ @staticmethod
600
+ def ConvertToExternal(request,
601
+ target,
602
+ options=(),
603
+ channel_credentials=None,
604
+ call_credentials=None,
605
+ insecure=False,
606
+ compression=None,
607
+ wait_for_ready=None,
608
+ timeout=None,
609
+ metadata=None):
610
+ return grpc.experimental.unary_unary(
611
+ request,
612
+ target,
613
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/ConvertToExternal',
614
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ConvertToExternalUserRequest.SerializeToString,
615
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
616
+ options,
617
+ channel_credentials,
618
+ insecure,
619
+ call_credentials,
620
+ compression,
621
+ wait_for_ready,
622
+ timeout,
623
+ metadata,
624
+ _registered_method=True)
625
+
626
+ @staticmethod
627
+ def SetPasswordHash(request,
628
+ target,
629
+ options=(),
630
+ channel_credentials=None,
631
+ call_credentials=None,
632
+ insecure=False,
633
+ compression=None,
634
+ wait_for_ready=None,
635
+ timeout=None,
636
+ metadata=None):
637
+ return grpc.experimental.unary_unary(
638
+ request,
639
+ target,
640
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/SetPasswordHash',
641
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.SetPasswordHashRequest.SerializeToString,
642
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
643
+ options,
644
+ channel_credentials,
645
+ insecure,
646
+ call_credentials,
647
+ compression,
648
+ wait_for_ready,
649
+ timeout,
650
+ metadata,
651
+ _registered_method=True)
652
+
653
+ @staticmethod
654
+ def ResolveExternalIds(request,
655
+ target,
656
+ options=(),
657
+ channel_credentials=None,
658
+ call_credentials=None,
659
+ insecure=False,
660
+ compression=None,
661
+ wait_for_ready=None,
662
+ timeout=None,
663
+ metadata=None):
664
+ return grpc.experimental.unary_unary(
665
+ request,
666
+ target,
667
+ '/yandex.cloud.organizationmanager.v1.idp.UserService/ResolveExternalIds',
668
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ResolveExternalIdsRequest.SerializeToString,
669
+ yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_user__service__pb2.ResolveExternalIdsResponse.FromString,
670
+ options,
671
+ channel_credentials,
672
+ insecure,
673
+ call_credentials,
674
+ compression,
675
+ wait_for_ready,
676
+ timeout,
677
+ metadata,
678
+ _registered_method=True)