perxis.spaces.spaces_pb2_grpc
Client and server classes corresponding to protobuf-defined services.
1# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! 2"""Client and server classes corresponding to protobuf-defined services.""" 3import grpc 4import warnings 5 6from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 7from perxis.spaces import spaces_pb2 as spaces_dot_spaces__pb2 8 9GRPC_GENERATED_VERSION = '1.67.1' 10GRPC_VERSION = grpc.__version__ 11_version_not_supported = False 12 13try: 14 from grpc._utilities import first_version_is_lower 15 _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) 16except ImportError: 17 _version_not_supported = True 18 19if _version_not_supported: 20 raise RuntimeError( 21 f'The grpc package installed is at version {GRPC_VERSION},' 22 + f' but the generated code in spaces/spaces_pb2_grpc.py depends on' 23 + f' grpcio>={GRPC_GENERATED_VERSION}.' 24 + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' 25 + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' 26 ) 27 28 29class SpacesStub(object): 30 """Missing associated documentation comment in .proto file.""" 31 32 def __init__(self, channel): 33 """Constructor. 34 35 Args: 36 channel: A grpc.Channel. 37 """ 38 self.Create = channel.unary_unary( 39 '/content.spaces.Spaces/Create', 40 request_serializer=spaces_dot_spaces__pb2.CreateRequest.SerializeToString, 41 response_deserializer=spaces_dot_spaces__pb2.CreateResponse.FromString, 42 _registered_method=True) 43 self.Get = channel.unary_unary( 44 '/content.spaces.Spaces/Get', 45 request_serializer=spaces_dot_spaces__pb2.GetRequest.SerializeToString, 46 response_deserializer=spaces_dot_spaces__pb2.GetResponse.FromString, 47 _registered_method=True) 48 self.List = channel.unary_unary( 49 '/content.spaces.Spaces/List', 50 request_serializer=spaces_dot_spaces__pb2.ListRequest.SerializeToString, 51 response_deserializer=spaces_dot_spaces__pb2.ListResponse.FromString, 52 _registered_method=True) 53 self.Find = channel.unary_unary( 54 '/content.spaces.Spaces/Find', 55 request_serializer=spaces_dot_spaces__pb2.FindRequest.SerializeToString, 56 response_deserializer=spaces_dot_spaces__pb2.FindResponse.FromString, 57 _registered_method=True) 58 self.Update = channel.unary_unary( 59 '/content.spaces.Spaces/Update', 60 request_serializer=spaces_dot_spaces__pb2.UpdateRequest.SerializeToString, 61 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 62 _registered_method=True) 63 self.UpdateConfig = channel.unary_unary( 64 '/content.spaces.Spaces/UpdateConfig', 65 request_serializer=spaces_dot_spaces__pb2.UpdateConfigRequest.SerializeToString, 66 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 67 _registered_method=True) 68 self.Delete = channel.unary_unary( 69 '/content.spaces.Spaces/Delete', 70 request_serializer=spaces_dot_spaces__pb2.DeleteRequest.SerializeToString, 71 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 72 _registered_method=True) 73 self.Transfer = channel.unary_unary( 74 '/content.spaces.Spaces/Transfer', 75 request_serializer=spaces_dot_spaces__pb2.TransferRequest.SerializeToString, 76 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 77 _registered_method=True) 78 self.AbortTransfer = channel.unary_unary( 79 '/content.spaces.Spaces/AbortTransfer', 80 request_serializer=spaces_dot_spaces__pb2.AbortTransferRequest.SerializeToString, 81 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 82 _registered_method=True) 83 self.ListTransfers = channel.unary_unary( 84 '/content.spaces.Spaces/ListTransfers', 85 request_serializer=spaces_dot_spaces__pb2.ListTransfersRequest.SerializeToString, 86 response_deserializer=spaces_dot_spaces__pb2.ListTransfersResponse.FromString, 87 _registered_method=True) 88 self.Move = channel.unary_unary( 89 '/content.spaces.Spaces/Move', 90 request_serializer=spaces_dot_spaces__pb2.MoveRequest.SerializeToString, 91 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 92 _registered_method=True) 93 94 95class SpacesServicer(object): 96 """Missing associated documentation comment in .proto file.""" 97 98 def Create(self, request, context): 99 """Missing associated documentation comment in .proto file.""" 100 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 101 context.set_details('Method not implemented!') 102 raise NotImplementedError('Method not implemented!') 103 104 def Get(self, request, context): 105 """Missing associated documentation comment in .proto file.""" 106 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 107 context.set_details('Method not implemented!') 108 raise NotImplementedError('Method not implemented!') 109 110 def List(self, request, context): 111 """Missing associated documentation comment in .proto file.""" 112 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 113 context.set_details('Method not implemented!') 114 raise NotImplementedError('Method not implemented!') 115 116 def Find(self, request, context): 117 """Missing associated documentation comment in .proto file.""" 118 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 119 context.set_details('Method not implemented!') 120 raise NotImplementedError('Method not implemented!') 121 122 def Update(self, request, context): 123 """Missing associated documentation comment in .proto file.""" 124 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 125 context.set_details('Method not implemented!') 126 raise NotImplementedError('Method not implemented!') 127 128 def UpdateConfig(self, request, context): 129 """Missing associated documentation comment in .proto file.""" 130 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 131 context.set_details('Method not implemented!') 132 raise NotImplementedError('Method not implemented!') 133 134 def Delete(self, request, context): 135 """Missing associated documentation comment in .proto file.""" 136 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 137 context.set_details('Method not implemented!') 138 raise NotImplementedError('Method not implemented!') 139 140 def Transfer(self, request, context): 141 """Transfer устанавливает для пространства значение поля RequestedMoveTo. После этого пространство 142 будет отображаться в списке входящих запросов на перемещение в организации `orgID` (запрос ListIncoming) 143 С пространством можно продолжать работу в текущей организации, пока запрос на перемещение не будет 144 принят в целевой организации 145 Перенос может быть инициирован только владельцем организации, которой принадлежит пространство 146 """ 147 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 148 context.set_details('Method not implemented!') 149 raise NotImplementedError('Method not implemented!') 150 151 def AbortTransfer(self, request, context): 152 """AbortTransfer - отменить перемещение пространства в другую организацию. Может быть вызван как 153 владельцем пространства-инициатора, там и владельцем принимающего пространства 154 """ 155 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 156 context.set_details('Method not implemented!') 157 raise NotImplementedError('Method not implemented!') 158 159 def ListTransfers(self, request, context): 160 """ListTransfers возвращает список пространств, перемещение которых было запрошено в текущую организацию 161 """ 162 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 163 context.set_details('Method not implemented!') 164 raise NotImplementedError('Method not implemented!') 165 166 def Move(self, request, context): 167 """Move - перенести пространство в организацию, установленную в Space.TransferToOrg. Пространство переносится со 168 всеми входящими в него данными: ролями, участниками, контентом, пр. и более не будет доступно в 169 исходной организации. 170 В случае, если запрос осуществляется с системным уровнем доступа и передан параметр `org_id`, то перенос будет 171 осуществлен вне зависимости от того, был он инициирован через метод `Transfer` или нет 172 """ 173 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 174 context.set_details('Method not implemented!') 175 raise NotImplementedError('Method not implemented!') 176 177 178def add_SpacesServicer_to_server(servicer, server): 179 rpc_method_handlers = { 180 'Create': grpc.unary_unary_rpc_method_handler( 181 servicer.Create, 182 request_deserializer=spaces_dot_spaces__pb2.CreateRequest.FromString, 183 response_serializer=spaces_dot_spaces__pb2.CreateResponse.SerializeToString, 184 ), 185 'Get': grpc.unary_unary_rpc_method_handler( 186 servicer.Get, 187 request_deserializer=spaces_dot_spaces__pb2.GetRequest.FromString, 188 response_serializer=spaces_dot_spaces__pb2.GetResponse.SerializeToString, 189 ), 190 'List': grpc.unary_unary_rpc_method_handler( 191 servicer.List, 192 request_deserializer=spaces_dot_spaces__pb2.ListRequest.FromString, 193 response_serializer=spaces_dot_spaces__pb2.ListResponse.SerializeToString, 194 ), 195 'Find': grpc.unary_unary_rpc_method_handler( 196 servicer.Find, 197 request_deserializer=spaces_dot_spaces__pb2.FindRequest.FromString, 198 response_serializer=spaces_dot_spaces__pb2.FindResponse.SerializeToString, 199 ), 200 'Update': grpc.unary_unary_rpc_method_handler( 201 servicer.Update, 202 request_deserializer=spaces_dot_spaces__pb2.UpdateRequest.FromString, 203 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 204 ), 205 'UpdateConfig': grpc.unary_unary_rpc_method_handler( 206 servicer.UpdateConfig, 207 request_deserializer=spaces_dot_spaces__pb2.UpdateConfigRequest.FromString, 208 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 209 ), 210 'Delete': grpc.unary_unary_rpc_method_handler( 211 servicer.Delete, 212 request_deserializer=spaces_dot_spaces__pb2.DeleteRequest.FromString, 213 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 214 ), 215 'Transfer': grpc.unary_unary_rpc_method_handler( 216 servicer.Transfer, 217 request_deserializer=spaces_dot_spaces__pb2.TransferRequest.FromString, 218 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 219 ), 220 'AbortTransfer': grpc.unary_unary_rpc_method_handler( 221 servicer.AbortTransfer, 222 request_deserializer=spaces_dot_spaces__pb2.AbortTransferRequest.FromString, 223 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 224 ), 225 'ListTransfers': grpc.unary_unary_rpc_method_handler( 226 servicer.ListTransfers, 227 request_deserializer=spaces_dot_spaces__pb2.ListTransfersRequest.FromString, 228 response_serializer=spaces_dot_spaces__pb2.ListTransfersResponse.SerializeToString, 229 ), 230 'Move': grpc.unary_unary_rpc_method_handler( 231 servicer.Move, 232 request_deserializer=spaces_dot_spaces__pb2.MoveRequest.FromString, 233 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 234 ), 235 } 236 generic_handler = grpc.method_handlers_generic_handler( 237 'content.spaces.Spaces', rpc_method_handlers) 238 server.add_generic_rpc_handlers((generic_handler,)) 239 server.add_registered_method_handlers('content.spaces.Spaces', rpc_method_handlers) 240 241 242 # This class is part of an EXPERIMENTAL API. 243class Spaces(object): 244 """Missing associated documentation comment in .proto file.""" 245 246 @staticmethod 247 def Create(request, 248 target, 249 options=(), 250 channel_credentials=None, 251 call_credentials=None, 252 insecure=False, 253 compression=None, 254 wait_for_ready=None, 255 timeout=None, 256 metadata=None): 257 return grpc.experimental.unary_unary( 258 request, 259 target, 260 '/content.spaces.Spaces/Create', 261 spaces_dot_spaces__pb2.CreateRequest.SerializeToString, 262 spaces_dot_spaces__pb2.CreateResponse.FromString, 263 options, 264 channel_credentials, 265 insecure, 266 call_credentials, 267 compression, 268 wait_for_ready, 269 timeout, 270 metadata, 271 _registered_method=True) 272 273 @staticmethod 274 def Get(request, 275 target, 276 options=(), 277 channel_credentials=None, 278 call_credentials=None, 279 insecure=False, 280 compression=None, 281 wait_for_ready=None, 282 timeout=None, 283 metadata=None): 284 return grpc.experimental.unary_unary( 285 request, 286 target, 287 '/content.spaces.Spaces/Get', 288 spaces_dot_spaces__pb2.GetRequest.SerializeToString, 289 spaces_dot_spaces__pb2.GetResponse.FromString, 290 options, 291 channel_credentials, 292 insecure, 293 call_credentials, 294 compression, 295 wait_for_ready, 296 timeout, 297 metadata, 298 _registered_method=True) 299 300 @staticmethod 301 def List(request, 302 target, 303 options=(), 304 channel_credentials=None, 305 call_credentials=None, 306 insecure=False, 307 compression=None, 308 wait_for_ready=None, 309 timeout=None, 310 metadata=None): 311 return grpc.experimental.unary_unary( 312 request, 313 target, 314 '/content.spaces.Spaces/List', 315 spaces_dot_spaces__pb2.ListRequest.SerializeToString, 316 spaces_dot_spaces__pb2.ListResponse.FromString, 317 options, 318 channel_credentials, 319 insecure, 320 call_credentials, 321 compression, 322 wait_for_ready, 323 timeout, 324 metadata, 325 _registered_method=True) 326 327 @staticmethod 328 def Find(request, 329 target, 330 options=(), 331 channel_credentials=None, 332 call_credentials=None, 333 insecure=False, 334 compression=None, 335 wait_for_ready=None, 336 timeout=None, 337 metadata=None): 338 return grpc.experimental.unary_unary( 339 request, 340 target, 341 '/content.spaces.Spaces/Find', 342 spaces_dot_spaces__pb2.FindRequest.SerializeToString, 343 spaces_dot_spaces__pb2.FindResponse.FromString, 344 options, 345 channel_credentials, 346 insecure, 347 call_credentials, 348 compression, 349 wait_for_ready, 350 timeout, 351 metadata, 352 _registered_method=True) 353 354 @staticmethod 355 def Update(request, 356 target, 357 options=(), 358 channel_credentials=None, 359 call_credentials=None, 360 insecure=False, 361 compression=None, 362 wait_for_ready=None, 363 timeout=None, 364 metadata=None): 365 return grpc.experimental.unary_unary( 366 request, 367 target, 368 '/content.spaces.Spaces/Update', 369 spaces_dot_spaces__pb2.UpdateRequest.SerializeToString, 370 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 371 options, 372 channel_credentials, 373 insecure, 374 call_credentials, 375 compression, 376 wait_for_ready, 377 timeout, 378 metadata, 379 _registered_method=True) 380 381 @staticmethod 382 def UpdateConfig(request, 383 target, 384 options=(), 385 channel_credentials=None, 386 call_credentials=None, 387 insecure=False, 388 compression=None, 389 wait_for_ready=None, 390 timeout=None, 391 metadata=None): 392 return grpc.experimental.unary_unary( 393 request, 394 target, 395 '/content.spaces.Spaces/UpdateConfig', 396 spaces_dot_spaces__pb2.UpdateConfigRequest.SerializeToString, 397 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 398 options, 399 channel_credentials, 400 insecure, 401 call_credentials, 402 compression, 403 wait_for_ready, 404 timeout, 405 metadata, 406 _registered_method=True) 407 408 @staticmethod 409 def Delete(request, 410 target, 411 options=(), 412 channel_credentials=None, 413 call_credentials=None, 414 insecure=False, 415 compression=None, 416 wait_for_ready=None, 417 timeout=None, 418 metadata=None): 419 return grpc.experimental.unary_unary( 420 request, 421 target, 422 '/content.spaces.Spaces/Delete', 423 spaces_dot_spaces__pb2.DeleteRequest.SerializeToString, 424 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 425 options, 426 channel_credentials, 427 insecure, 428 call_credentials, 429 compression, 430 wait_for_ready, 431 timeout, 432 metadata, 433 _registered_method=True) 434 435 @staticmethod 436 def Transfer(request, 437 target, 438 options=(), 439 channel_credentials=None, 440 call_credentials=None, 441 insecure=False, 442 compression=None, 443 wait_for_ready=None, 444 timeout=None, 445 metadata=None): 446 return grpc.experimental.unary_unary( 447 request, 448 target, 449 '/content.spaces.Spaces/Transfer', 450 spaces_dot_spaces__pb2.TransferRequest.SerializeToString, 451 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 452 options, 453 channel_credentials, 454 insecure, 455 call_credentials, 456 compression, 457 wait_for_ready, 458 timeout, 459 metadata, 460 _registered_method=True) 461 462 @staticmethod 463 def AbortTransfer(request, 464 target, 465 options=(), 466 channel_credentials=None, 467 call_credentials=None, 468 insecure=False, 469 compression=None, 470 wait_for_ready=None, 471 timeout=None, 472 metadata=None): 473 return grpc.experimental.unary_unary( 474 request, 475 target, 476 '/content.spaces.Spaces/AbortTransfer', 477 spaces_dot_spaces__pb2.AbortTransferRequest.SerializeToString, 478 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 479 options, 480 channel_credentials, 481 insecure, 482 call_credentials, 483 compression, 484 wait_for_ready, 485 timeout, 486 metadata, 487 _registered_method=True) 488 489 @staticmethod 490 def ListTransfers(request, 491 target, 492 options=(), 493 channel_credentials=None, 494 call_credentials=None, 495 insecure=False, 496 compression=None, 497 wait_for_ready=None, 498 timeout=None, 499 metadata=None): 500 return grpc.experimental.unary_unary( 501 request, 502 target, 503 '/content.spaces.Spaces/ListTransfers', 504 spaces_dot_spaces__pb2.ListTransfersRequest.SerializeToString, 505 spaces_dot_spaces__pb2.ListTransfersResponse.FromString, 506 options, 507 channel_credentials, 508 insecure, 509 call_credentials, 510 compression, 511 wait_for_ready, 512 timeout, 513 metadata, 514 _registered_method=True) 515 516 @staticmethod 517 def Move(request, 518 target, 519 options=(), 520 channel_credentials=None, 521 call_credentials=None, 522 insecure=False, 523 compression=None, 524 wait_for_ready=None, 525 timeout=None, 526 metadata=None): 527 return grpc.experimental.unary_unary( 528 request, 529 target, 530 '/content.spaces.Spaces/Move', 531 spaces_dot_spaces__pb2.MoveRequest.SerializeToString, 532 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 533 options, 534 channel_credentials, 535 insecure, 536 call_credentials, 537 compression, 538 wait_for_ready, 539 timeout, 540 metadata, 541 _registered_method=True)
30class SpacesStub(object): 31 """Missing associated documentation comment in .proto file.""" 32 33 def __init__(self, channel): 34 """Constructor. 35 36 Args: 37 channel: A grpc.Channel. 38 """ 39 self.Create = channel.unary_unary( 40 '/content.spaces.Spaces/Create', 41 request_serializer=spaces_dot_spaces__pb2.CreateRequest.SerializeToString, 42 response_deserializer=spaces_dot_spaces__pb2.CreateResponse.FromString, 43 _registered_method=True) 44 self.Get = channel.unary_unary( 45 '/content.spaces.Spaces/Get', 46 request_serializer=spaces_dot_spaces__pb2.GetRequest.SerializeToString, 47 response_deserializer=spaces_dot_spaces__pb2.GetResponse.FromString, 48 _registered_method=True) 49 self.List = channel.unary_unary( 50 '/content.spaces.Spaces/List', 51 request_serializer=spaces_dot_spaces__pb2.ListRequest.SerializeToString, 52 response_deserializer=spaces_dot_spaces__pb2.ListResponse.FromString, 53 _registered_method=True) 54 self.Find = channel.unary_unary( 55 '/content.spaces.Spaces/Find', 56 request_serializer=spaces_dot_spaces__pb2.FindRequest.SerializeToString, 57 response_deserializer=spaces_dot_spaces__pb2.FindResponse.FromString, 58 _registered_method=True) 59 self.Update = channel.unary_unary( 60 '/content.spaces.Spaces/Update', 61 request_serializer=spaces_dot_spaces__pb2.UpdateRequest.SerializeToString, 62 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 63 _registered_method=True) 64 self.UpdateConfig = channel.unary_unary( 65 '/content.spaces.Spaces/UpdateConfig', 66 request_serializer=spaces_dot_spaces__pb2.UpdateConfigRequest.SerializeToString, 67 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 68 _registered_method=True) 69 self.Delete = channel.unary_unary( 70 '/content.spaces.Spaces/Delete', 71 request_serializer=spaces_dot_spaces__pb2.DeleteRequest.SerializeToString, 72 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 73 _registered_method=True) 74 self.Transfer = channel.unary_unary( 75 '/content.spaces.Spaces/Transfer', 76 request_serializer=spaces_dot_spaces__pb2.TransferRequest.SerializeToString, 77 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 78 _registered_method=True) 79 self.AbortTransfer = channel.unary_unary( 80 '/content.spaces.Spaces/AbortTransfer', 81 request_serializer=spaces_dot_spaces__pb2.AbortTransferRequest.SerializeToString, 82 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 83 _registered_method=True) 84 self.ListTransfers = channel.unary_unary( 85 '/content.spaces.Spaces/ListTransfers', 86 request_serializer=spaces_dot_spaces__pb2.ListTransfersRequest.SerializeToString, 87 response_deserializer=spaces_dot_spaces__pb2.ListTransfersResponse.FromString, 88 _registered_method=True) 89 self.Move = channel.unary_unary( 90 '/content.spaces.Spaces/Move', 91 request_serializer=spaces_dot_spaces__pb2.MoveRequest.SerializeToString, 92 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 93 _registered_method=True)
Missing associated documentation comment in .proto file.
33 def __init__(self, channel): 34 """Constructor. 35 36 Args: 37 channel: A grpc.Channel. 38 """ 39 self.Create = channel.unary_unary( 40 '/content.spaces.Spaces/Create', 41 request_serializer=spaces_dot_spaces__pb2.CreateRequest.SerializeToString, 42 response_deserializer=spaces_dot_spaces__pb2.CreateResponse.FromString, 43 _registered_method=True) 44 self.Get = channel.unary_unary( 45 '/content.spaces.Spaces/Get', 46 request_serializer=spaces_dot_spaces__pb2.GetRequest.SerializeToString, 47 response_deserializer=spaces_dot_spaces__pb2.GetResponse.FromString, 48 _registered_method=True) 49 self.List = channel.unary_unary( 50 '/content.spaces.Spaces/List', 51 request_serializer=spaces_dot_spaces__pb2.ListRequest.SerializeToString, 52 response_deserializer=spaces_dot_spaces__pb2.ListResponse.FromString, 53 _registered_method=True) 54 self.Find = channel.unary_unary( 55 '/content.spaces.Spaces/Find', 56 request_serializer=spaces_dot_spaces__pb2.FindRequest.SerializeToString, 57 response_deserializer=spaces_dot_spaces__pb2.FindResponse.FromString, 58 _registered_method=True) 59 self.Update = channel.unary_unary( 60 '/content.spaces.Spaces/Update', 61 request_serializer=spaces_dot_spaces__pb2.UpdateRequest.SerializeToString, 62 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 63 _registered_method=True) 64 self.UpdateConfig = channel.unary_unary( 65 '/content.spaces.Spaces/UpdateConfig', 66 request_serializer=spaces_dot_spaces__pb2.UpdateConfigRequest.SerializeToString, 67 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 68 _registered_method=True) 69 self.Delete = channel.unary_unary( 70 '/content.spaces.Spaces/Delete', 71 request_serializer=spaces_dot_spaces__pb2.DeleteRequest.SerializeToString, 72 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 73 _registered_method=True) 74 self.Transfer = channel.unary_unary( 75 '/content.spaces.Spaces/Transfer', 76 request_serializer=spaces_dot_spaces__pb2.TransferRequest.SerializeToString, 77 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 78 _registered_method=True) 79 self.AbortTransfer = channel.unary_unary( 80 '/content.spaces.Spaces/AbortTransfer', 81 request_serializer=spaces_dot_spaces__pb2.AbortTransferRequest.SerializeToString, 82 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 83 _registered_method=True) 84 self.ListTransfers = channel.unary_unary( 85 '/content.spaces.Spaces/ListTransfers', 86 request_serializer=spaces_dot_spaces__pb2.ListTransfersRequest.SerializeToString, 87 response_deserializer=spaces_dot_spaces__pb2.ListTransfersResponse.FromString, 88 _registered_method=True) 89 self.Move = channel.unary_unary( 90 '/content.spaces.Spaces/Move', 91 request_serializer=spaces_dot_spaces__pb2.MoveRequest.SerializeToString, 92 response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, 93 _registered_method=True)
Constructor.
Arguments:
- channel: A grpc.Channel.
96class SpacesServicer(object): 97 """Missing associated documentation comment in .proto file.""" 98 99 def Create(self, request, context): 100 """Missing associated documentation comment in .proto file.""" 101 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 102 context.set_details('Method not implemented!') 103 raise NotImplementedError('Method not implemented!') 104 105 def Get(self, request, context): 106 """Missing associated documentation comment in .proto file.""" 107 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 108 context.set_details('Method not implemented!') 109 raise NotImplementedError('Method not implemented!') 110 111 def List(self, request, context): 112 """Missing associated documentation comment in .proto file.""" 113 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 114 context.set_details('Method not implemented!') 115 raise NotImplementedError('Method not implemented!') 116 117 def Find(self, request, context): 118 """Missing associated documentation comment in .proto file.""" 119 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 120 context.set_details('Method not implemented!') 121 raise NotImplementedError('Method not implemented!') 122 123 def Update(self, request, context): 124 """Missing associated documentation comment in .proto file.""" 125 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 126 context.set_details('Method not implemented!') 127 raise NotImplementedError('Method not implemented!') 128 129 def UpdateConfig(self, request, context): 130 """Missing associated documentation comment in .proto file.""" 131 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 132 context.set_details('Method not implemented!') 133 raise NotImplementedError('Method not implemented!') 134 135 def Delete(self, request, context): 136 """Missing associated documentation comment in .proto file.""" 137 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 138 context.set_details('Method not implemented!') 139 raise NotImplementedError('Method not implemented!') 140 141 def Transfer(self, request, context): 142 """Transfer устанавливает для пространства значение поля RequestedMoveTo. После этого пространство 143 будет отображаться в списке входящих запросов на перемещение в организации `orgID` (запрос ListIncoming) 144 С пространством можно продолжать работу в текущей организации, пока запрос на перемещение не будет 145 принят в целевой организации 146 Перенос может быть инициирован только владельцем организации, которой принадлежит пространство 147 """ 148 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 149 context.set_details('Method not implemented!') 150 raise NotImplementedError('Method not implemented!') 151 152 def AbortTransfer(self, request, context): 153 """AbortTransfer - отменить перемещение пространства в другую организацию. Может быть вызван как 154 владельцем пространства-инициатора, там и владельцем принимающего пространства 155 """ 156 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 157 context.set_details('Method not implemented!') 158 raise NotImplementedError('Method not implemented!') 159 160 def ListTransfers(self, request, context): 161 """ListTransfers возвращает список пространств, перемещение которых было запрошено в текущую организацию 162 """ 163 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 164 context.set_details('Method not implemented!') 165 raise NotImplementedError('Method not implemented!') 166 167 def Move(self, request, context): 168 """Move - перенести пространство в организацию, установленную в Space.TransferToOrg. Пространство переносится со 169 всеми входящими в него данными: ролями, участниками, контентом, пр. и более не будет доступно в 170 исходной организации. 171 В случае, если запрос осуществляется с системным уровнем доступа и передан параметр `org_id`, то перенос будет 172 осуществлен вне зависимости от того, был он инициирован через метод `Transfer` или нет 173 """ 174 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 175 context.set_details('Method not implemented!') 176 raise NotImplementedError('Method not implemented!')
Missing associated documentation comment in .proto file.
99 def Create(self, request, context): 100 """Missing associated documentation comment in .proto file.""" 101 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 102 context.set_details('Method not implemented!') 103 raise NotImplementedError('Method not implemented!')
Missing associated documentation comment in .proto file.
105 def Get(self, request, context): 106 """Missing associated documentation comment in .proto file.""" 107 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 108 context.set_details('Method not implemented!') 109 raise NotImplementedError('Method not implemented!')
Missing associated documentation comment in .proto file.
111 def List(self, request, context): 112 """Missing associated documentation comment in .proto file.""" 113 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 114 context.set_details('Method not implemented!') 115 raise NotImplementedError('Method not implemented!')
Missing associated documentation comment in .proto file.
117 def Find(self, request, context): 118 """Missing associated documentation comment in .proto file.""" 119 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 120 context.set_details('Method not implemented!') 121 raise NotImplementedError('Method not implemented!')
Missing associated documentation comment in .proto file.
123 def Update(self, request, context): 124 """Missing associated documentation comment in .proto file.""" 125 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 126 context.set_details('Method not implemented!') 127 raise NotImplementedError('Method not implemented!')
Missing associated documentation comment in .proto file.
129 def UpdateConfig(self, request, context): 130 """Missing associated documentation comment in .proto file.""" 131 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 132 context.set_details('Method not implemented!') 133 raise NotImplementedError('Method not implemented!')
Missing associated documentation comment in .proto file.
135 def Delete(self, request, context): 136 """Missing associated documentation comment in .proto file.""" 137 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 138 context.set_details('Method not implemented!') 139 raise NotImplementedError('Method not implemented!')
Missing associated documentation comment in .proto file.
141 def Transfer(self, request, context): 142 """Transfer устанавливает для пространства значение поля RequestedMoveTo. После этого пространство 143 будет отображаться в списке входящих запросов на перемещение в организации `orgID` (запрос ListIncoming) 144 С пространством можно продолжать работу в текущей организации, пока запрос на перемещение не будет 145 принят в целевой организации 146 Перенос может быть инициирован только владельцем организации, которой принадлежит пространство 147 """ 148 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 149 context.set_details('Method not implemented!') 150 raise NotImplementedError('Method not implemented!')
Transfer устанавливает для пространства значение поля RequestedMoveTo. После этого пространство
будет отображаться в списке входящих запросов на перемещение в организации orgID
(запрос ListIncoming)
С пространством можно продолжать работу в текущей организации, пока запрос на перемещение не будет
принят в целевой организации
Перенос может быть инициирован только владельцем организации, которой принадлежит пространство
152 def AbortTransfer(self, request, context): 153 """AbortTransfer - отменить перемещение пространства в другую организацию. Может быть вызван как 154 владельцем пространства-инициатора, там и владельцем принимающего пространства 155 """ 156 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 157 context.set_details('Method not implemented!') 158 raise NotImplementedError('Method not implemented!')
AbortTransfer - отменить перемещение пространства в другую организацию. Может быть вызван как владельцем пространства-инициатора, там и владельцем принимающего пространства
160 def ListTransfers(self, request, context): 161 """ListTransfers возвращает список пространств, перемещение которых было запрошено в текущую организацию 162 """ 163 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 164 context.set_details('Method not implemented!') 165 raise NotImplementedError('Method not implemented!')
ListTransfers возвращает список пространств, перемещение которых было запрошено в текущую организацию
167 def Move(self, request, context): 168 """Move - перенести пространство в организацию, установленную в Space.TransferToOrg. Пространство переносится со 169 всеми входящими в него данными: ролями, участниками, контентом, пр. и более не будет доступно в 170 исходной организации. 171 В случае, если запрос осуществляется с системным уровнем доступа и передан параметр `org_id`, то перенос будет 172 осуществлен вне зависимости от того, был он инициирован через метод `Transfer` или нет 173 """ 174 context.set_code(grpc.StatusCode.UNIMPLEMENTED) 175 context.set_details('Method not implemented!') 176 raise NotImplementedError('Method not implemented!')
Move - перенести пространство в организацию, установленную в Space.TransferToOrg. Пространство переносится со
всеми входящими в него данными: ролями, участниками, контентом, пр. и более не будет доступно в
исходной организации.
В случае, если запрос осуществляется с системным уровнем доступа и передан параметр org_id
, то перенос будет
осуществлен вне зависимости от того, был он инициирован через метод Transfer
или нет
179def add_SpacesServicer_to_server(servicer, server): 180 rpc_method_handlers = { 181 'Create': grpc.unary_unary_rpc_method_handler( 182 servicer.Create, 183 request_deserializer=spaces_dot_spaces__pb2.CreateRequest.FromString, 184 response_serializer=spaces_dot_spaces__pb2.CreateResponse.SerializeToString, 185 ), 186 'Get': grpc.unary_unary_rpc_method_handler( 187 servicer.Get, 188 request_deserializer=spaces_dot_spaces__pb2.GetRequest.FromString, 189 response_serializer=spaces_dot_spaces__pb2.GetResponse.SerializeToString, 190 ), 191 'List': grpc.unary_unary_rpc_method_handler( 192 servicer.List, 193 request_deserializer=spaces_dot_spaces__pb2.ListRequest.FromString, 194 response_serializer=spaces_dot_spaces__pb2.ListResponse.SerializeToString, 195 ), 196 'Find': grpc.unary_unary_rpc_method_handler( 197 servicer.Find, 198 request_deserializer=spaces_dot_spaces__pb2.FindRequest.FromString, 199 response_serializer=spaces_dot_spaces__pb2.FindResponse.SerializeToString, 200 ), 201 'Update': grpc.unary_unary_rpc_method_handler( 202 servicer.Update, 203 request_deserializer=spaces_dot_spaces__pb2.UpdateRequest.FromString, 204 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 205 ), 206 'UpdateConfig': grpc.unary_unary_rpc_method_handler( 207 servicer.UpdateConfig, 208 request_deserializer=spaces_dot_spaces__pb2.UpdateConfigRequest.FromString, 209 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 210 ), 211 'Delete': grpc.unary_unary_rpc_method_handler( 212 servicer.Delete, 213 request_deserializer=spaces_dot_spaces__pb2.DeleteRequest.FromString, 214 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 215 ), 216 'Transfer': grpc.unary_unary_rpc_method_handler( 217 servicer.Transfer, 218 request_deserializer=spaces_dot_spaces__pb2.TransferRequest.FromString, 219 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 220 ), 221 'AbortTransfer': grpc.unary_unary_rpc_method_handler( 222 servicer.AbortTransfer, 223 request_deserializer=spaces_dot_spaces__pb2.AbortTransferRequest.FromString, 224 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 225 ), 226 'ListTransfers': grpc.unary_unary_rpc_method_handler( 227 servicer.ListTransfers, 228 request_deserializer=spaces_dot_spaces__pb2.ListTransfersRequest.FromString, 229 response_serializer=spaces_dot_spaces__pb2.ListTransfersResponse.SerializeToString, 230 ), 231 'Move': grpc.unary_unary_rpc_method_handler( 232 servicer.Move, 233 request_deserializer=spaces_dot_spaces__pb2.MoveRequest.FromString, 234 response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, 235 ), 236 } 237 generic_handler = grpc.method_handlers_generic_handler( 238 'content.spaces.Spaces', rpc_method_handlers) 239 server.add_generic_rpc_handlers((generic_handler,)) 240 server.add_registered_method_handlers('content.spaces.Spaces', rpc_method_handlers)
244class Spaces(object): 245 """Missing associated documentation comment in .proto file.""" 246 247 @staticmethod 248 def Create(request, 249 target, 250 options=(), 251 channel_credentials=None, 252 call_credentials=None, 253 insecure=False, 254 compression=None, 255 wait_for_ready=None, 256 timeout=None, 257 metadata=None): 258 return grpc.experimental.unary_unary( 259 request, 260 target, 261 '/content.spaces.Spaces/Create', 262 spaces_dot_spaces__pb2.CreateRequest.SerializeToString, 263 spaces_dot_spaces__pb2.CreateResponse.FromString, 264 options, 265 channel_credentials, 266 insecure, 267 call_credentials, 268 compression, 269 wait_for_ready, 270 timeout, 271 metadata, 272 _registered_method=True) 273 274 @staticmethod 275 def Get(request, 276 target, 277 options=(), 278 channel_credentials=None, 279 call_credentials=None, 280 insecure=False, 281 compression=None, 282 wait_for_ready=None, 283 timeout=None, 284 metadata=None): 285 return grpc.experimental.unary_unary( 286 request, 287 target, 288 '/content.spaces.Spaces/Get', 289 spaces_dot_spaces__pb2.GetRequest.SerializeToString, 290 spaces_dot_spaces__pb2.GetResponse.FromString, 291 options, 292 channel_credentials, 293 insecure, 294 call_credentials, 295 compression, 296 wait_for_ready, 297 timeout, 298 metadata, 299 _registered_method=True) 300 301 @staticmethod 302 def List(request, 303 target, 304 options=(), 305 channel_credentials=None, 306 call_credentials=None, 307 insecure=False, 308 compression=None, 309 wait_for_ready=None, 310 timeout=None, 311 metadata=None): 312 return grpc.experimental.unary_unary( 313 request, 314 target, 315 '/content.spaces.Spaces/List', 316 spaces_dot_spaces__pb2.ListRequest.SerializeToString, 317 spaces_dot_spaces__pb2.ListResponse.FromString, 318 options, 319 channel_credentials, 320 insecure, 321 call_credentials, 322 compression, 323 wait_for_ready, 324 timeout, 325 metadata, 326 _registered_method=True) 327 328 @staticmethod 329 def Find(request, 330 target, 331 options=(), 332 channel_credentials=None, 333 call_credentials=None, 334 insecure=False, 335 compression=None, 336 wait_for_ready=None, 337 timeout=None, 338 metadata=None): 339 return grpc.experimental.unary_unary( 340 request, 341 target, 342 '/content.spaces.Spaces/Find', 343 spaces_dot_spaces__pb2.FindRequest.SerializeToString, 344 spaces_dot_spaces__pb2.FindResponse.FromString, 345 options, 346 channel_credentials, 347 insecure, 348 call_credentials, 349 compression, 350 wait_for_ready, 351 timeout, 352 metadata, 353 _registered_method=True) 354 355 @staticmethod 356 def Update(request, 357 target, 358 options=(), 359 channel_credentials=None, 360 call_credentials=None, 361 insecure=False, 362 compression=None, 363 wait_for_ready=None, 364 timeout=None, 365 metadata=None): 366 return grpc.experimental.unary_unary( 367 request, 368 target, 369 '/content.spaces.Spaces/Update', 370 spaces_dot_spaces__pb2.UpdateRequest.SerializeToString, 371 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 372 options, 373 channel_credentials, 374 insecure, 375 call_credentials, 376 compression, 377 wait_for_ready, 378 timeout, 379 metadata, 380 _registered_method=True) 381 382 @staticmethod 383 def UpdateConfig(request, 384 target, 385 options=(), 386 channel_credentials=None, 387 call_credentials=None, 388 insecure=False, 389 compression=None, 390 wait_for_ready=None, 391 timeout=None, 392 metadata=None): 393 return grpc.experimental.unary_unary( 394 request, 395 target, 396 '/content.spaces.Spaces/UpdateConfig', 397 spaces_dot_spaces__pb2.UpdateConfigRequest.SerializeToString, 398 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 399 options, 400 channel_credentials, 401 insecure, 402 call_credentials, 403 compression, 404 wait_for_ready, 405 timeout, 406 metadata, 407 _registered_method=True) 408 409 @staticmethod 410 def Delete(request, 411 target, 412 options=(), 413 channel_credentials=None, 414 call_credentials=None, 415 insecure=False, 416 compression=None, 417 wait_for_ready=None, 418 timeout=None, 419 metadata=None): 420 return grpc.experimental.unary_unary( 421 request, 422 target, 423 '/content.spaces.Spaces/Delete', 424 spaces_dot_spaces__pb2.DeleteRequest.SerializeToString, 425 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 426 options, 427 channel_credentials, 428 insecure, 429 call_credentials, 430 compression, 431 wait_for_ready, 432 timeout, 433 metadata, 434 _registered_method=True) 435 436 @staticmethod 437 def Transfer(request, 438 target, 439 options=(), 440 channel_credentials=None, 441 call_credentials=None, 442 insecure=False, 443 compression=None, 444 wait_for_ready=None, 445 timeout=None, 446 metadata=None): 447 return grpc.experimental.unary_unary( 448 request, 449 target, 450 '/content.spaces.Spaces/Transfer', 451 spaces_dot_spaces__pb2.TransferRequest.SerializeToString, 452 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 453 options, 454 channel_credentials, 455 insecure, 456 call_credentials, 457 compression, 458 wait_for_ready, 459 timeout, 460 metadata, 461 _registered_method=True) 462 463 @staticmethod 464 def AbortTransfer(request, 465 target, 466 options=(), 467 channel_credentials=None, 468 call_credentials=None, 469 insecure=False, 470 compression=None, 471 wait_for_ready=None, 472 timeout=None, 473 metadata=None): 474 return grpc.experimental.unary_unary( 475 request, 476 target, 477 '/content.spaces.Spaces/AbortTransfer', 478 spaces_dot_spaces__pb2.AbortTransferRequest.SerializeToString, 479 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 480 options, 481 channel_credentials, 482 insecure, 483 call_credentials, 484 compression, 485 wait_for_ready, 486 timeout, 487 metadata, 488 _registered_method=True) 489 490 @staticmethod 491 def ListTransfers(request, 492 target, 493 options=(), 494 channel_credentials=None, 495 call_credentials=None, 496 insecure=False, 497 compression=None, 498 wait_for_ready=None, 499 timeout=None, 500 metadata=None): 501 return grpc.experimental.unary_unary( 502 request, 503 target, 504 '/content.spaces.Spaces/ListTransfers', 505 spaces_dot_spaces__pb2.ListTransfersRequest.SerializeToString, 506 spaces_dot_spaces__pb2.ListTransfersResponse.FromString, 507 options, 508 channel_credentials, 509 insecure, 510 call_credentials, 511 compression, 512 wait_for_ready, 513 timeout, 514 metadata, 515 _registered_method=True) 516 517 @staticmethod 518 def Move(request, 519 target, 520 options=(), 521 channel_credentials=None, 522 call_credentials=None, 523 insecure=False, 524 compression=None, 525 wait_for_ready=None, 526 timeout=None, 527 metadata=None): 528 return grpc.experimental.unary_unary( 529 request, 530 target, 531 '/content.spaces.Spaces/Move', 532 spaces_dot_spaces__pb2.MoveRequest.SerializeToString, 533 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 534 options, 535 channel_credentials, 536 insecure, 537 call_credentials, 538 compression, 539 wait_for_ready, 540 timeout, 541 metadata, 542 _registered_method=True)
Missing associated documentation comment in .proto file.
247 @staticmethod 248 def Create(request, 249 target, 250 options=(), 251 channel_credentials=None, 252 call_credentials=None, 253 insecure=False, 254 compression=None, 255 wait_for_ready=None, 256 timeout=None, 257 metadata=None): 258 return grpc.experimental.unary_unary( 259 request, 260 target, 261 '/content.spaces.Spaces/Create', 262 spaces_dot_spaces__pb2.CreateRequest.SerializeToString, 263 spaces_dot_spaces__pb2.CreateResponse.FromString, 264 options, 265 channel_credentials, 266 insecure, 267 call_credentials, 268 compression, 269 wait_for_ready, 270 timeout, 271 metadata, 272 _registered_method=True)
274 @staticmethod 275 def Get(request, 276 target, 277 options=(), 278 channel_credentials=None, 279 call_credentials=None, 280 insecure=False, 281 compression=None, 282 wait_for_ready=None, 283 timeout=None, 284 metadata=None): 285 return grpc.experimental.unary_unary( 286 request, 287 target, 288 '/content.spaces.Spaces/Get', 289 spaces_dot_spaces__pb2.GetRequest.SerializeToString, 290 spaces_dot_spaces__pb2.GetResponse.FromString, 291 options, 292 channel_credentials, 293 insecure, 294 call_credentials, 295 compression, 296 wait_for_ready, 297 timeout, 298 metadata, 299 _registered_method=True)
301 @staticmethod 302 def List(request, 303 target, 304 options=(), 305 channel_credentials=None, 306 call_credentials=None, 307 insecure=False, 308 compression=None, 309 wait_for_ready=None, 310 timeout=None, 311 metadata=None): 312 return grpc.experimental.unary_unary( 313 request, 314 target, 315 '/content.spaces.Spaces/List', 316 spaces_dot_spaces__pb2.ListRequest.SerializeToString, 317 spaces_dot_spaces__pb2.ListResponse.FromString, 318 options, 319 channel_credentials, 320 insecure, 321 call_credentials, 322 compression, 323 wait_for_ready, 324 timeout, 325 metadata, 326 _registered_method=True)
328 @staticmethod 329 def Find(request, 330 target, 331 options=(), 332 channel_credentials=None, 333 call_credentials=None, 334 insecure=False, 335 compression=None, 336 wait_for_ready=None, 337 timeout=None, 338 metadata=None): 339 return grpc.experimental.unary_unary( 340 request, 341 target, 342 '/content.spaces.Spaces/Find', 343 spaces_dot_spaces__pb2.FindRequest.SerializeToString, 344 spaces_dot_spaces__pb2.FindResponse.FromString, 345 options, 346 channel_credentials, 347 insecure, 348 call_credentials, 349 compression, 350 wait_for_ready, 351 timeout, 352 metadata, 353 _registered_method=True)
355 @staticmethod 356 def Update(request, 357 target, 358 options=(), 359 channel_credentials=None, 360 call_credentials=None, 361 insecure=False, 362 compression=None, 363 wait_for_ready=None, 364 timeout=None, 365 metadata=None): 366 return grpc.experimental.unary_unary( 367 request, 368 target, 369 '/content.spaces.Spaces/Update', 370 spaces_dot_spaces__pb2.UpdateRequest.SerializeToString, 371 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 372 options, 373 channel_credentials, 374 insecure, 375 call_credentials, 376 compression, 377 wait_for_ready, 378 timeout, 379 metadata, 380 _registered_method=True)
382 @staticmethod 383 def UpdateConfig(request, 384 target, 385 options=(), 386 channel_credentials=None, 387 call_credentials=None, 388 insecure=False, 389 compression=None, 390 wait_for_ready=None, 391 timeout=None, 392 metadata=None): 393 return grpc.experimental.unary_unary( 394 request, 395 target, 396 '/content.spaces.Spaces/UpdateConfig', 397 spaces_dot_spaces__pb2.UpdateConfigRequest.SerializeToString, 398 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 399 options, 400 channel_credentials, 401 insecure, 402 call_credentials, 403 compression, 404 wait_for_ready, 405 timeout, 406 metadata, 407 _registered_method=True)
409 @staticmethod 410 def Delete(request, 411 target, 412 options=(), 413 channel_credentials=None, 414 call_credentials=None, 415 insecure=False, 416 compression=None, 417 wait_for_ready=None, 418 timeout=None, 419 metadata=None): 420 return grpc.experimental.unary_unary( 421 request, 422 target, 423 '/content.spaces.Spaces/Delete', 424 spaces_dot_spaces__pb2.DeleteRequest.SerializeToString, 425 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 426 options, 427 channel_credentials, 428 insecure, 429 call_credentials, 430 compression, 431 wait_for_ready, 432 timeout, 433 metadata, 434 _registered_method=True)
436 @staticmethod 437 def Transfer(request, 438 target, 439 options=(), 440 channel_credentials=None, 441 call_credentials=None, 442 insecure=False, 443 compression=None, 444 wait_for_ready=None, 445 timeout=None, 446 metadata=None): 447 return grpc.experimental.unary_unary( 448 request, 449 target, 450 '/content.spaces.Spaces/Transfer', 451 spaces_dot_spaces__pb2.TransferRequest.SerializeToString, 452 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 453 options, 454 channel_credentials, 455 insecure, 456 call_credentials, 457 compression, 458 wait_for_ready, 459 timeout, 460 metadata, 461 _registered_method=True)
463 @staticmethod 464 def AbortTransfer(request, 465 target, 466 options=(), 467 channel_credentials=None, 468 call_credentials=None, 469 insecure=False, 470 compression=None, 471 wait_for_ready=None, 472 timeout=None, 473 metadata=None): 474 return grpc.experimental.unary_unary( 475 request, 476 target, 477 '/content.spaces.Spaces/AbortTransfer', 478 spaces_dot_spaces__pb2.AbortTransferRequest.SerializeToString, 479 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 480 options, 481 channel_credentials, 482 insecure, 483 call_credentials, 484 compression, 485 wait_for_ready, 486 timeout, 487 metadata, 488 _registered_method=True)
490 @staticmethod 491 def ListTransfers(request, 492 target, 493 options=(), 494 channel_credentials=None, 495 call_credentials=None, 496 insecure=False, 497 compression=None, 498 wait_for_ready=None, 499 timeout=None, 500 metadata=None): 501 return grpc.experimental.unary_unary( 502 request, 503 target, 504 '/content.spaces.Spaces/ListTransfers', 505 spaces_dot_spaces__pb2.ListTransfersRequest.SerializeToString, 506 spaces_dot_spaces__pb2.ListTransfersResponse.FromString, 507 options, 508 channel_credentials, 509 insecure, 510 call_credentials, 511 compression, 512 wait_for_ready, 513 timeout, 514 metadata, 515 _registered_method=True)
517 @staticmethod 518 def Move(request, 519 target, 520 options=(), 521 channel_credentials=None, 522 call_credentials=None, 523 insecure=False, 524 compression=None, 525 wait_for_ready=None, 526 timeout=None, 527 metadata=None): 528 return grpc.experimental.unary_unary( 529 request, 530 target, 531 '/content.spaces.Spaces/Move', 532 spaces_dot_spaces__pb2.MoveRequest.SerializeToString, 533 google_dot_protobuf_dot_empty__pb2.Empty.FromString, 534 options, 535 channel_credentials, 536 insecure, 537 call_credentials, 538 compression, 539 wait_for_ready, 540 timeout, 541 metadata, 542 _registered_method=True)