strongdm 4.1.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e25884431f5cb49448fd2005013640c0bc79b18f631e0f8b140068dd1ad60faf
4
- data.tar.gz: 1d01ae232e75686f0e10403fd5af624c64b336b8a4ff440b8b41fca4a7a00106
3
+ metadata.gz: d9b0eaeb084f46b29600e98710ba166d7943719620ef6e26ef8e4063bc1b18cd
4
+ data.tar.gz: b9104ef7965dfe79ed0a93d09420b2e6ab008f4979cae64c44aa836dbba64bc1
5
5
  SHA512:
6
- metadata.gz: e0cea43be0f936f9b63c525e89de9db9639e2ef979518a4150b597387d5221ea5a18b8ee046f128c32bbd0b6713f0d1a8037a18c44e2ebd93f26bbaf11c57753
7
- data.tar.gz: 65f9f8ebc7c56af0a4394c2a4f1cba55c68dc51591860eeab1d1d481b4c7d57e99e37f3b0530c612834032c9659aa545d857936acafd2c92359198ac354ef05a
6
+ metadata.gz: 1a9b56e6e7404d9a0733be8ecf74ac7a63d790e28c4ead701bb0e43814e135f73588a0a2ed4939fd7320bd05f889c25871e04da1cc7853ec6011d7dce1247dd0
7
+ data.tar.gz: ac94763cc36330591a228c0abdbf3595279248c6cae84cad46dd97203687341d872ffd5ef2f06625e6271857bc88370447bb7ea173b330df12bc53e32c21c705
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 66c01691f9e5ba524569f85fa51eb0f4f9f0e99f
1
+ d39111ffa2c85b26a22a8bb3ddff212ac2228e1f
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 66c01691f9e5ba524569f85fa51eb0f4f9f0e99f root <root@744d91657336.(none)> 1689773294 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 66c01691f9e5ba524569f85fa51eb0f4f9f0e99f 66c01691f9e5ba524569f85fa51eb0f4f9f0e99f root <root@744d91657336.(none)> 1689773294 +0000 checkout: moving from master to master
3
- 66c01691f9e5ba524569f85fa51eb0f4f9f0e99f d39111ffa2c85b26a22a8bb3ddff212ac2228e1f root <root@744d91657336.(none)> 1689773294 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 d39111ffa2c85b26a22a8bb3ddff212ac2228e1f root <root@8c249e9f501b.(none)> 1689868739 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ d39111ffa2c85b26a22a8bb3ddff212ac2228e1f d39111ffa2c85b26a22a8bb3ddff212ac2228e1f root <root@8c249e9f501b.(none)> 1689868739 +0000 checkout: moving from master to master
3
+ d39111ffa2c85b26a22a8bb3ddff212ac2228e1f 08f4675a1557ed133181105c72b37ffbef084740 root <root@8c249e9f501b.(none)> 1689868739 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 66c01691f9e5ba524569f85fa51eb0f4f9f0e99f root <root@744d91657336.(none)> 1689773294 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 66c01691f9e5ba524569f85fa51eb0f4f9f0e99f d39111ffa2c85b26a22a8bb3ddff212ac2228e1f root <root@744d91657336.(none)> 1689773294 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 d39111ffa2c85b26a22a8bb3ddff212ac2228e1f root <root@8c249e9f501b.(none)> 1689868739 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ d39111ffa2c85b26a22a8bb3ddff212ac2228e1f 08f4675a1557ed133181105c72b37ffbef084740 root <root@8c249e9f501b.(none)> 1689868739 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 66c01691f9e5ba524569f85fa51eb0f4f9f0e99f root <root@744d91657336.(none)> 1689773294 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 d39111ffa2c85b26a22a8bb3ddff212ac2228e1f root <root@8c249e9f501b.(none)> 1689868739 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
data/.git/packed-refs CHANGED
@@ -1,6 +1,6 @@
1
1
  # pack-refs with: peeled fully-peeled sorted
