strongdm 16.16.0 → 16.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-64e3d69a86675ffa846a899dacd9ad7e468975c9.idx → pack-c59ede94a0347eb670c4e52785e0bfa2f5afdd7b.idx} +0 -0
- data/.git/objects/pack/{pack-64e3d69a86675ffa846a899dacd9ad7e468975c9.pack → pack-c59ede94a0347eb670c4e52785e0bfa2f5afdd7b.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/account_grants_pb.rb +1 -0
- data/lib/grpc/authorization_policies_pb.rb +37 -18
- data/lib/grpc/drivers_pb.rb +20 -14
- data/lib/grpc/plumbing.rb +66 -52
- data/lib/grpc/resourcetypes_pb.rb +1 -1
- data/lib/models/porcelain.rb +63 -38
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +2 -2
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e6b32d3fe139cbd9845f3f56447c368792c3f018170a0113d39386f4738a5cf
|
|
4
|
+
data.tar.gz: a78a471a817c8082a8cbd22e63852115ffa1ed837cd35b7e191c42a7e0adf7a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 479fb414147cfb1db9430031e7376853b441df11b34129e2a77ba37b2c98ec06cf2b347743bf50bd6a8f6a50c95347be8efb1134d8890a109e9b3bf577d25bdc
|
|
7
|
+
data.tar.gz: 10e70a183d09c3b09eeab828c84eb82cdf8de193acbd5f4a8c559383147b2e165ec34d953a7d9bdb203633bc96e26dcb208842aeaef856bd9db59c01bdc02a72
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
faf9218bcf932aa16115ce5bdad98cf7e1c26e35
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 faf9218bcf932aa16115ce5bdad98cf7e1c26e35 root <root@27511d56aa41.(none)> 1773315083 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
faf9218bcf932aa16115ce5bdad98cf7e1c26e35 faf9218bcf932aa16115ce5bdad98cf7e1c26e35 root <root@27511d56aa41.(none)> 1773315083 +0000 checkout: moving from master to master
|
|
3
|
+
faf9218bcf932aa16115ce5bdad98cf7e1c26e35 74344928c432ecaaab2bf22852ce85c7e22147f8 root <root@27511d56aa41.(none)> 1773315083 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 faf9218bcf932aa16115ce5bdad98cf7e1c26e35 root <root@27511d56aa41.(none)> 1773315083 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
faf9218bcf932aa16115ce5bdad98cf7e1c26e35 74344928c432ecaaab2bf22852ce85c7e22147f8 root <root@27511d56aa41.(none)> 1773315083 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 faf9218bcf932aa16115ce5bdad98cf7e1c26e35 root <root@27511d56aa41.(none)> 1773315083 +0000 clone: from 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
|
+
74344928c432ecaaab2bf22852ce85c7e22147f8 refs/remotes/origin/development
|
|
3
|
+
faf9218bcf932aa16115ce5bdad98cf7e1c26e35 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
|
|
@@ -144,6 +144,8 @@ c3b0eeef356ddf0cf408d1305fd766791121803f refs/tags/v15.46.0
|
|
|
144
144
|
2e067a01b90cfd6cce4b1bde6395a2f0019ef29e refs/tags/v16.12.0
|
|
145
145
|
2021ebc52e6f975f3eedbd795c3a0a9dadc2caa3 refs/tags/v16.13.0
|
|
146
146
|
0c150dec9c7f8e236df4f8a65dc373193b73991f refs/tags/v16.14.0
|
|
147
|
+
3a90d7e58d3311757817bb558d755e7ee36528f3 refs/tags/v16.16.0
|
|
148
|
+
faf9218bcf932aa16115ce5bdad98cf7e1c26e35 refs/tags/v16.17.0
|
|
147
149
|
3f2a99e1a4296cf5b4937d57b901051b9381c209 refs/tags/v16.3.0
|
|
148
150
|
eb2c5388eb894fce71666148224e02d977c87baa refs/tags/v16.4.0
|
|
149
151
|
6450bdc10119fb8a00123c4262d6f245a70ed06a refs/tags/v16.5.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
74344928c432ecaaab2bf22852ce85c7e22147f8
|
|
@@ -65,6 +65,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
65
65
|
optional :start_from, :message, 4, "google.protobuf.Timestamp"
|
|
66
66
|
optional :valid_until, :message, 5, "google.protobuf.Timestamp"
|
|
67
67
|
optional :access_rule, :string, 6
|
|
68
|
+
optional :access_request_id, :string, 7
|
|
68
69
|
end
|
|
69
70
|
end
|
|
70
71
|
end
|
|
@@ -78,20 +78,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
78
78
|
optional :state, :enum, 5, "v1.AuthorizationPolicyState"
|
|
79
79
|
end
|
|
80
80
|
add_message "v1.AuthorizationPolicyItem" do
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
81
|
+
oneof :kind do
|
|
82
|
+
optional :principal_all, :message, 1, "v1.AuthorizationPolicyItemPrincipalAll"
|
|
83
|
+
optional :principal_by_ids, :message, 2, "v1.AuthorizationPolicyItemPrincipalByIds"
|
|
84
|
+
optional :resources_all, :message, 3, "v1.AuthorizationPolicyItemResourcesAll"
|
|
85
|
+
optional :resource_by_ids, :message, 4, "v1.AuthorizationPolicyItemResourceByIds"
|
|
86
|
+
optional :resource_by_type_and_tags, :message, 5, "v1.AuthorizationPolicyItemResourceByTypeAndTags"
|
|
87
|
+
optional :resource_by_type_tags_and_kubernetes_groups, :message, 6, "v1.AuthorizationPolicyItemResourceByTypeTagsAndKubernetesGroups"
|
|
88
|
+
optional :resource_by_okta_with_groups, :message, 7, "v1.AuthorizationPolicyItemResourceByOktaWithGroups"
|
|
89
|
+
optional :resource_by_entra_with_groups, :message, 8, "v1.AuthorizationPolicyItemResourceByEntraWithGroups"
|
|
90
|
+
optional :condition_mfa, :message, 9, "v1.AuthorizationPolicyItemConditionMFA"
|
|
91
|
+
optional :condition_device_trust, :message, 10, "v1.AuthorizationPolicyItemConditionDeviceTrust"
|
|
92
|
+
optional :condition_location, :message, 11, "v1.AuthorizationPolicyItemConditionLocation"
|
|
93
|
+
optional :condition_ip, :message, 12, "v1.AuthorizationPolicyItemConditionIP"
|
|
94
|
+
optional :condition_time, :message, 13, "v1.AuthorizationPolicyItemConditionTime"
|
|
95
|
+
optional :condition_approval_flow, :message, 14, "v1.AuthorizationPolicyItemConditionApprovalFlow"
|
|
96
|
+
end
|
|
95
97
|
end
|
|
96
98
|
add_message "v1.AuthorizationPolicyItemPrincipalAll" do
|
|
97
99
|
end
|
|
@@ -113,11 +115,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
113
115
|
repeated :kubernetes_groups, :string, 3
|
|
114
116
|
end
|
|
115
117
|
add_message "v1.AuthorizationPolicyItemResourceByOktaWithGroups" do
|
|
116
|
-
optional :
|
|
118
|
+
optional :resource_id, :string, 1
|
|
117
119
|
repeated :groups, :string, 2
|
|
118
120
|
end
|
|
119
121
|
add_message "v1.AuthorizationPolicyItemResourceByEntraWithGroups" do
|
|
120
|
-
optional :
|
|
122
|
+
optional :resource_id, :string, 1
|
|
121
123
|
repeated :groups, :string, 2
|
|
122
124
|
end
|
|
123
125
|
add_message "v1.AuthorizationPolicyItemConditionMFA" do
|
|
@@ -164,21 +166,36 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
164
166
|
add_message "v1.AuthorizationPolicyTimeRule" do
|
|
165
167
|
oneof :rule do
|
|
166
168
|
optional :day_of_week, :message, 1, "v1.AuthorizationPolicyTimeRuleDayOfWeek"
|
|
167
|
-
optional :time_of_day, :message, 2, "v1.
|
|
169
|
+
optional :time_of_day, :message, 2, "v1.LegacyAuthorizationPolicyTimeRuleTimeOfDay"
|
|
168
170
|
optional :month, :message, 3, "v1.AuthorizationPolicyTimeRuleMonth"
|
|
169
171
|
optional :days_of_month, :message, 4, "v1.AuthorizationPolicyTimeRuleDaysOfMonth"
|
|
172
|
+
optional :time_of_day_outside_of, :message, 5, "v1.LegacyAuthorizationPolicyTimeRuleTimeOfDayOutsideOf"
|
|
173
|
+
optional :time_of_day_with_operator, :message, 6, "v1.AuthorizationPolicyTimeRuleTimeOfDay"
|
|
170
174
|
end
|
|
171
175
|
end
|
|
172
176
|
add_message "v1.AuthorizationPolicyTimeRuleDayOfWeek" do
|
|
173
177
|
optional :operator, :enum, 1, "v1.AuthorizationPolicyTimeOperator"
|
|
174
178
|
repeated :days, :enum, 2, "v1.AuthorizationPolicyDayOfWeek"
|
|
175
179
|
end
|
|
176
|
-
add_message "v1.
|
|
180
|
+
add_message "v1.LegacyAuthorizationPolicyTimeRuleTimeOfDay" do
|
|
181
|
+
optional :start_hour, :int32, 1
|
|
182
|
+
optional :start_minutes, :int32, 2
|
|
183
|
+
optional :end_hour, :int32, 3
|
|
184
|
+
optional :end_minutes, :int32, 4
|
|
185
|
+
end
|
|
186
|
+
add_message "v1.LegacyAuthorizationPolicyTimeRuleTimeOfDayOutsideOf" do
|
|
177
187
|
optional :start_hour, :int32, 1
|
|
178
188
|
optional :start_minutes, :int32, 2
|
|
179
189
|
optional :end_hour, :int32, 3
|
|
180
190
|
optional :end_minutes, :int32, 4
|
|
181
191
|
end
|
|
192
|
+
add_message "v1.AuthorizationPolicyTimeRuleTimeOfDay" do
|
|
193
|
+
optional :operator, :enum, 1, "v1.AuthorizationPolicyTimeOperator"
|
|
194
|
+
optional :start_hour, :int32, 2
|
|
195
|
+
optional :start_minutes, :int32, 3
|
|
196
|
+
optional :end_hour, :int32, 4
|
|
197
|
+
optional :end_minutes, :int32, 5
|
|
198
|
+
end
|
|
182
199
|
add_message "v1.AuthorizationPolicyTimeRuleMonth" do
|
|
183
200
|
repeated :months, :int32, 1
|
|
184
201
|
end
|
|
@@ -273,6 +290,8 @@ module V1
|
|
|
273
290
|
AuthorizationPolicyItemConditionTime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyItemConditionTime").msgclass
|
|
274
291
|
AuthorizationPolicyTimeRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyTimeRule").msgclass
|
|
275
292
|
AuthorizationPolicyTimeRuleDayOfWeek = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyTimeRuleDayOfWeek").msgclass
|
|
293
|
+
LegacyAuthorizationPolicyTimeRuleTimeOfDay = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.LegacyAuthorizationPolicyTimeRuleTimeOfDay").msgclass
|
|
294
|
+
LegacyAuthorizationPolicyTimeRuleTimeOfDayOutsideOf = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.LegacyAuthorizationPolicyTimeRuleTimeOfDayOutsideOf").msgclass
|
|
276
295
|
AuthorizationPolicyTimeRuleTimeOfDay = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyTimeRuleTimeOfDay").msgclass
|
|
277
296
|
AuthorizationPolicyTimeRuleMonth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyTimeRuleMonth").msgclass
|
|
278
297
|
AuthorizationPolicyTimeRuleDaysOfMonth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AuthorizationPolicyTimeRuleDaysOfMonth").msgclass
|
data/lib/grpc/drivers_pb.rb
CHANGED
|
@@ -95,9 +95,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
95
95
|
optional :kubernetes_service_account, :message, 804, "v1.KubernetesServiceAccount"
|
|
96
96
|
optional :kubernetes_service_account_user_impersonation, :message, 808, "v1.KubernetesServiceAccountUserImpersonation"
|
|
97
97
|
optional :kubernetes_user_impersonation, :message, 812, "v1.KubernetesUserImpersonation"
|
|
98
|
-
optional :mcp, :message, 4700, "v1.MCP"
|
|
99
|
-
optional :mcpdcr, :message, 4701, "v1.MCPDCR"
|
|
100
98
|
optional :mcp_gateway_no_auth, :message, 4703, "v1.MCPGatewayNoAuth"
|
|
99
|
+
optional :mcp_gateway_o_auth, :message, 4700, "v1.MCPGatewayOAuth"
|
|
100
|
+
optional :mcp_gateway_o_auth_dcr, :message, 4701, "v1.MCPGatewayOAuthDCR"
|
|
101
101
|
optional :mcp_gateway_pat, :message, 4702, "v1.MCPGatewayPAT"
|
|
102
102
|
optional :mtls_mysql, :message, 1106, "v1.MTLSMysql"
|
|
103
103
|
optional :mtls_postgres, :message, 1306, "v1.MTLSPostgres"
|
|
@@ -291,6 +291,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
291
291
|
optional :role_external_id, :string, 4
|
|
292
292
|
optional :session_expiry, :int32, 5
|
|
293
293
|
optional :subdomain, :string, 6
|
|
294
|
+
optional :use_https, :bool, 15
|
|
294
295
|
end
|
|
295
296
|
add_message "v1.AWSConsoleStaticKeyPair" do
|
|
296
297
|
optional :id, :string, 32768
|
|
@@ -311,6 +312,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
311
312
|
optional :secret_access_key, :string, 2
|
|
312
313
|
optional :session_expiry, :int32, 6
|
|
313
314
|
optional :subdomain, :string, 7
|
|
315
|
+
optional :use_https, :bool, 14
|
|
314
316
|
end
|
|
315
317
|
add_message "v1.AWSInstanceProfile" do
|
|
316
318
|
optional :id, :string, 32768
|
|
@@ -1248,6 +1250,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1248
1250
|
optional :host_override, :string, 7
|
|
1249
1251
|
optional :port_override, :int32, 12
|
|
1250
1252
|
optional :subdomain, :string, 6
|
|
1253
|
+
optional :tls_required, :bool, 9
|
|
1251
1254
|
optional :url, :string, 1
|
|
1252
1255
|
end
|
|
1253
1256
|
add_message "v1.HTTPBasicAuth" do
|
|
@@ -1267,6 +1270,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1267
1270
|
optional :password, :string, 4
|
|
1268
1271
|
optional :port_override, :int32, 12
|
|
1269
1272
|
optional :subdomain, :string, 7
|
|
1273
|
+
optional :tls_required, :bool, 10
|
|
1270
1274
|
optional :url, :string, 1
|
|
1271
1275
|
optional :username, :string, 3
|
|
1272
1276
|
end
|
|
@@ -1286,6 +1290,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1286
1290
|
optional :host_override, :string, 6
|
|
1287
1291
|
optional :port_override, :int32, 12
|
|
1288
1292
|
optional :subdomain, :string, 5
|
|
1293
|
+
optional :tls_required, :bool, 8
|
|
1289
1294
|
optional :url, :string, 1
|
|
1290
1295
|
end
|
|
1291
1296
|
add_message "v1.Kubernetes" do
|
|
@@ -1402,7 +1407,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1402
1407
|
optional :port, :int32, 2
|
|
1403
1408
|
optional :port_override, :int32, 10
|
|
1404
1409
|
end
|
|
1405
|
-
add_message "v1.
|
|
1410
|
+
add_message "v1.MCPGatewayNoAuth" do
|
|
1406
1411
|
optional :id, :string, 32768
|
|
1407
1412
|
optional :name, :string, 32769
|
|
1408
1413
|
optional :healthy, :bool, 32770
|
|
@@ -1413,14 +1418,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1413
1418
|
optional :proxy_cluster_id, :string, 32776
|
|
1414
1419
|
optional :subdomain, :string, 32775
|
|
1415
1420
|
optional :hostname, :string, 1
|
|
1416
|
-
optional :oauth_auth_endpoint, :string, 8
|
|
1417
|
-
optional :oauth_scopes, :string, 11
|
|
1418
|
-
optional :oauth_token_endpoint, :string, 9
|
|
1419
|
-
optional :password, :string, 2
|
|
1420
1421
|
optional :port_override, :int32, 4
|
|
1421
|
-
optional :username, :string, 6
|
|
1422
1422
|
end
|
|
1423
|
-
add_message "v1.
|
|
1423
|
+
add_message "v1.MCPGatewayOAuth" do
|
|
1424
1424
|
optional :id, :string, 32768
|
|
1425
1425
|
optional :name, :string, 32769
|
|
1426
1426
|
optional :healthy, :bool, 32770
|
|
@@ -1432,12 +1432,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1432
1432
|
optional :subdomain, :string, 32775
|
|
1433
1433
|
optional :hostname, :string, 1
|
|
1434
1434
|
optional :oauth_auth_endpoint, :string, 8
|
|
1435
|
-
optional :
|
|
1436
|
-
optional :oauth_scopes, :string, 12
|
|
1435
|
+
optional :oauth_scopes, :string, 11
|
|
1437
1436
|
optional :oauth_token_endpoint, :string, 9
|
|
1437
|
+
optional :password, :string, 2
|
|
1438
1438
|
optional :port_override, :int32, 4
|
|
1439
|
+
optional :username, :string, 6
|
|
1439
1440
|
end
|
|
1440
|
-
add_message "v1.
|
|
1441
|
+
add_message "v1.MCPGatewayOAuthDCR" do
|
|
1441
1442
|
optional :id, :string, 32768
|
|
1442
1443
|
optional :name, :string, 32769
|
|
1443
1444
|
optional :healthy, :bool, 32770
|
|
@@ -1448,6 +1449,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1448
1449
|
optional :proxy_cluster_id, :string, 32776
|
|
1449
1450
|
optional :subdomain, :string, 32775
|
|
1450
1451
|
optional :hostname, :string, 1
|
|
1452
|
+
optional :oauth_auth_endpoint, :string, 8
|
|
1453
|
+
optional :oauth_register_endpoint, :string, 10
|
|
1454
|
+
optional :oauth_scopes, :string, 12
|
|
1455
|
+
optional :oauth_token_endpoint, :string, 9
|
|
1451
1456
|
optional :port_override, :int32, 4
|
|
1452
1457
|
end
|
|
1453
1458
|
add_message "v1.MCPGatewayPAT" do
|
|
@@ -2170,6 +2175,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
2170
2175
|
optional :port_override, :int32, 3
|
|
2171
2176
|
optional :samlMetadata, :string, 1
|
|
2172
2177
|
optional :subdomain, :string, 2
|
|
2178
|
+
optional :use_https, :bool, 14
|
|
2173
2179
|
end
|
|
2174
2180
|
add_message "v1.Sybase" do
|
|
2175
2181
|
optional :id, :string, 32768
|
|
@@ -2328,9 +2334,9 @@ module V1
|
|
|
2328
2334
|
KubernetesServiceAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesServiceAccount").msgclass
|
|
2329
2335
|
KubernetesServiceAccountUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesServiceAccountUserImpersonation").msgclass
|
|
2330
2336
|
KubernetesUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesUserImpersonation").msgclass
|
|
2331
|
-
MCP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MCP").msgclass
|
|
2332
|
-
MCPDCR = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MCPDCR").msgclass
|
|
2333
2337
|
MCPGatewayNoAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MCPGatewayNoAuth").msgclass
|
|
2338
|
+
MCPGatewayOAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MCPGatewayOAuth").msgclass
|
|
2339
|
+
MCPGatewayOAuthDCR = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MCPGatewayOAuthDCR").msgclass
|
|
2334
2340
|
MCPGatewayPAT = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MCPGatewayPAT").msgclass
|
|
2335
2341
|
MTLSMysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MTLSMysql").msgclass
|
|
2336
2342
|
MTLSPostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MTLSPostgres").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
|
@@ -382,12 +382,12 @@ module SDM
|
|
|
382
382
|
return SDM::ResourceType::RESOURCE_TYPE_KUBERNETES_SERVICE_ACCOUNT_USER_IMPERSONATION
|
|
383
383
|
when V1::ResourceType::RESOURCE_TYPE_KUBERNETES_USER_IMPERSONATION
|
|
384
384
|
return SDM::ResourceType::RESOURCE_TYPE_KUBERNETES_USER_IMPERSONATION
|
|
385
|
+
when V1::ResourceType::RESOURCE_TYPE_MCP_NO_AUTH
|
|
386
|
+
return SDM::ResourceType::RESOURCE_TYPE_MCP_NO_AUTH
|
|
385
387
|
when V1::ResourceType::RESOURCE_TYPE_MCP
|
|
386
388
|
return SDM::ResourceType::RESOURCE_TYPE_MCP
|
|
387
389
|
when V1::ResourceType::RESOURCE_TYPE_MCPDCR
|
|
388
390
|
return SDM::ResourceType::RESOURCE_TYPE_MCPDCR
|
|
389
|
-
when V1::ResourceType::RESOURCE_TYPE_MCP_NO_AUTH
|
|
390
|
-
return SDM::ResourceType::RESOURCE_TYPE_MCP_NO_AUTH
|
|
391
391
|
when V1::ResourceType::RESOURCE_TYPE_MCPPAT
|
|
392
392
|
return SDM::ResourceType::RESOURCE_TYPE_MCPPAT
|
|
393
393
|
when V1::ResourceType::RESOURCE_TYPE_MTLS_MY_SQL
|
|
@@ -640,12 +640,12 @@ module SDM
|
|
|
640
640
|
value = V1::ResourceType::RESOURCE_TYPE_KUBERNETES_SERVICE_ACCOUNT_USER_IMPERSONATION
|
|
641
641
|
when SDM::ResourceType::RESOURCE_TYPE_KUBERNETES_USER_IMPERSONATION, "RESOURCE_TYPE_KUBERNETES_USER_IMPERSONATION"
|
|
642
642
|
value = V1::ResourceType::RESOURCE_TYPE_KUBERNETES_USER_IMPERSONATION
|
|
643
|
+
when SDM::ResourceType::RESOURCE_TYPE_MCP_NO_AUTH, "RESOURCE_TYPE_MCP_NO_AUTH"
|
|
644
|
+
value = V1::ResourceType::RESOURCE_TYPE_MCP_NO_AUTH
|
|
643
645
|
when SDM::ResourceType::RESOURCE_TYPE_MCP, "RESOURCE_TYPE_MCP"
|
|
644
646
|
value = V1::ResourceType::RESOURCE_TYPE_MCP
|
|
645
647
|
when SDM::ResourceType::RESOURCE_TYPE_MCPDCR, "RESOURCE_TYPE_MCPDCR"
|
|
646
648
|
value = V1::ResourceType::RESOURCE_TYPE_MCPDCR
|
|
647
|
-
when SDM::ResourceType::RESOURCE_TYPE_MCP_NO_AUTH, "RESOURCE_TYPE_MCP_NO_AUTH"
|
|
648
|
-
value = V1::ResourceType::RESOURCE_TYPE_MCP_NO_AUTH
|
|
649
649
|
when SDM::ResourceType::RESOURCE_TYPE_MCPPAT, "RESOURCE_TYPE_MCPPAT"
|
|
650
650
|
value = V1::ResourceType::RESOURCE_TYPE_MCPPAT
|
|
651
651
|
when SDM::ResourceType::RESOURCE_TYPE_MTLS_MY_SQL, "RESOURCE_TYPE_MTLS_MY_SQL"
|
|
@@ -1335,6 +1335,7 @@ module SDM
|
|
|
1335
1335
|
porcelain.session_expiry = (plumbing.session_expiry)
|
|
1336
1336
|
porcelain.subdomain = (plumbing.subdomain)
|
|
1337
1337
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
1338
|
+
porcelain.use_https = (plumbing.use_https)
|
|
1338
1339
|
porcelain
|
|
1339
1340
|
end
|
|
1340
1341
|
|
|
@@ -1360,6 +1361,7 @@ module SDM
|
|
|
1360
1361
|
plumbing.session_expiry = (porcelain.session_expiry)
|
|
1361
1362
|
plumbing.subdomain = (porcelain.subdomain)
|
|
1362
1363
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
1364
|
+
plumbing.use_https = (porcelain.use_https)
|
|
1363
1365
|
plumbing
|
|
1364
1366
|
end
|
|
1365
1367
|
def self.convert_repeated_aws_console_to_plumbing(porcelains)
|
|
@@ -1402,6 +1404,7 @@ module SDM
|
|
|
1402
1404
|
porcelain.session_expiry = (plumbing.session_expiry)
|
|
1403
1405
|
porcelain.subdomain = (plumbing.subdomain)
|
|
1404
1406
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
1407
|
+
porcelain.use_https = (plumbing.use_https)
|
|
1405
1408
|
porcelain
|
|
1406
1409
|
end
|
|
1407
1410
|
|
|
@@ -1428,6 +1431,7 @@ module SDM
|
|
|
1428
1431
|
plumbing.session_expiry = (porcelain.session_expiry)
|
|
1429
1432
|
plumbing.subdomain = (porcelain.subdomain)
|
|
1430
1433
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
1434
|
+
plumbing.use_https = (porcelain.use_https)
|
|
1431
1435
|
plumbing
|
|
1432
1436
|
end
|
|
1433
1437
|
def self.convert_repeated_aws_console_static_key_pair_to_plumbing(porcelains)
|
|
@@ -2201,6 +2205,7 @@ module SDM
|
|
|
2201
2205
|
return nil
|
|
2202
2206
|
end
|
|
2203
2207
|
porcelain = AccountGrant.new()
|
|
2208
|
+
porcelain.access_request_id = (plumbing.access_request_id)
|
|
2204
2209
|
porcelain.access_rule = convert_access_rule_to_porcelain(plumbing.access_rule)
|
|
2205
2210
|
porcelain.account_id = (plumbing.account_id)
|
|
2206
2211
|
porcelain.id = (plumbing.id)
|
|
@@ -2215,6 +2220,7 @@ module SDM
|
|
|
2215
2220
|
return nil
|
|
2216
2221
|
end
|
|
2217
2222
|
plumbing = V1::AccountGrant.new()
|
|
2223
|
+
plumbing.access_request_id = (porcelain.access_request_id)
|
|
2218
2224
|
plumbing.access_rule = convert_access_rule_to_plumbing(porcelain.access_rule)
|
|
2219
2225
|
plumbing.account_id = (porcelain.account_id)
|
|
2220
2226
|
plumbing.id = (porcelain.id)
|
|
@@ -9634,6 +9640,7 @@ module SDM
|
|
|
9634
9640
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
9635
9641
|
porcelain.subdomain = (plumbing.subdomain)
|
|
9636
9642
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
9643
|
+
porcelain.tls_required = (plumbing.tls_required)
|
|
9637
9644
|
porcelain.url = (plumbing.url)
|
|
9638
9645
|
porcelain
|
|
9639
9646
|
end
|
|
@@ -9659,6 +9666,7 @@ module SDM
|
|
|
9659
9666
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
9660
9667
|
plumbing.subdomain = (porcelain.subdomain)
|
|
9661
9668
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
9669
|
+
plumbing.tls_required = (porcelain.tls_required)
|
|
9662
9670
|
plumbing.url = (porcelain.url)
|
|
9663
9671
|
plumbing
|
|
9664
9672
|
end
|
|
@@ -9700,6 +9708,7 @@ module SDM
|
|
|
9700
9708
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
9701
9709
|
porcelain.subdomain = (plumbing.subdomain)
|
|
9702
9710
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
9711
|
+
porcelain.tls_required = (plumbing.tls_required)
|
|
9703
9712
|
porcelain.url = (plumbing.url)
|
|
9704
9713
|
porcelain.username = (plumbing.username)
|
|
9705
9714
|
porcelain
|
|
@@ -9726,6 +9735,7 @@ module SDM
|
|
|
9726
9735
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
9727
9736
|
plumbing.subdomain = (porcelain.subdomain)
|
|
9728
9737
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
9738
|
+
plumbing.tls_required = (porcelain.tls_required)
|
|
9729
9739
|
plumbing.url = (porcelain.url)
|
|
9730
9740
|
plumbing.username = (porcelain.username)
|
|
9731
9741
|
plumbing
|
|
@@ -9767,6 +9777,7 @@ module SDM
|
|
|
9767
9777
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
9768
9778
|
porcelain.subdomain = (plumbing.subdomain)
|
|
9769
9779
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
9780
|
+
porcelain.tls_required = (plumbing.tls_required)
|
|
9770
9781
|
porcelain.url = (plumbing.url)
|
|
9771
9782
|
porcelain
|
|
9772
9783
|
end
|
|
@@ -9791,6 +9802,7 @@ module SDM
|
|
|
9791
9802
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
9792
9803
|
plumbing.subdomain = (porcelain.subdomain)
|
|
9793
9804
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
9805
|
+
plumbing.tls_required = (porcelain.tls_required)
|
|
9794
9806
|
plumbing.url = (porcelain.url)
|
|
9795
9807
|
plumbing
|
|
9796
9808
|
end
|
|
@@ -11093,75 +11105,65 @@ module SDM
|
|
|
11093
11105
|
end
|
|
11094
11106
|
items
|
|
11095
11107
|
end
|
|
11096
|
-
def self.
|
|
11108
|
+
def self.convert_mcp_gateway_no_auth_to_porcelain(plumbing)
|
|
11097
11109
|
if plumbing == nil
|
|
11098
11110
|
return nil
|
|
11099
11111
|
end
|
|
11100
|
-
porcelain =
|
|
11112
|
+
porcelain = MCPGatewayNoAuth.new()
|
|
11101
11113
|
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11102
11114
|
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11103
11115
|
porcelain.healthy = (plumbing.healthy)
|
|
11104
11116
|
porcelain.hostname = (plumbing.hostname)
|
|
11105
11117
|
porcelain.id = (plumbing.id)
|
|
11106
11118
|
porcelain.name = (plumbing.name)
|
|
11107
|
-
porcelain.oauth_auth_endpoint = (plumbing.oauth_auth_endpoint)
|
|
11108
|
-
porcelain.oauth_scopes = (plumbing.oauth_scopes)
|
|
11109
|
-
porcelain.oauth_token_endpoint = (plumbing.oauth_token_endpoint)
|
|
11110
|
-
porcelain.password = (plumbing.password)
|
|
11111
11119
|
porcelain.port_override = (plumbing.port_override)
|
|
11112
11120
|
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
11113
11121
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
11114
11122
|
porcelain.subdomain = (plumbing.subdomain)
|
|
11115
11123
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
11116
|
-
porcelain.username = (plumbing.username)
|
|
11117
11124
|
porcelain
|
|
11118
11125
|
end
|
|
11119
11126
|
|
|
11120
|
-
def self.
|
|
11127
|
+
def self.convert_mcp_gateway_no_auth_to_plumbing(porcelain)
|
|
11121
11128
|
if porcelain == nil
|
|
11122
11129
|
return nil
|
|
11123
11130
|
end
|
|
11124
|
-
plumbing = V1::
|
|
11131
|
+
plumbing = V1::MCPGatewayNoAuth.new()
|
|
11125
11132
|
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11126
11133
|
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11127
11134
|
plumbing.healthy = (porcelain.healthy)
|
|
11128
11135
|
plumbing.hostname = (porcelain.hostname)
|
|
11129
11136
|
plumbing.id = (porcelain.id)
|
|
11130
11137
|
plumbing.name = (porcelain.name)
|
|
11131
|
-
plumbing.oauth_auth_endpoint = (porcelain.oauth_auth_endpoint)
|
|
11132
|
-
plumbing.oauth_scopes = (porcelain.oauth_scopes)
|
|
11133
|
-
plumbing.oauth_token_endpoint = (porcelain.oauth_token_endpoint)
|
|
11134
|
-
plumbing.password = (porcelain.password)
|
|
11135
11138
|
plumbing.port_override = (porcelain.port_override)
|
|
11136
11139
|
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
11137
11140
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
11138
11141
|
plumbing.subdomain = (porcelain.subdomain)
|
|
11139
11142
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
11140
|
-
plumbing.username = (porcelain.username)
|
|
11141
11143
|
plumbing
|
|
11142
11144
|
end
|
|
11143
|
-
def self.
|
|
11145
|
+
def self.convert_repeated_mcp_gateway_no_auth_to_plumbing(porcelains)
|
|
11144
11146
|
items = Array.new
|
|
11145
11147
|
porcelains.each do |porcelain|
|
|
11146
|
-
plumbing =
|
|
11148
|
+
plumbing = convert_mcp_gateway_no_auth_to_plumbing(porcelain)
|
|
11147
11149
|
items.append(plumbing)
|
|
11148
11150
|
end
|
|
11149
11151
|
items
|
|
11150
11152
|
end
|
|
11151
11153
|
|
|
11152
|
-
def self.
|
|
11154
|
+
def self.convert_repeated_mcp_gateway_no_auth_to_porcelain(plumbings)
|
|
11153
11155
|
items = Array.new
|
|
11154
11156
|
plumbings.each do |plumbing|
|
|
11155
|
-
porcelain =
|
|
11157
|
+
porcelain = convert_mcp_gateway_no_auth_to_porcelain(plumbing)
|
|
11156
11158
|
items.append(porcelain)
|
|
11157
11159
|
end
|
|
11158
11160
|
items
|
|
11159
11161
|
end
|
|
11160
|
-
def self.
|
|
11162
|
+
def self.convert_mcp_gateway_o_auth_to_porcelain(plumbing)
|
|
11161
11163
|
if plumbing == nil
|
|
11162
11164
|
return nil
|
|
11163
11165
|
end
|
|
11164
|
-
porcelain =
|
|
11166
|
+
porcelain = MCPGatewayOAuth.new()
|
|
11165
11167
|
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11166
11168
|
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11167
11169
|
porcelain.healthy = (plumbing.healthy)
|
|
@@ -11169,22 +11171,23 @@ module SDM
|
|
|
11169
11171
|
porcelain.id = (plumbing.id)
|
|
11170
11172
|
porcelain.name = (plumbing.name)
|
|
11171
11173
|
porcelain.oauth_auth_endpoint = (plumbing.oauth_auth_endpoint)
|
|
11172
|
-
porcelain.oauth_register_endpoint = (plumbing.oauth_register_endpoint)
|
|
11173
11174
|
porcelain.oauth_scopes = (plumbing.oauth_scopes)
|
|
11174
11175
|
porcelain.oauth_token_endpoint = (plumbing.oauth_token_endpoint)
|
|
11176
|
+
porcelain.password = (plumbing.password)
|
|
11175
11177
|
porcelain.port_override = (plumbing.port_override)
|
|
11176
11178
|
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
11177
11179
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
11178
11180
|
porcelain.subdomain = (plumbing.subdomain)
|
|
11179
11181
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
11182
|
+
porcelain.username = (plumbing.username)
|
|
11180
11183
|
porcelain
|
|
11181
11184
|
end
|
|
11182
11185
|
|
|
11183
|
-
def self.
|
|
11186
|
+
def self.convert_mcp_gateway_o_auth_to_plumbing(porcelain)
|
|
11184
11187
|
if porcelain == nil
|
|
11185
11188
|
return nil
|
|
11186
11189
|
end
|
|
11187
|
-
plumbing = V1::
|
|
11190
|
+
plumbing = V1::MCPGatewayOAuth.new()
|
|
11188
11191
|
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11189
11192
|
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11190
11193
|
plumbing.healthy = (porcelain.healthy)
|
|
@@ -11192,44 +11195,49 @@ module SDM
|
|
|
11192
11195
|
plumbing.id = (porcelain.id)
|
|
11193
11196
|
plumbing.name = (porcelain.name)
|
|
11194
11197
|
plumbing.oauth_auth_endpoint = (porcelain.oauth_auth_endpoint)
|
|
11195
|
-
plumbing.oauth_register_endpoint = (porcelain.oauth_register_endpoint)
|
|
11196
11198
|
plumbing.oauth_scopes = (porcelain.oauth_scopes)
|
|
11197
11199
|
plumbing.oauth_token_endpoint = (porcelain.oauth_token_endpoint)
|
|
11200
|
+
plumbing.password = (porcelain.password)
|
|
11198
11201
|
plumbing.port_override = (porcelain.port_override)
|
|
11199
11202
|
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
11200
11203
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
11201
11204
|
plumbing.subdomain = (porcelain.subdomain)
|
|
11202
11205
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
11206
|
+
plumbing.username = (porcelain.username)
|
|
11203
11207
|
plumbing
|
|
11204
11208
|
end
|
|
11205
|
-
def self.
|
|
11209
|
+
def self.convert_repeated_mcp_gateway_o_auth_to_plumbing(porcelains)
|
|
11206
11210
|
items = Array.new
|
|
11207
11211
|
porcelains.each do |porcelain|
|
|
11208
|
-
plumbing =
|
|
11212
|
+
plumbing = convert_mcp_gateway_o_auth_to_plumbing(porcelain)
|
|
11209
11213
|
items.append(plumbing)
|
|
11210
11214
|
end
|
|
11211
11215
|
items
|
|
11212
11216
|
end
|
|
11213
11217
|
|
|
11214
|
-
def self.
|
|
11218
|
+
def self.convert_repeated_mcp_gateway_o_auth_to_porcelain(plumbings)
|
|
11215
11219
|
items = Array.new
|
|
11216
11220
|
plumbings.each do |plumbing|
|
|
11217
|
-
porcelain =
|
|
11221
|
+
porcelain = convert_mcp_gateway_o_auth_to_porcelain(plumbing)
|
|
11218
11222
|
items.append(porcelain)
|
|
11219
11223
|
end
|
|
11220
11224
|
items
|
|
11221
11225
|
end
|
|
11222
|
-
def self.
|
|
11226
|
+
def self.convert_mcp_gateway_o_auth_dcr_to_porcelain(plumbing)
|
|
11223
11227
|
if plumbing == nil
|
|
11224
11228
|
return nil
|
|
11225
11229
|
end
|
|
11226
|
-
porcelain =
|
|
11230
|
+
porcelain = MCPGatewayOAuthDCR.new()
|
|
11227
11231
|
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11228
11232
|
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11229
11233
|
porcelain.healthy = (plumbing.healthy)
|
|
11230
11234
|
porcelain.hostname = (plumbing.hostname)
|
|
11231
11235
|
porcelain.id = (plumbing.id)
|
|
11232
11236
|
porcelain.name = (plumbing.name)
|
|
11237
|
+
porcelain.oauth_auth_endpoint = (plumbing.oauth_auth_endpoint)
|
|
11238
|
+
porcelain.oauth_register_endpoint = (plumbing.oauth_register_endpoint)
|
|
11239
|
+
porcelain.oauth_scopes = (plumbing.oauth_scopes)
|
|
11240
|
+
porcelain.oauth_token_endpoint = (plumbing.oauth_token_endpoint)
|
|
11233
11241
|
porcelain.port_override = (plumbing.port_override)
|
|
11234
11242
|
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
11235
11243
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
@@ -11238,17 +11246,21 @@ module SDM
|
|
|
11238
11246
|
porcelain
|
|
11239
11247
|
end
|
|
11240
11248
|
|
|
11241
|
-
def self.
|
|
11249
|
+
def self.convert_mcp_gateway_o_auth_dcr_to_plumbing(porcelain)
|
|
11242
11250
|
if porcelain == nil
|
|
11243
11251
|
return nil
|
|
11244
11252
|
end
|
|
11245
|
-
plumbing = V1::
|
|
11253
|
+
plumbing = V1::MCPGatewayOAuthDCR.new()
|
|
11246
11254
|
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11247
11255
|
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11248
11256
|
plumbing.healthy = (porcelain.healthy)
|
|
11249
11257
|
plumbing.hostname = (porcelain.hostname)
|
|
11250
11258
|
plumbing.id = (porcelain.id)
|
|
11251
11259
|
plumbing.name = (porcelain.name)
|
|
11260
|
+
plumbing.oauth_auth_endpoint = (porcelain.oauth_auth_endpoint)
|
|
11261
|
+
plumbing.oauth_register_endpoint = (porcelain.oauth_register_endpoint)
|
|
11262
|
+
plumbing.oauth_scopes = (porcelain.oauth_scopes)
|
|
11263
|
+
plumbing.oauth_token_endpoint = (porcelain.oauth_token_endpoint)
|
|
11252
11264
|
plumbing.port_override = (porcelain.port_override)
|
|
11253
11265
|
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
11254
11266
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
@@ -11256,19 +11268,19 @@ module SDM
|
|
|
11256
11268
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
11257
11269
|
plumbing
|
|
11258
11270
|
end
|
|
11259
|
-
def self.
|
|
11271
|
+
def self.convert_repeated_mcp_gateway_o_auth_dcr_to_plumbing(porcelains)
|
|
11260
11272
|
items = Array.new
|
|
11261
11273
|
porcelains.each do |porcelain|
|
|
11262
|
-
plumbing =
|
|
11274
|
+
plumbing = convert_mcp_gateway_o_auth_dcr_to_plumbing(porcelain)
|
|
11263
11275
|
items.append(plumbing)
|
|
11264
11276
|
end
|
|
11265
11277
|
items
|
|
11266
11278
|
end
|
|
11267
11279
|
|
|
11268
|
-
def self.
|
|
11280
|
+
def self.convert_repeated_mcp_gateway_o_auth_dcr_to_porcelain(plumbings)
|
|
11269
11281
|
items = Array.new
|
|
11270
11282
|
plumbings.each do |plumbing|
|
|
11271
|
-
porcelain =
|
|
11283
|
+
porcelain = convert_mcp_gateway_o_auth_dcr_to_porcelain(plumbing)
|
|
11272
11284
|
items.append(porcelain)
|
|
11273
11285
|
end
|
|
11274
11286
|
items
|
|
@@ -16572,18 +16584,18 @@ module SDM
|
|
|
16572
16584
|
if porcelain.instance_of? Maria
|
|
16573
16585
|
plumbing.maria = convert_maria_to_plumbing(porcelain)
|
|
16574
16586
|
end
|
|
16575
|
-
if porcelain.instance_of? MCP
|
|
16576
|
-
plumbing.mcp = convert_mcp_to_plumbing(porcelain)
|
|
16577
|
-
end
|
|
16578
16587
|
if porcelain.instance_of? MCPGatewayNoAuth
|
|
16579
16588
|
plumbing.mcp_gateway_no_auth = convert_mcp_gateway_no_auth_to_plumbing(porcelain)
|
|
16580
16589
|
end
|
|
16590
|
+
if porcelain.instance_of? MCPGatewayOAuth
|
|
16591
|
+
plumbing.mcp_gateway_o_auth = convert_mcp_gateway_o_auth_to_plumbing(porcelain)
|
|
16592
|
+
end
|
|
16593
|
+
if porcelain.instance_of? MCPGatewayOAuthDCR
|
|
16594
|
+
plumbing.mcp_gateway_o_auth_dcr = convert_mcp_gateway_o_auth_dcr_to_plumbing(porcelain)
|
|
16595
|
+
end
|
|
16581
16596
|
if porcelain.instance_of? MCPGatewayPAT
|
|
16582
16597
|
plumbing.mcp_gateway_pat = convert_mcp_gateway_pat_to_plumbing(porcelain)
|
|
16583
16598
|
end
|
|
16584
|
-
if porcelain.instance_of? MCPDCR
|
|
16585
|
-
plumbing.mcpdcr = convert_mcpdcr_to_plumbing(porcelain)
|
|
16586
|
-
end
|
|
16587
16599
|
if porcelain.instance_of? Memcached
|
|
16588
16600
|
plumbing.memcached = convert_memcached_to_plumbing(porcelain)
|
|
16589
16601
|
end
|
|
@@ -16930,18 +16942,18 @@ module SDM
|
|
|
16930
16942
|
if plumbing.maria != nil
|
|
16931
16943
|
return convert_maria_to_porcelain(plumbing.maria)
|
|
16932
16944
|
end
|
|
16933
|
-
if plumbing.mcp != nil
|
|
16934
|
-
return convert_mcp_to_porcelain(plumbing.mcp)
|
|
16935
|
-
end
|
|
16936
16945
|
if plumbing.mcp_gateway_no_auth != nil
|
|
16937
16946
|
return convert_mcp_gateway_no_auth_to_porcelain(plumbing.mcp_gateway_no_auth)
|
|
16938
16947
|
end
|
|
16948
|
+
if plumbing.mcp_gateway_o_auth != nil
|
|
16949
|
+
return convert_mcp_gateway_o_auth_to_porcelain(plumbing.mcp_gateway_o_auth)
|
|
16950
|
+
end
|
|
16951
|
+
if plumbing.mcp_gateway_o_auth_dcr != nil
|
|
16952
|
+
return convert_mcp_gateway_o_auth_dcr_to_porcelain(plumbing.mcp_gateway_o_auth_dcr)
|
|
16953
|
+
end
|
|
16939
16954
|
if plumbing.mcp_gateway_pat != nil
|
|
16940
16955
|
return convert_mcp_gateway_pat_to_porcelain(plumbing.mcp_gateway_pat)
|
|
16941
16956
|
end
|
|
16942
|
-
if plumbing.mcpdcr != nil
|
|
16943
|
-
return convert_mcpdcr_to_porcelain(plumbing.mcpdcr)
|
|
16944
|
-
end
|
|
16945
16957
|
if plumbing.memcached != nil
|
|
16946
16958
|
return convert_memcached_to_porcelain(plumbing.memcached)
|
|
16947
16959
|
end
|
|
@@ -19399,6 +19411,7 @@ module SDM
|
|
|
19399
19411
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
19400
19412
|
porcelain.subdomain = (plumbing.subdomain)
|
|
19401
19413
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
19414
|
+
porcelain.use_https = (plumbing.use_https)
|
|
19402
19415
|
porcelain
|
|
19403
19416
|
end
|
|
19404
19417
|
|
|
@@ -19420,6 +19433,7 @@ module SDM
|
|
|
19420
19433
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
19421
19434
|
plumbing.subdomain = (porcelain.subdomain)
|
|
19422
19435
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
19436
|
+
plumbing.use_https = (porcelain.use_https)
|
|
19423
19437
|
plumbing
|
|
19424
19438
|
end
|
|
19425
19439
|
def self.convert_repeated_snowsight_to_plumbing(porcelains)
|
|
@@ -93,9 +93,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
93
93
|
value :RESOURCE_TYPE_KUBERNETES_SERVICE_ACCOUNT, 804
|
|
94
94
|
value :RESOURCE_TYPE_KUBERNETES_SERVICE_ACCOUNT_USER_IMPERSONATION, 808
|
|
95
95
|
value :RESOURCE_TYPE_KUBERNETES_USER_IMPERSONATION, 812
|
|
96
|
+
value :RESOURCE_TYPE_MCP_NO_AUTH, 4703
|
|
96
97
|
value :RESOURCE_TYPE_MCP, 4700
|
|
97
98
|
value :RESOURCE_TYPE_MCPDCR, 4701
|
|
98
|
-
value :RESOURCE_TYPE_MCP_NO_AUTH, 4703
|
|
99
99
|
value :RESOURCE_TYPE_MCPPAT, 4702
|
|
100
100
|
value :RESOURCE_TYPE_MTLS_MY_SQL, 1106
|
|
101
101
|
value :RESOURCE_TYPE_MTLS_POSTGRES, 1306
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -163,12 +163,12 @@ module SDM
|
|
|
163
163
|
|
|
164
164
|
KUBERNETES_USER_IMPERSONATION = "RESOURCE_TYPE_KUBERNETES_USER_IMPERSONATION"
|
|
165
165
|
|
|
166
|
+
MCP_NO_AUTH = "RESOURCE_TYPE_MCP_NO_AUTH"
|
|
167
|
+
|
|
166
168
|
MCP = "RESOURCE_TYPE_MCP"
|
|
167
169
|
|
|
168
170
|
MCPDCR = "RESOURCE_TYPE_MCPDCR"
|
|
169
171
|
|
|
170
|
-
MCP_NO_AUTH = "RESOURCE_TYPE_MCP_NO_AUTH"
|
|
171
|
-
|
|
172
172
|
MCPPAT = "RESOURCE_TYPE_MCPPAT"
|
|
173
173
|
|
|
174
174
|
MTLS_MY_SQL = "RESOURCE_TYPE_MTLS_MY_SQL"
|
|
@@ -973,6 +973,8 @@ module SDM
|
|
|
973
973
|
attr_accessor :subdomain
|
|
974
974
|
# Tags is a map of key, value pairs.
|
|
975
975
|
attr_accessor :tags
|
|
976
|
+
# This option enforces HTTPS on the client, not resource connection.
|
|
977
|
+
attr_accessor :use_https
|
|
976
978
|
|
|
977
979
|
def initialize(
|
|
978
980
|
bind_interface: nil,
|
|
@@ -991,7 +993,8 @@ module SDM
|
|
|
991
993
|
secret_store_id: nil,
|
|
992
994
|
session_expiry: nil,
|
|
993
995
|
subdomain: nil,
|
|
994
|
-
tags: nil
|
|
996
|
+
tags: nil,
|
|
997
|
+
use_https: nil
|
|
995
998
|
)
|
|
996
999
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
997
1000
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
@@ -1010,6 +1013,7 @@ module SDM
|
|
|
1010
1013
|
@session_expiry = session_expiry == nil ? 0 : session_expiry
|
|
1011
1014
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
1012
1015
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
1016
|
+
@use_https = use_https == nil ? false : use_https
|
|
1013
1017
|
end
|
|
1014
1018
|
|
|
1015
1019
|
def to_json(options = {})
|
|
@@ -1058,6 +1062,8 @@ module SDM
|
|
|
1058
1062
|
attr_accessor :subdomain
|
|
1059
1063
|
# Tags is a map of key, value pairs.
|
|
1060
1064
|
attr_accessor :tags
|
|
1065
|
+
# This option enforces HTTPS on the client, not resource connection
|
|
1066
|
+
attr_accessor :use_https
|
|
1061
1067
|
|
|
1062
1068
|
def initialize(
|
|
1063
1069
|
access_key: nil,
|
|
@@ -1077,7 +1083,8 @@ module SDM
|
|
|
1077
1083
|
secret_store_id: nil,
|
|
1078
1084
|
session_expiry: nil,
|
|
1079
1085
|
subdomain: nil,
|
|
1080
|
-
tags: nil
|
|
1086
|
+
tags: nil,
|
|
1087
|
+
use_https: nil
|
|
1081
1088
|
)
|
|
1082
1089
|
@access_key = access_key == nil ? "" : access_key
|
|
1083
1090
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
@@ -1097,6 +1104,7 @@ module SDM
|
|
|
1097
1104
|
@session_expiry = session_expiry == nil ? 0 : session_expiry
|
|
1098
1105
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
1099
1106
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
1107
|
+
@use_https = use_https == nil ? false : use_https
|
|
1100
1108
|
end
|
|
1101
1109
|
|
|
1102
1110
|
def to_json(options = {})
|
|
@@ -1707,6 +1715,8 @@ module SDM
|
|
|
1707
1715
|
|
|
1708
1716
|
# AccountGrants connect a resource directly to an account, giving the account the permission to connect to that resource.
|
|
1709
1717
|
class AccountGrant
|
|
1718
|
+
# The access request ID that created this AccountGrant, if any.
|
|
1719
|
+
attr_accessor :access_request_id
|
|
1710
1720
|
# The access rule associated with this AccountGrant.
|
|
1711
1721
|
attr_accessor :access_rule
|
|
1712
1722
|
# The account ID of this AccountGrant.
|
|
@@ -1721,6 +1731,7 @@ module SDM
|
|
|
1721
1731
|
attr_accessor :valid_until
|
|
1722
1732
|
|
|
1723
1733
|
def initialize(
|
|
1734
|
+
access_request_id: nil,
|
|
1724
1735
|
access_rule: nil,
|
|
1725
1736
|
account_id: nil,
|
|
1726
1737
|
id: nil,
|
|
@@ -1728,6 +1739,7 @@ module SDM
|
|
|
1728
1739
|
start_from: nil,
|
|
1729
1740
|
valid_until: nil
|
|
1730
1741
|
)
|
|
1742
|
+
@access_request_id = access_request_id == nil ? "" : access_request_id
|
|
1731
1743
|
@access_rule = access_rule == nil ? SDM::_porcelain_zero_value_access_rule() : access_rule
|
|
1732
1744
|
@account_id = account_id == nil ? "" : account_id
|
|
1733
1745
|
@id = id == nil ? "" : id
|
|
@@ -8872,6 +8884,8 @@ module SDM
|
|
|
8872
8884
|
attr_accessor :subdomain
|
|
8873
8885
|
# Tags is a map of key, value pairs.
|
|
8874
8886
|
attr_accessor :tags
|
|
8887
|
+
# This option enforces HTTPS on the client, not resource connection.
|
|
8888
|
+
attr_accessor :tls_required
|
|
8875
8889
|
# The base address of your website without the path.
|
|
8876
8890
|
attr_accessor :url
|
|
8877
8891
|
|
|
@@ -8892,6 +8906,7 @@ module SDM
|
|
|
8892
8906
|
secret_store_id: nil,
|
|
8893
8907
|
subdomain: nil,
|
|
8894
8908
|
tags: nil,
|
|
8909
|
+
tls_required: nil,
|
|
8895
8910
|
url: nil
|
|
8896
8911
|
)
|
|
8897
8912
|
@auth_header = auth_header == nil ? "" : auth_header
|
|
@@ -8910,6 +8925,7 @@ module SDM
|
|
|
8910
8925
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
8911
8926
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
8912
8927
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
8928
|
+
@tls_required = tls_required == nil ? false : tls_required
|
|
8913
8929
|
@url = url == nil ? "" : url
|
|
8914
8930
|
end
|
|
8915
8931
|
|
|
@@ -8955,6 +8971,8 @@ module SDM
|
|
|
8955
8971
|
attr_accessor :subdomain
|
|
8956
8972
|
# Tags is a map of key, value pairs.
|
|
8957
8973
|
attr_accessor :tags
|
|
8974
|
+
# This option enforces HTTPS on the client, not resource connection.
|
|
8975
|
+
attr_accessor :tls_required
|
|
8958
8976
|
# The base address of your website without the path.
|
|
8959
8977
|
attr_accessor :url
|
|
8960
8978
|
# The username to authenticate with.
|
|
@@ -8977,6 +8995,7 @@ module SDM
|
|
|
8977
8995
|
secret_store_id: nil,
|
|
8978
8996
|
subdomain: nil,
|
|
8979
8997
|
tags: nil,
|
|
8998
|
+
tls_required: nil,
|
|
8980
8999
|
url: nil,
|
|
8981
9000
|
username: nil
|
|
8982
9001
|
)
|
|
@@ -8996,6 +9015,7 @@ module SDM
|
|
|
8996
9015
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
8997
9016
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
8998
9017
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
9018
|
+
@tls_required = tls_required == nil ? false : tls_required
|
|
8999
9019
|
@url = url == nil ? "" : url
|
|
9000
9020
|
@username = username == nil ? "" : username
|
|
9001
9021
|
end
|
|
@@ -9040,6 +9060,8 @@ module SDM
|
|
|
9040
9060
|
attr_accessor :subdomain
|
|
9041
9061
|
# Tags is a map of key, value pairs.
|
|
9042
9062
|
attr_accessor :tags
|
|
9063
|
+
# This option enforces HTTPS on the client, not resource connection.
|
|
9064
|
+
attr_accessor :tls_required
|
|
9043
9065
|
# The base address of your website without the path.
|
|
9044
9066
|
attr_accessor :url
|
|
9045
9067
|
|
|
@@ -9059,6 +9081,7 @@ module SDM
|
|
|
9059
9081
|
secret_store_id: nil,
|
|
9060
9082
|
subdomain: nil,
|
|
9061
9083
|
tags: nil,
|
|
9084
|
+
tls_required: nil,
|
|
9062
9085
|
url: nil
|
|
9063
9086
|
)
|
|
9064
9087
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
@@ -9076,6 +9099,7 @@ module SDM
|
|
|
9076
9099
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
9077
9100
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
9078
9101
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
9102
|
+
@tls_required = tls_required == nil ? false : tls_required
|
|
9079
9103
|
@url = url == nil ? "" : url
|
|
9080
9104
|
end
|
|
9081
9105
|
|
|
@@ -10327,8 +10351,7 @@ module SDM
|
|
|
10327
10351
|
end
|
|
10328
10352
|
end
|
|
10329
10353
|
|
|
10330
|
-
|
|
10331
|
-
class MCP
|
|
10354
|
+
class MCPGatewayNoAuth
|
|
10332
10355
|
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
|
|
10333
10356
|
attr_accessor :bind_interface
|
|
10334
10357
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
@@ -10341,14 +10364,6 @@ module SDM
|
|
|
10341
10364
|
attr_accessor :id
|
|
10342
10365
|
# Unique human-readable name of the Resource.
|
|
10343
10366
|
attr_accessor :name
|
|
10344
|
-
# The OAuth 2.0 authorization endpoint URL.
|
|
10345
|
-
attr_accessor :oauth_auth_endpoint
|
|
10346
|
-
# Space-separated list of OAuth scopes to request.
|
|
10347
|
-
attr_accessor :oauth_scopes
|
|
10348
|
-
# The OAuth 2.0 token endpoint URL.
|
|
10349
|
-
attr_accessor :oauth_token_endpoint
|
|
10350
|
-
# OAuth App Client Secret
|
|
10351
|
-
attr_accessor :password
|
|
10352
10367
|
# The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
|
|
10353
10368
|
attr_accessor :port_override
|
|
10354
10369
|
# ID of the proxy cluster for this resource, if any.
|
|
@@ -10359,8 +10374,6 @@ module SDM
|
|
|
10359
10374
|
attr_accessor :subdomain
|
|
10360
10375
|
# Tags is a map of key, value pairs.
|
|
10361
10376
|
attr_accessor :tags
|
|
10362
|
-
# OAuth App Client ID
|
|
10363
|
-
attr_accessor :username
|
|
10364
10377
|
|
|
10365
10378
|
def initialize(
|
|
10366
10379
|
bind_interface: nil,
|
|
@@ -10369,16 +10382,11 @@ module SDM
|
|
|
10369
10382
|
hostname: nil,
|
|
10370
10383
|
id: nil,
|
|
10371
10384
|
name: nil,
|
|
10372
|
-
oauth_auth_endpoint: nil,
|
|
10373
|
-
oauth_scopes: nil,
|
|
10374
|
-
oauth_token_endpoint: nil,
|
|
10375
|
-
password: nil,
|
|
10376
10385
|
port_override: nil,
|
|
10377
10386
|
proxy_cluster_id: nil,
|
|
10378
10387
|
secret_store_id: nil,
|
|
10379
10388
|
subdomain: nil,
|
|
10380
|
-
tags: nil
|
|
10381
|
-
username: nil
|
|
10389
|
+
tags: nil
|
|
10382
10390
|
)
|
|
10383
10391
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10384
10392
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
@@ -10386,16 +10394,11 @@ module SDM
|
|
|
10386
10394
|
@hostname = hostname == nil ? "" : hostname
|
|
10387
10395
|
@id = id == nil ? "" : id
|
|
10388
10396
|
@name = name == nil ? "" : name
|
|
10389
|
-
@oauth_auth_endpoint = oauth_auth_endpoint == nil ? "" : oauth_auth_endpoint
|
|
10390
|
-
@oauth_scopes = oauth_scopes == nil ? "" : oauth_scopes
|
|
10391
|
-
@oauth_token_endpoint = oauth_token_endpoint == nil ? "" : oauth_token_endpoint
|
|
10392
|
-
@password = password == nil ? "" : password
|
|
10393
10397
|
@port_override = port_override == nil ? 0 : port_override
|
|
10394
10398
|
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
10395
10399
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
10396
10400
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
10397
10401
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
10398
|
-
@username = username == nil ? "" : username
|
|
10399
10402
|
end
|
|
10400
10403
|
|
|
10401
10404
|
def to_json(options = {})
|
|
@@ -10407,8 +10410,7 @@ module SDM
|
|
|
10407
10410
|
end
|
|
10408
10411
|
end
|
|
10409
10412
|
|
|
10410
|
-
|
|
10411
|
-
class MCPDCR
|
|
10413
|
+
class MCPGatewayOAuth
|
|
10412
10414
|
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
|
|
10413
10415
|
attr_accessor :bind_interface
|
|
10414
10416
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
@@ -10423,12 +10425,12 @@ module SDM
|
|
|
10423
10425
|
attr_accessor :name
|
|
10424
10426
|
# The OAuth 2.0 authorization endpoint URL.
|
|
10425
10427
|
attr_accessor :oauth_auth_endpoint
|
|
10426
|
-
# The OAuth 2.0 dynamic client registration endpoint URL.
|
|
10427
|
-
attr_accessor :oauth_register_endpoint
|
|
10428
10428
|
# Space-separated list of OAuth scopes to request.
|
|
10429
10429
|
attr_accessor :oauth_scopes
|
|
10430
10430
|
# The OAuth 2.0 token endpoint URL.
|
|
10431
10431
|
attr_accessor :oauth_token_endpoint
|
|
10432
|
+
# OAuth App Client Secret
|
|
10433
|
+
attr_accessor :password
|
|
10432
10434
|
# The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
|
|
10433
10435
|
attr_accessor :port_override
|
|
10434
10436
|
# ID of the proxy cluster for this resource, if any.
|
|
@@ -10439,6 +10441,8 @@ module SDM
|
|
|
10439
10441
|
attr_accessor :subdomain
|
|
10440
10442
|
# Tags is a map of key, value pairs.
|
|
10441
10443
|
attr_accessor :tags
|
|
10444
|
+
# OAuth App Client ID
|
|
10445
|
+
attr_accessor :username
|
|
10442
10446
|
|
|
10443
10447
|
def initialize(
|
|
10444
10448
|
bind_interface: nil,
|
|
@@ -10448,14 +10452,15 @@ module SDM
|
|
|
10448
10452
|
id: nil,
|
|
10449
10453
|
name: nil,
|
|
10450
10454
|
oauth_auth_endpoint: nil,
|
|
10451
|
-
oauth_register_endpoint: nil,
|
|
10452
10455
|
oauth_scopes: nil,
|
|
10453
10456
|
oauth_token_endpoint: nil,
|
|
10457
|
+
password: nil,
|
|
10454
10458
|
port_override: nil,
|
|
10455
10459
|
proxy_cluster_id: nil,
|
|
10456
10460
|
secret_store_id: nil,
|
|
10457
10461
|
subdomain: nil,
|
|
10458
|
-
tags: nil
|
|
10462
|
+
tags: nil,
|
|
10463
|
+
username: nil
|
|
10459
10464
|
)
|
|
10460
10465
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10461
10466
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
@@ -10464,14 +10469,15 @@ module SDM
|
|
|
10464
10469
|
@id = id == nil ? "" : id
|
|
10465
10470
|
@name = name == nil ? "" : name
|
|
10466
10471
|
@oauth_auth_endpoint = oauth_auth_endpoint == nil ? "" : oauth_auth_endpoint
|
|
10467
|
-
@oauth_register_endpoint = oauth_register_endpoint == nil ? "" : oauth_register_endpoint
|
|
10468
10472
|
@oauth_scopes = oauth_scopes == nil ? "" : oauth_scopes
|
|
10469
10473
|
@oauth_token_endpoint = oauth_token_endpoint == nil ? "" : oauth_token_endpoint
|
|
10474
|
+
@password = password == nil ? "" : password
|
|
10470
10475
|
@port_override = port_override == nil ? 0 : port_override
|
|
10471
10476
|
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
10472
10477
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
10473
10478
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
10474
10479
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
10480
|
+
@username = username == nil ? "" : username
|
|
10475
10481
|
end
|
|
10476
10482
|
|
|
10477
10483
|
def to_json(options = {})
|
|
@@ -10483,8 +10489,8 @@ module SDM
|
|
|
10483
10489
|
end
|
|
10484
10490
|
end
|
|
10485
10491
|
|
|
10486
|
-
#
|
|
10487
|
-
class
|
|
10492
|
+
# MCPGatewayOAuthDCR is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
10493
|
+
class MCPGatewayOAuthDCR
|
|
10488
10494
|
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
|
|
10489
10495
|
attr_accessor :bind_interface
|
|
10490
10496
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
@@ -10497,6 +10503,14 @@ module SDM
|
|
|
10497
10503
|
attr_accessor :id
|
|
10498
10504
|
# Unique human-readable name of the Resource.
|
|
10499
10505
|
attr_accessor :name
|
|
10506
|
+
# The OAuth 2.0 authorization endpoint URL.
|
|
10507
|
+
attr_accessor :oauth_auth_endpoint
|
|
10508
|
+
# The OAuth 2.0 dynamic client registration endpoint URL.
|
|
10509
|
+
attr_accessor :oauth_register_endpoint
|
|
10510
|
+
# Space-separated list of OAuth scopes to request.
|
|
10511
|
+
attr_accessor :oauth_scopes
|
|
10512
|
+
# The OAuth 2.0 token endpoint URL.
|
|
10513
|
+
attr_accessor :oauth_token_endpoint
|
|
10500
10514
|
# The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
|
|
10501
10515
|
attr_accessor :port_override
|
|
10502
10516
|
# ID of the proxy cluster for this resource, if any.
|
|
@@ -10515,6 +10529,10 @@ module SDM
|
|
|
10515
10529
|
hostname: nil,
|
|
10516
10530
|
id: nil,
|
|
10517
10531
|
name: nil,
|
|
10532
|
+
oauth_auth_endpoint: nil,
|
|
10533
|
+
oauth_register_endpoint: nil,
|
|
10534
|
+
oauth_scopes: nil,
|
|
10535
|
+
oauth_token_endpoint: nil,
|
|
10518
10536
|
port_override: nil,
|
|
10519
10537
|
proxy_cluster_id: nil,
|
|
10520
10538
|
secret_store_id: nil,
|
|
@@ -10527,6 +10545,10 @@ module SDM
|
|
|
10527
10545
|
@hostname = hostname == nil ? "" : hostname
|
|
10528
10546
|
@id = id == nil ? "" : id
|
|
10529
10547
|
@name = name == nil ? "" : name
|
|
10548
|
+
@oauth_auth_endpoint = oauth_auth_endpoint == nil ? "" : oauth_auth_endpoint
|
|
10549
|
+
@oauth_register_endpoint = oauth_register_endpoint == nil ? "" : oauth_register_endpoint
|
|
10550
|
+
@oauth_scopes = oauth_scopes == nil ? "" : oauth_scopes
|
|
10551
|
+
@oauth_token_endpoint = oauth_token_endpoint == nil ? "" : oauth_token_endpoint
|
|
10530
10552
|
@port_override = port_override == nil ? 0 : port_override
|
|
10531
10553
|
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
10532
10554
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
@@ -10543,7 +10565,6 @@ module SDM
|
|
|
10543
10565
|
end
|
|
10544
10566
|
end
|
|
10545
10567
|
|
|
10546
|
-
# MCPGatewayPAT is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
10547
10568
|
class MCPGatewayPAT
|
|
10548
10569
|
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
|
|
10549
10570
|
attr_accessor :bind_interface
|
|
@@ -17342,6 +17363,8 @@ module SDM
|
|
|
17342
17363
|
attr_accessor :subdomain
|
|
17343
17364
|
# Tags is a map of key, value pairs.
|
|
17344
17365
|
attr_accessor :tags
|
|
17366
|
+
# This option enforces HTTPS on the client, not resource connection.
|
|
17367
|
+
attr_accessor :use_https
|
|
17345
17368
|
|
|
17346
17369
|
def initialize(
|
|
17347
17370
|
bind_interface: nil,
|
|
@@ -17356,7 +17379,8 @@ module SDM
|
|
|
17356
17379
|
samlmetadata: nil,
|
|
17357
17380
|
secret_store_id: nil,
|
|
17358
17381
|
subdomain: nil,
|
|
17359
|
-
tags: nil
|
|
17382
|
+
tags: nil,
|
|
17383
|
+
use_https: nil
|
|
17360
17384
|
)
|
|
17361
17385
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
17362
17386
|
@connecttodefault = connecttodefault == nil ? false : connecttodefault
|
|
@@ -17371,6 +17395,7 @@ module SDM
|
|
|
17371
17395
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
17372
17396
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
17373
17397
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
17398
|
+
@use_https = use_https == nil ? false : use_https
|
|
17374
17399
|
end
|
|
17375
17400
|
|
|
17376
17401
|
def to_json(options = {})
|
data/lib/strongdm.rb
CHANGED
|
@@ -31,7 +31,7 @@ module SDM #:nodoc:
|
|
|
31
31
|
DEFAULT_RETRY_FACTOR = 1.6
|
|
32
32
|
DEFAULT_RETRY_JITTER = 0.2
|
|
33
33
|
API_VERSION = "2025-04-14"
|
|
34
|
-
USER_AGENT = "strongdm-sdk-ruby/16.
|
|
34
|
+
USER_AGENT = "strongdm-sdk-ruby/16.20.0"
|
|
35
35
|
private_constant :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :DEFAULT_RETRY_FACTOR, :DEFAULT_RETRY_JITTER, :API_VERSION, :USER_AGENT
|
|
36
36
|
|
|
37
37
|
# Creates a new strongDM API client.
|
data/lib/svc.rb
CHANGED
|
@@ -7041,10 +7041,10 @@ module SDM #:nodoc:
|
|
|
7041
7041
|
# {KubernetesServiceAccountUserImpersonation}
|
|
7042
7042
|
# {KubernetesUserImpersonation}
|
|
7043
7043
|
# {Maria}
|
|
7044
|
-
# {MCP}
|
|
7045
7044
|
# {MCPGatewayNoAuth}
|
|
7045
|
+
# {MCPGatewayOAuth}
|
|
7046
|
+
# {MCPGatewayOAuthDCR}
|
|
7046
7047
|
# {MCPGatewayPAT}
|
|
7047
|
-
# {MCPDCR}
|
|
7048
7048
|
# {Memcached}
|
|
7049
7049
|
# {Memsql}
|
|
7050
7050
|
# {MongoHost}
|
data/lib/version
CHANGED
data/lib/version.rb
CHANGED
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: 16.
|
|
4
|
+
version: 16.20.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- strongDM Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: grpc
|
|
@@ -81,8 +81,8 @@ files:
|
|
|
81
81
|
- "./.git/logs/HEAD"
|
|
82
82
|
- "./.git/logs/refs/heads/master"
|
|
83
83
|
- "./.git/logs/refs/remotes/origin/HEAD"
|
|
84
|
-
- "./.git/objects/pack/pack-
|
|
85
|
-
- "./.git/objects/pack/pack-
|
|
84
|
+
- "./.git/objects/pack/pack-c59ede94a0347eb670c4e52785e0bfa2f5afdd7b.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-c59ede94a0347eb670c4e52785e0bfa2f5afdd7b.pack"
|
|
86
86
|
- "./.git/packed-refs"
|
|
87
87
|
- "./.git/refs/heads/master"
|
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|