strongdm 1.0.2 → 1.0.3

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.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/doc/LICENSE.html +6 -5
  3. data/doc/Object.html +16 -16
  4. data/doc/README_md.html +6 -5
  5. data/doc/SDM/AKS.html +27 -6
  6. data/doc/SDM/AKSBasicAuth.html +27 -6
  7. data/doc/SDM/AKSServiceAccount.html +27 -6
  8. data/doc/SDM/AccountAttachment.html +6 -3
  9. data/doc/SDM/AccountAttachmentCreateOptions.html +6 -3
  10. data/doc/SDM/AccountAttachmentCreateResponse.html +6 -3
  11. data/doc/SDM/AccountAttachmentDeleteResponse.html +6 -3
  12. data/doc/SDM/AccountAttachmentGetResponse.html +6 -3
  13. data/doc/SDM/AccountAttachments.html +24 -21
  14. data/doc/SDM/AccountCreateResponse.html +6 -3
  15. data/doc/SDM/AccountDeleteResponse.html +6 -3
  16. data/doc/SDM/AccountGetResponse.html +6 -3
  17. data/doc/SDM/AccountGrant.html +6 -3
  18. data/doc/SDM/AccountGrantCreateResponse.html +6 -3
  19. data/doc/SDM/AccountGrantDeleteResponse.html +6 -3
  20. data/doc/SDM/AccountGrantGetResponse.html +6 -3
  21. data/doc/SDM/AccountGrants.html +24 -21
  22. data/doc/SDM/AccountUpdateResponse.html +6 -3
  23. data/doc/SDM/Accounts.html +29 -26
  24. data/doc/SDM/AlreadyExistsError.html +6 -3
  25. data/doc/SDM/AmazonEKS.html +27 -6
  26. data/doc/SDM/AmazonES.html +27 -6
  27. data/doc/SDM/Athena.html +27 -6
  28. data/doc/SDM/AuroraMysql.html +27 -6
  29. data/doc/SDM/AuroraPostgres.html +27 -6
  30. data/doc/SDM/AuthenticationError.html +6 -3
  31. data/doc/SDM/BadRequestError.html +6 -3
  32. data/doc/SDM/BigQuery.html +27 -6
  33. data/doc/SDM/Cassandra.html +27 -6
  34. data/doc/SDM/Client.html +7 -4
  35. data/doc/SDM/Clustrix.html +27 -6
  36. data/doc/SDM/Cockroach.html +27 -6
  37. data/doc/SDM/CreateResponseMetadata.html +6 -3
  38. data/doc/SDM/DeadlineExceededError.html +6 -3
  39. data/doc/SDM/DeleteResponseMetadata.html +6 -3
  40. data/doc/SDM/Druid.html +27 -6
  41. data/doc/SDM/DynamoDB.html +27 -6
  42. data/doc/SDM/Elastic.html +27 -6
  43. data/doc/SDM/ElasticacheRedis.html +27 -6
  44. data/doc/SDM/Gateway.html +8 -5
  45. data/doc/SDM/GetResponseMetadata.html +6 -3
  46. data/doc/SDM/GoogleGKE.html +27 -6
  47. data/doc/SDM/Greenplum.html +27 -6
  48. data/doc/SDM/HTTPAuth.html +27 -6
  49. data/doc/SDM/HTTPBasicAuth.html +27 -6
  50. data/doc/SDM/HTTPNoAuth.html +27 -6
  51. data/doc/SDM/InternalError.html +6 -3
  52. data/doc/SDM/Kubernetes.html +27 -6
  53. data/doc/SDM/KubernetesBasicAuth.html +27 -6
  54. data/doc/SDM/KubernetesServiceAccount.html +27 -6
  55. data/doc/SDM/Maria.html +27 -6
  56. data/doc/SDM/Memcached.html +27 -6
  57. data/doc/SDM/Memsql.html +27 -6
  58. data/doc/SDM/MongoHost.html +27 -6
  59. data/doc/SDM/MongoLegacyHost.html +27 -6
  60. data/doc/SDM/MongoLegacyReplicaset.html +27 -6
  61. data/doc/SDM/MongoReplicaSet.html +27 -6
  62. data/doc/SDM/Mysql.html +27 -6
  63. data/doc/SDM/NodeCreateResponse.html +8 -5
  64. data/doc/SDM/NodeDeleteResponse.html +8 -5
  65. data/doc/SDM/NodeGetResponse.html +8 -5
  66. data/doc/SDM/NodeUpdateResponse.html +8 -5
  67. data/doc/SDM/Nodes.html +29 -26
  68. data/doc/SDM/NotFoundError.html +6 -3
  69. data/doc/SDM/Oracle.html +27 -6
  70. data/doc/SDM/PermissionError.html +6 -3
  71. data/doc/SDM/Plumbing.html +3701 -3523
  72. data/doc/SDM/Postgres.html +27 -6
  73. data/doc/SDM/Presto.html +27 -6
  74. data/doc/SDM/RDP.html +27 -6
  75. data/doc/SDM/RPCError.html +6 -3
  76. data/doc/SDM/RateLimitError.html +6 -3
  77. data/doc/SDM/RateLimitMetadata.html +6 -3
  78. data/doc/SDM/Redis.html +27 -6
  79. data/doc/SDM/Redshift.html +27 -6
  80. data/doc/SDM/Relay.html +8 -5
  81. data/doc/SDM/ResourceCreateResponse.html +8 -5
  82. data/doc/SDM/ResourceDeleteResponse.html +8 -5
  83. data/doc/SDM/ResourceGetResponse.html +8 -5
  84. data/doc/SDM/ResourceUpdateResponse.html +8 -5
  85. data/doc/SDM/Resources.html +28 -25
  86. data/doc/SDM/Role.html +8 -5
  87. data/doc/SDM/RoleAttachment.html +8 -5
  88. data/doc/SDM/RoleAttachmentCreateResponse.html +8 -5
  89. data/doc/SDM/RoleAttachmentDeleteResponse.html +8 -5
  90. data/doc/SDM/RoleAttachmentGetResponse.html +8 -5
  91. data/doc/SDM/RoleAttachments.html +23 -20
  92. data/doc/SDM/RoleCreateResponse.html +8 -5
  93. data/doc/SDM/RoleDeleteResponse.html +8 -5
  94. data/doc/SDM/RoleGetResponse.html +8 -5
  95. data/doc/SDM/RoleGrant.html +8 -5
  96. data/doc/SDM/RoleGrantCreateResponse.html +8 -5
  97. data/doc/SDM/RoleGrantDeleteResponse.html +8 -5
  98. data/doc/SDM/RoleGrantGetResponse.html +8 -5
  99. data/doc/SDM/RoleGrants.html +23 -20
  100. data/doc/SDM/RoleUpdateResponse.html +8 -5
  101. data/doc/SDM/Roles.html +28 -25
  102. data/doc/SDM/SQLServer.html +27 -6
  103. data/doc/SDM/SSH.html +27 -6
  104. data/doc/SDM/Service.html +6 -3
  105. data/doc/SDM/Snowflake.html +27 -6
  106. data/doc/SDM/Sybase.html +27 -6
  107. data/doc/SDM/SybaseIQ.html +27 -6
  108. data/doc/SDM/Teradata.html +27 -6
  109. data/doc/SDM/UpdateResponseMetadata.html +6 -3
  110. data/doc/SDM/User.html +6 -3
  111. data/doc/SDM.html +6 -3
  112. data/doc/V1/AccountAttachments/Service.html +6 -3
  113. data/doc/V1/AccountAttachments.html +6 -3
  114. data/doc/V1/AccountGrants/Service.html +7 -4
  115. data/doc/V1/AccountGrants.html +6 -3
  116. data/doc/V1/Accounts/Service.html +6 -3
  117. data/doc/V1/Accounts.html +6 -3
  118. data/doc/V1/Nodes/Service.html +6 -3
  119. data/doc/V1/Nodes.html +6 -3
  120. data/doc/V1/Resources/Service.html +6 -3
  121. data/doc/V1/Resources.html +6 -3
  122. data/doc/V1/RoleAttachments/Service.html +6 -3
  123. data/doc/V1/RoleAttachments.html +6 -3
  124. data/doc/V1/RoleGrants/Service.html +6 -3
  125. data/doc/V1/RoleGrants.html +6 -3
  126. data/doc/V1/Roles/Service.html +6 -3
  127. data/doc/V1/Roles.html +6 -3
  128. data/doc/V1/Tags.html +113 -0
  129. data/doc/V1.html +16 -3
  130. data/doc/created.rid +34 -35
  131. data/doc/css/rdoc.css +35 -6
  132. data/doc/examples/Gemfile.html +6 -5
  133. data/doc/examples/Gemfile_lock.html +6 -5
  134. data/doc/examples/README_md.html +6 -5
  135. data/doc/examples/okta-sync/Gemfile.html +6 -5
  136. data/doc/examples/okta-sync/Gemfile_lock.html +6 -5
  137. data/doc/index.html +8 -5
  138. data/doc/js/darkfish.js +22 -99
  139. data/doc/js/navigation.js +4 -40
  140. data/doc/js/navigation.js.gz +0 -0
  141. data/doc/js/search.js +32 -31
  142. data/doc/js/search_index.js +1 -1
  143. data/doc/js/search_index.js.gz +0 -0
  144. data/doc/js/searcher.js +6 -6
  145. data/doc/js/searcher.js.gz +0 -0
  146. data/doc/lib/version.html +6 -5
  147. data/doc/table_of_contents.html +927 -914
  148. data/examples/Gemfile +2 -2
  149. data/examples/listUsers.rb +4 -4
  150. data/examples/okta-sync/oktaSync.rb +17 -59
  151. data/examples/panicButton.rb +4 -46
  152. data/lib/errors/errors.rb +53 -55
  153. data/lib/grpc/account_attachments_pb.rb +9 -9
  154. data/lib/grpc/account_attachments_services_pb.rb +8 -7
  155. data/lib/grpc/account_grants_pb.rb +10 -10
  156. data/lib/grpc/account_grants_services_pb.rb +9 -8
  157. data/lib/grpc/accounts_pb.rb +9 -9
  158. data/lib/grpc/accounts_services_pb.rb +8 -7
  159. data/lib/grpc/drivers_pb.rb +52 -7
  160. data/lib/grpc/nodes_pb.rb +9 -9
  161. data/lib/grpc/nodes_services_pb.rb +8 -7
  162. data/lib/grpc/options_pb.rb +14 -5
  163. data/lib/grpc/plumbing.rb +4200 -4085
  164. data/lib/grpc/protoc-gen-swagger/options/annotations_pb.rb +4 -4
  165. data/lib/grpc/resources_pb.rb +9 -9
  166. data/lib/grpc/resources_services_pb.rb +8 -7
  167. data/lib/grpc/role_attachments_pb.rb +9 -9
  168. data/lib/grpc/role_attachments_services_pb.rb +8 -7
  169. data/lib/grpc/role_grants_pb.rb +9 -9
  170. data/lib/grpc/role_grants_services_pb.rb +8 -7
  171. data/lib/grpc/roles_pb.rb +9 -9
  172. data/lib/grpc/roles_services_pb.rb +8 -7
  173. data/lib/grpc/spec_pb.rb +8 -8
  174. data/lib/grpc/tags_pb.rb +36 -0
  175. data/lib/models/porcelain.rb +4941 -4415
  176. data/lib/strongdm.rb +95 -94
  177. data/lib/svc.rb +1224 -1202
  178. data/lib/version.rb +5 -5
  179. data/strongdm.gemspec +10 -10
  180. metadata +4 -2
