strongdm 4.7.0 → 4.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,7 @@
18
18
  require "google/protobuf"
19
19
 
20
20
  require "google/protobuf/timestamp_pb"
21
- require "workflows_pb"
21
+ require "workflow_approvers_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
24
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -0,0 +1,77 @@
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: workflow_approvers.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "options_pb"
21
+ require "spec_pb"
22
+ Google::Protobuf::DescriptorPool.generated_pool.build do
23
+ add_file("workflow_approvers.proto", :syntax => :proto3) do
24
+ add_message "v1.WorkflowApproversCreateRequest" do
25
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
26
+ optional :workflow_approver, :message, 2, "v1.WorkflowApprover"
27
+ end
28
+ add_message "v1.WorkflowApproversCreateResponse" do
29
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
30
+ optional :workflow_approver, :message, 2, "v1.WorkflowApprover"
31
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
32
+ end
33
+ add_message "v1.WorkflowApproverGetRequest" do
34
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
35
+ optional :id, :string, 2
36
+ end
37
+ add_message "v1.WorkflowApproverGetResponse" do
38
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
39
+ optional :workflow_approver, :message, 2, "v1.WorkflowApprover"
40
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
41
+ end
42
+ add_message "v1.WorkflowApproversDeleteRequest" do
43
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
44
+ optional :id, :string, 2
45
+ end
46
+ add_message "v1.WorkflowApproversDeleteResponse" do
47
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
48
+ optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
49
+ end
50
+ add_message "v1.WorkflowApproversListRequest" do
51
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
52
+ optional :filter, :string, 2
53
+ end
54
+ add_message "v1.WorkflowApproversListResponse" do
55
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
56
+ repeated :workflow_approvers, :message, 2, "v1.WorkflowApprover"
57
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
58
+ end
59
+ add_message "v1.WorkflowApprover" do
60
+ optional :id, :string, 1
61
+ optional :workflow_id, :string, 2
62
+ optional :approver_id, :string, 3
63
+ end
64
+ end
65
+ end
66
+
67
+ module V1
68
+ WorkflowApproversCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowApproversCreateRequest").msgclass
69
+ WorkflowApproversCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowApproversCreateResponse").msgclass
70
+ WorkflowApproverGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowApproverGetRequest").msgclass
71
+ WorkflowApproverGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowApproverGetResponse").msgclass
72
+ WorkflowApproversDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowApproversDeleteRequest").msgclass
73
+ WorkflowApproversDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowApproversDeleteResponse").msgclass
74
+ WorkflowApproversListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowApproversListRequest").msgclass
75
+ WorkflowApproversListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowApproversListResponse").msgclass
76
+ WorkflowApprover = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowApprover").msgclass
77
+ end
@@ -0,0 +1,43 @@
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: workflow_approvers.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "workflow_approvers_pb"
20
+
21
+ module V1
22
+ module WorkflowApprovers
23
+ # WorkflowApprovers is an account with the ability to approve requests bound to a workflow.
24
+ class Service
25
+ include GRPC::GenericService
26
+
27
+ self.marshal_class_method = :encode
28
+ self.unmarshal_class_method = :decode
29
+ self.service_name = "v1.WorkflowApprovers"
30
+
31
+ # Create creates a new workflow approver
32
+ rpc :Create, V1::WorkflowApproversCreateRequest, V1::WorkflowApproversCreateResponse
33
+ # Get reads one workflow approver by ID.
34
+ rpc :Get, V1::WorkflowApproverGetRequest, V1::WorkflowApproverGetResponse
35
+ # Delete deletes a workflow approver
36
+ rpc :Delete, V1::WorkflowApproversDeleteRequest, V1::WorkflowApproversDeleteResponse
37
+ # Lists existing workflow approvers.
38
+ rpc :List, V1::WorkflowApproversListRequest, V1::WorkflowApproversListResponse
39
+ end
40
+
41
+ Stub = Service.rpc_stub_class
42
+ end
43
+ end
@@ -18,7 +18,7 @@
18
18
  require "google/protobuf"
19
19
 
20
20
  require "google/protobuf/timestamp_pb"
