strongdm 1.0.18 → 1.0.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/doc/SDM/AWSStore.html +2 -2
  3. data/doc/SDM/Gateway.html +2 -2
  4. data/doc/SDM/NodeCreateResponse.html +2 -2
  5. data/doc/SDM/NodeDeleteResponse.html +2 -2
  6. data/doc/SDM/NodeGetResponse.html +2 -2
  7. data/doc/SDM/NodeUpdateResponse.html +2 -2
  8. data/doc/SDM/Plumbing.html +514 -328
  9. data/doc/SDM/Relay.html +2 -2
  10. data/doc/SDM/ResourceCreateResponse.html +2 -2
  11. data/doc/SDM/ResourceDeleteResponse.html +2 -2
  12. data/doc/SDM/ResourceGetResponse.html +2 -2
  13. data/doc/SDM/ResourceUpdateResponse.html +2 -2
  14. data/doc/SDM/Role.html +2 -2
  15. data/doc/SDM/RoleAttachment.html +2 -2
  16. data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
  17. data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
  18. data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
  19. data/doc/SDM/RoleCreateResponse.html +2 -2
  20. data/doc/SDM/RoleDeleteResponse.html +2 -2
  21. data/doc/SDM/RoleGetResponse.html +2 -2
  22. data/doc/SDM/RoleGrant.html +2 -2
  23. data/doc/SDM/RoleGrantCreateResponse.html +2 -2
  24. data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
  25. data/doc/SDM/RoleGrantGetResponse.html +2 -2
  26. data/doc/SDM/RoleUpdateResponse.html +2 -2
  27. data/doc/SDM/SSHCustomerKey.html +409 -0
  28. data/doc/SDM/SecretStoreCreateResponse.html +2 -2
  29. data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
  30. data/doc/SDM/SecretStoreGetResponse.html +2 -2
  31. data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
  32. data/doc/SDM/Sybase.html +2 -2
  33. data/doc/SDM/SybaseIQ.html +2 -2
  34. data/doc/SDM/Teradata.html +2 -2
  35. data/doc/SDM/VaultTLSStore.html +2 -2
  36. data/doc/SDM/VaultTokenStore.html +2 -2
  37. data/doc/V1.html +5 -45
  38. data/doc/created.rid +51 -51
  39. data/doc/index.html +2 -4
  40. data/doc/js/navigation.js.gz +0 -0
  41. data/doc/js/search_index.js +1 -1
  42. data/doc/js/search_index.js.gz +0 -0
  43. data/doc/js/searcher.js.gz +0 -0
  44. data/doc/lib/version.html +1 -1
  45. data/doc/table_of_contents.html +546 -521
  46. data/lib/grpc/drivers_pb.rb +15 -0
  47. data/lib/grpc/plumbing.rb +60 -0
  48. data/lib/models/porcelain.rb +81 -0
  49. data/lib/version +1 -1
  50. data/lib/version.rb +1 -1
  51. metadata +3 -4
  52. data/doc/V1/PermissionGrants.html +0 -113
  53. data/doc/V1/PermissionGrants/Service.html +0 -119
@@ -69,6 +69,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
69
69
  optional :sql_server, :message, 1800, "v1.SQLServer"
70
70
  optional :ssh, :message, 1900, "v1.SSH"
71
71
  optional :ssh_cert, :message, 1901, "v1.SSHCert"
72
+ optional :ssh_customer_key, :message, 1902, "v1.SSHCustomerKey"
72
73
  optional :sybase, :message, 2000, "v1.Sybase"
73
74
  optional :sybase_iq, :message, 2001, "v1.SybaseIQ"
74
75
  optional :teradata, :message, 2100, "v1.Teradata"
@@ -678,6 +679,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
678
679
  optional :port_forwarding, :bool, 4
679
680
  optional :allow_deprecated_key_exchanges, :bool, 5
680
681
  end