@@ -1,24 +1,25 @@
1
1
  # Copyright 2020 StrongDM Inc
2
- #
2
+ #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
- #
6
+ #
7
7
  # http://www.apache.org/licenses/LICENSE-2.0
8
- #
8
+ #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
11
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
- #
14
+ #
15
15
  # Generated by the protocol buffer compiler. DO NOT EDIT!
16
16
  # source: drivers.proto
17
17
 
18
- require "google/protobuf"
18
+ require 'google/protobuf'
19
19
 
20
- require "protoc-gen-swagger/options/annotations_pb"
21
- require "options_pb"
20
+ require 'protoc-gen-swagger/options/annotations_pb'
21
+ require 'options_pb'
22
+ require 'tags_pb'
22
23
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
24
  add_file("drivers.proto", :syntax => :proto3) do
24
25
  add_message "v1.Resource" do
@@ -73,6 +74,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
73
74
  optional :id, :string, 32768
74
75
  optional :name, :string, 32769
75
76
  optional :healthy, :bool, 32770
77
+ optional :tags, :message, 32771, "v1.Tags"
76
78
  optional :access_key, :string, 1
77
79
  optional :secret_access_key, :string, 2
78
80
  optional :output, :string, 3
@@ -83,6 +85,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
83
85
  optional :id, :string, 32768