21
- require "workflows_pb"
21
+ require "workflow_assignments_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
24
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -0,0 +1,44 @@
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: workflow_assignments.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "options_pb"
21
+ require "spec_pb"
22
+ Google::Protobuf::DescriptorPool.generated_pool.build do
23
+ add_file("workflow_assignments.proto", :syntax => :proto3) do
24
+ add_message "v1.WorkflowAssignmentsListRequest" do
25
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
26
+ optional :filter, :string, 2
27
+ end
28
+ add_message "v1.WorkflowAssignmentsListResponse" do
29
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
30
+ repeated :workflow_assignments, :message, 2, "v1.WorkflowAssignment"
31
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
32
+ end
33
+ add_message "v1.WorkflowAssignment" do
34
+ optional :workflow_id, :string, 2
35
+ optional :resource_id, :string, 3
36
+ end
37
+ end
38
+ end
39
+
40
+ module V1
41
+ WorkflowAssignmentsListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowAssignmentsListRequest").msgclass
42
+ WorkflowAssignmentsListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowAssignmentsListResponse").msgclass
43
+ WorkflowAssignment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowAssignment").msgclass
44
+ end
@@ -0,0 +1,38 @@
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: workflow_assignments.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "workflow_assignments_pb"
20
+
21
+ module V1
22
+ module WorkflowAssignments
23
+ # WorkflowAssignments links a Resource to a Workflow. The assigned resources are those that a user can request
24
+ # access to via the workflow.
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.WorkflowAssignments"
31
+
32
+ # Lists existing workflow assignments.
33
+ rpc :List, V1::WorkflowAssignmentsListRequest, V1::WorkflowAssignmentsListResponse
34
+ end
35
+
36
+ Stub = Service.rpc_stub_class
37
+ end
38
+ end
@@ -18,7 +18,7 @@
18
18
  require "google/protobuf"
19
19
 
20
20
  require "google/protobuf/timestamp_pb"
21
- require "workflows_pb"
21
+ require "workflow_roles_pb"
22
22
  require "options_pb"
23
23
  require "spec_pb"
24
24
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -0,0 +1,77 @@
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: workflow_roles.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "options_pb"
21
+ require "spec_pb"
22
+ Google::Protobuf::DescriptorPool.generated_pool.build do
23
+ add_file("workflow_roles.proto", :syntax => :proto3) do
24
+ add_message "v1.WorkflowRolesCreateRequest" do
25
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
26
+ optional :workflow_role, :message, 2, "v1.WorkflowRole"
27
+ end
28
+ add_message "v1.WorkflowRolesCreateResponse" do
29
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
30
+ optional :workflow_role, :message, 2, "v1.WorkflowRole"
31
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
32
+ end
33
+ add_message "v1.WorkflowRoleGetRequest" do
34
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
35
+ optional :id, :string, 2
36
+ end
37
+ add_message "v1.WorkflowRoleGetResponse" do
38
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
39
+ optional :workflow_role, :message, 2, "v1.WorkflowRole"
40
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
41
+ end
42
+ add_message "v1.WorkflowRolesDeleteRequest" do
43
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
44
+ optional :id, :string, 2
45
+ end
46
+ add_message "v1.WorkflowRolesDeleteResponse" do
47
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
48
+ optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
49
+ end
50
+ add_message "v1.WorkflowRolesListRequest" do
51
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
52
+ optional :filter, :string, 2
53
+ end
54
+ add_message "v1.WorkflowRolesListResponse" do
55
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
56
+ repeated :workflow_role, :message, 2, "v1.WorkflowRole"
57
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
58
+ end
59
+ add_message "v1.WorkflowRole" do
60
+ optional :id, :string, 1
61
+ optional :workflow_id, :string, 2
62
+ optional :role_id, :string, 3
63
+ end
64
+ end
65
+ end
66
+
67
+ module V1
68
+ WorkflowRolesCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRolesCreateRequest").msgclass
69
+ WorkflowRolesCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRolesCreateResponse").msgclass
70
+ WorkflowRoleGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRoleGetRequest").msgclass
71
+ WorkflowRoleGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRoleGetResponse").msgclass
72
+ WorkflowRolesDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRolesDeleteRequest").msgclass
73
+ WorkflowRolesDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRolesDeleteResponse").msgclass
74
+ WorkflowRolesListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRolesListRequest").msgclass
75
+ WorkflowRolesListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRolesListResponse").msgclass
76
+ WorkflowRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRole").msgclass
77
+ end
@@ -0,0 +1,44 @@
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: workflow_roles.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "workflow_roles_pb"
20
+
21
+ module V1
22
+ module WorkflowRoles
23
+ # WorkflowRole links a role to a workflow. The linked roles indicate which roles a user must be a part of
24
+ # to request access to a resource via the workflow.
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.WorkflowRoles"
31
+
32
+ # Create creates a new workflow role
33
+ rpc :Create, V1::WorkflowRolesCreateRequest, V1::WorkflowRolesCreateResponse
34
+ # Get reads one workflow role by ID.
35
+ rpc :Get, V1::WorkflowRoleGetRequest, V1::WorkflowRoleGetResponse
36
+ # Delete deletes a workflow role
37
+ rpc :Delete, V1::WorkflowRolesDeleteRequest, V1::WorkflowRolesDeleteResponse
38
+ # Lists existing workflow roles.
39
+ rpc :List, V1::WorkflowRolesListRequest, V1::WorkflowRolesListResponse
40
+ end
41
+
42
+ Stub = Service.rpc_stub_class
43
+ end
44
+ end
@@ -21,6 +21,42 @@ require "options_pb"
21
21
  require "spec_pb"
