strongdm 6.8.0 → 6.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,91 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # source: approval_workflows.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "options_pb"
21
+ require "spec_pb"
22
+
23
+ Google::Protobuf::DescriptorPool.generated_pool.build do
24
+ add_file("approval_workflows.proto", :syntax => :proto3) do
25
+ add_message "v1.ApprovalWorkflowCreateRequest" do
26
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
27
+ optional :approval_workflow, :message, 2, "v1.ApprovalWorkflow"
28
+ end
29
+ add_message "v1.ApprovalWorkflowCreateResponse" do
30
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
31
+ optional :approval_workflow, :message, 2, "v1.ApprovalWorkflow"
32
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
33
+ end
34
+ add_message "v1.ApprovalWorkflowGetRequest" do
35
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
36
+ optional :id, :string, 2
37
+ end
38
+ add_message "v1.ApprovalWorkflowGetResponse" do
39
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
40
+ optional :approval_workflow, :message, 2, "v1.ApprovalWorkflow"
41
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
42
+ end
43
+ add_message "v1.ApprovalWorkflowUpdateRequest" do
44
+ optional :meta, :message, 1, "v1.UpdateRequestMetadata"
45
+ optional :approval_workflow, :message, 2, "v1.ApprovalWorkflow"
46
+ end
47
+ add_message "v1.ApprovalWorkflowUpdateResponse" do
48
+ optional :meta, :message, 1, "v1.UpdateResponseMetadata"
49
+ optional :approval_workflow, :message, 2, "v1.ApprovalWorkflow"
50
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
51
+ end
52
+ add_message "v1.ApprovalWorkflowDeleteRequest" do
53
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
54
+ optional :id, :string, 2
55
+ end
56
+ add_message "v1.ApprovalWorkflowDeleteResponse" do
57
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
58
+ optional :id, :string, 2
59
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
60
+ end
61
+ add_message "v1.ApprovalWorkflowListRequest" do
62
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
63
+ optional :filter, :string, 2
64
+ end
65
+ add_message "v1.ApprovalWorkflowListResponse" do
66
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
67
+ repeated :approval_workflows, :message, 2, "v1.ApprovalWorkflow"
68
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
69
+ end
70
+ add_message "v1.ApprovalWorkflow" do
71
+ optional :id, :string, 1
72
+ optional :name, :string, 2
73
+ optional :approval_mode, :string, 3
74
+ optional :description, :string, 4
75
+ end
76
+ end
77
+ end
78
+
79
+ module V1
80
+ ApprovalWorkflowCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowCreateRequest").msgclass
81
+ ApprovalWorkflowCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowCreateResponse").msgclass
82
+ ApprovalWorkflowGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowGetRequest").msgclass
83
+ ApprovalWorkflowGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowGetResponse").msgclass
84
+ ApprovalWorkflowUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowUpdateRequest").msgclass
85
+ ApprovalWorkflowUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowUpdateResponse").msgclass
86
+ ApprovalWorkflowDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowDeleteRequest").msgclass
87
+ ApprovalWorkflowDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowDeleteResponse").msgclass
88
+ ApprovalWorkflowListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowListRequest").msgclass
89
+ ApprovalWorkflowListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflowListResponse").msgclass
90
+ ApprovalWorkflow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ApprovalWorkflow").msgclass
91
+ end
@@ -0,0 +1,46 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # Source: approval_workflows.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "approval_workflows_pb"
20
+
21
+ module V1
22
+ module ApprovalWorkflows
23
+ # ApprovalWorkflows are the mechanism by which requests for access can be viewed by authorized
24
+ # approvers and be approved or denied.
25
+ class Service
26
+ include ::GRPC::GenericService
27
+
28
+ self.marshal_class_method = :encode
29
+ self.unmarshal_class_method = :decode
30
+ self.service_name = "v1.ApprovalWorkflows"
31
+
32
+ # Create creates a new approval workflow and requires a name and approval mode for the approval workflow.
33
+ rpc :Create, ::V1::ApprovalWorkflowCreateRequest, ::V1::ApprovalWorkflowCreateResponse
34
+ # Get reads one approval workflow by ID.
35
+ rpc :Get, ::V1::ApprovalWorkflowGetRequest, ::V1::ApprovalWorkflowGetResponse
36
+ # Delete deletes an existing approval workflow.
37
+ rpc :Delete, ::V1::ApprovalWorkflowDeleteRequest, ::V1::ApprovalWorkflowDeleteResponse
38
+ # Update updates an existing approval workflow.
39
+ rpc :Update, ::V1::ApprovalWorkflowUpdateRequest, ::V1::ApprovalWorkflowUpdateResponse
40
+ # Lists existing approval workflows.
41
+ rpc :List, ::V1::ApprovalWorkflowListRequest, ::V1::ApprovalWorkflowListResponse
42
+ end
43
+
44
+ Stub = Service.rpc_stub_class
45
+ end
46
+ end