strongdm 2.6.4 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-9605cb63890b5fed001c49e509929945ac427bf0.idx → pack-dd537cf5e4da62668498c8ce557b8afbf676fbc5.idx} +0 -0
- data/.git/objects/pack/{pack-9605cb63890b5fed001c49e509929945ac427bf0.pack → pack-dd537cf5e4da62668498c8ce557b8afbf676fbc5.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/.yardopts +1 -0
- data/README.md +13 -10
- data/lib/grpc/plumbing.rb +0 -304
- data/lib/grpc/roles_pb.rb +0 -1
- data/lib/models/porcelain.rb +6 -245
- data/lib/strongdm.rb +5 -21
- data/lib/svc.rb +0 -330
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -8
- data/lib/grpc/role_attachments_pb.rb +0 -77
- data/lib/grpc/role_attachments_services_pb.rb +0 -56
- data/lib/grpc/role_grants_pb.rb +0 -77
- data/lib/grpc/role_grants_services_pb.rb +0 -56
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6682f417da0ede9a5612f059d29fdb351c4b90cfe90d88fc7f2a9a00c3b1f5d1
|
4
|
+
data.tar.gz: 440a130736ab42b5a8424e04498e26f266a70cbae46c3fe9283a40f00c47dcc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce3009ad6f190ca27cccf337e082e052e37de3b675bb12cf69d2d8a87194ec160b7d999279fea52bc855220326b4d6d3713aaf524bd00c649e03b66d193b3e24
|
7
|
+
data.tar.gz: e741a610d63a187c692fa6c7b01b2a77733363d1f634014d00555185aa6eb46cc721e2eef23ccba11332a462a512ad0a28a89def6d3f2d03b26624333f06a984
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
ebc33c297839fbbcfa70f855e599630c0a6c880c
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 ebc33c297839fbbcfa70f855e599630c0a6c880c sdmrelease <support@strongdm.com> 1659661621 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
ebc33c297839fbbcfa70f855e599630c0a6c880c ebc33c297839fbbcfa70f855e599630c0a6c880c sdmrelease <support@strongdm.com> 1659661621 +0000 checkout: moving from master to master
|
3
|
+
ebc33c297839fbbcfa70f855e599630c0a6c880c 0fbd2ab317197f8aff986524b40fb96d7aa05547 sdmrelease <support@strongdm.com> 1659661621 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 ebc33c297839fbbcfa70f855e599630c0a6c880c sdmrelease <support@strongdm.com> 1659661621 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
ebc33c297839fbbcfa70f855e599630c0a6c880c 0fbd2ab317197f8aff986524b40fb96d7aa05547 sdmrelease <support@strongdm.com> 1659661621 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 ebc33c297839fbbcfa70f855e599630c0a6c880c sdmrelease <support@strongdm.com> 1659661621 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
Binary file
|
data/.git/packed-refs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# pack-refs with: peeled fully-peeled sorted
|
2
|
-
|
3
|
-
|
2
|
+
0fbd2ab317197f8aff986524b40fb96d7aa05547 refs/remotes/origin/development
|
3
|
+
ebc33c297839fbbcfa70f855e599630c0a6c880c 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
|
@@ -40,3 +40,4 @@ e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
|
40
40
|
ee164dbda02c66cd898f0357884c58f822b486dc refs/tags/v2.6.0
|
41
41
|
2642d78fb0ddb1c7d7e24e63cd4915894605cb6f refs/tags/v2.6.1
|
42
42
|
be1460e0ed022801549a84a12897334b7064f1a7 refs/tags/v2.6.3
|
43
|
+
ebc33c297839fbbcfa70f855e599630c0a6c880c refs/tags/v2.6.4
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
0fbd2ab317197f8aff986524b40fb96d7aa05547
|
data/.yardopts
CHANGED
data/README.md
CHANGED
@@ -24,12 +24,14 @@ Credentials](https://www.strongdm.com/docs/admin-guide/api-credentials/)
|
|
24
24
|
|
25
25
|
Add the keys as environment variables; the SDK will need to access these keys
|
26
26
|
for every request.
|
27
|
+
|
27
28
|
```bash
|
28
29
|
$ export SDM_API_ACCESS_KEY=<YOUR ACCESS KEY>
|
29
30
|
$ export SDM_API_SECRET_KEY=<YOUR SECRET KEY>
|
30
31
|
```
|
31
32
|
|
32
33
|
## List Users
|
34
|
+
|
33
35
|
The following code lists all registered users:
|
34
36
|
|
35
37
|
```ruby
|
@@ -44,21 +46,22 @@ end
|
|
44
46
|
|
45
47
|
## Useful Links
|
46
48
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
49
|
+
- Documentation: [strongdm gem](https://www.rubydoc.info/gems/strongdm)
|
50
|
+
- [Migrating from v2 to v3](https://github.com/strongdm/strongdm-sdk-ruby/releases/tag/v3.0.0)
|
51
|
+
- [Migrating from Role Grants to Access Rules](https://github.com/strongdm/strongdm-sdk-ruby/wiki/Migrating-from-Role-Grants-to-Access-Rules)
|
52
|
+
- Examples: [GitHub - strongdm/strongdm-sdk-ruby-examples](https://github.com/strongdm/strongdm-sdk-ruby-examples)
|
53
|
+
1. [Managing Resources](https://github.com/strongdm/strongdm-sdk-ruby-examples/tree/master/1_managing_resources)
|
54
|
+
2. [Managing Accounts](https://github.com/strongdm/strongdm-sdk-ruby-examples/tree/master/2_managing_accounts)
|
55
|
+
3. [Managing Roles](https://github.com/strongdm/strongdm-sdk-ruby-examples/tree/master/3_managing_roles)
|
56
|
+
4. [Managing Gateways](https://github.com/strongdm/strongdm-sdk-ruby-examples/tree/master/4_managing_gateways)
|
57
|
+
|
55
58
|
## License
|
56
59
|
|
57
60
|
[Apache 2](https://github.com/strongdm/strongdm-sdk-ruby/blob/master/LICENSE)
|
58
61
|
|
59
|
-
## Contributing
|
62
|
+
## Contributing
|
60
63
|
|
61
64
|
Currently, we are not accepting pull requests directly to this repository, but
|
62
65
|
our users are some of the most resourceful and ambitious folks out there. So, if
|
63
66
|
you have something to contribute, find a bug, or just want to give us some
|
64
|
-
feedback, please email <support@strongdm.com>.
|
67
|
+
feedback, please email <support@strongdm.com>.
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -30,8 +30,6 @@ require_relative "./nodes_pb"
|
|
30
30
|
require_relative "./remote_identities_pb"
|
31
31
|
require_relative "./remote_identity_groups_pb"
|
32
32
|
require_relative "./resources_pb"
|
33
|
-
require_relative "./role_attachments_pb"
|
34
|
-
require_relative "./role_grants_pb"
|
35
33
|
require_relative "./roles_pb"
|
36
34
|
require_relative "./secret_store_types_pb"
|
37
35
|
require_relative "./secret_stores_pb"
|
@@ -5740,7 +5738,6 @@ module SDM
|
|
5740
5738
|
end
|
5741
5739
|
porcelain = Role.new()
|
5742
5740
|
porcelain.access_rules = convert_access_rules_to_porcelain(plumbing.access_rules)
|
5743
|
-
porcelain.composite = (plumbing.composite)
|
5744
5741
|
porcelain.id = (plumbing.id)
|
5745
5742
|
porcelain.name = (plumbing.name)
|
5746
5743
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
@@ -5753,7 +5750,6 @@ module SDM
|
|
5753
5750
|
end
|
5754
5751
|
plumbing = V1::Role.new()
|
5755
5752
|
plumbing.access_rules = convert_access_rules_to_plumbing(porcelain.access_rules)
|
5756
|
-
plumbing.composite = (porcelain.composite)
|
5757
5753
|
plumbing.id = (porcelain.id)
|
5758
5754
|
plumbing.name = (porcelain.name)
|
5759
5755
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
@@ -5776,156 +5772,6 @@ module SDM
|
|
5776
5772
|
end
|
5777
5773
|
items
|
5778
5774
|
end
|
5779
|
-
def self.convert_role_attachment_to_porcelain(plumbing)
|
5780
|
-
if plumbing == nil
|
5781
|
-
return nil
|
5782
|
-
end
|
5783
|
-
porcelain = RoleAttachment.new()
|
5784
|
-
porcelain.attached_role_id = (plumbing.attached_role_id)
|
5785
|
-
porcelain.composite_role_id = (plumbing.composite_role_id)
|
5786
|
-
porcelain.id = (plumbing.id)
|
5787
|
-
porcelain
|
5788
|
-
end
|
5789
|
-
|
5790
|
-
def self.convert_role_attachment_to_plumbing(porcelain)
|
5791
|
-
if porcelain == nil
|
5792
|
-
return nil
|
5793
|
-
end
|
5794
|
-
plumbing = V1::RoleAttachment.new()
|
5795
|
-
plumbing.attached_role_id = (porcelain.attached_role_id)
|
5796
|
-
plumbing.composite_role_id = (porcelain.composite_role_id)
|
5797
|
-
plumbing.id = (porcelain.id)
|
5798
|
-
plumbing
|
5799
|
-
end
|
5800
|
-
def self.convert_repeated_role_attachment_to_plumbing(porcelains)
|
5801
|
-
items = Array.new
|
5802
|
-
porcelains.each do |porcelain|
|
5803
|
-
plumbing = convert_role_attachment_to_plumbing(porcelain)
|
5804
|
-
items.append(plumbing)
|
5805
|
-
end
|
5806
|
-
items
|
5807
|
-
end
|
5808
|
-
|
5809
|
-
def self.convert_repeated_role_attachment_to_porcelain(plumbings)
|
5810
|
-
items = Array.new
|
5811
|
-
plumbings.each do |plumbing|
|
5812
|
-
porcelain = convert_role_attachment_to_porcelain(plumbing)
|
5813
|
-
items.append(porcelain)
|
5814
|
-
end
|
5815
|
-
items
|
5816
|
-
end
|
5817
|
-
def self.convert_role_attachment_create_response_to_porcelain(plumbing)
|
5818
|
-
if plumbing == nil
|
5819
|
-
return nil
|
5820
|
-
end
|
5821
|
-
porcelain = RoleAttachmentCreateResponse.new()
|
5822
|
-
porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
|
5823
|
-
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
5824
|
-
porcelain.role_attachment = convert_role_attachment_to_porcelain(plumbing.role_attachment)
|
5825
|
-
porcelain
|
5826
|
-
end
|
5827
|
-
|
5828
|
-
def self.convert_role_attachment_create_response_to_plumbing(porcelain)
|
5829
|
-
if porcelain == nil
|
5830
|
-
return nil
|
5831
|
-
end
|
5832
|
-
plumbing = V1::RoleAttachmentCreateResponse.new()
|
5833
|
-
plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
|
5834
|
-
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
5835
|
-
plumbing.role_attachment = convert_role_attachment_to_plumbing(porcelain.role_attachment)
|
5836
|
-
plumbing
|
5837
|
-
end
|
5838
|
-
def self.convert_repeated_role_attachment_create_response_to_plumbing(porcelains)
|
5839
|
-
items = Array.new
|
5840
|
-
porcelains.each do |porcelain|
|
5841
|
-
plumbing = convert_role_attachment_create_response_to_plumbing(porcelain)
|
5842
|
-
items.append(plumbing)
|
5843
|
-
end
|
5844
|
-
items
|
5845
|
-
end
|
5846
|
-
|
5847
|
-
def self.convert_repeated_role_attachment_create_response_to_porcelain(plumbings)
|
5848
|
-
items = Array.new
|
5849
|
-
plumbings.each do |plumbing|
|
5850
|
-
porcelain = convert_role_attachment_create_response_to_porcelain(plumbing)
|
5851
|
-
items.append(porcelain)
|
5852
|
-
end
|
5853
|
-
items
|
5854
|
-
end
|
5855
|
-
def self.convert_role_attachment_delete_response_to_porcelain(plumbing)
|
5856
|
-
if plumbing == nil
|
5857
|
-
return nil
|
5858
|
-
end
|
5859
|
-
porcelain = RoleAttachmentDeleteResponse.new()
|
5860
|
-
porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
|
5861
|
-
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
5862
|
-
porcelain
|
5863
|
-
end
|
5864
|
-
|
5865
|
-
def self.convert_role_attachment_delete_response_to_plumbing(porcelain)
|
5866
|
-
if porcelain == nil
|
5867
|
-
return nil
|
5868
|
-
end
|
5869
|
-
plumbing = V1::RoleAttachmentDeleteResponse.new()
|
5870
|
-
plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
|
5871
|
-
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
5872
|
-
plumbing
|
5873
|
-
end
|
5874
|
-
def self.convert_repeated_role_attachment_delete_response_to_plumbing(porcelains)
|
5875
|
-
items = Array.new
|
5876
|
-
porcelains.each do |porcelain|
|
5877
|
-
plumbing = convert_role_attachment_delete_response_to_plumbing(porcelain)
|
5878
|
-
items.append(plumbing)
|
5879
|
-
end
|
5880
|
-
items
|
5881
|
-
end
|
5882
|
-
|
5883
|
-
def self.convert_repeated_role_attachment_delete_response_to_porcelain(plumbings)
|
5884
|
-
items = Array.new
|
5885
|
-
plumbings.each do |plumbing|
|
5886
|
-
porcelain = convert_role_attachment_delete_response_to_porcelain(plumbing)
|
5887
|
-
items.append(porcelain)
|
5888
|
-
end
|
5889
|
-
items
|
5890
|
-
end
|
5891
|
-
def self.convert_role_attachment_get_response_to_porcelain(plumbing)
|
5892
|
-
if plumbing == nil
|
5893
|
-
return nil
|
5894
|
-
end
|
5895
|
-
porcelain = RoleAttachmentGetResponse.new()
|
5896
|
-
porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
|
5897
|
-
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
5898
|
-
porcelain.role_attachment = convert_role_attachment_to_porcelain(plumbing.role_attachment)
|
5899
|
-
porcelain
|
5900
|
-
end
|
5901
|
-
|
5902
|
-
def self.convert_role_attachment_get_response_to_plumbing(porcelain)
|
5903
|
-
if porcelain == nil
|
5904
|
-
return nil
|
5905
|
-
end
|
5906
|
-
plumbing = V1::RoleAttachmentGetResponse.new()
|
5907
|
-
plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
|
5908
|
-
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
5909
|
-
plumbing.role_attachment = convert_role_attachment_to_plumbing(porcelain.role_attachment)
|
5910
|
-
plumbing
|
5911
|
-
end
|
5912
|
-
def self.convert_repeated_role_attachment_get_response_to_plumbing(porcelains)
|
5913
|
-
items = Array.new
|
5914
|
-
porcelains.each do |porcelain|
|
5915
|
-
plumbing = convert_role_attachment_get_response_to_plumbing(porcelain)
|
5916
|
-
items.append(plumbing)
|
5917
|
-
end
|
5918
|
-
items
|
5919
|
-
end
|
5920
|
-
|
5921
|
-
def self.convert_repeated_role_attachment_get_response_to_porcelain(plumbings)
|
5922
|
-
items = Array.new
|
5923
|
-
plumbings.each do |plumbing|
|
5924
|
-
porcelain = convert_role_attachment_get_response_to_porcelain(plumbing)
|
5925
|
-
items.append(porcelain)
|
5926
|
-
end
|
5927
|
-
items
|
5928
|
-
end
|
5929
5775
|
def self.convert_role_create_response_to_porcelain(plumbing)
|
5930
5776
|
if plumbing == nil
|
5931
5777
|
return nil
|
@@ -6038,156 +5884,6 @@ module SDM
|
|
6038
5884
|
end
|
6039
5885
|
items
|
6040
5886
|
end
|
6041
|
-
def self.convert_role_grant_to_porcelain(plumbing)
|
6042
|
-
if plumbing == nil
|
6043
|
-
return nil
|
6044
|
-
end
|
6045
|
-
porcelain = RoleGrant.new()
|
6046
|
-
porcelain.id = (plumbing.id)
|
6047
|
-
porcelain.resource_id = (plumbing.resource_id)
|
6048
|
-
porcelain.role_id = (plumbing.role_id)
|
6049
|
-
porcelain
|
6050
|
-
end
|
6051
|
-
|
6052
|
-
def self.convert_role_grant_to_plumbing(porcelain)
|
6053
|
-
if porcelain == nil
|
6054
|
-
return nil
|
6055
|
-
end
|
6056
|
-
plumbing = V1::RoleGrant.new()
|
6057
|
-
plumbing.id = (porcelain.id)
|
6058
|
-
plumbing.resource_id = (porcelain.resource_id)
|
6059
|
-
plumbing.role_id = (porcelain.role_id)
|
6060
|
-
plumbing
|
6061
|
-
end
|
6062
|
-
def self.convert_repeated_role_grant_to_plumbing(porcelains)
|
6063
|
-
items = Array.new
|
6064
|
-
porcelains.each do |porcelain|
|
6065
|
-
plumbing = convert_role_grant_to_plumbing(porcelain)
|
6066
|
-
items.append(plumbing)
|
6067
|
-
end
|
6068
|
-
items
|
6069
|
-
end
|
6070
|
-
|
6071
|
-
def self.convert_repeated_role_grant_to_porcelain(plumbings)
|
6072
|
-
items = Array.new
|
6073
|
-
plumbings.each do |plumbing|
|
6074
|
-
porcelain = convert_role_grant_to_porcelain(plumbing)
|
6075
|
-
items.append(porcelain)
|
6076
|
-
end
|
6077
|
-
items
|
6078
|
-
end
|
6079
|
-
def self.convert_role_grant_create_response_to_porcelain(plumbing)
|
6080
|
-
if plumbing == nil
|
6081
|
-
return nil
|
6082
|
-
end
|
6083
|
-
porcelain = RoleGrantCreateResponse.new()
|
6084
|
-
porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
|
6085
|
-
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
6086
|
-
porcelain.role_grant = convert_role_grant_to_porcelain(plumbing.role_grant)
|
6087
|
-
porcelain
|
6088
|
-
end
|
6089
|
-
|
6090
|
-
def self.convert_role_grant_create_response_to_plumbing(porcelain)
|
6091
|
-
if porcelain == nil
|
6092
|
-
return nil
|
6093
|
-
end
|
6094
|
-
plumbing = V1::RoleGrantCreateResponse.new()
|
6095
|
-
plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
|
6096
|
-
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
6097
|
-
plumbing.role_grant = convert_role_grant_to_plumbing(porcelain.role_grant)
|
6098
|
-
plumbing
|
6099
|
-
end
|
6100
|
-
def self.convert_repeated_role_grant_create_response_to_plumbing(porcelains)
|
6101
|
-
items = Array.new
|
6102
|
-
porcelains.each do |porcelain|
|
6103
|
-
plumbing = convert_role_grant_create_response_to_plumbing(porcelain)
|
6104
|
-
items.append(plumbing)
|
6105
|
-
end
|
6106
|
-
items
|
6107
|
-
end
|
6108
|
-
|
6109
|
-
def self.convert_repeated_role_grant_create_response_to_porcelain(plumbings)
|
6110
|
-
items = Array.new
|
6111
|
-
plumbings.each do |plumbing|
|
6112
|
-
porcelain = convert_role_grant_create_response_to_porcelain(plumbing)
|
6113
|
-
items.append(porcelain)
|
6114
|
-
end
|
6115
|
-
items
|
6116
|
-
end
|
6117
|
-
def self.convert_role_grant_delete_response_to_porcelain(plumbing)
|
6118
|
-
if plumbing == nil
|
6119
|
-
return nil
|
6120
|
-
end
|
6121
|
-
porcelain = RoleGrantDeleteResponse.new()
|
6122
|
-
porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
|
6123
|
-
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
6124
|
-
porcelain
|
6125
|
-
end
|
6126
|
-
|
6127
|
-
def self.convert_role_grant_delete_response_to_plumbing(porcelain)
|
6128
|
-
if porcelain == nil
|
6129
|
-
return nil
|
6130
|
-
end
|
6131
|
-
plumbing = V1::RoleGrantDeleteResponse.new()
|
6132
|
-
plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
|
6133
|
-
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
6134
|
-
plumbing
|
6135
|
-
end
|
6136
|
-
def self.convert_repeated_role_grant_delete_response_to_plumbing(porcelains)
|
6137
|
-
items = Array.new
|
6138
|
-
porcelains.each do |porcelain|
|
6139
|
-
plumbing = convert_role_grant_delete_response_to_plumbing(porcelain)
|
6140
|
-
items.append(plumbing)
|
6141
|
-
end
|
6142
|
-
items
|
6143
|
-
end
|
6144
|
-
|
6145
|
-
def self.convert_repeated_role_grant_delete_response_to_porcelain(plumbings)
|
6146
|
-
items = Array.new
|
6147
|
-
plumbings.each do |plumbing|
|
6148
|
-
porcelain = convert_role_grant_delete_response_to_porcelain(plumbing)
|
6149
|
-
items.append(porcelain)
|
6150
|
-
end
|
6151
|
-
items
|
6152
|
-
end
|
6153
|
-
def self.convert_role_grant_get_response_to_porcelain(plumbing)
|
6154
|
-
if plumbing == nil
|
6155
|
-
return nil
|
6156
|
-
end
|
6157
|
-
porcelain = RoleGrantGetResponse.new()
|
6158
|
-
porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
|
6159
|
-
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
6160
|
-
porcelain.role_grant = convert_role_grant_to_porcelain(plumbing.role_grant)
|
6161
|
-
porcelain
|
6162
|
-
end
|
6163
|
-
|
6164
|
-
def self.convert_role_grant_get_response_to_plumbing(porcelain)
|
6165
|
-
if porcelain == nil
|
6166
|
-
return nil
|
6167
|
-
end
|
6168
|
-
plumbing = V1::RoleGrantGetResponse.new()
|
6169
|
-
plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
|
6170
|
-
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
6171
|
-
plumbing.role_grant = convert_role_grant_to_plumbing(porcelain.role_grant)
|
6172
|
-
plumbing
|
6173
|
-
end
|
6174
|
-
def self.convert_repeated_role_grant_get_response_to_plumbing(porcelains)
|
6175
|
-
items = Array.new
|
6176
|
-
porcelains.each do |porcelain|
|
6177
|
-
plumbing = convert_role_grant_get_response_to_plumbing(porcelain)
|
6178
|
-
items.append(plumbing)
|
6179
|
-
end
|
6180
|
-
items
|
6181
|
-
end
|
6182
|
-
|
6183
|
-
def self.convert_repeated_role_grant_get_response_to_porcelain(plumbings)
|
6184
|
-
items = Array.new
|
6185
|
-
plumbings.each do |plumbing|
|
6186
|
-
porcelain = convert_role_grant_get_response_to_porcelain(plumbing)
|
6187
|
-
items.append(porcelain)
|
6188
|
-
end
|
6189
|
-
items
|
6190
|
-
end
|
6191
5887
|
def self.convert_role_update_response_to_porcelain(plumbing)
|
6192
5888
|
if plumbing == nil
|
6193
5889
|
return nil
|
data/lib/grpc/roles_pb.rb
CHANGED