84
86
  optional :name, :string, 32769
85
87
  optional :healthy, :bool, 32770
88
+ optional :tags, :message, 32771, "v1.Tags"
86
89
  optional :private_key, :string, 1
87
90
  optional :project, :string, 2
88
91
  optional :port_override, :int32, 3
@@ -93,6 +96,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
93
96
  optional :id, :string, 32768
94
97
  optional :name, :string, 32769
95
98
  optional :healthy, :bool, 32770
99
+ optional :tags, :message, 32771, "v1.Tags"
96
100
  optional :hostname, :string, 1
97
101
  optional :username, :string, 2
98
102
  optional :password, :string, 3
@@ -104,6 +108,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
104
108
  optional :id, :string, 32768
105
109
  optional :name, :string, 32769
106
110
  optional :healthy, :bool, 32770
111
+ optional :tags, :message, 32771, "v1.Tags"
107
112
  optional :hostname, :string, 1
108
113
  optional :port_override, :int32, 2
109
114
  optional :username, :string, 3
@@ -114,6 +119,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
114
119
  optional :id, :string, 32768
115
120
  optional :name, :string, 32769
116
121
  optional :healthy, :bool, 32770
122
+ optional :tags, :message, 32771, "v1.Tags"
117
123
  optional :access_key, :string, 1
