strongdm 15.14.0 → 15.15.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.
@@ -0,0 +1,81 @@
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: groups_roles.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("groups_roles.proto", :syntax => :proto3) do
25
+ add_message "v1.GroupRoleCreateRequest" do
26
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
27
+ optional :group_role, :message, 2, "v1.GroupRole"
28
+ end
29
+ add_message "v1.GroupRoleCreateResponse" do
30
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
31
+ optional :group_role, :message, 2, "v1.GroupRole"
32
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
33
+ end
34
+ add_message "v1.GroupRoleGetRequest" do
35
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
36
+ optional :id, :string, 2
37
+ end
38
+ add_message "v1.GroupRoleGetResponse" do
39
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
40
+ optional :group_role, :message, 2, "v1.GroupRole"
41
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
42
+ end
43
+ add_message "v1.GroupRoleDeleteRequest" do
44
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
45
+ optional :id, :string, 2
46
+ end
47
+ add_message "v1.GroupRoleDeleteResponse" do
48
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
49
+ optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
50
+ optional :group_role, :message, 3, "v1.GroupRole"
51
+ end
52
+ add_message "v1.GroupRoleListRequest" do
53
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
54
+ optional :filter, :string, 2
55
+ end
56
+ add_message "v1.GroupRoleListResponse" do
57
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
58
+ repeated :groups_roles, :message, 2, "v1.GroupRole"
59
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
60
+ end
61
+ add_message "v1.GroupRole" do
62
+ optional :id, :string, 1
63
+ optional :group_id, :string, 2
64
+ optional :role_id, :string, 3
65
+ optional :group_name, :string, 4
66
+ optional :role_name, :string, 5
67
+ end
68
+ end
69
+ end
70
+
71
+ module V1
72
+ GroupRoleCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupRoleCreateRequest").msgclass
73
+ GroupRoleCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupRoleCreateResponse").msgclass
74
+ GroupRoleGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupRoleGetRequest").msgclass
75
+ GroupRoleGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupRoleGetResponse").msgclass
76
+ GroupRoleDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupRoleDeleteRequest").msgclass
77
+ GroupRoleDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupRoleDeleteResponse").msgclass
78
+ GroupRoleListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupRoleListRequest").msgclass
79
+ GroupRoleListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupRoleListResponse").msgclass
80
+ GroupRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GroupRole").msgclass
81
+ 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: groups_roles.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "groups_roles_pb"
20
+
21
+ module V1
22
+ module GroupsRoles
23
+ # A GroupRole is an assignment of a Group to a Role.
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.GroupsRoles"
30
+
31
+ # Create registers a new GroupRole.
32
+ rpc :Create, ::V1::GroupRoleCreateRequest, ::V1::GroupRoleCreateResponse
33
+ # Get reads one GroupRole by ID.
34
+ rpc :Get, ::V1::GroupRoleGetRequest, ::V1::GroupRoleGetResponse
35
+ # Delete removes a GroupRole by ID.
36
+ rpc :Delete, ::V1::GroupRoleDeleteRequest, ::V1::GroupRoleDeleteResponse
37
+ # List gets a list of GroupRoles matching a given set of criteria.
38
+ rpc :List, ::V1::GroupRoleListRequest, ::V1::GroupRoleListResponse
39
+ end
40
+
41
+ Stub = Service.rpc_stub_class
42
+ end
43
+ 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: groups.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "groups_pb"
20
+
21
+ module V1
22
+ module Groups
23
+ # A Group is a set of principals.
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.Groups"
30
+
31
+ # Create registers a new Group.
32
+ rpc :Create, ::V1::GroupCreateRequest, ::V1::GroupCreateResponse
33
+ rpc :CreateFromRoles, ::V1::GroupCreateFromRolesRequest, ::V1::GroupCreateFromRolesResponse
34
+ # Get reads one Group by ID.
35
+ rpc :Get, ::V1::GroupGetRequest, ::V1::GroupGetResponse
36
+ # Update replaces all the fields of a Group by ID.
37
+ rpc :Update, ::V1::GroupUpdateRequest, ::V1::GroupUpdateResponse
38
+ # Delete removes a Group by ID.
39
+ rpc :Delete, ::V1::GroupDeleteRequest, ::V1::GroupDeleteResponse
40
+ # List gets a list of Groups matching a given set of criteria.
41
+ rpc :List, ::V1::GroupListRequest, ::V1::GroupListResponse
42
+ end
43
+
44
+ Stub = Service.rpc_stub_class
45
+ end
46
+ end