682
+ add_message "v1.SSHCustomerKey" do
683
+ optional :id, :string, 32768
684
+ optional :name, :string, 32769
685
+ optional :healthy, :bool, 32770
686
+ optional :tags, :message, 32771, "v1.Tags"
687
+ optional :secret_store_id, :string, 32772
688
+ optional :hostname, :string, 1
689
+ optional :username, :string, 2
690
+ optional :port, :int32, 3
691
+ optional :private_key, :string, 4
692
+ optional :port_forwarding, :bool, 5
693
+ optional :allow_deprecated_key_exchanges, :bool, 6
694
+ end
681
695
  add_message "v1.Sybase" do
682
696
  optional :id, :string, 32768
683
697
  optional :name, :string, 32769
@@ -765,6 +779,7 @@ module V1
765
779
  SQLServer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SQLServer").msgclass
766
780
  SSH = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSH").msgclass
767
781
  SSHCert = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSHCert").msgclass
782
+ SSHCustomerKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSHCustomerKey").msgclass
768
783
  Sybase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Sybase").msgclass
769
784
  SybaseIQ = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SybaseIQ").msgclass
770
785
  Teradata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Teradata").msgclass
data/lib/grpc/plumbing.rb CHANGED
@@ -1098,6 +1098,9 @@ module SDM
1098
1098
  if porcelain.instance_of? SSHCert
1099
1099
  plumbing.ssh_cert = convert_ssh_cert_to_plumbing(porcelain)
1100
1100
  end
1101
+ if porcelain.instance_of? SSHCustomerKey
1102
+ plumbing.ssh_customer_key = convert_ssh_customer_key_to_plumbing(porcelain)
1103
+ end
1101
1104
  if porcelain.instance_of? Sybase
1102
1105
  plumbing.sybase = convert_sybase_to_plumbing(porcelain)
1103
1106
  end
@@ -1252,6 +1255,9 @@ module SDM
1252
1255
  if plumbing.ssh_cert != nil
1253
1256
  return convert_ssh_cert_to_porcelain(plumbing.ssh_cert)
1254
1257
  end
1258
+ if plumbing.ssh_customer_key != nil
1259
+ return convert_ssh_customer_key_to_porcelain(plumbing.ssh_customer_key)
1260
+ end
1255
1261
  if plumbing.sybase != nil
1256
1262
  return convert_sybase_to_porcelain(plumbing.sybase)
1257
1263
  end
@@ -3775,6 +3781,60 @@ module SDM
3775
3781
  end
3776
3782
  items
3777
3783
  end
3784
+ def self.convert_ssh_customer_key_to_porcelain(plumbing)
3785
+ if plumbing == nil
3786
+ return nil
3787
+ end
3788
+ porcelain = SSHCustomerKey.new()
3789
+ porcelain.id = (plumbing.id)
3790
+ porcelain.name = (plumbing.name)
3791
+ porcelain.healthy = (plumbing.healthy)
3792
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
3793
+ porcelain.secret_store_id = (plumbing.secret_store_id)
3794
+ porcelain.hostname = (plumbing.hostname)
3795
+ porcelain.username = (plumbing.username)
3796
+ porcelain.port = (plumbing.port)
3797
+ porcelain.private_key = (plumbing.private_key)
3798
+ porcelain.port_forwarding = (plumbing.port_forwarding)
3799
+ porcelain.allow_deprecated_key_exchanges = (plumbing.allow_deprecated_key_exchanges)
3800
+ porcelain
3801
+ end
3802
+
3803
+ def self.convert_ssh_customer_key_to_plumbing(porcelain)
3804
+ if porcelain == nil
3805
+ return nil
3806
+ end
3807
+ plumbing = V1::SSHCustomerKey.new()
3808
+ plumbing.id = (porcelain.id) unless porcelain.id == nil
3809
+ plumbing.name = (porcelain.name) unless porcelain.name == nil
3810
+ plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
3811
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
3812
+ plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
3813
+ plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
3814
+ plumbing.username = (porcelain.username) unless porcelain.username == nil
3815
+ plumbing.port = (porcelain.port) unless porcelain.port == nil
3816
+ plumbing.private_key = (porcelain.private_key) unless porcelain.private_key == nil
3817
+ plumbing.port_forwarding = (porcelain.port_forwarding) unless porcelain.port_forwarding == nil
3818
+ plumbing.allow_deprecated_key_exchanges = (porcelain.allow_deprecated_key_exchanges) unless porcelain.allow_deprecated_key_exchanges == nil
3819
+ plumbing
3820
+ end
3821
+ def self.convert_repeated_ssh_customer_key_to_plumbing(porcelains)
3822
+ items = Array.new
3823
+ porcelains.each do |porcelain|
3824
+ plumbing = convert_ssh_customer_key_to_plumbing(porcelain)
3825
+ items.append(plumbing)
3826
+ end
3827
+ items
3828
+ end
3829
+
3830
+ def self.convert_repeated_ssh_customer_key_to_porcelain(plumbings)
3831
+ items = Array.new
3832
+ plumbings.each do |plumbing|
3833
+ porcelain = convert_ssh_customer_key_to_porcelain(plumbing)
3834
+ items.append(porcelain)
3835
+ end
3836
+ items
3837
+ end
3778
3838
  def self.convert_sybase_to_porcelain(plumbing)