118
124
  optional :secret_access_key, :string, 2
119
125
  optional :region, :string, 3
@@ -124,6 +130,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
124
130
  optional :id, :string, 32768
125
131
  optional :name, :string, 32769
126
132
  optional :healthy, :bool, 32770
133
+ optional :tags, :message, 32771, "v1.Tags"
127
134
  optional :region, :string, 1
128
135
  optional :secret_access_key, :string, 2
129
136
  optional :endpoint, :string, 3
@@ -134,6 +141,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
134
141
  optional :id, :string, 32768
135
142
  optional :name, :string, 32769
136
143
  optional :healthy, :bool, 32770
144
+ optional :tags, :message, 32771, "v1.Tags"
137
145
  optional :hostname, :string, 1
138
146
  optional :username, :string, 2
139
147
  optional :password, :string, 3
@@ -145,6 +153,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
145
153
  optional :id, :string, 32768
146
154
  optional :name, :string, 32769
147
155
  optional :healthy, :bool, 32770
156
+ optional :tags, :message, 32771, "v1.Tags"
148
157
  optional :url, :string, 1
149
158
  optional :healthcheck_path, :string, 2
150
159
  optional :username, :string, 3
@@ -157,6 +166,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
157
166
  optional :id, :string, 32768
158
167
  optional :name, :string, 32769
159
168
  optional :healthy, :bool, 32770
169
+ optional :tags, :message, 32771, "v1.Tags"
160
170
  optional :url, :string, 1
161
171
  optional :healthcheck_path, :string, 2
162
172
  optional :headers_blacklist, :string, 3
@@ -167,6 +177,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
167
177
  optional :id, :string, 32768
168
178
  optional :name, :string, 32769
169
179
  optional :healthy, :bool, 32770
180
+ optional :tags, :message, 32771, "v1.Tags"
170
181
  optional :url, :string, 1
171
182
  optional :healthcheck_path, :string, 2
172
183
  optional :auth_header, :string, 3
@@ -178,6 +189,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
178
189
  optional :id, :string, 32768
179
190
  optional :name, :string, 32769
180
191
  optional :healthy, :bool, 32770
192
+ optional :tags, :message, 32771, "v1.Tags"
181
193
  optional :hostname, :string, 1
182
194
  optional :port, :int32, 2
