Sha256: b5f51a4885933001fb4bd75aed4688857f28f7b1d7d6b364fe0eb3e04e715903

Contents?: true

Size: 1.79 KB

Versions: 51

Compression:

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

require "grpc"
require "resources_pb"

module V1
  module Resources
    # Resources are databases, servers, clusters, websites, or clouds that strongDM
    # delegates access to.
    class Service
      include GRPC::GenericService

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

      # EnumerateTags gets a list of the filter matching tags.
      rpc :EnumerateTags, V1::EnumerateTagsRequest, V1::EnumerateTagsResponse
      # Create registers a new Resource.
      rpc :Create, V1::ResourceCreateRequest, V1::ResourceCreateResponse
      # Get reads one Resource by ID.
      rpc :Get, V1::ResourceGetRequest, V1::ResourceGetResponse
      # Update replaces all the fields of a Resource by ID.
      rpc :Update, V1::ResourceUpdateRequest, V1::ResourceUpdateResponse
      # Delete removes a Resource by ID.
      rpc :Delete, V1::ResourceDeleteRequest, V1::ResourceDeleteResponse
      # List gets a list of Resources matching a given set of criteria.
      rpc :List, V1::ResourceListRequest, V1::ResourceListResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
strongdm-5.0.3 ./lib/grpc/resources_services_pb.rb
strongdm-5.0.2 ./lib/grpc/resources_services_pb.rb
strongdm-5.0.1 ./lib/grpc/resources_services_pb.rb
strongdm-5.0.0 ./lib/grpc/resources_services_pb.rb
strongdm-4.8.0 ./lib/grpc/resources_services_pb.rb
strongdm-4.7.0 ./lib/grpc/resources_services_pb.rb
strongdm-4.6.1 ./lib/grpc/resources_services_pb.rb
strongdm-4.6.0 ./lib/grpc/resources_services_pb.rb
strongdm-4.5.1 ./lib/grpc/resources_services_pb.rb
strongdm-4.5.0 ./lib/grpc/resources_services_pb.rb
strongdm-4.4.2 ./lib/grpc/resources_services_pb.rb
strongdm-4.4.1 ./lib/grpc/resources_services_pb.rb
strongdm-4.4.0 ./lib/grpc/resources_services_pb.rb
strongdm-4.3.0 ./lib/grpc/resources_services_pb.rb
strongdm-4.2.0 ./lib/grpc/resources_services_pb.rb
strongdm-4.1.0 ./lib/grpc/resources_services_pb.rb
strongdm-4.0.0 ./lib/grpc/resources_services_pb.rb
strongdm-3.19.0 ./lib/grpc/resources_services_pb.rb
strongdm-3.18.0 ./lib/grpc/resources_services_pb.rb
strongdm-3.17.0 ./lib/grpc/resources_services_pb.rb