3779
3839
  if plumbing == nil
3780
3840
  return nil
@@ -4479,6 +4479,87 @@ module SDM
4479
4479
  end
4480
4480
  end
4481
4481
 
4482
+ class SSHCustomerKey
4483
+ # Unique identifier of the Resource.
4484
+ attr_accessor :id
4485
+ # Unique human-readable name of the Resource.
4486
+ attr_accessor :name
4487
+ # True if the datasource is reachable and the credentials are valid.
4488
+ attr_accessor :healthy
4489
+ # Tags is a map of key, value pairs.
4490
+ attr_accessor :tags
4491
+ # ID of the secret store containing credentials for this resource, if any.
4492
+ attr_accessor :secret_store_id
4493
+
4494
+ attr_accessor :hostname
4495
+
4496
+ attr_accessor :username
4497
+
4498
+ attr_accessor :port
4499
+
4500
+ attr_accessor :private_key
4501
+
4502
+ attr_accessor :port_forwarding
4503
+
4504
+ attr_accessor :allow_deprecated_key_exchanges
4505
+
4506
+ def initialize(
4507
+ id: nil,
4508
+ name: nil,
4509
+ healthy: nil,
4510
+ tags: nil,
4511
+ secret_store_id: nil,
4512
+ hostname: nil,
4513
+ username: nil,
4514
+ port: nil,
4515
+ private_key: nil,
4516
+ port_forwarding: nil,
4517
+ allow_deprecated_key_exchanges: nil
4518
+ )
4519
+ if id != nil
4520
+ @id = id
4521
+ end
4522
+ if name != nil
4523
+ @name = name
4524
+ end
4525
+ if healthy != nil
4526
+ @healthy = healthy
4527
+ end
4528
+ if tags != nil
4529
+ @tags = tags
4530
+ end
4531
+ if secret_store_id != nil
4532
+ @secret_store_id = secret_store_id
4533
+ end
4534
+ if hostname != nil
4535
+ @hostname = hostname
4536
+ end
4537
+ if username != nil
4538
+ @username = username
4539
+ end
4540
+ if port != nil
4541
+ @port = port
4542
+ end
4543
+ if private_key != nil
4544
+ @private_key = private_key
4545
+ end
4546
+ if port_forwarding != nil
4547
+ @port_forwarding = port_forwarding
4548
+ end
4549
+ if allow_deprecated_key_exchanges != nil
4550
+ @allow_deprecated_key_exchanges = allow_deprecated_key_exchanges
4551
+ end
4552
+ end
4553
+
4554
+ def to_json(options = {})
4555
+ hash = {}
4556
+ self.instance_variables.each do |var|
4557
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
4558
+ end
4559
+ hash.to_json
4560
+ end
4561
+ end
4562
+
4482
4563
  class Sybase
