yandexcloud 0.359.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.
- yandex/cloud/cdn/v1/rule_pb2.py +2 -2
- yandex/cloud/cdn/v1/rule_pb2.pyi +7 -1
- yandex/cloud/cdn/v1/rule_service_pb2.py +16 -16
- yandex/cloud/cdn/v1/rule_service_pb2.pyi +16 -3
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +3 -1
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1 -1
- yandex/cloud/monitoring/v3/group_widget_pb2.py +48 -0
- yandex/cloud/monitoring/v3/group_widget_pb2.pyi +131 -0
- yandex/cloud/monitoring/v3/group_widget_pb2_grpc.py +24 -0
- yandex/cloud/monitoring/v3/group_widget_pb2_grpc.pyi +17 -0
- yandex/cloud/monitoring/v3/widget_pb2.py +6 -5
- yandex/cloud/monitoring/v3/widget_pb2.pyi +10 -3
- yandex/cloud/organizationmanager/v1/idp/__init__.py +0 -0
- yandex/cloud/organizationmanager/v1/idp/user_pb2.py +40 -0
- yandex/cloud/organizationmanager/v1/idp/user_pb2.pyi +149 -0
- yandex/cloud/organizationmanager/v1/idp/user_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/idp/user_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/idp/user_service_pb2.py +218 -0
- yandex/cloud/organizationmanager/v1/idp/user_service_pb2.pyi +809 -0
- yandex/cloud/organizationmanager/v1/idp/user_service_pb2_grpc.py +678 -0
- yandex/cloud/organizationmanager/v1/idp/user_service_pb2_grpc.pyi +322 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_pb2.py +90 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_pb2.pyi +549 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2.py +162 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2.pyi +596 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2_grpc.py +678 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2_grpc.pyi +322 -0
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.359.0.dist-info → yandexcloud-0.360.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.359.0.dist-info → yandexcloud-0.360.0.dist-info}/RECORD +36 -15
- {yandexcloud-0.359.0.dist-info → yandexcloud-0.360.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.359.0.dist-info → yandexcloud-0.360.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.359.0.dist-info → yandexcloud-0.360.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.359.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 yandex.cloud.access import access_pb2 as yandex_dot_cloud_dot_access_dot_access__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 userpool_pb2 as yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__pb2
|
|
9
|
+
from yandex.cloud.organizationmanager.v1.idp import userpool_service_pb2 as yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__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/userpool_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 UserpoolServiceStub(object):
|
|
32
|
+
"""A set of methods for managing userpools.
|
|
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.UserpoolService/Get',
|
|
43
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.GetUserpoolRequest.SerializeToString,
|
|
44
|
+
response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__pb2.Userpool.FromString,
|
|
45
|
+
_registered_method=True)
|
|
46
|
+
self.List = channel.unary_unary(
|
|
47
|
+
'/yandex.cloud.organizationmanager.v1.idp.UserpoolService/List',
|
|
48
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolsRequest.SerializeToString,
|
|
49
|
+
response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolsResponse.FromString,
|
|
50
|
+
_registered_method=True)
|
|
51
|
+
self.Create = channel.unary_unary(
|
|
52
|
+
'/yandex.cloud.organizationmanager.v1.idp.UserpoolService/Create',
|
|
53
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.CreateUserpoolRequest.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.UserpoolService/Update',
|
|
58
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.UpdateUserpoolRequest.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.UserpoolService/Delete',
|
|
63
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.DeleteUserpoolRequest.SerializeToString,
|
|
64
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
65
|
+
_registered_method=True)
|
|
66
|
+
self.GetDomain = channel.unary_unary(
|
|
67
|
+
'/yandex.cloud.organizationmanager.v1.idp.UserpoolService/GetDomain',
|
|
68
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.GetUserpoolDomainRequest.SerializeToString,
|
|
69
|
+
response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__pb2.Domain.FromString,
|
|
70
|
+
_registered_method=True)
|
|
71
|
+
self.ListDomains = channel.unary_unary(
|
|
72
|
+
'/yandex.cloud.organizationmanager.v1.idp.UserpoolService/ListDomains',
|
|
73
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolDomainsRequest.SerializeToString,
|
|
74
|
+
response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolDomainsResponse.FromString,
|
|
75
|
+
_registered_method=True)
|
|
76
|
+
self.AddDomain = channel.unary_unary(
|
|
77
|
+
'/yandex.cloud.organizationmanager.v1.idp.UserpoolService/AddDomain',
|
|
78
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.AddUserpoolDomainRequest.SerializeToString,
|
|
79
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
80
|
+
_registered_method=True)
|
|
81
|
+
self.ValidateDomain = channel.unary_unary(
|
|
82
|
+
'/yandex.cloud.organizationmanager.v1.idp.UserpoolService/ValidateDomain',
|
|
83
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ValidateUserpoolDomainRequest.SerializeToString,
|
|
84
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
85
|
+
_registered_method=True)
|
|
86
|
+
self.DeleteDomain = channel.unary_unary(
|
|
87
|
+
'/yandex.cloud.organizationmanager.v1.idp.UserpoolService/DeleteDomain',
|
|
88
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.DeleteUserpoolDomainRequest.SerializeToString,
|
|
89
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
90
|
+
_registered_method=True)
|
|
91
|
+
self.ListOperations = channel.unary_unary(
|
|
92
|
+
'/yandex.cloud.organizationmanager.v1.idp.UserpoolService/ListOperations',
|
|
93
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolOperationsRequest.SerializeToString,
|
|
94
|
+
response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolOperationsResponse.FromString,
|
|
95
|
+
_registered_method=True)
|
|
96
|
+
self.ListAccessBindings = channel.unary_unary(
|
|
97
|
+
'/yandex.cloud.organizationmanager.v1.idp.UserpoolService/ListAccessBindings',
|
|
98
|
+
request_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsRequest.SerializeToString,
|
|
99
|
+
response_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsResponse.FromString,
|
|
100
|
+
_registered_method=True)
|
|
101
|
+
self.SetAccessBindings = channel.unary_unary(
|
|
102
|
+
'/yandex.cloud.organizationmanager.v1.idp.UserpoolService/SetAccessBindings',
|
|
103
|
+
request_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.SetAccessBindingsRequest.SerializeToString,
|
|
104
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
105
|
+
_registered_method=True)
|
|
106
|
+
self.UpdateAccessBindings = channel.unary_unary(
|
|
107
|
+
'/yandex.cloud.organizationmanager.v1.idp.UserpoolService/UpdateAccessBindings',
|
|
108
|
+
request_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.UpdateAccessBindingsRequest.SerializeToString,
|
|
109
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
110
|
+
_registered_method=True)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
class UserpoolServiceServicer(object):
|
|
114
|
+
"""A set of methods for managing userpools.
|
|
115
|
+
"""
|
|
116
|
+
|
|
117
|
+
def Get(self, request, context):
|
|
118
|
+
"""Returns the specified userpool.
|
|
119
|
+
|
|
120
|
+
To get the list of available userpools, 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 userpools in the specified organization.
|
|
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 userpool in the specified organization.
|
|
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 userpool.
|
|
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 userpool.
|
|
149
|
+
"""
|
|
150
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
151
|
+
context.set_details('Method not implemented!')
|
|
152
|
+
raise NotImplementedError('Method not implemented!')
|
|
153
|
+
|
|
154
|
+
def GetDomain(self, request, context):
|
|
155
|
+
"""Returns the specified domain for a userpool.
|
|
156
|
+
"""
|
|
157
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
158
|
+
context.set_details('Method not implemented!')
|
|
159
|
+
raise NotImplementedError('Method not implemented!')
|
|
160
|
+
|
|
161
|
+
def ListDomains(self, request, context):
|
|
162
|
+
"""Lists domains for the specified userpool.
|
|
163
|
+
"""
|
|
164
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
165
|
+
context.set_details('Method not implemented!')
|
|
166
|
+
raise NotImplementedError('Method not implemented!')
|
|
167
|
+
|
|
168
|
+
def AddDomain(self, request, context):
|
|
169
|
+
"""Adds a domain to the specified userpool.
|
|
170
|
+
"""
|
|
171
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
172
|
+
context.set_details('Method not implemented!')
|
|
173
|
+
raise NotImplementedError('Method not implemented!')
|
|
174
|
+
|
|
175
|
+
def ValidateDomain(self, request, context):
|
|
176
|
+
"""Validates the specified domain for a userpool.
|
|
177
|
+
"""
|
|
178
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
179
|
+
context.set_details('Method not implemented!')
|
|
180
|
+
raise NotImplementedError('Method not implemented!')
|
|
181
|
+
|
|
182
|
+
def DeleteDomain(self, request, context):
|
|
183
|
+
"""Deletes the specified domain from a userpool.
|
|
184
|
+
"""
|
|
185
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
186
|
+
context.set_details('Method not implemented!')
|
|
187
|
+
raise NotImplementedError('Method not implemented!')
|
|
188
|
+
|
|
189
|
+
def ListOperations(self, request, context):
|
|
190
|
+
"""Lists operations for the specified userpool.
|
|
191
|
+
"""
|
|
192
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
193
|
+
context.set_details('Method not implemented!')
|
|
194
|
+
raise NotImplementedError('Method not implemented!')
|
|
195
|
+
|
|
196
|
+
def ListAccessBindings(self, request, context):
|
|
197
|
+
"""Lists access bindings for the specified userpool.
|
|
198
|
+
"""
|
|
199
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
200
|
+
context.set_details('Method not implemented!')
|
|
201
|
+
raise NotImplementedError('Method not implemented!')
|
|
202
|
+
|
|
203
|
+
def SetAccessBindings(self, request, context):
|
|
204
|
+
"""Sets access bindings for the specified userpool.
|
|
205
|
+
"""
|
|
206
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
207
|
+
context.set_details('Method not implemented!')
|
|
208
|
+
raise NotImplementedError('Method not implemented!')
|
|
209
|
+
|
|
210
|
+
def UpdateAccessBindings(self, request, context):
|
|
211
|
+
"""Updates access bindings for the specified userpool.
|
|
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_UserpoolServiceServicer_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_userpool__service__pb2.GetUserpoolRequest.FromString,
|
|
223
|
+
response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__pb2.Userpool.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_userpool__service__pb2.ListUserpoolsRequest.FromString,
|
|
228
|
+
response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolsResponse.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_userpool__service__pb2.CreateUserpoolRequest.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_userpool__service__pb2.UpdateUserpoolRequest.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_userpool__service__pb2.DeleteUserpoolRequest.FromString,
|
|
243
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
244
|
+
),
|
|
245
|
+
'GetDomain': grpc.unary_unary_rpc_method_handler(
|
|
246
|
+
servicer.GetDomain,
|
|
247
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.GetUserpoolDomainRequest.FromString,
|
|
248
|
+
response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__pb2.Domain.SerializeToString,
|
|
249
|
+
),
|
|
250
|
+
'ListDomains': grpc.unary_unary_rpc_method_handler(
|
|
251
|
+
servicer.ListDomains,
|
|
252
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolDomainsRequest.FromString,
|
|
253
|
+
response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolDomainsResponse.SerializeToString,
|
|
254
|
+
),
|
|
255
|
+
'AddDomain': grpc.unary_unary_rpc_method_handler(
|
|
256
|
+
servicer.AddDomain,
|
|
257
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.AddUserpoolDomainRequest.FromString,
|
|
258
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
259
|
+
),
|
|
260
|
+
'ValidateDomain': grpc.unary_unary_rpc_method_handler(
|
|
261
|
+
servicer.ValidateDomain,
|
|
262
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ValidateUserpoolDomainRequest.FromString,
|
|
263
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
264
|
+
),
|
|
265
|
+
'DeleteDomain': grpc.unary_unary_rpc_method_handler(
|
|
266
|
+
servicer.DeleteDomain,
|
|
267
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.DeleteUserpoolDomainRequest.FromString,
|
|
268
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
269
|
+
),
|
|
270
|
+
'ListOperations': grpc.unary_unary_rpc_method_handler(
|
|
271
|
+
servicer.ListOperations,
|
|
272
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolOperationsRequest.FromString,
|
|
273
|
+
response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolOperationsResponse.SerializeToString,
|
|
274
|
+
),
|
|
275
|
+
'ListAccessBindings': grpc.unary_unary_rpc_method_handler(
|
|
276
|
+
servicer.ListAccessBindings,
|
|
277
|
+
request_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsRequest.FromString,
|
|
278
|
+
response_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsResponse.SerializeToString,
|
|
279
|
+
),
|
|
280
|
+
'SetAccessBindings': grpc.unary_unary_rpc_method_handler(
|
|
281
|
+
servicer.SetAccessBindings,
|
|
282
|
+
request_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.SetAccessBindingsRequest.FromString,
|
|
283
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
284
|
+
),
|
|
285
|
+
'UpdateAccessBindings': grpc.unary_unary_rpc_method_handler(
|
|
286
|
+
servicer.UpdateAccessBindings,
|
|
287
|
+
request_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.UpdateAccessBindingsRequest.FromString,
|
|
288
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
289
|
+
),
|
|
290
|
+
}
|
|
291
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
292
|
+
'yandex.cloud.organizationmanager.v1.idp.UserpoolService', rpc_method_handlers)
|
|
293
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
294
|
+
server.add_registered_method_handlers('yandex.cloud.organizationmanager.v1.idp.UserpoolService', rpc_method_handlers)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
# This class is part of an EXPERIMENTAL API.
|
|
298
|
+
class UserpoolService(object):
|
|
299
|
+
"""A set of methods for managing userpools.
|
|
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.UserpoolService/Get',
|
|
317
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.GetUserpoolRequest.SerializeToString,
|
|
318
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__pb2.Userpool.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.UserpoolService/List',
|
|
344
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolsRequest.SerializeToString,
|
|
345
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolsResponse.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.UserpoolService/Create',
|
|
371
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.CreateUserpoolRequest.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.UserpoolService/Update',
|
|
398
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.UpdateUserpoolRequest.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.UserpoolService/Delete',
|
|
425
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.DeleteUserpoolRequest.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 GetDomain(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.UserpoolService/GetDomain',
|
|
452
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.GetUserpoolDomainRequest.SerializeToString,
|
|
453
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__pb2.Domain.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 ListDomains(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.UserpoolService/ListDomains',
|
|
479
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolDomainsRequest.SerializeToString,
|
|
480
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolDomainsResponse.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 AddDomain(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.UserpoolService/AddDomain',
|
|
506
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.AddUserpoolDomainRequest.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 ValidateDomain(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.UserpoolService/ValidateDomain',
|
|
533
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ValidateUserpoolDomainRequest.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 DeleteDomain(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.UserpoolService/DeleteDomain',
|
|
560
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.DeleteUserpoolDomainRequest.SerializeToString,
|
|
561
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.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 ListOperations(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.UserpoolService/ListOperations',
|
|
587
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolOperationsRequest.SerializeToString,
|
|
588
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_userpool__service__pb2.ListUserpoolOperationsResponse.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 ListAccessBindings(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.UserpoolService/ListAccessBindings',
|
|
614
|
+
yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsRequest.SerializeToString,
|
|
615
|
+
yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsResponse.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 SetAccessBindings(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.UserpoolService/SetAccessBindings',
|
|
641
|
+
yandex_dot_cloud_dot_access_dot_access__pb2.SetAccessBindingsRequest.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 UpdateAccessBindings(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.UserpoolService/UpdateAccessBindings',
|
|
668
|
+
yandex_dot_cloud_dot_access_dot_access__pb2.UpdateAccessBindingsRequest.SerializeToString,
|
|
669
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.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)
|