2
- d39111ffa2c85b26a22a8bb3ddff212ac2228e1f refs/remotes/origin/development
3
- 66c01691f9e5ba524569f85fa51eb0f4f9f0e99f refs/remotes/origin/master
2
+ 08f4675a1557ed133181105c72b37ffbef084740 refs/remotes/origin/development
3
+ d39111ffa2c85b26a22a8bb3ddff212ac2228e1f refs/remotes/origin/master
4
4
  2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
5
5
  04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
6
6
  6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
@@ -71,3 +71,4 @@ ffd4706f2b64466550868d42ee2a5a4b88b3a372 refs/tags/v3.6.1
71
71
  07687e72efc8785eb9de64ef2d27056c6f9e3413 refs/tags/v3.8.0
72
72
  996c2591e6d895f404e977133bda196e723e1dd9 refs/tags/v3.9.0
73
73
  66c01691f9e5ba524569f85fa51eb0f4f9f0e99f refs/tags/v4.0.0
74
+ d39111ffa2c85b26a22a8bb3ddff212ac2228e1f refs/tags/v4.1.0
@@ -1 +1 @@
1
- d39111ffa2c85b26a22a8bb3ddff212ac2228e1f
1
+ 08f4675a1557ed133181105c72b37ffbef084740
data/lib/constants.rb CHANGED
@@ -108,6 +108,9 @@ module SDM
108
108
  WORKFLOW = "workflow"
109
109
  NODE = "node"
110
110
  PEERING_GROUP = "peering_group"
111
+ PEERING_GROUP_NODE = "peering_group_node"
112
+ PEERING_GROUP_RESOURCE = "peering_group_resource"
113
+ PEERING_GROUP_PEER = "peering_group_peer"
111
114
  end
112
115
 
113
116
  # Activity Verbs, describe which kind of activity has taken place.
@@ -27,6 +27,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
27
27
  optional :id_prefix, :string, 1941402
28
28
  repeated :targets, :string, 1941401
29
29
  optional :disable_snapshot_vertical, :bool, 1941403
30
+ optional :skip_cli_generation, :bool, 1941404
30
31
  end
31
32
  add_message "v1.MethodOptions" do
32
33
  optional :method, :string, 1941300