4483
4564
  # Unique identifier of the Resource.
4484
4565
  attr_accessor :id
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "1.0.18"
16
+ VERSION = "1.0.19"
17
17
  end
data/lib/version.rb CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "1.0.18"
16
+ VERSION = "1.0.19"
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongdm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18
4
+ version: 1.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - strongDM Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-24 00:00:00.000000000 Z
11
+ date: 2021-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -196,6 +196,7 @@ files:
196
196
  - doc/SDM/SQLServer.html
197
197
  - doc/SDM/SSH.html
198
198
  - doc/SDM/SSHCert.html
199
+ - doc/SDM/SSHCustomerKey.html
199
200
  - doc/SDM/SecretStore.html
200
201
  - doc/SDM/SecretStoreCreateResponse.html
201
202
  - doc/SDM/SecretStoreDeleteResponse.html
@@ -231,8 +232,6 @@ files:
231
232
  - doc/V1/DemoProvisioningRequests/Service.html
232
233
  - doc/V1/Nodes.html
233
234
  - doc/V1/Nodes/Service.html
234
- - doc/V1/PermissionGrants.html
235
- - doc/V1/PermissionGrants/Service.html
236
235
  - doc/V1/Permissions/Service.html
237
236
  - doc/V1/Resources.html
238
237
  - doc/V1/Resources/Service.html
