strongdm 16.17.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-29a576bf5eeceeafb7a1deb5b467a4e7ab602057.idx → pack-c59ede94a0347eb670c4e52785e0bfa2f5afdd7b.idx} +0 -0
- data/.git/objects/pack/{pack-29a576bf5eeceeafb7a1deb5b467a4e7ab602057.pack → pack-c59ede94a0347eb670c4e52785e0bfa2f5afdd7b.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/authorization_policies_pb.rb +37 -18
- data/lib/grpc/drivers_pb.rb +20 -14
- data/lib/grpc/plumbing.rb +64 -52
- data/lib/grpc/resourcetypes_pb.rb +1 -1
- data/lib/models/porcelain.rb +59 -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
|
|
@@ -145,6 +145,7 @@ c3b0eeef356ddf0cf408d1305fd766791121803f refs/tags/v15.46.0
|
|
|
145
145
|
2021ebc52e6f975f3eedbd795c3a0a9dadc2caa3 refs/tags/v16.13.0
|
|
146
146
|
0c150dec9c7f8e236df4f8a65dc373193b73991f refs/tags/v16.14.0
|
|
147
147
|
3a90d7e58d3311757817bb558d755e7ee36528f3 refs/tags/v16.16.0
|
|
148
|
+
faf9218bcf932aa16115ce5bdad98cf7e1c26e35 refs/tags/v16.17.0
|
|
148
149
|
3f2a99e1a4296cf5b4937d57b901051b9381c209 refs/tags/v16.3.0
|
|
149
150
|
eb2c5388eb894fce71666148224e02d977c87baa refs/tags/v16.4.0
|
|
150
151
|
6450bdc10119fb8a00123c4262d6f245a70ed06a refs/tags/v16.5.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
74344928c432ecaaab2bf22852ce85c7e22147f8
|
|
@@ -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)
|
|
@@ -9636,6 +9640,7 @@ module SDM
|
|
|
9636
9640
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
9637
9641
|
porcelain.subdomain = (plumbing.subdomain)
|
|
9638
9642
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
9643
|
+
porcelain.tls_required = (plumbing.tls_required)
|
|
9639
9644
|
porcelain.url = (plumbing.url)
|
|
9640
9645
|
porcelain
|
|
9641
9646
|
end
|
|
@@ -9661,6 +9666,7 @@ module SDM
|
|
|
9661
9666
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
9662
9667
|
plumbing.subdomain = (porcelain.subdomain)
|
|
9663
9668
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
9669
|
+
plumbing.tls_required = (porcelain.tls_required)
|
|
9664
9670
|
plumbing.url = (porcelain.url)
|
|
9665
9671
|
plumbing
|
|
9666
9672
|
end
|
|
@@ -9702,6 +9708,7 @@ module SDM
|
|
|
9702
9708
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
9703
9709
|
porcelain.subdomain = (plumbing.subdomain)
|
|
9704
9710
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
9711
|
+
porcelain.tls_required = (plumbing.tls_required)
|
|
9705
9712
|
porcelain.url = (plumbing.url)
|
|
9706
9713
|
porcelain.username = (plumbing.username)
|
|
9707
9714
|
porcelain
|
|
@@ -9728,6 +9735,7 @@ module SDM
|
|
|
9728
9735
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
9729
9736
|
plumbing.subdomain = (porcelain.subdomain)
|
|
9730
9737
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
9738
|
+
plumbing.tls_required = (porcelain.tls_required)
|
|
9731
9739
|
plumbing.url = (porcelain.url)
|
|
9732
9740
|
plumbing.username = (porcelain.username)
|
|
9733
9741
|
plumbing
|
|
@@ -9769,6 +9777,7 @@ module SDM
|
|
|
9769
9777
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
9770
9778
|
porcelain.subdomain = (plumbing.subdomain)
|
|
9771
9779
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
9780
|
+
porcelain.tls_required = (plumbing.tls_required)
|
|
9772
9781
|
porcelain.url = (plumbing.url)
|
|
9773
9782
|
porcelain
|
|
9774
9783
|
end
|
|
@@ -9793,6 +9802,7 @@ module SDM
|
|
|
9793
9802
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
9794
9803
|
plumbing.subdomain = (porcelain.subdomain)
|
|
9795
9804
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
9805
|
+
plumbing.tls_required = (porcelain.tls_required)
|
|
9796
9806
|
plumbing.url = (porcelain.url)
|
|
9797
9807
|
plumbing
|
|
9798
9808
|
end
|
|
@@ -11095,75 +11105,65 @@ module SDM
|
|
|
11095
11105
|
end
|
|
11096
11106
|
items
|
|
11097
11107
|
end
|
|
11098
|
-
def self.
|
|
11108
|
+
def self.convert_mcp_gateway_no_auth_to_porcelain(plumbing)
|
|
11099
11109
|
if plumbing == nil
|
|
11100
11110
|
return nil
|
|
11101
11111
|
end
|
|
11102
|
-
porcelain =
|
|
11112
|
+
porcelain = MCPGatewayNoAuth.new()
|
|
11103
11113
|
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11104
11114
|
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11105
11115
|
porcelain.healthy = (plumbing.healthy)
|
|
11106
11116
|
porcelain.hostname = (plumbing.hostname)
|
|
11107
11117
|
porcelain.id = (plumbing.id)
|
|
11108
11118
|
porcelain.name = (plumbing.name)
|
|
11109
|
-
porcelain.oauth_auth_endpoint = (plumbing.oauth_auth_endpoint)
|
|
11110
|
-
porcelain.oauth_scopes = (plumbing.oauth_scopes)
|
|
11111
|
-
porcelain.oauth_token_endpoint = (plumbing.oauth_token_endpoint)
|
|
11112
|
-
porcelain.password = (plumbing.password)
|
|
11113
11119
|
porcelain.port_override = (plumbing.port_override)
|
|
11114
11120
|
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
11115
11121
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
11116
11122
|
porcelain.subdomain = (plumbing.subdomain)
|
|
11117
11123
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
11118
|
-
porcelain.username = (plumbing.username)
|
|
11119
11124
|
porcelain
|
|
11120
11125
|
end
|
|
11121
11126
|
|
|
11122
|
-
def self.
|
|
11127
|
+
def self.convert_mcp_gateway_no_auth_to_plumbing(porcelain)
|
|
11123
11128
|
if porcelain == nil
|
|
11124
11129
|
return nil
|
|
11125
11130
|
end
|
|
11126
|
-
plumbing = V1::
|
|
11131
|
+
plumbing = V1::MCPGatewayNoAuth.new()
|
|
11127
11132
|
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11128
11133
|
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11129
11134
|
plumbing.healthy = (porcelain.healthy)
|
|
11130
11135
|
plumbing.hostname = (porcelain.hostname)
|
|
11131
11136
|
plumbing.id = (porcelain.id)
|
|
11132
11137
|
plumbing.name = (porcelain.name)
|
|
11133
|
-
plumbing.oauth_auth_endpoint = (porcelain.oauth_auth_endpoint)
|
|
11134
|
-
plumbing.oauth_scopes = (porcelain.oauth_scopes)
|
|
11135
|
-
plumbing.oauth_token_endpoint = (porcelain.oauth_token_endpoint)
|
|
11136
|
-
plumbing.password = (porcelain.password)
|
|
11137
11138
|
plumbing.port_override = (porcelain.port_override)
|
|
11138
11139
|
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
11139
11140
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
11140
11141
|
plumbing.subdomain = (porcelain.subdomain)
|
|
11141
11142
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
11142
|
-
plumbing.username = (porcelain.username)
|
|
11143
11143
|
plumbing
|
|
11144
11144
|
end
|
|
11145
|
-
def self.
|
|
11145
|
+
def self.convert_repeated_mcp_gateway_no_auth_to_plumbing(porcelains)
|
|
11146
11146
|
items = Array.new
|
|
11147
11147
|
porcelains.each do |porcelain|
|
|
11148
|
-
plumbing =
|
|
11148
|
+
plumbing = convert_mcp_gateway_no_auth_to_plumbing(porcelain)
|
|
11149
11149
|
items.append(plumbing)
|
|
11150
11150
|
end
|
|
11151
11151
|
items
|
|
11152
11152
|
end
|
|
11153
11153
|
|
|
11154
|
-
def self.
|
|
11154
|
+
def self.convert_repeated_mcp_gateway_no_auth_to_porcelain(plumbings)
|
|
11155
11155
|
items = Array.new
|
|
11156
11156
|
plumbings.each do |plumbing|
|
|
11157
|
-
porcelain =
|
|
11157
|
+
porcelain = convert_mcp_gateway_no_auth_to_porcelain(plumbing)
|
|
11158
11158
|
items.append(porcelain)
|
|
11159
11159
|
end
|
|
11160
11160
|
items
|
|
11161
11161
|
end
|
|
11162
|
-
def self.
|
|
11162
|
+
def self.convert_mcp_gateway_o_auth_to_porcelain(plumbing)
|
|
11163
11163
|
if plumbing == nil
|
|
11164
11164
|
return nil
|
|
11165
11165
|
end
|
|
11166
|
-
porcelain =
|
|
11166
|
+
porcelain = MCPGatewayOAuth.new()
|
|
11167
11167
|
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11168
11168
|
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11169
11169
|
porcelain.healthy = (plumbing.healthy)
|
|
@@ -11171,22 +11171,23 @@ module SDM
|
|
|
11171
11171
|
porcelain.id = (plumbing.id)
|
|
11172
11172
|
porcelain.name = (plumbing.name)
|
|
11173
11173
|
porcelain.oauth_auth_endpoint = (plumbing.oauth_auth_endpoint)
|
|
11174
|
-
porcelain.oauth_register_endpoint = (plumbing.oauth_register_endpoint)
|
|
11175
11174
|
porcelain.oauth_scopes = (plumbing.oauth_scopes)
|
|
11176
11175
|
porcelain.oauth_token_endpoint = (plumbing.oauth_token_endpoint)
|
|
11176
|
+
porcelain.password = (plumbing.password)
|
|
11177
11177
|
porcelain.port_override = (plumbing.port_override)
|
|
11178
11178
|
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
11179
11179
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
11180
11180
|
porcelain.subdomain = (plumbing.subdomain)
|
|
11181
11181
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
11182
|
+
porcelain.username = (plumbing.username)
|
|
11182
11183
|
porcelain
|
|
11183
11184
|
end
|
|
11184
11185
|
|
|
11185
|
-
def self.
|
|
11186
|
+
def self.convert_mcp_gateway_o_auth_to_plumbing(porcelain)
|
|
11186
11187
|
if porcelain == nil
|
|
11187
11188
|
return nil
|
|
11188
11189
|
end
|
|
11189
|
-
plumbing = V1::
|
|
11190
|
+
plumbing = V1::MCPGatewayOAuth.new()
|
|
11190
11191
|
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11191
11192
|
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11192
11193
|
plumbing.healthy = (porcelain.healthy)
|
|
@@ -11194,44 +11195,49 @@ module SDM
|
|
|
11194
11195
|
plumbing.id = (porcelain.id)
|
|
11195
11196
|
plumbing.name = (porcelain.name)
|
|
11196
11197
|
plumbing.oauth_auth_endpoint = (porcelain.oauth_auth_endpoint)
|
|
11197
|
-
plumbing.oauth_register_endpoint = (porcelain.oauth_register_endpoint)
|
|
11198
11198
|
plumbing.oauth_scopes = (porcelain.oauth_scopes)
|
|
11199
11199
|
plumbing.oauth_token_endpoint = (porcelain.oauth_token_endpoint)
|
|
11200
|
+
plumbing.password = (porcelain.password)
|
|
11200
11201
|
plumbing.port_override = (porcelain.port_override)
|
|
11201
11202
|
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
11202
11203
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
11203
11204
|
plumbing.subdomain = (porcelain.subdomain)
|
|
11204
11205
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
11206
|
+
plumbing.username = (porcelain.username)
|
|
11205
11207
|
plumbing
|
|
11206
11208
|
end
|
|
11207
|
-
def self.
|
|
11209
|
+
def self.convert_repeated_mcp_gateway_o_auth_to_plumbing(porcelains)
|
|
11208
11210
|
items = Array.new
|
|
11209
11211
|
porcelains.each do |porcelain|
|
|
11210
|
-
plumbing =
|
|
11212
|
+
plumbing = convert_mcp_gateway_o_auth_to_plumbing(porcelain)
|
|
11211
11213
|
items.append(plumbing)
|
|
11212
11214
|
end
|
|
11213
11215
|
items
|
|
11214
11216
|
end
|
|
11215
11217
|
|
|
11216
|
-
def self.
|
|
11218
|
+
def self.convert_repeated_mcp_gateway_o_auth_to_porcelain(plumbings)
|
|
11217
11219
|
items = Array.new
|
|
11218
11220
|
plumbings.each do |plumbing|
|
|
11219
|
-
porcelain =
|
|
11221
|
+
porcelain = convert_mcp_gateway_o_auth_to_porcelain(plumbing)
|
|
11220
11222
|
items.append(porcelain)
|
|
11221
11223
|
end
|
|
11222
11224
|
items
|
|
11223
11225
|
end
|
|
11224
|
-
def self.
|
|
11226
|
+
def self.convert_mcp_gateway_o_auth_dcr_to_porcelain(plumbing)
|
|
11225
11227
|
if plumbing == nil
|
|
11226
11228
|
return nil
|
|
11227
11229
|
end
|
|
11228
|
-
porcelain =
|
|
11230
|
+
porcelain = MCPGatewayOAuthDCR.new()
|
|
11229
11231
|
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11230
11232
|
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11231
11233
|
porcelain.healthy = (plumbing.healthy)
|
|
11232
11234
|
porcelain.hostname = (plumbing.hostname)
|
|
11233
11235
|
porcelain.id = (plumbing.id)
|
|
11234
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)
|
|
11235
11241
|
porcelain.port_override = (plumbing.port_override)
|
|
11236
11242
|
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
11237
11243
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
@@ -11240,17 +11246,21 @@ module SDM
|
|
|
11240
11246
|
porcelain
|
|
11241
11247
|
end
|
|
11242
11248
|
|
|
11243
|
-
def self.
|
|
11249
|
+
def self.convert_mcp_gateway_o_auth_dcr_to_plumbing(porcelain)
|
|
11244
11250
|
if porcelain == nil
|
|
11245
11251
|
return nil
|
|
11246
11252
|
end
|
|
11247
|
-
plumbing = V1::
|
|
11253
|
+
plumbing = V1::MCPGatewayOAuthDCR.new()
|
|
11248
11254
|
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11249
11255
|
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11250
11256
|
plumbing.healthy = (porcelain.healthy)
|
|
11251
11257
|
plumbing.hostname = (porcelain.hostname)
|
|
11252
11258
|
plumbing.id = (porcelain.id)
|
|
11253
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)
|
|
11254
11264
|
plumbing.port_override = (porcelain.port_override)
|
|
11255
11265
|
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
11256
11266
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
@@ -11258,19 +11268,19 @@ module SDM
|
|
|
11258
11268
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
11259
11269
|
plumbing
|
|
11260
11270
|
end
|
|
11261
|
-
def self.
|
|
11271
|
+
def self.convert_repeated_mcp_gateway_o_auth_dcr_to_plumbing(porcelains)
|
|
11262
11272
|
items = Array.new
|
|
11263
11273
|
porcelains.each do |porcelain|
|
|
11264
|
-
plumbing =
|
|
11274
|
+
plumbing = convert_mcp_gateway_o_auth_dcr_to_plumbing(porcelain)
|
|
11265
11275
|
items.append(plumbing)
|
|
11266
11276
|
end
|
|
11267
11277
|
items
|
|
11268
11278
|
end
|
|
11269
11279
|
|
|
11270
|
-
def self.
|
|
11280
|
+
def self.convert_repeated_mcp_gateway_o_auth_dcr_to_porcelain(plumbings)
|
|
11271
11281
|
items = Array.new
|
|
11272
11282
|
plumbings.each do |plumbing|
|
|
11273
|
-
porcelain =
|
|
11283
|
+
porcelain = convert_mcp_gateway_o_auth_dcr_to_porcelain(plumbing)
|
|
11274
11284
|
items.append(porcelain)
|
|
11275
11285
|
end
|
|
11276
11286
|
items
|
|
@@ -16574,18 +16584,18 @@ module SDM
|
|
|
16574
16584
|
if porcelain.instance_of? Maria
|
|
16575
16585
|
plumbing.maria = convert_maria_to_plumbing(porcelain)
|
|
16576
16586
|
end
|
|
16577
|
-
if porcelain.instance_of? MCP
|
|
16578
|
-
plumbing.mcp = convert_mcp_to_plumbing(porcelain)
|
|
16579
|
-
end
|
|
16580
16587
|
if porcelain.instance_of? MCPGatewayNoAuth
|
|
16581
16588
|
plumbing.mcp_gateway_no_auth = convert_mcp_gateway_no_auth_to_plumbing(porcelain)
|
|
16582
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
|
|
16583
16596
|
if porcelain.instance_of? MCPGatewayPAT
|
|
16584
16597
|
plumbing.mcp_gateway_pat = convert_mcp_gateway_pat_to_plumbing(porcelain)
|
|
16585
16598
|
end
|
|
16586
|
-
if porcelain.instance_of? MCPDCR
|
|
16587
|
-
plumbing.mcpdcr = convert_mcpdcr_to_plumbing(porcelain)
|
|
16588
|
-
end
|
|
16589
16599
|
if porcelain.instance_of? Memcached
|
|
16590
16600
|
plumbing.memcached = convert_memcached_to_plumbing(porcelain)
|
|
16591
16601
|
end
|
|
@@ -16932,18 +16942,18 @@ module SDM
|
|
|
16932
16942
|
if plumbing.maria != nil
|
|
16933
16943
|
return convert_maria_to_porcelain(plumbing.maria)
|
|
16934
16944
|
end
|
|
16935
|
-
if plumbing.mcp != nil
|
|
16936
|
-
return convert_mcp_to_porcelain(plumbing.mcp)
|
|
16937
|
-
end
|
|
16938
16945
|
if plumbing.mcp_gateway_no_auth != nil
|
|
16939
16946
|
return convert_mcp_gateway_no_auth_to_porcelain(plumbing.mcp_gateway_no_auth)
|
|
16940
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
|
|
16941
16954
|
if plumbing.mcp_gateway_pat != nil
|
|
16942
16955
|
return convert_mcp_gateway_pat_to_porcelain(plumbing.mcp_gateway_pat)
|
|
16943
16956
|
end
|
|
16944
|
-
if plumbing.mcpdcr != nil
|
|
16945
|
-
return convert_mcpdcr_to_porcelain(plumbing.mcpdcr)
|
|
16946
|
-
end
|
|
16947
16957
|
if plumbing.memcached != nil
|
|
16948
16958
|
return convert_memcached_to_porcelain(plumbing.memcached)
|
|
16949
16959
|
end
|
|
@@ -19401,6 +19411,7 @@ module SDM
|
|
|
19401
19411
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
19402
19412
|
porcelain.subdomain = (plumbing.subdomain)
|
|
19403
19413
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
19414
|
+
porcelain.use_https = (plumbing.use_https)
|
|
19404
19415
|
porcelain
|
|
19405
19416
|
end
|
|
19406
19417
|
|
|
@@ -19422,6 +19433,7 @@ module SDM
|
|
|
19422
19433
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
19423
19434
|
plumbing.subdomain = (porcelain.subdomain)
|
|
19424
19435
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
19436
|
+
plumbing.use_https = (porcelain.use_https)
|
|
19425
19437
|
plumbing
|
|
19426
19438
|
end
|
|
19427
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 = {})
|
|
@@ -8876,6 +8884,8 @@ module SDM
|
|
|
8876
8884
|
attr_accessor :subdomain
|
|
8877
8885
|
# Tags is a map of key, value pairs.
|
|
8878
8886
|
attr_accessor :tags
|
|
8887
|
+
# This option enforces HTTPS on the client, not resource connection.
|
|
8888
|
+
attr_accessor :tls_required
|
|
8879
8889
|
# The base address of your website without the path.
|
|
8880
8890
|
attr_accessor :url
|
|
8881
8891
|
|
|
@@ -8896,6 +8906,7 @@ module SDM
|
|
|
8896
8906
|
secret_store_id: nil,
|
|
8897
8907
|
subdomain: nil,
|
|
8898
8908
|
tags: nil,
|
|
8909
|
+
tls_required: nil,
|
|
8899
8910
|
url: nil
|
|
8900
8911
|
)
|
|
8901
8912
|
@auth_header = auth_header == nil ? "" : auth_header
|
|
@@ -8914,6 +8925,7 @@ module SDM
|
|
|
8914
8925
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
8915
8926
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
8916
8927
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
8928
|
+
@tls_required = tls_required == nil ? false : tls_required
|
|
8917
8929
|
@url = url == nil ? "" : url
|
|
8918
8930
|
end
|
|
8919
8931
|
|
|
@@ -8959,6 +8971,8 @@ module SDM
|
|
|
8959
8971
|
attr_accessor :subdomain
|
|
8960
8972
|
# Tags is a map of key, value pairs.
|
|
8961
8973
|
attr_accessor :tags
|
|
8974
|
+
# This option enforces HTTPS on the client, not resource connection.
|
|
8975
|
+
attr_accessor :tls_required
|
|
8962
8976
|
# The base address of your website without the path.
|
|
8963
8977
|
attr_accessor :url
|
|
8964
8978
|
# The username to authenticate with.
|
|
@@ -8981,6 +8995,7 @@ module SDM
|
|
|
8981
8995
|
secret_store_id: nil,
|
|
8982
8996
|
subdomain: nil,
|
|
8983
8997
|
tags: nil,
|
|
8998
|
+
tls_required: nil,
|
|
8984
8999
|
url: nil,
|
|
8985
9000
|
username: nil
|
|
8986
9001
|
)
|
|
@@ -9000,6 +9015,7 @@ module SDM
|
|
|
9000
9015
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
9001
9016
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
9002
9017
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
9018
|
+
@tls_required = tls_required == nil ? false : tls_required
|
|
9003
9019
|
@url = url == nil ? "" : url
|
|
9004
9020
|
@username = username == nil ? "" : username
|
|
9005
9021
|
end
|
|
@@ -9044,6 +9060,8 @@ module SDM
|
|
|
9044
9060
|
attr_accessor :subdomain
|
|
9045
9061
|
# Tags is a map of key, value pairs.
|
|
9046
9062
|
attr_accessor :tags
|
|
9063
|
+
# This option enforces HTTPS on the client, not resource connection.
|
|
9064
|
+
attr_accessor :tls_required
|
|
9047
9065
|
# The base address of your website without the path.
|
|
9048
9066
|
attr_accessor :url
|
|
9049
9067
|
|
|
@@ -9063,6 +9081,7 @@ module SDM
|
|
|
9063
9081
|
secret_store_id: nil,
|
|
9064
9082
|
subdomain: nil,
|
|
9065
9083
|
tags: nil,
|
|
9084
|
+
tls_required: nil,
|
|
9066
9085
|
url: nil
|
|
9067
9086
|
)
|
|
9068
9087
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
@@ -9080,6 +9099,7 @@ module SDM
|
|
|
9080
9099
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
9081
9100
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
9082
9101
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
9102
|
+
@tls_required = tls_required == nil ? false : tls_required
|
|
9083
9103
|
@url = url == nil ? "" : url
|
|
9084
9104
|
end
|
|
9085
9105
|
|
|
@@ -10331,8 +10351,7 @@ module SDM
|
|
|
10331
10351
|
end
|
|
10332
10352
|
end
|
|
10333
10353
|
|
|
10334
|
-
|
|
10335
|
-
class MCP
|
|
10354
|
+
class MCPGatewayNoAuth
|
|
10336
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.
|
|
10337
10356
|
attr_accessor :bind_interface
|
|
10338
10357
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
@@ -10345,14 +10364,6 @@ module SDM
|
|
|
10345
10364
|
attr_accessor :id
|
|
10346
10365
|
# Unique human-readable name of the Resource.
|
|
10347
10366
|
attr_accessor :name
|
|
10348
|
-
# The OAuth 2.0 authorization endpoint URL.
|
|
10349
|
-
attr_accessor :oauth_auth_endpoint
|
|
10350
|
-
# Space-separated list of OAuth scopes to request.
|
|
10351
|
-
attr_accessor :oauth_scopes
|
|
10352
|
-
# The OAuth 2.0 token endpoint URL.
|
|
10353
|
-
attr_accessor :oauth_token_endpoint
|
|
10354
|
-
# OAuth App Client Secret
|
|
10355
|
-
attr_accessor :password
|
|
10356
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.
|
|
10357
10368
|
attr_accessor :port_override
|
|
10358
10369
|
# ID of the proxy cluster for this resource, if any.
|
|
@@ -10363,8 +10374,6 @@ module SDM
|
|
|
10363
10374
|
attr_accessor :subdomain
|
|
10364
10375
|
# Tags is a map of key, value pairs.
|
|
10365
10376
|
attr_accessor :tags
|
|
10366
|
-
# OAuth App Client ID
|
|
10367
|
-
attr_accessor :username
|
|
10368
10377
|
|
|
10369
10378
|
def initialize(
|
|
10370
10379
|
bind_interface: nil,
|
|
@@ -10373,16 +10382,11 @@ module SDM
|
|
|
10373
10382
|
hostname: nil,
|
|
10374
10383
|
id: nil,
|
|
10375
10384
|
name: nil,
|
|
10376
|
-
oauth_auth_endpoint: nil,
|
|
10377
|
-
oauth_scopes: nil,
|
|
10378
|
-
oauth_token_endpoint: nil,
|
|
10379
|
-
password: nil,
|
|
10380
10385
|
port_override: nil,
|
|
10381
10386
|
proxy_cluster_id: nil,
|
|
10382
10387
|
secret_store_id: nil,
|
|
10383
10388
|
subdomain: nil,
|
|
10384
|
-
tags: nil
|
|
10385
|
-
username: nil
|
|
10389
|
+
tags: nil
|
|
10386
10390
|
)
|
|
10387
10391
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10388
10392
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
@@ -10390,16 +10394,11 @@ module SDM
|
|
|
10390
10394
|
@hostname = hostname == nil ? "" : hostname
|
|
10391
10395
|
@id = id == nil ? "" : id
|
|
10392
10396
|
@name = name == nil ? "" : name
|
|
10393
|
-
@oauth_auth_endpoint = oauth_auth_endpoint == nil ? "" : oauth_auth_endpoint
|
|
10394
|
-
@oauth_scopes = oauth_scopes == nil ? "" : oauth_scopes
|
|
10395
|
-
@oauth_token_endpoint = oauth_token_endpoint == nil ? "" : oauth_token_endpoint
|
|
10396
|
-
@password = password == nil ? "" : password
|
|
10397
10397
|
@port_override = port_override == nil ? 0 : port_override
|
|
10398
10398
|
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
10399
10399
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
10400
10400
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
10401
10401
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
10402
|
-
@username = username == nil ? "" : username
|
|
10403
10402
|
end
|
|
10404
10403
|
|
|
10405
10404
|
def to_json(options = {})
|
|
@@ -10411,8 +10410,7 @@ module SDM
|
|
|
10411
10410
|
end
|
|
10412
10411
|
end
|
|
10413
10412
|
|
|
10414
|
-
|
|
10415
|
-
class MCPDCR
|
|
10413
|
+
class MCPGatewayOAuth
|
|
10416
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.
|
|
10417
10415
|
attr_accessor :bind_interface
|
|
10418
10416
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
@@ -10427,12 +10425,12 @@ module SDM
|
|
|
10427
10425
|
attr_accessor :name
|
|
10428
10426
|
# The OAuth 2.0 authorization endpoint URL.
|
|
10429
10427
|
attr_accessor :oauth_auth_endpoint
|
|
10430
|
-
# The OAuth 2.0 dynamic client registration endpoint URL.
|
|
10431
|
-
attr_accessor :oauth_register_endpoint
|
|
10432
10428
|
# Space-separated list of OAuth scopes to request.
|
|
10433
10429
|
attr_accessor :oauth_scopes
|
|
10434
10430
|
# The OAuth 2.0 token endpoint URL.
|
|
10435
10431
|
attr_accessor :oauth_token_endpoint
|
|
10432
|
+
# OAuth App Client Secret
|
|
10433
|
+
attr_accessor :password
|
|
10436
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.
|
|
10437
10435
|
attr_accessor :port_override
|
|
10438
10436
|
# ID of the proxy cluster for this resource, if any.
|
|
@@ -10443,6 +10441,8 @@ module SDM
|
|
|
10443
10441
|
attr_accessor :subdomain
|
|
10444
10442
|
# Tags is a map of key, value pairs.
|
|
10445
10443
|
attr_accessor :tags
|
|
10444
|
+
# OAuth App Client ID
|
|
10445
|
+
attr_accessor :username
|
|
10446
10446
|
|
|
10447
10447
|
def initialize(
|
|
10448
10448
|
bind_interface: nil,
|
|
@@ -10452,14 +10452,15 @@ module SDM
|
|
|
10452
10452
|
id: nil,
|
|
10453
10453
|
name: nil,
|
|
10454
10454
|
oauth_auth_endpoint: nil,
|
|
10455
|
-
oauth_register_endpoint: nil,
|
|
10456
10455
|
oauth_scopes: nil,
|
|
10457
10456
|
oauth_token_endpoint: nil,
|
|
10457
|
+
password: nil,
|
|
10458
10458
|
port_override: nil,
|
|
10459
10459
|
proxy_cluster_id: nil,
|
|
10460
10460
|
secret_store_id: nil,
|
|
10461
10461
|
subdomain: nil,
|
|
10462
|
-
tags: nil
|
|
10462
|
+
tags: nil,
|
|
10463
|
+
username: nil
|
|
10463
10464
|
)
|
|
10464
10465
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10465
10466
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
@@ -10468,14 +10469,15 @@ module SDM
|
|
|
10468
10469
|
@id = id == nil ? "" : id
|
|
10469
10470
|
@name = name == nil ? "" : name
|
|
10470
10471
|
@oauth_auth_endpoint = oauth_auth_endpoint == nil ? "" : oauth_auth_endpoint
|
|
10471
|
-
@oauth_register_endpoint = oauth_register_endpoint == nil ? "" : oauth_register_endpoint
|
|
10472
10472
|
@oauth_scopes = oauth_scopes == nil ? "" : oauth_scopes
|
|
10473
10473
|
@oauth_token_endpoint = oauth_token_endpoint == nil ? "" : oauth_token_endpoint
|
|
10474
|
+
@password = password == nil ? "" : password
|
|
10474
10475
|
@port_override = port_override == nil ? 0 : port_override
|
|
10475
10476
|
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
10476
10477
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
10477
10478
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
10478
10479
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
10480
|
+
@username = username == nil ? "" : username
|
|
10479
10481
|
end
|
|
10480
10482
|
|
|
10481
10483
|
def to_json(options = {})
|
|
@@ -10487,8 +10489,8 @@ module SDM
|
|
|
10487
10489
|
end
|
|
10488
10490
|
end
|
|
10489
10491
|
|
|
10490
|
-
#
|
|
10491
|
-
class
|
|
10492
|
+
# MCPGatewayOAuthDCR is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
10493
|
+
class MCPGatewayOAuthDCR
|
|
10492
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.
|
|
10493
10495
|
attr_accessor :bind_interface
|
|
10494
10496
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
@@ -10501,6 +10503,14 @@ module SDM
|
|
|
10501
10503
|
attr_accessor :id
|
|
10502
10504
|
# Unique human-readable name of the Resource.
|
|
10503
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
|
|
10504
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.
|
|
10505
10515
|
attr_accessor :port_override
|
|
10506
10516
|
# ID of the proxy cluster for this resource, if any.
|
|
@@ -10519,6 +10529,10 @@ module SDM
|
|
|
10519
10529
|
hostname: nil,
|
|
10520
10530
|
id: nil,
|
|
10521
10531
|
name: nil,
|
|
10532
|
+
oauth_auth_endpoint: nil,
|
|
10533
|
+
oauth_register_endpoint: nil,
|
|
10534
|
+
oauth_scopes: nil,
|
|
10535
|
+
oauth_token_endpoint: nil,
|
|
10522
10536
|
port_override: nil,
|
|
10523
10537
|
proxy_cluster_id: nil,
|
|
10524
10538
|
secret_store_id: nil,
|
|
@@ -10531,6 +10545,10 @@ module SDM
|
|
|
10531
10545
|
@hostname = hostname == nil ? "" : hostname
|
|
10532
10546
|
@id = id == nil ? "" : id
|
|
10533
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
|
|
10534
10552
|
@port_override = port_override == nil ? 0 : port_override
|
|
10535
10553
|
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
10536
10554
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
@@ -10547,7 +10565,6 @@ module SDM
|
|
|
10547
10565
|
end
|
|
10548
10566
|
end
|
|
10549
10567
|
|
|
10550
|
-
# MCPGatewayPAT is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
10551
10568
|
class MCPGatewayPAT
|
|
10552
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.
|
|
10553
10570
|
attr_accessor :bind_interface
|
|
@@ -17346,6 +17363,8 @@ module SDM
|
|
|
17346
17363
|
attr_accessor :subdomain
|
|
17347
17364
|
# Tags is a map of key, value pairs.
|
|
17348
17365
|
attr_accessor :tags
|
|
17366
|
+
# This option enforces HTTPS on the client, not resource connection.
|
|
17367
|
+
attr_accessor :use_https
|
|
17349
17368
|
|
|
17350
17369
|
def initialize(
|
|
17351
17370
|
bind_interface: nil,
|
|
@@ -17360,7 +17379,8 @@ module SDM
|
|
|
17360
17379
|
samlmetadata: nil,
|
|
17361
17380
|
secret_store_id: nil,
|
|
17362
17381
|
subdomain: nil,
|
|
17363
|
-
tags: nil
|
|
17382
|
+
tags: nil,
|
|
17383
|
+
use_https: nil
|
|
17364
17384
|
)
|
|
17365
17385
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
17366
17386
|
@connecttodefault = connecttodefault == nil ? false : connecttodefault
|
|
@@ -17375,6 +17395,7 @@ module SDM
|
|
|
17375
17395
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
17376
17396
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
17377
17397
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
17398
|
+
@use_https = use_https == nil ? false : use_https
|
|
17378
17399
|
end
|
|
17379
17400
|
|
|
17380
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"
|