Sha256: 8d09ab2c368db31c4833cd42205443a1796f39bc97f0923fbc245394bcbee97d

Contents?: true

Size: 1.58 KB

Versions: 3

Compression:

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

require 'grpc'
require 'account_grants_pb'

module V1
  module AccountGrants
    # AccountGrants assign a resource directly to an account, giving the account the permission to connect to that resource.
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'v1.AccountGrants'

      # Create registers a new AccountGrant.
      rpc :Create, AccountGrantCreateRequest, AccountGrantCreateResponse
      # Get reads one AccountGrant by ID.
      rpc :Get, AccountGrantGetRequest, AccountGrantGetResponse
      # Delete removes a AccountGrant by ID.
      rpc :Delete, AccountGrantDeleteRequest, AccountGrantDeleteResponse
      # List gets a list of AccountGrants matching a given set of criteria.
      rpc :List, AccountGrantListRequest, AccountGrantListResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
strongdm-1.0.11 lib/grpc/account_grants_services_pb.rb
strongdm-1.0.10 lib/grpc/account_grants_services_pb.rb
strongdm-1.0.3 lib/grpc/account_grants_services_pb.rb