# 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 require "google/protobuf" require "options_pb" require "spec_pb" Google::Protobuf::DescriptorPool.generated_pool.build do add_file("workflows.proto", :syntax => :proto3) do add_message "v1.WorkflowCreateRequest" do optional :meta, :message, 1, "v1.CreateRequestMetadata" optional :workflow, :message, 2, "v1.Workflow" end add_message "v1.WorkflowCreateResponse" do optional :meta, :message, 1, "v1.CreateResponseMetadata" optional :workflow, :message, 2, "v1.Workflow" optional :rate_limit, :message, 3, "v1.RateLimitMetadata" end add_message "v1.WorkflowGetRequest" do optional :meta, :message, 1, "v1.GetRequestMetadata" optional :id, :string, 2 end add_message "v1.WorkflowGetResponse" do optional :meta, :message, 1, "v1.GetResponseMetadata" optional :workflow, :message, 2, "v1.Workflow" optional :rate_limit, :message, 3, "v1.RateLimitMetadata" end add_message "v1.WorkflowUpdateRequest" do optional :meta, :message, 1, "v1.UpdateRequestMetadata" optional :workflow, :message, 2, "v1.Workflow" end add_message "v1.WorkflowUpdateResponse" do optional :meta, :message, 1, "v1.UpdateResponseMetadata" optional :workflow, :message, 2, "v1.Workflow" optional :rate_limit, :message, 3, "v1.RateLimitMetadata" end add_message "v1.WorkflowDeleteRequest" do optional :meta, :message, 1, "v1.DeleteRequestMetadata" optional :id, :string, 2 end add_message "v1.WorkflowDeleteResponse" do optional :meta, :message, 1, "v1.DeleteResponseMetadata" optional :id, :string, 2 optional :rate_limit, :message, 3, "v1.RateLimitMetadata" end add_message "v1.WorkflowListRequest" do optional :meta, :message, 1, "v1.ListRequestMetadata" optional :filter, :string, 2 end add_message "v1.WorkflowListResponse" do optional :meta, :message, 1, "v1.ListResponseMetadata" repeated :workflows, :message, 2, "v1.Workflow" optional :rate_limit, :message, 3, "v1.RateLimitMetadata" end add_message "v1.Workflow" do optional :id, :string, 1 optional :name, :string, 2 optional :description, :string, 3 optional :weight, :int64, 4 optional :auto_grant, :bool, 5 optional :enabled, :bool, 6 optional :requires_reason, :bool, 7 optional :access_rules, :string, 8 optional :approval_flow_id, :string, 9 end end end module V1 WorkflowCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowCreateRequest").msgclass WorkflowCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowCreateResponse").msgclass WorkflowGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowGetRequest").msgclass WorkflowGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowGetResponse").msgclass WorkflowUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowUpdateRequest").msgclass WorkflowUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowUpdateResponse").msgclass WorkflowDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowDeleteRequest").msgclass WorkflowDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowDeleteResponse").msgclass WorkflowListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowListRequest").msgclass WorkflowListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowListResponse").msgclass Workflow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Workflow").msgclass end