22
22
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
23
  add_file("workflows.proto", :syntax => :proto3) do
24
+ add_message "v1.WorkflowCreateRequest" do
25
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
26
+ optional :workflow, :message, 2, "v1.Workflow"
27
+ end
28
+ add_message "v1.WorkflowCreateResponse" do
29
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
30
+ optional :workflow, :message, 2, "v1.Workflow"
31
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
32
+ end
33
+ add_message "v1.WorkflowGetRequest" do
34
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
35
+ optional :id, :string, 2
36
+ end
37
+ add_message "v1.WorkflowGetResponse" do
38
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
39
+ optional :workflow, :message, 2, "v1.Workflow"
40
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
41
+ end
42
+ add_message "v1.WorkflowUpdateRequest" do
43
+ optional :meta, :message, 1, "v1.UpdateRequestMetadata"
44
+ optional :workflow, :message, 2, "v1.Workflow"
45
+ end
46
+ add_message "v1.WorkflowUpdateResponse" do
47
+ optional :meta, :message, 1, "v1.UpdateResponseMetadata"
48
+ optional :workflow, :message, 2, "v1.Workflow"
49
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
50
+ end
51
+ add_message "v1.WorkflowDeleteRequest" do
52
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
53
+ optional :id, :string, 2
54
+ end
55
+ add_message "v1.WorkflowDeleteResponse" do
56
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
57
+ optional :id, :string, 2
58
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
59
+ end
24
60
  add_message "v1.WorkflowListRequest" do
25
61
  optional :meta, :message, 1, "v1.ListRequestMetadata"
26
62
  optional :filter, :string, 2
@@ -40,26 +76,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
40
76
  optional :requires_reason, :bool, 7
41
77
  optional :access_rules, :string, 8
42
78
  end
43
- add_message "v1.WorkflowRole" do
44
- optional :workflow_id, :string, 2
45
- optional :role_id, :string, 3
46
- end
47
- add_message "v1.WorkflowApprover" do
48
- optional :workflow_id, :string, 2
49
- optional :approver_id, :string, 3
50
- end
51
- add_message "v1.WorkflowAssignment" do
52
- optional :workflow_id, :string, 2
53
- optional :resource_id, :string, 3
54
- end
55
79
  end
56
80
  end
57
81
 
58
82
  module V1
83
+ WorkflowCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowCreateRequest").msgclass
84
+ WorkflowCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowCreateResponse").msgclass
85
+ WorkflowGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowGetRequest").msgclass
86
+ WorkflowGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowGetResponse").msgclass
87
+ WorkflowUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowUpdateRequest").msgclass
88
+ WorkflowUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowUpdateResponse").msgclass
89
+ WorkflowDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowDeleteRequest").msgclass
90
+ WorkflowDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowDeleteResponse").msgclass
59
91
  WorkflowListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowListRequest").msgclass
60
92
  WorkflowListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowListResponse").msgclass
61
93
  Workflow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Workflow").msgclass
62
- WorkflowRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowRole").msgclass
63
- WorkflowApprover = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowApprover").msgclass
64
- WorkflowAssignment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowAssignment").msgclass
65
94
  end
@@ -22,7 +22,7 @@ module V1
22
22
  module Workflows
23
23
  # Workflows are the collection of rules that define the resources to which access can be requested,
24
24
  # the users that can request that access, and the mechanism for approving those requests which can either
25
- # but automatic approval or a set of users authorized to approve the requests.
25
+ # be automatic approval or a set of users authorized to approve the requests.
26
26
  class Service
27
27
  include GRPC::GenericService
28
28
 
@@ -30,6 +30,14 @@ module V1
30
30
  self.unmarshal_class_method = :decode
31
31
  self.service_name = "v1.Workflows"
32
32
 
33
+ # Create creates a new workflow and requires a name for the workflow.
34
+ rpc :Create, V1::WorkflowCreateRequest, V1::WorkflowCreateResponse
35
+ # Get reads one workflow by ID.
36
+ rpc :Get, V1::WorkflowGetRequest, V1::WorkflowGetResponse
37
+ # Delete deletes an existing workflow.
38
+ rpc :Delete, V1::WorkflowDeleteRequest, V1::WorkflowDeleteResponse
39
+ # Update updates an existing workflow.
40
+ rpc :Update, V1::WorkflowUpdateRequest, V1::WorkflowUpdateResponse
33
41
  # Lists existing workflows.
34
42
  rpc :List, V1::WorkflowListRequest, V1::WorkflowListResponse
35
43
  end