yandexcloud 0.363.0__py3-none-any.whl → 0.364.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.
- yandex/cloud/baremetal/v1alpha/rental_period_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/rental_period_pb2.pyi +31 -0
- yandex/cloud/baremetal/v1alpha/rental_period_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/rental_period_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/rental_period_service_pb2.py +50 -0
- yandex/cloud/baremetal/v1alpha/rental_period_service_pb2.pyi +75 -0
- yandex/cloud/baremetal/v1alpha/rental_period_service_pb2_grpc.py +101 -0
- yandex/cloud/baremetal/v1alpha/rental_period_service_pb2_grpc.pyi +50 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2.pyi +8 -2
- yandex/cloud/mdb/postgresql/v1/user_pb2.py +27 -25
- yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +27 -2
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.py +33 -33
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.pyi +5 -1
- yandex/cloud/organizationmanager/v1/idp/application/__init__.py +0 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/__init__.py +0 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2.py +55 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2.pyi +206 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2.py +178 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2.pyi +641 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2_grpc.py +634 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2_grpc.pyi +302 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2.py +41 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2.pyi +108 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2.py +156 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2.pyi +462 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2_grpc.py +446 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2_grpc.pyi +185 -0
- yandex/cloud/ytsaurus/v1/cluster_pb2.py +4 -2
- yandex/cloud/ytsaurus/v1/cluster_pb2.pyi +19 -1
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.363.0.dist-info → yandexcloud-0.364.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.363.0.dist-info → yandexcloud-0.364.0.dist-info}/RECORD +40 -14
- {yandexcloud-0.363.0.dist-info → yandexcloud-0.364.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.363.0.dist-info → yandexcloud-0.364.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.363.0.dist-info → yandexcloud-0.364.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.363.0.dist-info → yandexcloud-0.364.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,634 @@
|
|
|
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.application.oauth import application_pb2 as yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__pb2
|
|
9
|
+
from yandex.cloud.organizationmanager.v1.idp.application.oauth import application_service_pb2 as yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__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/application/oauth/application_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 ApplicationServiceStub(object):
|
|
32
|
+
"""A set of methods for managing OAuth application.
|
|
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.application.oauth.ApplicationService/Get',
|
|
43
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.GetApplicationRequest.SerializeToString,
|
|
44
|
+
response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__pb2.Application.FromString,
|
|
45
|
+
_registered_method=True)
|
|
46
|
+
self.List = channel.unary_unary(
|
|
47
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/List',
|
|
48
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListApplicationsRequest.SerializeToString,
|
|
49
|
+
response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListApplicationsResponse.FromString,
|
|
50
|
+
_registered_method=True)
|
|
51
|
+
self.Create = channel.unary_unary(
|
|
52
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/Create',
|
|
53
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.CreateApplicationRequest.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.application.oauth.ApplicationService/Update',
|
|
58
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.UpdateApplicationRequest.SerializeToString,
|
|
59
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
60
|
+
_registered_method=True)
|
|
61
|
+
self.Suspend = channel.unary_unary(
|
|
62
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/Suspend',
|
|
63
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.SuspendApplicationRequest.SerializeToString,
|
|
64
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
65
|
+
_registered_method=True)
|
|
66
|
+
self.Reactivate = channel.unary_unary(
|
|
67
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/Reactivate',
|
|
68
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ReactivateApplicationRequest.SerializeToString,
|
|
69
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
70
|
+
_registered_method=True)
|
|
71
|
+
self.Delete = channel.unary_unary(
|
|
72
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/Delete',
|
|
73
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.DeleteApplicationRequest.SerializeToString,
|
|
74
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
75
|
+
_registered_method=True)
|
|
76
|
+
self.ListOperations = channel.unary_unary(
|
|
77
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/ListOperations',
|
|
78
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListApplicationOperationsRequest.SerializeToString,
|
|
79
|
+
response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListApplicationOperationsResponse.FromString,
|
|
80
|
+
_registered_method=True)
|
|
81
|
+
self.ListAccessBindings = channel.unary_unary(
|
|
82
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/ListAccessBindings',
|
|
83
|
+
request_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsRequest.SerializeToString,
|
|
84
|
+
response_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsResponse.FromString,
|
|
85
|
+
_registered_method=True)
|
|
86
|
+
self.SetAccessBindings = channel.unary_unary(
|
|
87
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/SetAccessBindings',
|
|
88
|
+
request_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.SetAccessBindingsRequest.SerializeToString,
|
|
89
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
90
|
+
_registered_method=True)
|
|
91
|
+
self.UpdateAccessBindings = channel.unary_unary(
|
|
92
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/UpdateAccessBindings',
|
|
93
|
+
request_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.UpdateAccessBindingsRequest.SerializeToString,
|
|
94
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
95
|
+
_registered_method=True)
|
|
96
|
+
self.ListAssignments = channel.unary_unary(
|
|
97
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/ListAssignments',
|
|
98
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListAssignmentsRequest.SerializeToString,
|
|
99
|
+
response_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListAssignmentsResponse.FromString,
|
|
100
|
+
_registered_method=True)
|
|
101
|
+
self.UpdateAssignments = channel.unary_unary(
|
|
102
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/UpdateAssignments',
|
|
103
|
+
request_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.UpdateAssignmentsRequest.SerializeToString,
|
|
104
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
105
|
+
_registered_method=True)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
class ApplicationServiceServicer(object):
|
|
109
|
+
"""A set of methods for managing OAuth application.
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
def Get(self, request, context):
|
|
113
|
+
"""Returns the specified OAuth application resource.
|
|
114
|
+
|
|
115
|
+
To get the list of available OAuth applications, make a [List] request.
|
|
116
|
+
"""
|
|
117
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
118
|
+
context.set_details('Method not implemented!')
|
|
119
|
+
raise NotImplementedError('Method not implemented!')
|
|
120
|
+
|
|
121
|
+
def List(self, request, context):
|
|
122
|
+
"""Retrieves the list of OAuth applications in the specified organization.
|
|
123
|
+
"""
|
|
124
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
125
|
+
context.set_details('Method not implemented!')
|
|
126
|
+
raise NotImplementedError('Method not implemented!')
|
|
127
|
+
|
|
128
|
+
def Create(self, request, context):
|
|
129
|
+
"""Creates an OAuth application in the specified organization.
|
|
130
|
+
"""
|
|
131
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
132
|
+
context.set_details('Method not implemented!')
|
|
133
|
+
raise NotImplementedError('Method not implemented!')
|
|
134
|
+
|
|
135
|
+
def Update(self, request, context):
|
|
136
|
+
"""Updates the specified OAuth application.
|
|
137
|
+
"""
|
|
138
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
139
|
+
context.set_details('Method not implemented!')
|
|
140
|
+
raise NotImplementedError('Method not implemented!')
|
|
141
|
+
|
|
142
|
+
def Suspend(self, request, context):
|
|
143
|
+
"""Sets status to SUSPENDED for the specified OAuth application.
|
|
144
|
+
"""
|
|
145
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
146
|
+
context.set_details('Method not implemented!')
|
|
147
|
+
raise NotImplementedError('Method not implemented!')
|
|
148
|
+
|
|
149
|
+
def Reactivate(self, request, context):
|
|
150
|
+
"""Sets status to ACTIVE for the specified OAuth application.
|
|
151
|
+
"""
|
|
152
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
153
|
+
context.set_details('Method not implemented!')
|
|
154
|
+
raise NotImplementedError('Method not implemented!')
|
|
155
|
+
|
|
156
|
+
def Delete(self, request, context):
|
|
157
|
+
"""Deletes the specified OAuth application.
|
|
158
|
+
"""
|
|
159
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
160
|
+
context.set_details('Method not implemented!')
|
|
161
|
+
raise NotImplementedError('Method not implemented!')
|
|
162
|
+
|
|
163
|
+
def ListOperations(self, request, context):
|
|
164
|
+
"""Lists operations for the specified OAuth application.
|
|
165
|
+
"""
|
|
166
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
167
|
+
context.set_details('Method not implemented!')
|
|
168
|
+
raise NotImplementedError('Method not implemented!')
|
|
169
|
+
|
|
170
|
+
def ListAccessBindings(self, request, context):
|
|
171
|
+
"""Lists access bindings for the specified OAuth application.
|
|
172
|
+
"""
|
|
173
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
174
|
+
context.set_details('Method not implemented!')
|
|
175
|
+
raise NotImplementedError('Method not implemented!')
|
|
176
|
+
|
|
177
|
+
def SetAccessBindings(self, request, context):
|
|
178
|
+
"""Sets access bindings for the specified OAuth application.
|
|
179
|
+
"""
|
|
180
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
181
|
+
context.set_details('Method not implemented!')
|
|
182
|
+
raise NotImplementedError('Method not implemented!')
|
|
183
|
+
|
|
184
|
+
def UpdateAccessBindings(self, request, context):
|
|
185
|
+
"""Updates access bindings for the specified OAuth application.
|
|
186
|
+
"""
|
|
187
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
188
|
+
context.set_details('Method not implemented!')
|
|
189
|
+
raise NotImplementedError('Method not implemented!')
|
|
190
|
+
|
|
191
|
+
def ListAssignments(self, request, context):
|
|
192
|
+
"""Lists assignmnents for the specified OAuth application.
|
|
193
|
+
"""
|
|
194
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
195
|
+
context.set_details('Method not implemented!')
|
|
196
|
+
raise NotImplementedError('Method not implemented!')
|
|
197
|
+
|
|
198
|
+
def UpdateAssignments(self, request, context):
|
|
199
|
+
"""Updates assignmnents for the specified OAuth application.
|
|
200
|
+
"""
|
|
201
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
202
|
+
context.set_details('Method not implemented!')
|
|
203
|
+
raise NotImplementedError('Method not implemented!')
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
def add_ApplicationServiceServicer_to_server(servicer, server):
|
|
207
|
+
rpc_method_handlers = {
|
|
208
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
209
|
+
servicer.Get,
|
|
210
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.GetApplicationRequest.FromString,
|
|
211
|
+
response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__pb2.Application.SerializeToString,
|
|
212
|
+
),
|
|
213
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
214
|
+
servicer.List,
|
|
215
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListApplicationsRequest.FromString,
|
|
216
|
+
response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListApplicationsResponse.SerializeToString,
|
|
217
|
+
),
|
|
218
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
219
|
+
servicer.Create,
|
|
220
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.CreateApplicationRequest.FromString,
|
|
221
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
222
|
+
),
|
|
223
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
|
224
|
+
servicer.Update,
|
|
225
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.UpdateApplicationRequest.FromString,
|
|
226
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
227
|
+
),
|
|
228
|
+
'Suspend': grpc.unary_unary_rpc_method_handler(
|
|
229
|
+
servicer.Suspend,
|
|
230
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.SuspendApplicationRequest.FromString,
|
|
231
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
232
|
+
),
|
|
233
|
+
'Reactivate': grpc.unary_unary_rpc_method_handler(
|
|
234
|
+
servicer.Reactivate,
|
|
235
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ReactivateApplicationRequest.FromString,
|
|
236
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
237
|
+
),
|
|
238
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
239
|
+
servicer.Delete,
|
|
240
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.DeleteApplicationRequest.FromString,
|
|
241
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
242
|
+
),
|
|
243
|
+
'ListOperations': grpc.unary_unary_rpc_method_handler(
|
|
244
|
+
servicer.ListOperations,
|
|
245
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListApplicationOperationsRequest.FromString,
|
|
246
|
+
response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListApplicationOperationsResponse.SerializeToString,
|
|
247
|
+
),
|
|
248
|
+
'ListAccessBindings': grpc.unary_unary_rpc_method_handler(
|
|
249
|
+
servicer.ListAccessBindings,
|
|
250
|
+
request_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsRequest.FromString,
|
|
251
|
+
response_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsResponse.SerializeToString,
|
|
252
|
+
),
|
|
253
|
+
'SetAccessBindings': grpc.unary_unary_rpc_method_handler(
|
|
254
|
+
servicer.SetAccessBindings,
|
|
255
|
+
request_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.SetAccessBindingsRequest.FromString,
|
|
256
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
257
|
+
),
|
|
258
|
+
'UpdateAccessBindings': grpc.unary_unary_rpc_method_handler(
|
|
259
|
+
servicer.UpdateAccessBindings,
|
|
260
|
+
request_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.UpdateAccessBindingsRequest.FromString,
|
|
261
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
262
|
+
),
|
|
263
|
+
'ListAssignments': grpc.unary_unary_rpc_method_handler(
|
|
264
|
+
servicer.ListAssignments,
|
|
265
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListAssignmentsRequest.FromString,
|
|
266
|
+
response_serializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListAssignmentsResponse.SerializeToString,
|
|
267
|
+
),
|
|
268
|
+
'UpdateAssignments': grpc.unary_unary_rpc_method_handler(
|
|
269
|
+
servicer.UpdateAssignments,
|
|
270
|
+
request_deserializer=yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.UpdateAssignmentsRequest.FromString,
|
|
271
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
272
|
+
),
|
|
273
|
+
}
|
|
274
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
275
|
+
'yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService', rpc_method_handlers)
|
|
276
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
277
|
+
server.add_registered_method_handlers('yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService', rpc_method_handlers)
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
# This class is part of an EXPERIMENTAL API.
|
|
281
|
+
class ApplicationService(object):
|
|
282
|
+
"""A set of methods for managing OAuth application.
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
@staticmethod
|
|
286
|
+
def Get(request,
|
|
287
|
+
target,
|
|
288
|
+
options=(),
|
|
289
|
+
channel_credentials=None,
|
|
290
|
+
call_credentials=None,
|
|
291
|
+
insecure=False,
|
|
292
|
+
compression=None,
|
|
293
|
+
wait_for_ready=None,
|
|
294
|
+
timeout=None,
|
|
295
|
+
metadata=None):
|
|
296
|
+
return grpc.experimental.unary_unary(
|
|
297
|
+
request,
|
|
298
|
+
target,
|
|
299
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/Get',
|
|
300
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.GetApplicationRequest.SerializeToString,
|
|
301
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__pb2.Application.FromString,
|
|
302
|
+
options,
|
|
303
|
+
channel_credentials,
|
|
304
|
+
insecure,
|
|
305
|
+
call_credentials,
|
|
306
|
+
compression,
|
|
307
|
+
wait_for_ready,
|
|
308
|
+
timeout,
|
|
309
|
+
metadata,
|
|
310
|
+
_registered_method=True)
|
|
311
|
+
|
|
312
|
+
@staticmethod
|
|
313
|
+
def List(request,
|
|
314
|
+
target,
|
|
315
|
+
options=(),
|
|
316
|
+
channel_credentials=None,
|
|
317
|
+
call_credentials=None,
|
|
318
|
+
insecure=False,
|
|
319
|
+
compression=None,
|
|
320
|
+
wait_for_ready=None,
|
|
321
|
+
timeout=None,
|
|
322
|
+
metadata=None):
|
|
323
|
+
return grpc.experimental.unary_unary(
|
|
324
|
+
request,
|
|
325
|
+
target,
|
|
326
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/List',
|
|
327
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListApplicationsRequest.SerializeToString,
|
|
328
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListApplicationsResponse.FromString,
|
|
329
|
+
options,
|
|
330
|
+
channel_credentials,
|
|
331
|
+
insecure,
|
|
332
|
+
call_credentials,
|
|
333
|
+
compression,
|
|
334
|
+
wait_for_ready,
|
|
335
|
+
timeout,
|
|
336
|
+
metadata,
|
|
337
|
+
_registered_method=True)
|
|
338
|
+
|
|
339
|
+
@staticmethod
|
|
340
|
+
def Create(request,
|
|
341
|
+
target,
|
|
342
|
+
options=(),
|
|
343
|
+
channel_credentials=None,
|
|
344
|
+
call_credentials=None,
|
|
345
|
+
insecure=False,
|
|
346
|
+
compression=None,
|
|
347
|
+
wait_for_ready=None,
|
|
348
|
+
timeout=None,
|
|
349
|
+
metadata=None):
|
|
350
|
+
return grpc.experimental.unary_unary(
|
|
351
|
+
request,
|
|
352
|
+
target,
|
|
353
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/Create',
|
|
354
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.CreateApplicationRequest.SerializeToString,
|
|
355
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
356
|
+
options,
|
|
357
|
+
channel_credentials,
|
|
358
|
+
insecure,
|
|
359
|
+
call_credentials,
|
|
360
|
+
compression,
|
|
361
|
+
wait_for_ready,
|
|
362
|
+
timeout,
|
|
363
|
+
metadata,
|
|
364
|
+
_registered_method=True)
|
|
365
|
+
|
|
366
|
+
@staticmethod
|
|
367
|
+
def Update(request,
|
|
368
|
+
target,
|
|
369
|
+
options=(),
|
|
370
|
+
channel_credentials=None,
|
|
371
|
+
call_credentials=None,
|
|
372
|
+
insecure=False,
|
|
373
|
+
compression=None,
|
|
374
|
+
wait_for_ready=None,
|
|
375
|
+
timeout=None,
|
|
376
|
+
metadata=None):
|
|
377
|
+
return grpc.experimental.unary_unary(
|
|
378
|
+
request,
|
|
379
|
+
target,
|
|
380
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/Update',
|
|
381
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.UpdateApplicationRequest.SerializeToString,
|
|
382
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
383
|
+
options,
|
|
384
|
+
channel_credentials,
|
|
385
|
+
insecure,
|
|
386
|
+
call_credentials,
|
|
387
|
+
compression,
|
|
388
|
+
wait_for_ready,
|
|
389
|
+
timeout,
|
|
390
|
+
metadata,
|
|
391
|
+
_registered_method=True)
|
|
392
|
+
|
|
393
|
+
@staticmethod
|
|
394
|
+
def Suspend(request,
|
|
395
|
+
target,
|
|
396
|
+
options=(),
|
|
397
|
+
channel_credentials=None,
|
|
398
|
+
call_credentials=None,
|
|
399
|
+
insecure=False,
|
|
400
|
+
compression=None,
|
|
401
|
+
wait_for_ready=None,
|
|
402
|
+
timeout=None,
|
|
403
|
+
metadata=None):
|
|
404
|
+
return grpc.experimental.unary_unary(
|
|
405
|
+
request,
|
|
406
|
+
target,
|
|
407
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/Suspend',
|
|
408
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.SuspendApplicationRequest.SerializeToString,
|
|
409
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
410
|
+
options,
|
|
411
|
+
channel_credentials,
|
|
412
|
+
insecure,
|
|
413
|
+
call_credentials,
|
|
414
|
+
compression,
|
|
415
|
+
wait_for_ready,
|
|
416
|
+
timeout,
|
|
417
|
+
metadata,
|
|
418
|
+
_registered_method=True)
|
|
419
|
+
|
|
420
|
+
@staticmethod
|
|
421
|
+
def Reactivate(request,
|
|
422
|
+
target,
|
|
423
|
+
options=(),
|
|
424
|
+
channel_credentials=None,
|
|
425
|
+
call_credentials=None,
|
|
426
|
+
insecure=False,
|
|
427
|
+
compression=None,
|
|
428
|
+
wait_for_ready=None,
|
|
429
|
+
timeout=None,
|
|
430
|
+
metadata=None):
|
|
431
|
+
return grpc.experimental.unary_unary(
|
|
432
|
+
request,
|
|
433
|
+
target,
|
|
434
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/Reactivate',
|
|
435
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ReactivateApplicationRequest.SerializeToString,
|
|
436
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
437
|
+
options,
|
|
438
|
+
channel_credentials,
|
|
439
|
+
insecure,
|
|
440
|
+
call_credentials,
|
|
441
|
+
compression,
|
|
442
|
+
wait_for_ready,
|
|
443
|
+
timeout,
|
|
444
|
+
metadata,
|
|
445
|
+
_registered_method=True)
|
|
446
|
+
|
|
447
|
+
@staticmethod
|
|
448
|
+
def Delete(request,
|
|
449
|
+
target,
|
|
450
|
+
options=(),
|
|
451
|
+
channel_credentials=None,
|
|
452
|
+
call_credentials=None,
|
|
453
|
+
insecure=False,
|
|
454
|
+
compression=None,
|
|
455
|
+
wait_for_ready=None,
|
|
456
|
+
timeout=None,
|
|
457
|
+
metadata=None):
|
|
458
|
+
return grpc.experimental.unary_unary(
|
|
459
|
+
request,
|
|
460
|
+
target,
|
|
461
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/Delete',
|
|
462
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.DeleteApplicationRequest.SerializeToString,
|
|
463
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
464
|
+
options,
|
|
465
|
+
channel_credentials,
|
|
466
|
+
insecure,
|
|
467
|
+
call_credentials,
|
|
468
|
+
compression,
|
|
469
|
+
wait_for_ready,
|
|
470
|
+
timeout,
|
|
471
|
+
metadata,
|
|
472
|
+
_registered_method=True)
|
|
473
|
+
|
|
474
|
+
@staticmethod
|
|
475
|
+
def ListOperations(request,
|
|
476
|
+
target,
|
|
477
|
+
options=(),
|
|
478
|
+
channel_credentials=None,
|
|
479
|
+
call_credentials=None,
|
|
480
|
+
insecure=False,
|
|
481
|
+
compression=None,
|
|
482
|
+
wait_for_ready=None,
|
|
483
|
+
timeout=None,
|
|
484
|
+
metadata=None):
|
|
485
|
+
return grpc.experimental.unary_unary(
|
|
486
|
+
request,
|
|
487
|
+
target,
|
|
488
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/ListOperations',
|
|
489
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListApplicationOperationsRequest.SerializeToString,
|
|
490
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListApplicationOperationsResponse.FromString,
|
|
491
|
+
options,
|
|
492
|
+
channel_credentials,
|
|
493
|
+
insecure,
|
|
494
|
+
call_credentials,
|
|
495
|
+
compression,
|
|
496
|
+
wait_for_ready,
|
|
497
|
+
timeout,
|
|
498
|
+
metadata,
|
|
499
|
+
_registered_method=True)
|
|
500
|
+
|
|
501
|
+
@staticmethod
|
|
502
|
+
def ListAccessBindings(request,
|
|
503
|
+
target,
|
|
504
|
+
options=(),
|
|
505
|
+
channel_credentials=None,
|
|
506
|
+
call_credentials=None,
|
|
507
|
+
insecure=False,
|
|
508
|
+
compression=None,
|
|
509
|
+
wait_for_ready=None,
|
|
510
|
+
timeout=None,
|
|
511
|
+
metadata=None):
|
|
512
|
+
return grpc.experimental.unary_unary(
|
|
513
|
+
request,
|
|
514
|
+
target,
|
|
515
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/ListAccessBindings',
|
|
516
|
+
yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsRequest.SerializeToString,
|
|
517
|
+
yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsResponse.FromString,
|
|
518
|
+
options,
|
|
519
|
+
channel_credentials,
|
|
520
|
+
insecure,
|
|
521
|
+
call_credentials,
|
|
522
|
+
compression,
|
|
523
|
+
wait_for_ready,
|
|
524
|
+
timeout,
|
|
525
|
+
metadata,
|
|
526
|
+
_registered_method=True)
|
|
527
|
+
|
|
528
|
+
@staticmethod
|
|
529
|
+
def SetAccessBindings(request,
|
|
530
|
+
target,
|
|
531
|
+
options=(),
|
|
532
|
+
channel_credentials=None,
|
|
533
|
+
call_credentials=None,
|
|
534
|
+
insecure=False,
|
|
535
|
+
compression=None,
|
|
536
|
+
wait_for_ready=None,
|
|
537
|
+
timeout=None,
|
|
538
|
+
metadata=None):
|
|
539
|
+
return grpc.experimental.unary_unary(
|
|
540
|
+
request,
|
|
541
|
+
target,
|
|
542
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/SetAccessBindings',
|
|
543
|
+
yandex_dot_cloud_dot_access_dot_access__pb2.SetAccessBindingsRequest.SerializeToString,
|
|
544
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
545
|
+
options,
|
|
546
|
+
channel_credentials,
|
|
547
|
+
insecure,
|
|
548
|
+
call_credentials,
|
|
549
|
+
compression,
|
|
550
|
+
wait_for_ready,
|
|
551
|
+
timeout,
|
|
552
|
+
metadata,
|
|
553
|
+
_registered_method=True)
|
|
554
|
+
|
|
555
|
+
@staticmethod
|
|
556
|
+
def UpdateAccessBindings(request,
|
|
557
|
+
target,
|
|
558
|
+
options=(),
|
|
559
|
+
channel_credentials=None,
|
|
560
|
+
call_credentials=None,
|
|
561
|
+
insecure=False,
|
|
562
|
+
compression=None,
|
|
563
|
+
wait_for_ready=None,
|
|
564
|
+
timeout=None,
|
|
565
|
+
metadata=None):
|
|
566
|
+
return grpc.experimental.unary_unary(
|
|
567
|
+
request,
|
|
568
|
+
target,
|
|
569
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/UpdateAccessBindings',
|
|
570
|
+
yandex_dot_cloud_dot_access_dot_access__pb2.UpdateAccessBindingsRequest.SerializeToString,
|
|
571
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
572
|
+
options,
|
|
573
|
+
channel_credentials,
|
|
574
|
+
insecure,
|
|
575
|
+
call_credentials,
|
|
576
|
+
compression,
|
|
577
|
+
wait_for_ready,
|
|
578
|
+
timeout,
|
|
579
|
+
metadata,
|
|
580
|
+
_registered_method=True)
|
|
581
|
+
|
|
582
|
+
@staticmethod
|
|
583
|
+
def ListAssignments(request,
|
|
584
|
+
target,
|
|
585
|
+
options=(),
|
|
586
|
+
channel_credentials=None,
|
|
587
|
+
call_credentials=None,
|
|
588
|
+
insecure=False,
|
|
589
|
+
compression=None,
|
|
590
|
+
wait_for_ready=None,
|
|
591
|
+
timeout=None,
|
|
592
|
+
metadata=None):
|
|
593
|
+
return grpc.experimental.unary_unary(
|
|
594
|
+
request,
|
|
595
|
+
target,
|
|
596
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/ListAssignments',
|
|
597
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListAssignmentsRequest.SerializeToString,
|
|
598
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.ListAssignmentsResponse.FromString,
|
|
599
|
+
options,
|
|
600
|
+
channel_credentials,
|
|
601
|
+
insecure,
|
|
602
|
+
call_credentials,
|
|
603
|
+
compression,
|
|
604
|
+
wait_for_ready,
|
|
605
|
+
timeout,
|
|
606
|
+
metadata,
|
|
607
|
+
_registered_method=True)
|
|
608
|
+
|
|
609
|
+
@staticmethod
|
|
610
|
+
def UpdateAssignments(request,
|
|
611
|
+
target,
|
|
612
|
+
options=(),
|
|
613
|
+
channel_credentials=None,
|
|
614
|
+
call_credentials=None,
|
|
615
|
+
insecure=False,
|
|
616
|
+
compression=None,
|
|
617
|
+
wait_for_ready=None,
|
|
618
|
+
timeout=None,
|
|
619
|
+
metadata=None):
|
|
620
|
+
return grpc.experimental.unary_unary(
|
|
621
|
+
request,
|
|
622
|
+
target,
|
|
623
|
+
'/yandex.cloud.organizationmanager.v1.idp.application.oauth.ApplicationService/UpdateAssignments',
|
|
624
|
+
yandex_dot_cloud_dot_organizationmanager_dot_v1_dot_idp_dot_application_dot_oauth_dot_application__service__pb2.UpdateAssignmentsRequest.SerializeToString,
|
|
625
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
626
|
+
options,
|
|
627
|
+
channel_credentials,
|
|
628
|
+
insecure,
|
|
629
|
+
call_credentials,
|
|
630
|
+
compression,
|
|
631
|
+
wait_for_ready,
|
|
632
|
+
timeout,
|
|
633
|
+
metadata,
|
|
634
|
+
_registered_method=True)
|