@@ -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: peering_group_nodes.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("peering_group_nodes.proto", :syntax => :proto3) do
24
+ add_message "v1.PeeringGroupNodeCreateRequest" do
25
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
26
+ optional :peering_group_node, :message, 2, "v1.PeeringGroupNode"
27
+ end
28
+ add_message "v1.PeeringGroupNodeCreateResponse" do
29
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
30
+ optional :peering_group_node, :message, 2, "v1.PeeringGroupNode"
31
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
32
+ end
33
+ add_message "v1.PeeringGroupNodeGetRequest" do
34
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
35
+ optional :id, :string, 2
36
+ end
37
+ add_message "v1.PeeringGroupNodeGetResponse" do
38
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
39
+ optional :peering_group_node, :message, 2, "v1.PeeringGroupNode"
40
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
41
+ end
42
+ add_message "v1.PeeringGroupNodeDeleteRequest" do
43
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
44
+ optional :id, :string, 2
45
+ end
46
+ add_message "v1.PeeringGroupNodeDeleteResponse" do
47
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
48
+ optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
49
+ end
50
+ add_message "v1.PeeringGroupNodeListRequest" do
51
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
52
+ optional :filter, :string, 2
53
+ end
54
+ add_message "v1.PeeringGroupNodeListResponse" do
55
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
56
+ repeated :peering_group_nodes, :message, 2, "v1.PeeringGroupNode"
57
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
58
+ end
59
+ add_message "v1.PeeringGroupNode" do
60
+ optional :id, :string, 1
61
+ optional :node_id, :string, 3
62
+ optional :group_id, :string, 4
63
+ end
64
+ end
65
+ end
66
+
67
+ module V1
68
+ PeeringGroupNodeCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupNodeCreateRequest").msgclass
69
+ PeeringGroupNodeCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupNodeCreateResponse").msgclass
70
+ PeeringGroupNodeGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupNodeGetRequest").msgclass
71
+ PeeringGroupNodeGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupNodeGetResponse").msgclass
72
+ PeeringGroupNodeDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupNodeDeleteRequest").msgclass
73
+ PeeringGroupNodeDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupNodeDeleteResponse").msgclass
74
+ PeeringGroupNodeListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupNodeListRequest").msgclass
75
+ PeeringGroupNodeListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupNodeListResponse").msgclass
76
+ PeeringGroupNode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupNode").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: peering_group_nodes.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "peering_group_nodes_pb"
20
+
21
+ module V1
22
+ module PeeringGroupNodes
23
+ # PeeringGroupNodes provides the building blocks necessary to obtain attach a node to a peering group.
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.PeeringGroupNodes"
30
+
31
+ # Create attaches a Node to a PeeringGroup
32
+ rpc :Create, V1::PeeringGroupNodeCreateRequest, V1::PeeringGroupNodeCreateResponse
33
+ # Delete detaches a Node to a PeeringGroup.
34
+ rpc :Delete, V1::PeeringGroupNodeDeleteRequest, V1::PeeringGroupNodeDeleteResponse
35
+ # Get reads the information of one peering group to node attachment.
36
+ rpc :Get, V1::PeeringGroupNodeGetRequest, V1::PeeringGroupNodeGetResponse
37
+ # List gets a list of peering group node attachments.
38
+ rpc :List, V1::PeeringGroupNodeListRequest, V1::PeeringGroupNodeListResponse
39
+ end
40
+
41
+ Stub = Service.rpc_stub_class
42
+ end
43
+ end
@@ -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: peering_group_peers.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("peering_group_peers.proto", :syntax => :proto3) do
24
+ add_message "v1.PeeringGroupPeerCreateRequest" do
25
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
26
+ optional :peering_group_peer, :message, 2, "v1.PeeringGroupPeer"
27
+ end
28
+ add_message "v1.PeeringGroupPeerCreateResponse" do
29
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
30
+ optional :peering_group_peer, :message, 2, "v1.PeeringGroupPeer"
31
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
32
+ end
33
+ add_message "v1.PeeringGroupPeerGetRequest" do
34
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
35
+ optional :id, :string, 2
36
+ end
37
+ add_message "v1.PeeringGroupPeerGetResponse" do
38
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
39
+ optional :peering_group_peer, :message, 2, "v1.PeeringGroupPeer"
40
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
41
+ end
42
+ add_message "v1.PeeringGroupPeerDeleteRequest" do
43
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
44
+ optional :id, :string, 2
45
+ end
46
+ add_message "v1.PeeringGroupPeerDeleteResponse" do
47
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
48
+ optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
49
+ end
50
+ add_message "v1.PeeringGroupPeerListRequest" do
51
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
52
+ optional :filter, :string, 2
53
+ end
54
+ add_message "v1.PeeringGroupPeerListResponse" do
55
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
56
+ repeated :peering_group_peers, :message, 2, "v1.PeeringGroupPeer"
57
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
58
+ end
59
+ add_message "v1.PeeringGroupPeer" do
60
+ optional :id, :string, 1
61
+ optional :group_id, :string, 3
62
+ optional :peers_with_group_id, :string, 4
63
+ end
64
+ end
65
+ end
66
+
67
+ module V1
68
+ PeeringGroupPeerCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupPeerCreateRequest").msgclass
69
+ PeeringGroupPeerCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupPeerCreateResponse").msgclass
70
+ PeeringGroupPeerGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupPeerGetRequest").msgclass
71
+ PeeringGroupPeerGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupPeerGetResponse").msgclass
72
+ PeeringGroupPeerDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupPeerDeleteRequest").msgclass
73
+ PeeringGroupPeerDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupPeerDeleteResponse").msgclass
74
+ PeeringGroupPeerListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupPeerListRequest").msgclass
75
+ PeeringGroupPeerListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupPeerListResponse").msgclass
76
+ PeeringGroupPeer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupPeer").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: peering_group_peers.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "peering_group_peers_pb"
20
+
21
+ module V1
22
+ module PeeringGroupPeers
23
+ # PeeringGroupPeers provides the building blocks necessary to link two peering groups.
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.PeeringGroupPeers"
30
+
31
+ # Create links two peering groups.
32
+ rpc :Create, V1::PeeringGroupPeerCreateRequest, V1::PeeringGroupPeerCreateResponse
33
+ # Delete unlinks two peering groups.
34
+ rpc :Delete, V1::PeeringGroupPeerDeleteRequest, V1::PeeringGroupPeerDeleteResponse
35
+ # Get reads the information of one peering group link.
36
+ rpc :Get, V1::PeeringGroupPeerGetRequest, V1::PeeringGroupPeerGetResponse
37
+ # List gets a list of peering group links.
38
+ rpc :List, V1::PeeringGroupPeerListRequest, V1::PeeringGroupPeerListResponse
39
+ end
40
+
41
+ Stub = Service.rpc_stub_class
42
+ end
43
+ end
@@ -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: peering_group_resources.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("peering_group_resources.proto", :syntax => :proto3) do
24
+ add_message "v1.PeeringGroupResourceCreateRequest" do
25
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
26
+ optional :peering_group_resource, :message, 2, "v1.PeeringGroupResource"
27
+ end
28
+ add_message "v1.PeeringGroupResourceCreateResponse" do
29
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
30
+ optional :peering_group_resource, :message, 2, "v1.PeeringGroupResource"
31
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
32
+ end
33
+ add_message "v1.PeeringGroupResourceGetRequest" do
34
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
35
+ optional :id, :string, 2
36
+ end
37
+ add_message "v1.PeeringGroupResourceGetResponse" do
38
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
39
+ optional :peering_group_resource, :message, 2, "v1.PeeringGroupResource"
40
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
41
+ end
42
+ add_message "v1.PeeringGroupResourceDeleteRequest" do
43
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
44
+ optional :id, :string, 2
45
+ end
46
+ add_message "v1.PeeringGroupResourceDeleteResponse" do
47
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
48
+ optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
49
+ end
50
+ add_message "v1.PeeringGroupResourceListRequest" do
51
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
52
+ optional :filter, :string, 2
53
+ end
54
+ add_message "v1.PeeringGroupResourceListResponse" do
55
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
56
+ repeated :peering_group_resources, :message, 2, "v1.PeeringGroupResource"
57
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
58
+ end
59
+ add_message "v1.PeeringGroupResource" do
60
+ optional :id, :string, 1
61
+ optional :resource_id, :string, 3
62
+ optional :group_id, :string, 4
63
+ end
64
+ end
65
+ end
66
+
67
+ module V1
68
+ PeeringGroupResourceCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupResourceCreateRequest").msgclass
69
+ PeeringGroupResourceCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupResourceCreateResponse").msgclass
70
+ PeeringGroupResourceGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupResourceGetRequest").msgclass
71
+ PeeringGroupResourceGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupResourceGetResponse").msgclass
72
+ PeeringGroupResourceDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupResourceDeleteRequest").msgclass
73
+ PeeringGroupResourceDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupResourceDeleteResponse").msgclass
74
+ PeeringGroupResourceListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupResourceListRequest").msgclass
75
+ PeeringGroupResourceListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupResourceListResponse").msgclass
76
+ PeeringGroupResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupResource").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: peering_group_resources.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "peering_group_resources_pb"
20
+
21
+ module V1
22
+ module PeeringGroupResources
23
+ # PeeringGroupResources provides the building blocks necessary to obtain attach a resource to a peering group.
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.PeeringGroupResources"
30
+
31
+ # Create attaches a Resource to a PeeringGroup
32
+ rpc :Create, V1::PeeringGroupResourceCreateRequest, V1::PeeringGroupResourceCreateResponse
33
+ # Delete detaches a Resource to a PeeringGroup
34
+ rpc :Delete, V1::PeeringGroupResourceDeleteRequest, V1::PeeringGroupResourceDeleteResponse
35
+ # Get reads the information of one peering group to resource attachment.
36
+ rpc :Get, V1::PeeringGroupResourceGetRequest, V1::PeeringGroupResourceGetResponse
37
+ # List gets a list of peering group resource attachments.
38
+ rpc :List, V1::PeeringGroupResourceListRequest, V1::PeeringGroupResourceListResponse
39
+ end
40
+
41
+ Stub = Service.rpc_stub_class
42
+ end
43
+ end
@@ -0,0 +1,76 @@
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: peering_groups.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("peering_groups.proto", :syntax => :proto3) do
24
+ add_message "v1.PeeringGroupCreateRequest" do
25
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
26
+ optional :peering_group, :message, 2, "v1.PeeringGroup"
27
+ end
28
+ add_message "v1.PeeringGroupCreateResponse" do
29
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
30
+ optional :peering_group, :message, 2, "v1.PeeringGroup"
31
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
32
+ end
33
+ add_message "v1.PeeringGroupGetRequest" do
34
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
35
+ optional :id, :string, 2
36
+ end
37
+ add_message "v1.PeeringGroupGetResponse" do
38
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
39
+ optional :peering_group, :message, 2, "v1.PeeringGroup"
40
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
41
+ end
42
+ add_message "v1.PeeringGroupDeleteRequest" do
43
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
44
+ optional :id, :string, 2
45
+ end
46
+ add_message "v1.PeeringGroupDeleteResponse" do
47
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
48
+ optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
49
+ end
50
+ add_message "v1.PeeringGroupListRequest" do
51
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
52
+ optional :filter, :string, 2
53
+ end
54
+ add_message "v1.PeeringGroupListResponse" do
55
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
56
+ repeated :peering_groups, :message, 2, "v1.PeeringGroup"
57
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
58
+ end
59
+ add_message "v1.PeeringGroup" do
60
+ optional :id, :string, 1
61
+ optional :name, :string, 2
62
+ end
63
+ end
64
+ end
65
+
66
+ module V1
67
+ PeeringGroupCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupCreateRequest").msgclass
68
+ PeeringGroupCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupCreateResponse").msgclass
69
+ PeeringGroupGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupGetRequest").msgclass
70
+ PeeringGroupGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupGetResponse").msgclass
71
+ PeeringGroupDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupDeleteRequest").msgclass
72
+ PeeringGroupDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupDeleteResponse").msgclass
73
+ PeeringGroupListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupListRequest").msgclass
74
+ PeeringGroupListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroupListResponse").msgclass
75
+ PeeringGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PeeringGroup").msgclass
76
+ 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: peering_groups.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "peering_groups_pb"
20
+
21
+ module V1
22
+ module PeeringGroups
23
+ # PeeringGroups provides the building blocks necessary to obtain explicit network topology and routing.
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.PeeringGroups"
30
+
31
+ # Create registers a new PeeringGroup.
32
+ rpc :Create, V1::PeeringGroupCreateRequest, V1::PeeringGroupCreateResponse
33
+ # Delete removes a PeeringGroup by ID.
34
+ rpc :Delete, V1::PeeringGroupDeleteRequest, V1::PeeringGroupDeleteResponse
35
+ # Get reads one PeeringGroup by ID. It will load all its dependencies.
36
+ rpc :Get, V1::PeeringGroupGetRequest, V1::PeeringGroupGetResponse
37
+ # List gets a list of Peering Groups.
38
+ rpc :List, V1::PeeringGroupListRequest, V1::PeeringGroupListResponse
39
+ end
40
+
41
+ Stub = Service.rpc_stub_class
42
+ end
43
+ end