@@ -1,113 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>module V1::PermissionGrants - RDoc Documentation</title>
8
-
9
- <script type="text/javascript">
10
- var rdoc_rel_prefix = "../";
11
- var index_rel_prefix = "../";
12
- </script>
13
-
14
- <script src="../js/navigation.js" defer></script>
15
- <script src="../js/search.js" defer></script>
16
- <script src="../js/search_index.js" defer></script>
17
- <script src="../js/searcher.js" defer></script>
18
- <script src="../js/darkfish.js" defer></script>
19
-
20
- <link href="../css/fonts.css" rel="stylesheet">
21
- <link href="../css/rdoc.css" rel="stylesheet">
22
-
23
-
24
-
25
-
26
- <body id="top" role="document" class="module">
27
- <nav role="navigation">
28
- <div id="project-navigation">
29
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
30
- <h2>
31
- <a href="../index.html" rel="home">Home</a>
32
- </h2>
33
-
34
- <div id="table-of-contents-navigation">
35
- <a href="../table_of_contents.html#pages">Pages</a>
36
- <a href="../table_of_contents.html#classes">Classes</a>
37
- <a href="../table_of_contents.html#methods">Methods</a>
38
- </div>
39
- </div>
40
-
41
- <div id="search-section" role="search" class="project-section initially-hidden">
42
- <form action="#" method="get" accept-charset="utf-8">
43
- <div id="search-field-wrapper">
44
- <input id="search-field" role="combobox" aria-label="Search"
45
- aria-autocomplete="list" aria-controls="search-results"
46
- type="text" name="search" placeholder="Search" spellcheck="false"
47
- title="Type to search, Up and Down to navigate, Enter to load">
48
- </div>
49
-
50
- <ul id="search-results" aria-label="Search Results"
51
- aria-busy="false" aria-expanded="false"
52
- aria-atomic="false" class="initially-hidden"></ul>
53
- </form>
54
- </div>
55
-
56
- </div>
57
-
58
-
59
-
60
- <div id="class-metadata">
61
-
62
-
63
-
64
-
65
-
66
- </div>
67
- </nav>
68
-
69
- <main role="main" aria-labelledby="module-V1::PermissionGrants">
70
- <h1 id="module-V1::PermissionGrants" class="module">
71
- module V1::PermissionGrants
72
- </h1>
73
-
74
- <section class="description">
75
-
76
- </section>
77
-
78
-
79
- <section id="5Buntitled-5D" class="documentation-section">
80
-
81
-
82
-
83
-
84
-
85
- <section class="constants-list">
86
- <header>
87
- <h3>Constants</h3>
88
- </header>
89
- <dl>
90
-
91
- <dt id="Stub">Stub
92
-
93
- <dd>
94
-
95
-
96
- </dl>
97
- </section>
98
-
99
-
100
-
101
-
102
-
103
- </section>
104
-
105
- </main>
106
-
107
-
108
- <footer id="validator-badges" role="contentinfo">
109
- <p><a href="https://validator.w3.org/check/referer">Validate</a>
110
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
111
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
112
- </footer>
113
-
@@ -1,119 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>class V1::PermissionGrants::Service - RDoc Documentation</title>
8
-
9
- <script type="text/javascript">
10
- var rdoc_rel_prefix = "../../";
11
- var index_rel_prefix = "../../";
12
- </script>
13
-
14
- <script src="../../js/navigation.js" defer></script>
15
- <script src="../../js/search.js" defer></script>
16
- <script src="../../js/search_index.js" defer></script>
17
- <script src="../../js/searcher.js" defer></script>
18
- <script src="../../js/darkfish.js" defer></script>
19
-
20
- <link href="../../css/fonts.css" rel="stylesheet">
21
- <link href="../../css/rdoc.css" rel="stylesheet">
22
-
23
-
24
-
25
-
26
- <body id="top" role="document" class="class">
27
- <nav role="navigation">
28
- <div id="project-navigation">
29
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
30
- <h2>
31
- <a href="../../index.html" rel="home">Home</a>
32
- </h2>
33
-
34
- <div id="table-of-contents-navigation">
35
- <a href="../../table_of_contents.html#pages">Pages</a>
36
- <a href="../../table_of_contents.html#classes">Classes</a>
37
- <a href="../../table_of_contents.html#methods">Methods</a>
38
- </div>
39
- </div>
40
-
41
- <div id="search-section" role="search" class="project-section initially-hidden">
42
- <form action="#" method="get" accept-charset="utf-8">
43
- <div id="search-field-wrapper">
44
- <input id="search-field" role="combobox" aria-label="Search"
45
- aria-autocomplete="list" aria-controls="search-results"
46
- type="text" name="search" placeholder="Search" spellcheck="false"
47
- title="Type to search, Up and Down to navigate, Enter to load">
48
- </div>
49
-
50
- <ul id="search-results" aria-label="Search Results"
51
- aria-busy="false" aria-expanded="false"
52
- aria-atomic="false" class="initially-hidden"></ul>
53
- </form>
54
- </div>
55
-
56
- </div>
57
-
58
-
59
-
60
- <div id="class-metadata">
61
-
62
- <div id="parent-class-section" class="nav-section">
63
- <h3>Parent</h3>
64
-
65
-
66
- <p class="link"><a href="../../Object.html">Object</a>
67
-
68
- </div>
69
-
70
- <div id="includes-section" class="nav-section">
71
- <h3>Included Modules</h3>
72
-
73
- <ul class="link-list">
74
-
75
-
76
- <li><span class="include">GRPC::GenericService</span>
77
-
78
-
79
- </ul>
80
- </div>
81
-
82
-
83
-
84
- </div>
85
- </nav>
86
-
87
- <main role="main" aria-labelledby="class-V1::PermissionGrants::Service">
88
- <h1 id="class-V1::PermissionGrants::Service" class="class">
89
- class V1::PermissionGrants::Service
90
- </h1>
91
-
92
- <section class="description">
93
-
94
- <p><a href="../PermissionGrants.html"><code>PermissionGrants</code></a></p>
95
-
96
- </section>
97
-
98
-
99
- <section id="5Buntitled-5D" class="documentation-section">
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
- </section>
110
-
111
- </main>
112
-
113
-
114
- <footer id="validator-badges" role="contentinfo">
115
- <p><a href="https://validator.w3.org/check/referer">Validate</a>
116
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
117
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
118
- </footer>
119
-