|
10 | 10 | from cs3.identity.group.v1beta1 import group_api_pb2 as cs3_dot_identity_dot_group_dot_v1beta1_dot_group__api__pb2 |
11 | 11 | from cs3.identity.user.v1beta1 import user_api_pb2 as cs3_dot_identity_dot_user_dot_v1beta1_dot_user__api__pb2 |
12 | 12 | from cs3.ocm.core.v1beta1 import ocm_core_api_pb2 as cs3_dot_ocm_dot_core_dot_v1beta1_dot_ocm__core__api__pb2 |
| 13 | +from cs3.ocm.incoming.v1beta1 import ocm_incoming_api_pb2 as cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2 |
13 | 14 | from cs3.ocm.invite.v1beta1 import invite_api_pb2 as cs3_dot_ocm_dot_invite_dot_v1beta1_dot_invite__api__pb2 |
14 | 15 | from cs3.ocm.provider.v1beta1 import provider_api_pb2 as cs3_dot_ocm_dot_provider_dot_v1beta1_dot_provider__api__pb2 |
15 | 16 | from cs3.permissions.v1beta1 import permissions_api_pb2 as cs3_dot_permissions_dot_v1beta1_dot_permissions__api__pb2 |
@@ -511,6 +512,21 @@ def __init__(self, channel): |
511 | 512 | request_serializer=cs3_dot_ocm_dot_provider_dot_v1beta1_dot_provider__api__pb2.ListAllProvidersRequest.SerializeToString, |
512 | 513 | response_deserializer=cs3_dot_ocm_dot_provider_dot_v1beta1_dot_provider__api__pb2.ListAllProvidersResponse.FromString, |
513 | 514 | ) |
| 515 | + self.CreateOCMIncomingShare = channel.unary_unary( |
| 516 | + '/cs3.gateway.v1beta1.GatewayAPI/CreateOCMIncomingShare', |
| 517 | + request_serializer=cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.CreateOCMIncomingShareRequest.SerializeToString, |
| 518 | + response_deserializer=cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.CreateOCMIncomingShareResponse.FromString, |
| 519 | + ) |
| 520 | + self.UpdateOCMIncomingShare = channel.unary_unary( |
| 521 | + '/cs3.gateway.v1beta1.GatewayAPI/UpdateOCMIncomingShare', |
| 522 | + request_serializer=cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.UpdateOCMIncomingShareRequest.SerializeToString, |
| 523 | + response_deserializer=cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.UpdateOCMIncomingShareResponse.FromString, |
| 524 | + ) |
| 525 | + self.DeleteOCMIncomingShare = channel.unary_unary( |
| 526 | + '/cs3.gateway.v1beta1.GatewayAPI/DeleteOCMIncomingShare', |
| 527 | + request_serializer=cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.DeleteOCMIncomingShareRequest.SerializeToString, |
| 528 | + response_deserializer=cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.DeleteOCMIncomingShareResponse.FromString, |
| 529 | + ) |
514 | 530 | self.CreateOCMCoreShare = channel.unary_unary( |
515 | 531 | '/cs3.gateway.v1beta1.GatewayAPI/CreateOCMCoreShare', |
516 | 532 | request_serializer=cs3_dot_ocm_dot_core_dot_v1beta1_dot_ocm__core__api__pb2.CreateOCMCoreShareRequest.SerializeToString, |
@@ -1364,29 +1380,50 @@ def GetInfoByDomain(self, request, context): |
1364 | 1380 | def ListAllProviders(self, request, context): |
1365 | 1381 | """Get the information of all the providers registered in the mesh. |
1366 | 1382 | *****************************************************************/ |
1367 | | - **************************** OCM CORE ***************************/ |
| 1383 | + **************************** OCM INCOMING ***********************/ |
1368 | 1384 | *****************************************************************/ |
1369 | 1385 | """ |
1370 | 1386 | context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
1371 | 1387 | context.set_details('Method not implemented!') |
1372 | 1388 | raise NotImplementedError('Method not implemented!') |
1373 | 1389 |
|
| 1390 | + def CreateOCMIncomingShare(self, request, context): |
| 1391 | + """Creates a new incoming OCM share. |
| 1392 | + """ |
| 1393 | + context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 1394 | + context.set_details('Method not implemented!') |
| 1395 | + raise NotImplementedError('Method not implemented!') |
| 1396 | + |
| 1397 | + def UpdateOCMIncomingShare(self, request, context): |
| 1398 | + """Updates an incoming OCM share. |
| 1399 | + """ |
| 1400 | + context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 1401 | + context.set_details('Method not implemented!') |
| 1402 | + raise NotImplementedError('Method not implemented!') |
| 1403 | + |
| 1404 | + def DeleteOCMIncomingShare(self, request, context): |
| 1405 | + """Deletes an incoming OCM share. |
| 1406 | + """ |
| 1407 | + context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 1408 | + context.set_details('Method not implemented!') |
| 1409 | + raise NotImplementedError('Method not implemented!') |
| 1410 | + |
1374 | 1411 | def CreateOCMCoreShare(self, request, context): |
1375 | | - """Creates a new OCM share. |
| 1412 | + """Deprecated. Creates a new OCM share. |
1376 | 1413 | """ |
1377 | 1414 | context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
1378 | 1415 | context.set_details('Method not implemented!') |
1379 | 1416 | raise NotImplementedError('Method not implemented!') |
1380 | 1417 |
|
1381 | 1418 | def UpdateOCMCoreShare(self, request, context): |
1382 | | - """Updates an OCM share. |
| 1419 | + """Deprecated. Updates an OCM share. |
1383 | 1420 | """ |
1384 | 1421 | context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
1385 | 1422 | context.set_details('Method not implemented!') |
1386 | 1423 | raise NotImplementedError('Method not implemented!') |
1387 | 1424 |
|
1388 | 1425 | def DeleteOCMCoreShare(self, request, context): |
1389 | | - """Deletes an OCM share. |
| 1426 | + """Deprecated. Deletes an OCM share. |
1390 | 1427 | *****************************************************************/ |
1391 | 1428 | ************************** FILE TRANSFER ************************/ |
1392 | 1429 | *****************************************************************/ |
@@ -1903,6 +1940,21 @@ def add_GatewayAPIServicer_to_server(servicer, server): |
1903 | 1940 | request_deserializer=cs3_dot_ocm_dot_provider_dot_v1beta1_dot_provider__api__pb2.ListAllProvidersRequest.FromString, |
1904 | 1941 | response_serializer=cs3_dot_ocm_dot_provider_dot_v1beta1_dot_provider__api__pb2.ListAllProvidersResponse.SerializeToString, |
1905 | 1942 | ), |
| 1943 | + 'CreateOCMIncomingShare': grpc.unary_unary_rpc_method_handler( |
| 1944 | + servicer.CreateOCMIncomingShare, |
| 1945 | + request_deserializer=cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.CreateOCMIncomingShareRequest.FromString, |
| 1946 | + response_serializer=cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.CreateOCMIncomingShareResponse.SerializeToString, |
| 1947 | + ), |
| 1948 | + 'UpdateOCMIncomingShare': grpc.unary_unary_rpc_method_handler( |
| 1949 | + servicer.UpdateOCMIncomingShare, |
| 1950 | + request_deserializer=cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.UpdateOCMIncomingShareRequest.FromString, |
| 1951 | + response_serializer=cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.UpdateOCMIncomingShareResponse.SerializeToString, |
| 1952 | + ), |
| 1953 | + 'DeleteOCMIncomingShare': grpc.unary_unary_rpc_method_handler( |
| 1954 | + servicer.DeleteOCMIncomingShare, |
| 1955 | + request_deserializer=cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.DeleteOCMIncomingShareRequest.FromString, |
| 1956 | + response_serializer=cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.DeleteOCMIncomingShareResponse.SerializeToString, |
| 1957 | + ), |
1906 | 1958 | 'CreateOCMCoreShare': grpc.unary_unary_rpc_method_handler( |
1907 | 1959 | servicer.CreateOCMCoreShare, |
1908 | 1960 | request_deserializer=cs3_dot_ocm_dot_core_dot_v1beta1_dot_ocm__core__api__pb2.CreateOCMCoreShareRequest.FromString, |
@@ -3542,6 +3594,57 @@ def ListAllProviders(request, |
3542 | 3594 | options, channel_credentials, |
3543 | 3595 | insecure, call_credentials, compression, wait_for_ready, timeout, metadata) |
3544 | 3596 |
|
| 3597 | + @staticmethod |
| 3598 | + def CreateOCMIncomingShare(request, |
| 3599 | + target, |
| 3600 | + options=(), |
| 3601 | + channel_credentials=None, |
| 3602 | + call_credentials=None, |
| 3603 | + insecure=False, |
| 3604 | + compression=None, |
| 3605 | + wait_for_ready=None, |
| 3606 | + timeout=None, |
| 3607 | + metadata=None): |
| 3608 | + return grpc.experimental.unary_unary(request, target, '/cs3.gateway.v1beta1.GatewayAPI/CreateOCMIncomingShare', |
| 3609 | + cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.CreateOCMIncomingShareRequest.SerializeToString, |
| 3610 | + cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.CreateOCMIncomingShareResponse.FromString, |
| 3611 | + options, channel_credentials, |
| 3612 | + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) |
| 3613 | + |
| 3614 | + @staticmethod |
| 3615 | + def UpdateOCMIncomingShare(request, |
| 3616 | + target, |
| 3617 | + options=(), |
| 3618 | + channel_credentials=None, |
| 3619 | + call_credentials=None, |
| 3620 | + insecure=False, |
| 3621 | + compression=None, |
| 3622 | + wait_for_ready=None, |
| 3623 | + timeout=None, |
| 3624 | + metadata=None): |
| 3625 | + return grpc.experimental.unary_unary(request, target, '/cs3.gateway.v1beta1.GatewayAPI/UpdateOCMIncomingShare', |
| 3626 | + cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.UpdateOCMIncomingShareRequest.SerializeToString, |
| 3627 | + cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.UpdateOCMIncomingShareResponse.FromString, |
| 3628 | + options, channel_credentials, |
| 3629 | + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) |
| 3630 | + |
| 3631 | + @staticmethod |
| 3632 | + def DeleteOCMIncomingShare(request, |
| 3633 | + target, |
| 3634 | + options=(), |
| 3635 | + channel_credentials=None, |
| 3636 | + call_credentials=None, |
| 3637 | + insecure=False, |
| 3638 | + compression=None, |
| 3639 | + wait_for_ready=None, |
| 3640 | + timeout=None, |
| 3641 | + metadata=None): |
| 3642 | + return grpc.experimental.unary_unary(request, target, '/cs3.gateway.v1beta1.GatewayAPI/DeleteOCMIncomingShare', |
| 3643 | + cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.DeleteOCMIncomingShareRequest.SerializeToString, |
| 3644 | + cs3_dot_ocm_dot_incoming_dot_v1beta1_dot_ocm__incoming__api__pb2.DeleteOCMIncomingShareResponse.FromString, |
| 3645 | + options, channel_credentials, |
| 3646 | + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) |
| 3647 | + |
3545 | 3648 | @staticmethod |
3546 | 3649 | def CreateOCMCoreShare(request, |
3547 | 3650 | target, |
|
0 commit comments