183
195
  optional :certificate_authority, :string, 3
@@ -191,6 +203,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
191
203
  optional :id, :string, 32768
192
204
  optional :name, :string, 32769
193
205
  optional :healthy, :bool, 32770
206
+ optional :tags, :message, 32771, "v1.Tags"
194
207
  optional :hostname, :string, 1
195
208
  optional :port, :int32, 2
196
209
  optional :username, :string, 3
@@ -200,6 +213,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
200
213
  optional :id, :string, 32768
201
214
  optional :name, :string, 32769
202
215
  optional :healthy, :bool, 32770
216
+ optional :tags, :message, 32771, "v1.Tags"
203
217
  optional :hostname, :string, 1
204
218
  optional :port, :int32, 2
205
219
  optional :token, :string, 3
@@ -208,6 +222,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
208
222
  optional :id, :string, 32768
209
223
  optional :name, :string, 32769
210
224
  optional :healthy, :bool, 32770
225
+ optional :tags, :message, 32771, "v1.Tags"
211
226
  optional :endpoint, :string, 1
212
227
  optional :access_key, :string, 2
213
228
  optional :secret_access_key, :string, 3
@@ -221,6 +236,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
221
236
  optional :id, :string, 32768
222
237
  optional :name, :string, 32769
223
238
  optional :healthy, :bool, 32770
239
+ optional :tags, :message, 32771, "v1.Tags"
224
240
  optional :endpoint, :string, 1
225
241
  optional :certificate_authority, :string, 2
226
242
  optional :certificate_authority_filename, :string, 3
@@ -231,6 +247,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
231
247
  optional :id, :string, 32768
232
248
  optional :name, :string, 32769
233
249
  optional :healthy, :bool, 32770
250
+ optional :tags, :message, 32771, "v1.Tags"
234
251
  optional :hostname, :string, 1
235
252
  optional :port, :int32, 2
236
253
  optional :certificate_authority, :string, 3
@@ -244,6 +261,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
244
261
  optional :id, :string, 32768
245
262
  optional :name, :string, 32769
246
263
  optional :healthy, :bool, 32770
264
+ optional :tags, :message, 32771, "v1.Tags"
247
265
  optional :hostname, :string, 1
248
266
  optional :port, :int32, 2
249
267
  optional :username, :string, 3
@@ -253,6 +271,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
253
271
  optional :id, :string, 32768
254
272
  optional :name, :string, 32769
255
273
  optional :healthy, :bool, 32770
274
+ optional :tags, :message, 32771, "v1.Tags"
256
275
  optional :hostname, :string, 1
257
276
  optional :port, :int32, 2
258
277
  optional :token, :string, 3
@@ -261,6 +280,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
261
280
  optional :id, :string, 32768
262
281
  optional :name, :string, 32769
263
282
  optional :healthy, :bool, 32770
283
+ optional :tags, :message, 32771, "v1.Tags"
264
284
  optional :hostname, :string, 1
265
285
  optional :port_override, :int32, 2
266
286
  optional :port, :int32, 3
@@ -269,6 +289,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
269
289
  optional :id, :string, 32768
270
290
  optional :name, :string, 32769
271
291
  optional :healthy, :bool, 32770
292
+ optional :tags, :message, 32771, "v1.Tags"
272
293
  optional :hostname, :string, 1
273
294
  optional :auth_database, :string, 2
274
295
  optional :port_override, :int32, 3
@@ -282,6 +303,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
282
303
  optional :id, :string, 32768
283
304
  optional :name, :string, 32769
284
305
  optional :healthy, :bool, 32770
306
+ optional :tags, :message, 32771, "v1.Tags"
285
307
  optional :hostname, :string, 1
286
308
  optional :auth_database, :string, 2
287
309
  optional :port_override, :int32, 3
@@ -296,6 +318,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
296
318
  optional :id, :string, 32768
297
319
  optional :name, :string, 32769
298
320
  optional :healthy, :bool, 32770
321
+ optional :tags, :message, 32771, "v1.Tags"
299
322
  optional :hostname, :string, 1
300
323
  optional :auth_database, :string, 2
301
324
  optional :port_override, :int32, 3
@@ -308,6 +331,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
308
331
  optional :id, :string, 32768
