Sha256: 44196c1953f1a3f0c839f55167f8fd0f08da90ee2003aa0bf570632a8f102c54

Contents?: true

Size: 1.82 KB

Versions: 5

Compression:

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

require "grpc"
require "workflows_pb"

module V1
  module Workflows
    # Workflows are the collection of rules that define the resources to which access can be requested,
    # the users that can request that access, and the mechanism for approving those requests which can either
    # be automatic approval or a set of users authorized to approve the requests.
    class Service
      include GRPC::GenericService

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

      # Create creates a new workflow and requires a name for the workflow.
      rpc :Create, V1::WorkflowCreateRequest, V1::WorkflowCreateResponse
      # Get reads one workflow by ID.
      rpc :Get, V1::WorkflowGetRequest, V1::WorkflowGetResponse
      # Delete deletes an existing workflow.
      rpc :Delete, V1::WorkflowDeleteRequest, V1::WorkflowDeleteResponse
      # Update updates an existing workflow.
      rpc :Update, V1::WorkflowUpdateRequest, V1::WorkflowUpdateResponse
      # Lists existing workflows.
      rpc :List, V1::WorkflowListRequest, V1::WorkflowListResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
strongdm-5.0.3 ./lib/grpc/workflows_services_pb.rb
strongdm-5.0.2 ./lib/grpc/workflows_services_pb.rb
strongdm-5.0.1 ./lib/grpc/workflows_services_pb.rb
strongdm-5.0.0 ./lib/grpc/workflows_services_pb.rb
strongdm-4.8.0 ./lib/grpc/workflows_services_pb.rb