Sha256: 69a1084a61d03199ffd673ac4e29f897cde4e034b57716b0cc34ff5f1c71090c

Contents?: true

Size: 1.88 KB

Versions: 45

Compression:

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

require "grpc"
require "approval_workflows_pb"

module V1
  module ApprovalWorkflows
    # ApprovalWorkflows are the mechanism by which requests for access can be viewed by authorized
    # approvers and be approved or denied.
    class Service
      include ::GRPC::GenericService

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

      # Create creates a new approval workflow and requires a name and approval mode for the approval workflow.
      rpc :Create, ::V1::ApprovalWorkflowCreateRequest, ::V1::ApprovalWorkflowCreateResponse
      # Get reads one approval workflow by ID.
      rpc :Get, ::V1::ApprovalWorkflowGetRequest, ::V1::ApprovalWorkflowGetResponse
      # Delete deletes an existing approval workflow.
      rpc :Delete, ::V1::ApprovalWorkflowDeleteRequest, ::V1::ApprovalWorkflowDeleteResponse
      # Update updates an existing approval workflow.
      rpc :Update, ::V1::ApprovalWorkflowUpdateRequest, ::V1::ApprovalWorkflowUpdateResponse
      # Lists existing approval workflows.
      rpc :List, ::V1::ApprovalWorkflowListRequest, ::V1::ApprovalWorkflowListResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
strongdm-8.1.0 ./lib/grpc/approval_workflows_services_pb.rb
strongdm-8.0.0 ./lib/grpc/approval_workflows_services_pb.rb
strongdm-7.1.0 ./lib/grpc/approval_workflows_services_pb.rb
strongdm-7.0.0 ./lib/grpc/approval_workflows_services_pb.rb
strongdm-6.9.0 ./lib/grpc/approval_workflows_services_pb.rb