309
332
  optional :name, :string, 32769
310
333
  optional :healthy, :bool, 32770
334
+ optional :tags, :message, 32771, "v1.Tags"
311
335
  optional :hostname, :string, 1
312
336
  optional :auth_database, :string, 2
313
337
  optional :port_override, :int32, 3
@@ -322,6 +346,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
322
346
  optional :id, :string, 32768
323
347
  optional :name, :string, 32769
324
348
  optional :healthy, :bool, 32770
349
+ optional :tags, :message, 32771, "v1.Tags"
325
350
  optional :hostname, :string, 1
326
351
  optional :username, :string, 2
327
352
  optional :password, :string, 3
@@ -333,6 +358,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
333
358
  optional :id, :string, 32768
334
359
  optional :name, :string, 32769
335
360
  optional :healthy, :bool, 32770
361
+ optional :tags, :message, 32771, "v1.Tags"
336
362
  optional :hostname, :string, 1
337
363
  optional :username, :string, 2
338
364
  optional :password, :string, 3
@@ -344,6 +370,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
344
370
  optional :id, :string, 32768
345
371
  optional :name, :string, 32769
346
372
  optional :healthy, :bool, 32770
373
+ optional :tags, :message, 32771, "v1.Tags"
347
374
  optional :hostname, :string, 1
348
375
  optional :username, :string, 2
349
376
  optional :password, :string, 3
@@ -355,6 +382,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
355
382
  optional :id, :string, 32768
356
383
  optional :name, :string, 32769
357
384
  optional :healthy, :bool, 32770
385
+ optional :tags, :message, 32771, "v1.Tags"
358
386
  optional :hostname, :string, 1
359
387
  optional :username, :string, 2
360
388
  optional :password, :string, 3
@@ -366,6 +394,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
366
394
  optional :id, :string, 32768
367
395
  optional :name, :string, 32769
368
396
  optional :healthy, :bool, 32770
397
+ optional :tags, :message, 32771, "v1.Tags"
369
398
  optional :hostname, :string, 1
370
399
  optional :username, :string, 2
371
400
  optional :password, :string, 3
@@ -377,6 +406,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
377
406
  optional :id, :string, 32768
378
407
  optional :name, :string, 32769
379
408
  optional :healthy, :bool, 32770
409
+ optional :tags, :message, 32771, "v1.Tags"
380
410
  optional :hostname, :string, 1
381
411
  optional :username, :string, 2
382
412
  optional :password, :string, 3
@@ -389,6 +419,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
389
419
  optional :id, :string, 32768
390
420
  optional :name, :string, 32769
391
421
  optional :healthy, :bool, 32770
422
+ optional :tags, :message, 32771, "v1.Tags"
392
423
  optional :hostname, :string, 1
393
424
  optional :username, :string, 2
394
425
  optional :password, :string, 3
@@ -401,6 +432,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
401
432
  optional :id, :string, 32768
402
433
  optional :name, :string, 32769
403
434
  optional :healthy, :bool, 32770
435
+ optional :tags, :message, 32771, "v1.Tags"
404
436
  optional :hostname, :string, 1
405
437
  optional :username, :string, 2
406
438
  optional :password, :string, 3
@@ -413,6 +445,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
413
445
  optional :id, :string, 32768
414
446
  optional :name, :string, 32769
415
447
  optional :healthy, :bool, 32770
448
+ optional :tags, :message, 32771, "v1.Tags"
416
449
  optional :hostname, :string, 1
417
450
  optional :username, :string, 2
418
451
  optional :password, :string, 3
@@ -425,6 +458,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
425
458
  optional :id, :string, 32768
426
459
  optional :name, :string, 32769
427
460
  optional :healthy, :bool, 32770
461
+ optional :tags, :message, 32771, "v1.Tags"
428
462
  optional :hostname, :string, 1
429
463
  optional :username, :string, 2
430
464
  optional :password, :string, 3
@@ -437,6 +471,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
437
471
  optional :id, :string, 32768
438
472
  optional :name, :string, 32769
439
473
  optional :healthy, :bool, 32770
474
+ optional :tags, :message, 32771, "v1.Tags"
440
475
  optional :hostname, :string, 1
