// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/access_management/v1/keyapis_access_management_group_v1.proto // // Original file comments: // // Сервис реализует функционал управления доступом пользователями к ресурсам #pragma warning disable 0414, 1591 #region Designer generated code using grpc = global::Grpc.Core; namespace Keyapis.AccessManagement.V1 { /// /// Сервис управления доступом пользователей /// public static partial class GroupService { static readonly string __ServiceName = "keyapis.access_management.v1.GroupService"; [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) { #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION if (message is global::Google.Protobuf.IBufferMessage) { context.SetPayloadLength(message.CalculateSize()); global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); context.Complete(); return; } #endif context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static class __Helper_MessageCache { public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage { #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION if (__Helper_MessageCache.IsBufferMessage) { return parser.ParseFrom(context.PayloadAsReadOnlySequence()); } #endif return parser.ParseFrom(context.PayloadAsNewBuffer()); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupCountRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupCountResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_PostGroupRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.PostGroupRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_PostGroupResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.PostGroupResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_DeleteGroupRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.DeleteGroupRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_DeleteGroupResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.DeleteGroupResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_PostGroupByTemplateRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.PostGroupByTemplateRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_PostGroupByTemplateResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.PostGroupByTemplateResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_PutGroupUserAttachRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.PutGroupUserAttachRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_PutGroupUserAttachResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.PutGroupUserAttachResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_PutGroupUserDetachRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.PutGroupUserDetachRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_PutGroupUserDetachResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.PutGroupUserDetachResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupUserListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupUserListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupUserListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupUserListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupUserCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupUserCountRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupUserCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupUserCountResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupClaimListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupClaimListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupClaimListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupClaimListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupClaimCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupClaimCountRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupClaimCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupClaimCountResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupClaimExistRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupClaimExistRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_GetGroupClaimExistResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.GetGroupClaimExistResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_PutGroupApiKeyCreateRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.PutGroupApiKeyCreateRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_PutGroupApiKeyCreateResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.PutGroupApiKeyCreateResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_PutGroupApiKeyDeleteRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.PutGroupApiKeyDeleteRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_access_management_v1_PutGroupApiKeyDeleteResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.AccessManagement.V1.PutGroupApiKeyDeleteResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetGroup = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetGroup", __Marshaller_keyapis_access_management_v1_GetGroupRequest, __Marshaller_keyapis_access_management_v1_GetGroupResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetGroupList = new grpc::Method( grpc::MethodType.ServerStreaming, __ServiceName, "GetGroupList", __Marshaller_keyapis_access_management_v1_GetGroupListRequest, __Marshaller_keyapis_access_management_v1_GetGroupListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetGroupCount = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetGroupCount", __Marshaller_keyapis_access_management_v1_GetGroupCountRequest, __Marshaller_keyapis_access_management_v1_GetGroupCountResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PostGroup = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PostGroup", __Marshaller_keyapis_access_management_v1_PostGroupRequest, __Marshaller_keyapis_access_management_v1_PostGroupResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_DeleteGroup = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "DeleteGroup", __Marshaller_keyapis_access_management_v1_DeleteGroupRequest, __Marshaller_keyapis_access_management_v1_DeleteGroupResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PostGroupByTemplate = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PostGroupByTemplate", __Marshaller_keyapis_access_management_v1_PostGroupByTemplateRequest, __Marshaller_keyapis_access_management_v1_PostGroupByTemplateResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutGroupUserAttach = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutGroupUserAttach", __Marshaller_keyapis_access_management_v1_PutGroupUserAttachRequest, __Marshaller_keyapis_access_management_v1_PutGroupUserAttachResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutGroupUserDetach = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutGroupUserDetach", __Marshaller_keyapis_access_management_v1_PutGroupUserDetachRequest, __Marshaller_keyapis_access_management_v1_PutGroupUserDetachResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetGroupUserList = new grpc::Method( grpc::MethodType.ServerStreaming, __ServiceName, "GetGroupUserList", __Marshaller_keyapis_access_management_v1_GetGroupUserListRequest, __Marshaller_keyapis_access_management_v1_GetGroupUserListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetGroupUserCount = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetGroupUserCount", __Marshaller_keyapis_access_management_v1_GetGroupUserCountRequest, __Marshaller_keyapis_access_management_v1_GetGroupUserCountResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetGroupClaimList = new grpc::Method( grpc::MethodType.ServerStreaming, __ServiceName, "GetGroupClaimList", __Marshaller_keyapis_access_management_v1_GetGroupClaimListRequest, __Marshaller_keyapis_access_management_v1_GetGroupClaimListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetGroupClaimCount = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetGroupClaimCount", __Marshaller_keyapis_access_management_v1_GetGroupClaimCountRequest, __Marshaller_keyapis_access_management_v1_GetGroupClaimCountResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetGroupClaimExist = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetGroupClaimExist", __Marshaller_keyapis_access_management_v1_GetGroupClaimExistRequest, __Marshaller_keyapis_access_management_v1_GetGroupClaimExistResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutGroupApiKeyCreate = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutGroupApiKeyCreate", __Marshaller_keyapis_access_management_v1_PutGroupApiKeyCreateRequest, __Marshaller_keyapis_access_management_v1_PutGroupApiKeyCreateResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutGroupApiKeyDelete = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutGroupApiKeyDelete", __Marshaller_keyapis_access_management_v1_PutGroupApiKeyDeleteRequest, __Marshaller_keyapis_access_management_v1_PutGroupApiKeyDeleteResponse); /// Service descriptor public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor { get { return global::Keyapis.AccessManagement.V1.KeyapisAccessManagementGroupV1Reflection.Descriptor.Services[0]; } } /// Base class for server-side implementations of GroupService [grpc::BindServiceMethod(typeof(GroupService), "BindService")] public abstract partial class GroupServiceBase { /// /// Метод получения группы. /// Метод доступен для: admin, service, bti, seller /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetGroup(global::Keyapis.AccessManagement.V1.GetGroupRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения списка групп. /// Метод доступен для: admin, service, bti, seller /// /// The request received from the client. /// Used for sending responses back to the client. /// The context of the server-side call handler being invoked. /// A task indicating completion of the handler. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetGroupList(global::Keyapis.AccessManagement.V1.GetGroupListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения количества групп. /// Метод доступен для: admin, service, bti, seller /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetGroupCount(global::Keyapis.AccessManagement.V1.GetGroupCountRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод сохранения группы. /// Поддерживает создание и обновление как UPSERT по Group.id. /// Метод доступен для: admin, service /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PostGroup(global::Keyapis.AccessManagement.V1.PostGroupRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод удаления группы. /// Метод доступен для: admin, service /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task DeleteGroup(global::Keyapis.AccessManagement.V1.DeleteGroupRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод создания группы по шаблону. /// Метод доступен для: admin, service, bti, seller /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PostGroupByTemplate(global::Keyapis.AccessManagement.V1.PostGroupByTemplateRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод привязки пользователя к группе. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PutGroupUserAttach(global::Keyapis.AccessManagement.V1.PutGroupUserAttachRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод удаления привязки пользователя к группе. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PutGroupUserDetach(global::Keyapis.AccessManagement.V1.PutGroupUserDetachRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения списка связей пользователей и групп. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request received from the client. /// Used for sending responses back to the client. /// The context of the server-side call handler being invoked. /// A task indicating completion of the handler. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetGroupUserList(global::Keyapis.AccessManagement.V1.GetGroupUserListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения количества связей пользователей и групп. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetGroupUserCount(global::Keyapis.AccessManagement.V1.GetGroupUserCountRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения уникальных назначенных атрибутов пользователя. /// Метод также возвращает группы пользователя в виде атрибута (Claim) {key=GROUP_ID,value=Group.id}. /// Бизнес-пользователи получают только свои разрешения, поэтому для всех пользователей, кроме admin, owner, service, bti, seller игнорируются GroupClaimFilter.user_id, GroupClaimFilter.user_data, GroupClaimFilter.api_key_hash, а значения для них берутся из токена. /// Для admin, owner, service, bti, seller при наличии GroupClaimFilter.user_id отдаем разрешения для указанного GroupClaimFilter.user_id и GroupClaimFilter.user_data, при отсутствии GroupClaimFilter.user_id значения берутся из токена. /// Для admin, service при наличии GroupClaimFilter.api_key_hash возвращаем Claim с учетом только GroupClaimFilter.api_key_hash. /// Метод доступен для: admin, master, slave, owner, employee, service, bti, seller, external_seller, ltp_first, mrf, manager /// /// The request received from the client. /// Used for sending responses back to the client. /// The context of the server-side call handler being invoked. /// A task indicating completion of the handler. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetGroupClaimList(global::Keyapis.AccessManagement.V1.GetGroupClaimListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения количества уникальных назначенных атрибутов пользователя. /// Метод также сосчитает и атрибуты групп {key=GROUP_ID,value=Group.id}. /// Бизнес-пользователи получают только свои разрешения, поэтому для всех пользователей, кроме admin, owner, service, bti, seller игнорируются GroupClaimFilter.user_id, GroupClaimFilter.user_data, GroupClaimFilter.api_key_hash, а значения для них берутся из токена. /// Для admin, owner, service, bti, seller при наличии GroupClaimFilter.user_id отдаем разрешения для указанного GroupClaimFilter.user_id и GroupClaimFilter.user_data, при отсутствии GroupClaimFilter.user_id значения берутся из токена. /// Для admin, service при наличии GroupClaimFilter.api_key_hash возвращаем Claim с учетом только GroupClaimFilter.api_key_hash. /// Метод доступен для: admin, master, slave, owner, employee, service, bti, seller, external_seller, ltp_first, mrf, manager /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetGroupClaimCount(global::Keyapis.AccessManagement.V1.GetGroupClaimCountRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод проверки наличия назначенных атрибутов пользователя. /// Метод также проверит и атрибуты групп {key=GROUP_ID,value=Group.id}. /// Бизнес-пользователи получают только свои разрешения, поэтому для всех пользователей, кроме admin, owner, service, bti, seller игнорируются GroupClaimFilter.user_id, GroupClaimFilter.user_data, GroupClaimFilter.api_key_hash, а значения для них берутся из токена. /// Для admin, owner, service, bti, seller при наличии GroupClaimFilter.user_id отдаем разрешения для указанного GroupClaimFilter.user_id и GroupClaimFilter.user_data, при отсутствии GroupClaimFilter.user_id значения берутся из токена. /// Для admin, service при наличии GroupClaimFilter.api_key_hash возвращаем Claim с учетом только GroupClaimFilter.api_key_hash. /// Метод доступен для: admin, master, slave, owner, employee, service, bti, seller, external_seller, ltp_first, mrf, manager /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetGroupClaimExist(global::Keyapis.AccessManagement.V1.GetGroupClaimExistRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод добавления ключа доступа ApiKey. /// Метод доступен для: admin /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PutGroupApiKeyCreate(global::Keyapis.AccessManagement.V1.PutGroupApiKeyCreateRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод удаления ключей доступа ApiKey. /// Метод доступен для: admin /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PutGroupApiKeyDelete(global::Keyapis.AccessManagement.V1.PutGroupApiKeyDeleteRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } } /// Client for GroupService public partial class GroupServiceClient : grpc::ClientBase { /// Creates a new client for GroupService /// The channel to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public GroupServiceClient(grpc::ChannelBase channel) : base(channel) { } /// Creates a new client for GroupService that uses a custom CallInvoker. /// The callInvoker to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public GroupServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker) { } /// Protected parameterless constructor to allow creation of test doubles. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected GroupServiceClient() : base() { } /// Protected constructor to allow creation of configured clients. /// The client configuration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected GroupServiceClient(ClientBaseConfiguration configuration) : base(configuration) { } /// /// Метод получения группы. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.GetGroupResponse GetGroup(global::Keyapis.AccessManagement.V1.GetGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetGroup(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения группы. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.GetGroupResponse GetGroup(global::Keyapis.AccessManagement.V1.GetGroupRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetGroup, null, options, request); } /// /// Метод получения группы. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetGroupAsync(global::Keyapis.AccessManagement.V1.GetGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetGroupAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения группы. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetGroupAsync(global::Keyapis.AccessManagement.V1.GetGroupRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetGroup, null, options, request); } /// /// Метод получения списка групп. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall GetGroupList(global::Keyapis.AccessManagement.V1.GetGroupListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetGroupList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения списка групп. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall GetGroupList(global::Keyapis.AccessManagement.V1.GetGroupListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncServerStreamingCall(__Method_GetGroupList, null, options, request); } /// /// Метод получения количества групп. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.GetGroupCountResponse GetGroupCount(global::Keyapis.AccessManagement.V1.GetGroupCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetGroupCount(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества групп. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.GetGroupCountResponse GetGroupCount(global::Keyapis.AccessManagement.V1.GetGroupCountRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetGroupCount, null, options, request); } /// /// Метод получения количества групп. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetGroupCountAsync(global::Keyapis.AccessManagement.V1.GetGroupCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetGroupCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества групп. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetGroupCountAsync(global::Keyapis.AccessManagement.V1.GetGroupCountRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetGroupCount, null, options, request); } /// /// Метод сохранения группы. /// Поддерживает создание и обновление как UPSERT по Group.id. /// Метод доступен для: admin, service /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.PostGroupResponse PostGroup(global::Keyapis.AccessManagement.V1.PostGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostGroup(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод сохранения группы. /// Поддерживает создание и обновление как UPSERT по Group.id. /// Метод доступен для: admin, service /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.PostGroupResponse PostGroup(global::Keyapis.AccessManagement.V1.PostGroupRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PostGroup, null, options, request); } /// /// Метод сохранения группы. /// Поддерживает создание и обновление как UPSERT по Group.id. /// Метод доступен для: admin, service /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PostGroupAsync(global::Keyapis.AccessManagement.V1.PostGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostGroupAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод сохранения группы. /// Поддерживает создание и обновление как UPSERT по Group.id. /// Метод доступен для: admin, service /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PostGroupAsync(global::Keyapis.AccessManagement.V1.PostGroupRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PostGroup, null, options, request); } /// /// Метод удаления группы. /// Метод доступен для: admin, service /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.DeleteGroupResponse DeleteGroup(global::Keyapis.AccessManagement.V1.DeleteGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return DeleteGroup(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления группы. /// Метод доступен для: admin, service /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.DeleteGroupResponse DeleteGroup(global::Keyapis.AccessManagement.V1.DeleteGroupRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_DeleteGroup, null, options, request); } /// /// Метод удаления группы. /// Метод доступен для: admin, service /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall DeleteGroupAsync(global::Keyapis.AccessManagement.V1.DeleteGroupRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return DeleteGroupAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления группы. /// Метод доступен для: admin, service /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall DeleteGroupAsync(global::Keyapis.AccessManagement.V1.DeleteGroupRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_DeleteGroup, null, options, request); } /// /// Метод создания группы по шаблону. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.PostGroupByTemplateResponse PostGroupByTemplate(global::Keyapis.AccessManagement.V1.PostGroupByTemplateRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostGroupByTemplate(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод создания группы по шаблону. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.PostGroupByTemplateResponse PostGroupByTemplate(global::Keyapis.AccessManagement.V1.PostGroupByTemplateRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PostGroupByTemplate, null, options, request); } /// /// Метод создания группы по шаблону. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PostGroupByTemplateAsync(global::Keyapis.AccessManagement.V1.PostGroupByTemplateRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostGroupByTemplateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод создания группы по шаблону. /// Метод доступен для: admin, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PostGroupByTemplateAsync(global::Keyapis.AccessManagement.V1.PostGroupByTemplateRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PostGroupByTemplate, null, options, request); } /// /// Метод привязки пользователя к группе. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.PutGroupUserAttachResponse PutGroupUserAttach(global::Keyapis.AccessManagement.V1.PutGroupUserAttachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutGroupUserAttach(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод привязки пользователя к группе. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.PutGroupUserAttachResponse PutGroupUserAttach(global::Keyapis.AccessManagement.V1.PutGroupUserAttachRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutGroupUserAttach, null, options, request); } /// /// Метод привязки пользователя к группе. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutGroupUserAttachAsync(global::Keyapis.AccessManagement.V1.PutGroupUserAttachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutGroupUserAttachAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод привязки пользователя к группе. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutGroupUserAttachAsync(global::Keyapis.AccessManagement.V1.PutGroupUserAttachRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutGroupUserAttach, null, options, request); } /// /// Метод удаления привязки пользователя к группе. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.PutGroupUserDetachResponse PutGroupUserDetach(global::Keyapis.AccessManagement.V1.PutGroupUserDetachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutGroupUserDetach(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления привязки пользователя к группе. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.PutGroupUserDetachResponse PutGroupUserDetach(global::Keyapis.AccessManagement.V1.PutGroupUserDetachRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutGroupUserDetach, null, options, request); } /// /// Метод удаления привязки пользователя к группе. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutGroupUserDetachAsync(global::Keyapis.AccessManagement.V1.PutGroupUserDetachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutGroupUserDetachAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления привязки пользователя к группе. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutGroupUserDetachAsync(global::Keyapis.AccessManagement.V1.PutGroupUserDetachRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutGroupUserDetach, null, options, request); } /// /// Метод получения списка связей пользователей и групп. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall GetGroupUserList(global::Keyapis.AccessManagement.V1.GetGroupUserListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetGroupUserList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения списка связей пользователей и групп. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall GetGroupUserList(global::Keyapis.AccessManagement.V1.GetGroupUserListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncServerStreamingCall(__Method_GetGroupUserList, null, options, request); } /// /// Метод получения количества связей пользователей и групп. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.GetGroupUserCountResponse GetGroupUserCount(global::Keyapis.AccessManagement.V1.GetGroupUserCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetGroupUserCount(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества связей пользователей и групп. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.GetGroupUserCountResponse GetGroupUserCount(global::Keyapis.AccessManagement.V1.GetGroupUserCountRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetGroupUserCount, null, options, request); } /// /// Метод получения количества связей пользователей и групп. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetGroupUserCountAsync(global::Keyapis.AccessManagement.V1.GetGroupUserCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetGroupUserCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества связей пользователей и групп. /// Метод доступен для: admin, owner, service, bti, seller /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetGroupUserCountAsync(global::Keyapis.AccessManagement.V1.GetGroupUserCountRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetGroupUserCount, null, options, request); } /// /// Метод получения уникальных назначенных атрибутов пользователя. /// Метод также возвращает группы пользователя в виде атрибута (Claim) {key=GROUP_ID,value=Group.id}. /// Бизнес-пользователи получают только свои разрешения, поэтому для всех пользователей, кроме admin, owner, service, bti, seller игнорируются GroupClaimFilter.user_id, GroupClaimFilter.user_data, GroupClaimFilter.api_key_hash, а значения для них берутся из токена. /// Для admin, owner, service, bti, seller при наличии GroupClaimFilter.user_id отдаем разрешения для указанного GroupClaimFilter.user_id и GroupClaimFilter.user_data, при отсутствии GroupClaimFilter.user_id значения берутся из токена. /// Для admin, service при наличии GroupClaimFilter.api_key_hash возвращаем Claim с учетом только GroupClaimFilter.api_key_hash. /// Метод доступен для: admin, master, slave, owner, employee, service, bti, seller, external_seller, ltp_first, mrf, manager /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall GetGroupClaimList(global::Keyapis.AccessManagement.V1.GetGroupClaimListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetGroupClaimList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения уникальных назначенных атрибутов пользователя. /// Метод также возвращает группы пользователя в виде атрибута (Claim) {key=GROUP_ID,value=Group.id}. /// Бизнес-пользователи получают только свои разрешения, поэтому для всех пользователей, кроме admin, owner, service, bti, seller игнорируются GroupClaimFilter.user_id, GroupClaimFilter.user_data, GroupClaimFilter.api_key_hash, а значения для них берутся из токена. /// Для admin, owner, service, bti, seller при наличии GroupClaimFilter.user_id отдаем разрешения для указанного GroupClaimFilter.user_id и GroupClaimFilter.user_data, при отсутствии GroupClaimFilter.user_id значения берутся из токена. /// Для admin, service при наличии GroupClaimFilter.api_key_hash возвращаем Claim с учетом только GroupClaimFilter.api_key_hash. /// Метод доступен для: admin, master, slave, owner, employee, service, bti, seller, external_seller, ltp_first, mrf, manager /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall GetGroupClaimList(global::Keyapis.AccessManagement.V1.GetGroupClaimListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncServerStreamingCall(__Method_GetGroupClaimList, null, options, request); } /// /// Метод получения количества уникальных назначенных атрибутов пользователя. /// Метод также сосчитает и атрибуты групп {key=GROUP_ID,value=Group.id}. /// Бизнес-пользователи получают только свои разрешения, поэтому для всех пользователей, кроме admin, owner, service, bti, seller игнорируются GroupClaimFilter.user_id, GroupClaimFilter.user_data, GroupClaimFilter.api_key_hash, а значения для них берутся из токена. /// Для admin, owner, service, bti, seller при наличии GroupClaimFilter.user_id отдаем разрешения для указанного GroupClaimFilter.user_id и GroupClaimFilter.user_data, при отсутствии GroupClaimFilter.user_id значения берутся из токена. /// Для admin, service при наличии GroupClaimFilter.api_key_hash возвращаем Claim с учетом только GroupClaimFilter.api_key_hash. /// Метод доступен для: admin, master, slave, owner, employee, service, bti, seller, external_seller, ltp_first, mrf, manager /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.GetGroupClaimCountResponse GetGroupClaimCount(global::Keyapis.AccessManagement.V1.GetGroupClaimCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetGroupClaimCount(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества уникальных назначенных атрибутов пользователя. /// Метод также сосчитает и атрибуты групп {key=GROUP_ID,value=Group.id}. /// Бизнес-пользователи получают только свои разрешения, поэтому для всех пользователей, кроме admin, owner, service, bti, seller игнорируются GroupClaimFilter.user_id, GroupClaimFilter.user_data, GroupClaimFilter.api_key_hash, а значения для них берутся из токена. /// Для admin, owner, service, bti, seller при наличии GroupClaimFilter.user_id отдаем разрешения для указанного GroupClaimFilter.user_id и GroupClaimFilter.user_data, при отсутствии GroupClaimFilter.user_id значения берутся из токена. /// Для admin, service при наличии GroupClaimFilter.api_key_hash возвращаем Claim с учетом только GroupClaimFilter.api_key_hash. /// Метод доступен для: admin, master, slave, owner, employee, service, bti, seller, external_seller, ltp_first, mrf, manager /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.GetGroupClaimCountResponse GetGroupClaimCount(global::Keyapis.AccessManagement.V1.GetGroupClaimCountRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetGroupClaimCount, null, options, request); } /// /// Метод получения количества уникальных назначенных атрибутов пользователя. /// Метод также сосчитает и атрибуты групп {key=GROUP_ID,value=Group.id}. /// Бизнес-пользователи получают только свои разрешения, поэтому для всех пользователей, кроме admin, owner, service, bti, seller игнорируются GroupClaimFilter.user_id, GroupClaimFilter.user_data, GroupClaimFilter.api_key_hash, а значения для них берутся из токена. /// Для admin, owner, service, bti, seller при наличии GroupClaimFilter.user_id отдаем разрешения для указанного GroupClaimFilter.user_id и GroupClaimFilter.user_data, при отсутствии GroupClaimFilter.user_id значения берутся из токена. /// Для admin, service при наличии GroupClaimFilter.api_key_hash возвращаем Claim с учетом только GroupClaimFilter.api_key_hash. /// Метод доступен для: admin, master, slave, owner, employee, service, bti, seller, external_seller, ltp_first, mrf, manager /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetGroupClaimCountAsync(global::Keyapis.AccessManagement.V1.GetGroupClaimCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetGroupClaimCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества уникальных назначенных атрибутов пользователя. /// Метод также сосчитает и атрибуты групп {key=GROUP_ID,value=Group.id}. /// Бизнес-пользователи получают только свои разрешения, поэтому для всех пользователей, кроме admin, owner, service, bti, seller игнорируются GroupClaimFilter.user_id, GroupClaimFilter.user_data, GroupClaimFilter.api_key_hash, а значения для них берутся из токена. /// Для admin, owner, service, bti, seller при наличии GroupClaimFilter.user_id отдаем разрешения для указанного GroupClaimFilter.user_id и GroupClaimFilter.user_data, при отсутствии GroupClaimFilter.user_id значения берутся из токена. /// Для admin, service при наличии GroupClaimFilter.api_key_hash возвращаем Claim с учетом только GroupClaimFilter.api_key_hash. /// Метод доступен для: admin, master, slave, owner, employee, service, bti, seller, external_seller, ltp_first, mrf, manager /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetGroupClaimCountAsync(global::Keyapis.AccessManagement.V1.GetGroupClaimCountRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetGroupClaimCount, null, options, request); } /// /// Метод проверки наличия назначенных атрибутов пользователя. /// Метод также проверит и атрибуты групп {key=GROUP_ID,value=Group.id}. /// Бизнес-пользователи получают только свои разрешения, поэтому для всех пользователей, кроме admin, owner, service, bti, seller игнорируются GroupClaimFilter.user_id, GroupClaimFilter.user_data, GroupClaimFilter.api_key_hash, а значения для них берутся из токена. /// Для admin, owner, service, bti, seller при наличии GroupClaimFilter.user_id отдаем разрешения для указанного GroupClaimFilter.user_id и GroupClaimFilter.user_data, при отсутствии GroupClaimFilter.user_id значения берутся из токена. /// Для admin, service при наличии GroupClaimFilter.api_key_hash возвращаем Claim с учетом только GroupClaimFilter.api_key_hash. /// Метод доступен для: admin, master, slave, owner, employee, service, bti, seller, external_seller, ltp_first, mrf, manager /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.GetGroupClaimExistResponse GetGroupClaimExist(global::Keyapis.AccessManagement.V1.GetGroupClaimExistRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetGroupClaimExist(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод проверки наличия назначенных атрибутов пользователя. /// Метод также проверит и атрибуты групп {key=GROUP_ID,value=Group.id}. /// Бизнес-пользователи получают только свои разрешения, поэтому для всех пользователей, кроме admin, owner, service, bti, seller игнорируются GroupClaimFilter.user_id, GroupClaimFilter.user_data, GroupClaimFilter.api_key_hash, а значения для них берутся из токена. /// Для admin, owner, service, bti, seller при наличии GroupClaimFilter.user_id отдаем разрешения для указанного GroupClaimFilter.user_id и GroupClaimFilter.user_data, при отсутствии GroupClaimFilter.user_id значения берутся из токена. /// Для admin, service при наличии GroupClaimFilter.api_key_hash возвращаем Claim с учетом только GroupClaimFilter.api_key_hash. /// Метод доступен для: admin, master, slave, owner, employee, service, bti, seller, external_seller, ltp_first, mrf, manager /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.GetGroupClaimExistResponse GetGroupClaimExist(global::Keyapis.AccessManagement.V1.GetGroupClaimExistRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetGroupClaimExist, null, options, request); } /// /// Метод проверки наличия назначенных атрибутов пользователя. /// Метод также проверит и атрибуты групп {key=GROUP_ID,value=Group.id}. /// Бизнес-пользователи получают только свои разрешения, поэтому для всех пользователей, кроме admin, owner, service, bti, seller игнорируются GroupClaimFilter.user_id, GroupClaimFilter.user_data, GroupClaimFilter.api_key_hash, а значения для них берутся из токена. /// Для admin, owner, service, bti, seller при наличии GroupClaimFilter.user_id отдаем разрешения для указанного GroupClaimFilter.user_id и GroupClaimFilter.user_data, при отсутствии GroupClaimFilter.user_id значения берутся из токена. /// Для admin, service при наличии GroupClaimFilter.api_key_hash возвращаем Claim с учетом только GroupClaimFilter.api_key_hash. /// Метод доступен для: admin, master, slave, owner, employee, service, bti, seller, external_seller, ltp_first, mrf, manager /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetGroupClaimExistAsync(global::Keyapis.AccessManagement.V1.GetGroupClaimExistRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetGroupClaimExistAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод проверки наличия назначенных атрибутов пользователя. /// Метод также проверит и атрибуты групп {key=GROUP_ID,value=Group.id}. /// Бизнес-пользователи получают только свои разрешения, поэтому для всех пользователей, кроме admin, owner, service, bti, seller игнорируются GroupClaimFilter.user_id, GroupClaimFilter.user_data, GroupClaimFilter.api_key_hash, а значения для них берутся из токена. /// Для admin, owner, service, bti, seller при наличии GroupClaimFilter.user_id отдаем разрешения для указанного GroupClaimFilter.user_id и GroupClaimFilter.user_data, при отсутствии GroupClaimFilter.user_id значения берутся из токена. /// Для admin, service при наличии GroupClaimFilter.api_key_hash возвращаем Claim с учетом только GroupClaimFilter.api_key_hash. /// Метод доступен для: admin, master, slave, owner, employee, service, bti, seller, external_seller, ltp_first, mrf, manager /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetGroupClaimExistAsync(global::Keyapis.AccessManagement.V1.GetGroupClaimExistRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetGroupClaimExist, null, options, request); } /// /// Метод добавления ключа доступа ApiKey. /// Метод доступен для: admin /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.PutGroupApiKeyCreateResponse PutGroupApiKeyCreate(global::Keyapis.AccessManagement.V1.PutGroupApiKeyCreateRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutGroupApiKeyCreate(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод добавления ключа доступа ApiKey. /// Метод доступен для: admin /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.PutGroupApiKeyCreateResponse PutGroupApiKeyCreate(global::Keyapis.AccessManagement.V1.PutGroupApiKeyCreateRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutGroupApiKeyCreate, null, options, request); } /// /// Метод добавления ключа доступа ApiKey. /// Метод доступен для: admin /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutGroupApiKeyCreateAsync(global::Keyapis.AccessManagement.V1.PutGroupApiKeyCreateRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutGroupApiKeyCreateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод добавления ключа доступа ApiKey. /// Метод доступен для: admin /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutGroupApiKeyCreateAsync(global::Keyapis.AccessManagement.V1.PutGroupApiKeyCreateRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutGroupApiKeyCreate, null, options, request); } /// /// Метод удаления ключей доступа ApiKey. /// Метод доступен для: admin /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.PutGroupApiKeyDeleteResponse PutGroupApiKeyDelete(global::Keyapis.AccessManagement.V1.PutGroupApiKeyDeleteRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutGroupApiKeyDelete(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления ключей доступа ApiKey. /// Метод доступен для: admin /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.AccessManagement.V1.PutGroupApiKeyDeleteResponse PutGroupApiKeyDelete(global::Keyapis.AccessManagement.V1.PutGroupApiKeyDeleteRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutGroupApiKeyDelete, null, options, request); } /// /// Метод удаления ключей доступа ApiKey. /// Метод доступен для: admin /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutGroupApiKeyDeleteAsync(global::Keyapis.AccessManagement.V1.PutGroupApiKeyDeleteRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutGroupApiKeyDeleteAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления ключей доступа ApiKey. /// Метод доступен для: admin /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutGroupApiKeyDeleteAsync(global::Keyapis.AccessManagement.V1.PutGroupApiKeyDeleteRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutGroupApiKeyDelete, null, options, request); } /// Creates a new instance of client from given ClientBaseConfiguration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected override GroupServiceClient NewInstance(ClientBaseConfiguration configuration) { return new GroupServiceClient(configuration); } } /// Creates service definition that can be registered with a server /// An object implementing the server-side handling logic. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public static grpc::ServerServiceDefinition BindService(GroupServiceBase serviceImpl) { return grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_GetGroup, serviceImpl.GetGroup) .AddMethod(__Method_GetGroupList, serviceImpl.GetGroupList) .AddMethod(__Method_GetGroupCount, serviceImpl.GetGroupCount) .AddMethod(__Method_PostGroup, serviceImpl.PostGroup) .AddMethod(__Method_DeleteGroup, serviceImpl.DeleteGroup) .AddMethod(__Method_PostGroupByTemplate, serviceImpl.PostGroupByTemplate) .AddMethod(__Method_PutGroupUserAttach, serviceImpl.PutGroupUserAttach) .AddMethod(__Method_PutGroupUserDetach, serviceImpl.PutGroupUserDetach) .AddMethod(__Method_GetGroupUserList, serviceImpl.GetGroupUserList) .AddMethod(__Method_GetGroupUserCount, serviceImpl.GetGroupUserCount) .AddMethod(__Method_GetGroupClaimList, serviceImpl.GetGroupClaimList) .AddMethod(__Method_GetGroupClaimCount, serviceImpl.GetGroupClaimCount) .AddMethod(__Method_GetGroupClaimExist, serviceImpl.GetGroupClaimExist) .AddMethod(__Method_PutGroupApiKeyCreate, serviceImpl.PutGroupApiKeyCreate) .AddMethod(__Method_PutGroupApiKeyDelete, serviceImpl.PutGroupApiKeyDelete).Build(); } /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. /// Note: this method is part of an experimental API that can change or be removed without any prior notice. /// Service methods will be bound by calling AddMethod on this object. /// An object implementing the server-side handling logic. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public static void BindService(grpc::ServiceBinderBase serviceBinder, GroupServiceBase serviceImpl) { serviceBinder.AddMethod(__Method_GetGroup, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetGroup)); serviceBinder.AddMethod(__Method_GetGroupList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetGroupList)); serviceBinder.AddMethod(__Method_GetGroupCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetGroupCount)); serviceBinder.AddMethod(__Method_PostGroup, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostGroup)); serviceBinder.AddMethod(__Method_DeleteGroup, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteGroup)); serviceBinder.AddMethod(__Method_PostGroupByTemplate, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostGroupByTemplate)); serviceBinder.AddMethod(__Method_PutGroupUserAttach, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutGroupUserAttach)); serviceBinder.AddMethod(__Method_PutGroupUserDetach, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutGroupUserDetach)); serviceBinder.AddMethod(__Method_GetGroupUserList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetGroupUserList)); serviceBinder.AddMethod(__Method_GetGroupUserCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetGroupUserCount)); serviceBinder.AddMethod(__Method_GetGroupClaimList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetGroupClaimList)); serviceBinder.AddMethod(__Method_GetGroupClaimCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetGroupClaimCount)); serviceBinder.AddMethod(__Method_GetGroupClaimExist, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetGroupClaimExist)); serviceBinder.AddMethod(__Method_PutGroupApiKeyCreate, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutGroupApiKeyCreate)); serviceBinder.AddMethod(__Method_PutGroupApiKeyDelete, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutGroupApiKeyDelete)); } } } #endregion