Sha256: ccd998c1a787f3e511a0c63d30f6ce9b4d807159412d7dde751589425668fe6a

Contents?: true

Size: 1.8 KB

Versions: 16

Compression:

Stored size: 1.8 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: role_attachments.proto for package 'v1'

require "grpc"
require "role_attachments_pb"

module V1
  module RoleAttachments
    # RoleAttachments represent relationships between composite roles and the roles
    # that make up those composite roles. When a composite role is attached to another
    # role, the permissions granted to members of the composite role are augmented to
    # include the permissions granted to members of the attached role.
    class Service
      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = "v1.RoleAttachments"

      # Create registers a new RoleAttachment.
      rpc :Create, RoleAttachmentCreateRequest, RoleAttachmentCreateResponse
      # Get reads one RoleAttachment by ID.
      rpc :Get, RoleAttachmentGetRequest, RoleAttachmentGetResponse
      # Delete removes a RoleAttachment by ID.
      rpc :Delete, RoleAttachmentDeleteRequest, RoleAttachmentDeleteResponse
      # List gets a list of RoleAttachments matching a given set of criteria.
      rpc :List, RoleAttachmentListRequest, RoleAttachmentListResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
strongdm-1.0.31 ./lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.30 ./lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.24 lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.22 lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.21 lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.19 lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.18 lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.15 lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.14 lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.13 lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.12 lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.8 lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.7 lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.5 lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.2 lib/grpc/role_attachments_services_pb.rb
strongdm-1.0.1 lib/grpc/role_attachments_services_pb.rb