441
476
  optional :username, :string, 2
442
477
  optional :password, :string, 3
@@ -449,6 +484,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
449
484
  optional :id, :string, 32768
450
485
  optional :name, :string, 32769
451
486
  optional :healthy, :bool, 32770
487
+ optional :tags, :message, 32771, "v1.Tags"
452
488
  optional :hostname, :string, 1
453
489
  optional :password, :string, 2
454
490
  optional :database, :string, 3
@@ -461,6 +497,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
461
497
  optional :id, :string, 32768
462
498
  optional :name, :string, 32769
463
499
  optional :healthy, :bool, 32770
500
+ optional :tags, :message, 32771, "v1.Tags"
464
501
  optional :hostname, :string, 1
465
502
  optional :username, :string, 2
466
503
  optional :password, :string, 3
@@ -471,6 +508,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
471
508
  optional :id, :string, 32768
472
509
  optional :name, :string, 32769
473
510
  optional :healthy, :bool, 32770
511
+ optional :tags, :message, 32771, "v1.Tags"
474
512
  optional :hostname, :string, 1
475
513
  optional :port_override, :int32, 2
476
514
  optional :password, :string, 3
@@ -480,6 +518,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
480
518
  optional :id, :string, 32768
481
519
  optional :name, :string, 32769
482
520
  optional :healthy, :bool, 32770
521
+ optional :tags, :message, 32771, "v1.Tags"
483
522
  optional :hostname, :string, 1
484
523
  optional :port_override, :int32, 2
485
524
  optional :password, :string, 3
@@ -490,6 +529,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
490
529
  optional :id, :string, 32768
491
530
  optional :name, :string, 32769
492
531
  optional :healthy, :bool, 32770
532
+ optional :tags, :message, 32771, "v1.Tags"
493
533
  optional :hostname, :string, 1
494
534
  optional :username, :string, 2
495
535
  optional :password, :string, 3
@@ -501,6 +541,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
501
541
  optional :id, :string, 32768
502
542
  optional :name, :string, 32769
503
543
  optional :healthy, :bool, 32770
544
+ optional :tags, :message, 32771, "v1.Tags"
504
545
  optional :hostname, :string, 1
505
546
  optional :username, :string, 2
506
547
  optional :password, :string, 3
@@ -514,6 +555,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
514
555
  optional :id, :string, 32768
515
556
  optional :name, :string, 32769
516
557
  optional :healthy, :bool, 32770
558
+ optional :tags, :message, 32771, "v1.Tags"
517
559
  optional :hostname, :string, 1
518
560
  optional :username, :string, 2
519
561
  optional :port, :int32, 3
@@ -524,6 +566,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
524
566
  optional :id, :string, 32768
525
567
  optional :name, :string, 32769
526
568
  optional :healthy, :bool, 32770
569
+ optional :tags, :message, 32771, "v1.Tags"
527
570
  optional :hostname, :string, 1
528
571
  optional :username, :string, 2
529
572
  optional :port_override, :int32, 3
@@ -534,6 +577,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
534
577
  optional :id, :string, 32768
535
578
  optional :name, :string, 32769
536
579
  optional :healthy, :bool, 32770
580
+ optional :tags, :message, 32771, "v1.Tags"
537
581
  optional :hostname, :string, 1
538
582
  optional :username, :string, 2
539
583
  optional :port_override, :int32, 3
@@ -544,6 +588,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
544
588
  optional :id, :string, 32768
545
589
  optional :name, :string, 32769
546
590
  optional :healthy, :bool, 32770
591
+ optional :tags, :message, 32771, "v1.Tags"
547
592
  optional :hostname, :string, 1
548
593
  optional :username, :string, 2
549
594
  optional :password, :string, 3
data/lib/grpc/nodes_pb.rb CHANGED
@@ -1,26 +1,26 @@
1
1
  # Copyright 2020 StrongDM Inc
2
- #
2
+ #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
- #
6
+ #
7
7
  # http://www.apache.org/licenses/LICENSE-2.0
8
- #
8
+ #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
11
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
- #
14
+ #
15
15
  # Generated by the protocol buffer compiler. DO NOT EDIT!
16
16
  # source: nodes.proto
17
17
 
