Sha256: bbfdb12ceb0fc1d55138e096df92b4760b91c26f344193c0d4c6523cc8ebb4a8
Contents?: true
Size: 1.86 KB
Versions: 4
Compression:
Stored size: 1.86 KB
Contents
# Copyright 2020 StrongDM Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Generated by the protocol buffer compiler. DO NOT EDIT! # Source: roles.proto for package 'v1' require "grpc" require "roles_pb" module V1 module Roles # Roles are tools for controlling user access to resources. Each Role holds a # list of resources which they grant access to. Composite roles are a special # type of Role which have no resource associations of their own, but instead # grant access to the combined resources associated with a set of child roles. # Each user can be a member of one Role or composite role. class Service include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = "v1.Roles" # Create registers a new Role. rpc :Create, ::V1::RoleCreateRequest, ::V1::RoleCreateResponse # Get reads one Role by ID. rpc :Get, ::V1::RoleGetRequest, ::V1::RoleGetResponse # Update patches a Role by ID. rpc :Update, ::V1::RoleUpdateRequest, ::V1::RoleUpdateResponse # Delete removes a Role by ID. rpc :Delete, ::V1::RoleDeleteRequest, ::V1::RoleDeleteResponse # List gets a list of Roles matching a given set of criteria. rpc :List, ::V1::RoleListRequest, ::V1::RoleListResponse end Stub = Service.rpc_stub_class end end
Version data entries
4 entries across 4 versions & 1 rubygems