18
- require "google/protobuf"
18
+ require 'google/protobuf'
19
19
 
20
- require "google/api/annotations_pb"
21
- require "protoc-gen-swagger/options/annotations_pb"
22
- require "options_pb"
23
- require "spec_pb"
20
+ require 'google/api/annotations_pb'
21
+ require 'protoc-gen-swagger/options/annotations_pb'
22
+ require 'options_pb'
23
+ require 'spec_pb'
24
24
  Google::Protobuf::DescriptorPool.generated_pool.build do
25
25
  add_file("nodes.proto", :syntax => :proto3) do
26
26
  add_message "v1.NodeCreateRequest" do
@@ -1,22 +1,22 @@
1
1
  # Copyright 2020 StrongDM Inc
2
- #
2
+ #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
- #
6
+ #
7
7
  # http://www.apache.org/licenses/LICENSE-2.0
8
- #
8
+ #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
11
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
- #
14
+ #
15
15
  # Generated by the protocol buffer compiler. DO NOT EDIT!
16
16
  # Source: nodes.proto for package 'v1'
17
17
 
18
- require "grpc"
19
- require "nodes_pb"
18
+ require 'grpc'
19
+ require 'nodes_pb'
20
20
 
21
21
  module V1
22
22
  module Nodes
@@ -25,11 +25,12 @@ module V1
25
25
  # 1. **Relay:** creates connectivity to your datasources, while maintaining the egress-only nature of your firewall
26
26
  # 1. **Gateways:** a relay that also listens for connections from strongDM clients
27
27
  class Service
28
+
28
29
  include GRPC::GenericService
29
30
 
30
31
  self.marshal_class_method = :encode
31
32
  self.unmarshal_class_method = :decode
32
- self.service_name = "v1.Nodes"
33
+ self.service_name = 'v1.Nodes'
33
34
 
34
35
  # Create registers a new Node.
35
36
  rpc :Create, NodeCreateRequest, NodeCreateResponse
@@ -1,21 +1,21 @@
1
1
  # Copyright 2020 StrongDM Inc
2
- #
2
+ #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
- #
6
+ #
7
7
  # http://www.apache.org/licenses/LICENSE-2.0
8
- #
8
+ #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
11
11
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
- #
14
+ #
15
15
  # Generated by the protocol buffer compiler. DO NOT EDIT!
16
16
  # source: options.proto
17
17
 
18
- require "google/protobuf"
18
+ require 'google/protobuf'
19
19
 
20
20
  Google::Protobuf::DescriptorPool.generated_pool.build do
21
21
  add_file("options.proto", :syntax => :proto3) do
@@ -29,6 +29,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
29
29
  optional :sdk_only, :bool, 1941306
30
30
  optional :computed, :bool, 1941307
31
31
  optional :force_new, :bool, 1941308
32
+ optional :write_only, :bool, 1941309
32
33
  end
33
34
  add_message "v1.MessageOptions" do
34
35
  optional :model_name, :string, 1941300
@@ -36,6 +37,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
36
37
  optional :error, :int32, 1941302
37
38
  optional :options_field, :string, 1941303
38
39
  optional :terraform_docs, :message, 1941304, "v1.TerraformDocs"
40
+ optional :custom, :message, 1941305, "v1.CustomPorcelainMessageOptions"
41
+ end
42
+ add_message "v1.CustomPorcelainMessageOptions" do
43
+ optional :converter, :string, 1941309
44
+ optional :go_porcelain_type, :string, 1941310
45
+ optional :java_porcelain_type, :string, 1941311
46
+ optional :terraform_porcelain_type, :string, 1941312
39
47
  end
40
48
  add_message "v1.TerraformDocs" do
41
49
  optional :resource_example_path, :string, 1941300
@@ -54,6 +62,7 @@ end
54
62
  module V1
55
63
  FieldOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.FieldOptions").msgclass
56
64
  MessageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MessageOptions").msgclass
65
+ CustomPorcelainMessageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CustomPorcelainMessageOptions").msgclass
57
66
  TerraformDocs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.TerraformDocs").msgclass
58
67
  OneofOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.OneofOptions").msgclass
59
68
  ServiceOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ServiceOptions").msgclass