strongdm 17.9.0 → 18.0.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-2772f07cf81891183010f2eb7f66edb196c133e2.idx → pack-505de70a6a52a003735d5602ae65caf6d215baf3.idx} +0 -0
- data/.git/objects/pack/{pack-2772f07cf81891183010f2eb7f66edb196c133e2.pack → pack-505de70a6a52a003735d5602ae65caf6d215baf3.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +18 -4
- data/lib/grpc/plumbing.rb +70 -8
- data/lib/grpc/resourcetypes_pb.rb +1 -0
- data/lib/models/porcelain.rb +76 -16
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +1 -0
- 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: d3af3c3437db9bb35583d4bc1f1d0a7e4c947ffe24c5a5a9536770d7d42c3153
|
|
4
|
+
data.tar.gz: 691d870ffac26a2cfbc8a86955d63984fcb8f83eb16067a98eec48fafe98a2fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 80d38878305566f5b5cd346d3e712d226ffc5edd3605b700be5ad642bdc67ab38dde321336aa635e64f19a3a2881d3cd56ba79926d904b5e5dc836515e44777f
|
|
7
|
+
data.tar.gz: bd01471004a3bee9a0190de22679838e5185fbed86e5d9a5250a086c909ad4b17cc5d7d8a2488b477b7eca506de269d97dbf34e05c3f98aeeffbbe28a290fdbe
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
d9fa7d185e352151179839d42fc595110154b6e5
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 d9fa7d185e352151179839d42fc595110154b6e5 root <root@7b7412a7d2f4.(none)> 1788258896 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
d9fa7d185e352151179839d42fc595110154b6e5 d9fa7d185e352151179839d42fc595110154b6e5 root <root@7b7412a7d2f4.(none)> 1788258896 +0000 checkout: moving from master to master
|
|
3
|
+
d9fa7d185e352151179839d42fc595110154b6e5 a9461772e0fec378935e8a68e03da0ab162f747b root <root@7b7412a7d2f4.(none)> 1788258896 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 d9fa7d185e352151179839d42fc595110154b6e5 root <root@7b7412a7d2f4.(none)> 1788258896 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
d9fa7d185e352151179839d42fc595110154b6e5 a9461772e0fec378935e8a68e03da0ab162f747b root <root@7b7412a7d2f4.(none)> 1788258896 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 d9fa7d185e352151179839d42fc595110154b6e5 root <root@7b7412a7d2f4.(none)> 1788258896 +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
|
+
a9461772e0fec378935e8a68e03da0ab162f747b refs/remotes/origin/development
|
|
3
|
+
d9fa7d185e352151179839d42fc595110154b6e5 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
|
|
@@ -166,6 +166,7 @@ dc10f48d22db35fa4756342f7d1c30bc0c3365a6 refs/tags/v17.2.0
|
|
|
166
166
|
53bd3bd40e6e24a7d46f733b978a808a3841f3c3 refs/tags/v17.5.0
|
|
167
167
|
4223ad7025bb68aefb28012e6d03eada1ae3a219 refs/tags/v17.6.0
|
|
168
168
|
0b28aabb4e9c03e35e6936a056df2fe373a117e6 refs/tags/v17.8.0
|
|
169
|
+
d9fa7d185e352151179839d42fc595110154b6e5 refs/tags/v17.9.0
|
|
169
170
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
|
170
171
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
|
171
172
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a9461772e0fec378935e8a68e03da0ab162f747b
|
data/lib/grpc/drivers_pb.rb
CHANGED
|
@@ -84,6 +84,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
84
84
|
optional :gcpwif, :message, 2701, "v1.GCPWIF"
|
|
85
85
|
optional :google_gke, :message, 803, "v1.GoogleGKE"
|
|
86
86
|
optional :google_gke_user_impersonation, :message, 816, "v1.GoogleGKEUserImpersonation"
|
|
87
|
+
optional :google_groups, :message, 5000, "v1.GoogleGroups"
|
|
87
88
|
optional :google_spanner, :message, 4800, "v1.GoogleSpanner"
|
|
88
89
|
optional :greenplum, :message, 1302, "v1.Greenplum"
|
|
89
90
|
optional :http_auth, :message, 702, "v1.HTTPAuth"
|
|
@@ -1204,6 +1205,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1204
1205
|
optional :port_override, :int32, 12
|
|
1205
1206
|
optional :service_account_key, :string, 4
|
|
1206
1207
|
end
|
|
1208
|
+
add_message "v1.GoogleGroups" do
|
|
1209
|
+
optional :id, :string, 32768
|
|
1210
|
+
optional :name, :string, 32769
|
|
1211
|
+
optional :healthy, :bool, 32770
|
|
1212
|
+
optional :tags, :message, 32771, "v1.Tags"
|
|
1213
|
+
optional :secret_store_id, :string, 32772
|
|
1214
|
+
optional :egress_filter, :string, 32773
|
|
1215
|
+
optional :bind_interface, :string, 32774
|
|
1216
|
+
optional :proxy_cluster_id, :string, 32776
|
|
1217
|
+
optional :subdomain, :string, 32775
|
|
1218
|
+
optional :discovery_enabled, :bool, 4
|
|
1219
|
+
optional :domain, :string, 1
|
|
1220
|
+
optional :group_emails, :string, 5
|
|
1221
|
+
optional :identity_set_id, :string, 3
|
|
1222
|
+
optional :privilege_levels, :string, 2
|
|
1223
|
+
end
|
|
1207
1224
|
add_message "v1.GoogleSpanner" do
|
|
1208
1225
|
optional :id, :string, 32768
|
|
1209
1226
|
optional :name, :string, 32769
|
|
@@ -1445,7 +1462,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1445
1462
|
optional :bind_interface, :string, 32774
|
|
1446
1463
|
optional :proxy_cluster_id, :string, 32776
|
|
1447
1464
|
optional :subdomain, :string, 32775
|
|
1448
|
-
optional :hostname, :string, 1
|
|
1449
1465
|
optional :port_override, :int32, 4
|
|
1450
1466
|
optional :tls_cert, :string, 11
|
|
1451
1467
|
optional :tls_insecure, :bool, 10
|
|
@@ -1461,7 +1477,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1461
1477
|
optional :bind_interface, :string, 32774
|
|
1462
1478
|
optional :proxy_cluster_id, :string, 32776
|
|
1463
1479
|
optional :subdomain, :string, 32775
|
|
1464
|
-
optional :hostname, :string, 1
|
|
1465
1480
|
optional :oauth_auth_endpoint, :string, 8
|
|
1466
1481
|
optional :oauth_scopes, :string, 11
|
|
1467
1482
|
optional :oauth_token_endpoint, :string, 9
|
|
@@ -1482,7 +1497,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1482
1497
|
optional :bind_interface, :string, 32774
|
|
1483
1498
|
optional :proxy_cluster_id, :string, 32776
|
|
1484
1499
|
optional :subdomain, :string, 32775
|
|
1485
|
-
optional :hostname, :string, 1
|
|
1486
1500
|
optional :oauth_auth_endpoint, :string, 8
|
|
1487
1501
|
optional :oauth_register_endpoint, :string, 10
|
|
1488
1502
|
optional :oauth_scopes, :string, 12
|
|
@@ -1502,7 +1516,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1502
1516
|
optional :bind_interface, :string, 32774
|
|
1503
1517
|
optional :proxy_cluster_id, :string, 32776
|
|
1504
1518
|
optional :subdomain, :string, 32775
|
|
1505
|
-
optional :hostname, :string, 1
|
|
1506
1519
|
optional :password, :string, 2
|
|
1507
1520
|
optional :port_override, :int32, 4
|
|
1508
1521
|
optional :tls_cert, :string, 11
|
|
@@ -2369,6 +2382,7 @@ module V1
|
|
|
2369
2382
|
GCPWIF = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCPWIF").msgclass
|
|
2370
2383
|
GoogleGKE = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GoogleGKE").msgclass
|
|
2371
2384
|
GoogleGKEUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GoogleGKEUserImpersonation").msgclass
|
|
2385
|
+
GoogleGroups = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GoogleGroups").msgclass
|
|
2372
2386
|
GoogleSpanner = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GoogleSpanner").msgclass
|
|
2373
2387
|
Greenplum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Greenplum").msgclass
|
|
2374
2388
|
HTTPAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.HTTPAuth").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
|
@@ -364,6 +364,8 @@ module SDM
|
|
|
364
364
|
return SDM::ResourceType::RESOURCE_TYPE_GOOGLE_GKE
|
|
365
365
|
when V1::ResourceType::RESOURCE_TYPE_GOOGLE_GKE_USER_IMPERSONATION
|
|
366
366
|
return SDM::ResourceType::RESOURCE_TYPE_GOOGLE_GKE_USER_IMPERSONATION
|
|
367
|
+
when V1::ResourceType::RESOURCE_TYPE_GOOGLE_GROUPS
|
|
368
|
+
return SDM::ResourceType::RESOURCE_TYPE_GOOGLE_GROUPS
|
|
367
369
|
when V1::ResourceType::RESOURCE_TYPE_GOOGLE_SPANNER
|
|
368
370
|
return SDM::ResourceType::RESOURCE_TYPE_GOOGLE_SPANNER
|
|
369
371
|
when V1::ResourceType::RESOURCE_TYPE_GREENPLUM
|
|
@@ -624,6 +626,8 @@ module SDM
|
|
|
624
626
|
value = V1::ResourceType::RESOURCE_TYPE_GOOGLE_GKE
|
|
625
627
|
when SDM::ResourceType::RESOURCE_TYPE_GOOGLE_GKE_USER_IMPERSONATION, "RESOURCE_TYPE_GOOGLE_GKE_USER_IMPERSONATION"
|
|
626
628
|
value = V1::ResourceType::RESOURCE_TYPE_GOOGLE_GKE_USER_IMPERSONATION
|
|
629
|
+
when SDM::ResourceType::RESOURCE_TYPE_GOOGLE_GROUPS, "RESOURCE_TYPE_GOOGLE_GROUPS"
|
|
630
|
+
value = V1::ResourceType::RESOURCE_TYPE_GOOGLE_GROUPS
|
|
627
631
|
when SDM::ResourceType::RESOURCE_TYPE_GOOGLE_SPANNER, "RESOURCE_TYPE_GOOGLE_SPANNER"
|
|
628
632
|
value = V1::ResourceType::RESOURCE_TYPE_GOOGLE_SPANNER
|
|
629
633
|
when SDM::ResourceType::RESOURCE_TYPE_GREENPLUM, "RESOURCE_TYPE_GREENPLUM"
|
|
@@ -8489,6 +8493,66 @@ module SDM
|
|
|
8489
8493
|
end
|
|
8490
8494
|
items
|
|
8491
8495
|
end
|
|
8496
|
+
def self.convert_google_groups_to_porcelain(plumbing)
|
|
8497
|
+
if plumbing == nil
|
|
8498
|
+
return nil
|
|
8499
|
+
end
|
|
8500
|
+
porcelain = GoogleGroups.new()
|
|
8501
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
|
8502
|
+
porcelain.discovery_enabled = (plumbing.discovery_enabled)
|
|
8503
|
+
porcelain.domain = (plumbing.domain)
|
|
8504
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
|
8505
|
+
porcelain.group_emails = (plumbing.group_emails)
|
|
8506
|
+
porcelain.healthy = (plumbing.healthy)
|
|
8507
|
+
porcelain.id = (plumbing.id)
|
|
8508
|
+
porcelain.identity_set_id = (plumbing.identity_set_id)
|
|
8509
|
+
porcelain.name = (plumbing.name)
|
|
8510
|
+
porcelain.privilege_levels = (plumbing.privilege_levels)
|
|
8511
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
8512
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
8513
|
+
porcelain.subdomain = (plumbing.subdomain)
|
|
8514
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
8515
|
+
porcelain
|
|
8516
|
+
end
|
|
8517
|
+
|
|
8518
|
+
def self.convert_google_groups_to_plumbing(porcelain)
|
|
8519
|
+
if porcelain == nil
|
|
8520
|
+
return nil
|
|
8521
|
+
end
|
|
8522
|
+
plumbing = V1::GoogleGroups.new()
|
|
8523
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
|
8524
|
+
plumbing.discovery_enabled = (porcelain.discovery_enabled)
|
|
8525
|
+
plumbing.domain = (porcelain.domain)
|
|
8526
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
|
8527
|
+
plumbing.group_emails = (porcelain.group_emails)
|
|
8528
|
+
plumbing.healthy = (porcelain.healthy)
|
|
8529
|
+
plumbing.id = (porcelain.id)
|
|
8530
|
+
plumbing.identity_set_id = (porcelain.identity_set_id)
|
|
8531
|
+
plumbing.name = (porcelain.name)
|
|
8532
|
+
plumbing.privilege_levels = (porcelain.privilege_levels)
|
|
8533
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
8534
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
8535
|
+
plumbing.subdomain = (porcelain.subdomain)
|
|
8536
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
8537
|
+
plumbing
|
|
8538
|
+
end
|
|
8539
|
+
def self.convert_repeated_google_groups_to_plumbing(porcelains)
|
|
8540
|
+
items = Array.new
|
|
8541
|
+
porcelains.each do |porcelain|
|
|
8542
|
+
plumbing = convert_google_groups_to_plumbing(porcelain)
|
|
8543
|
+
items.append(plumbing)
|
|
8544
|
+
end
|
|
8545
|
+
items
|
|
8546
|
+
end
|
|
8547
|
+
|
|
8548
|
+
def self.convert_repeated_google_groups_to_porcelain(plumbings)
|
|
8549
|
+
items = Array.new
|
|
8550
|
+
plumbings.each do |plumbing|
|
|
8551
|
+
porcelain = convert_google_groups_to_porcelain(plumbing)
|
|
8552
|
+
items.append(porcelain)
|
|
8553
|
+
end
|
|
8554
|
+
items
|
|
8555
|
+
end
|
|
8492
8556
|
def self.convert_google_spanner_to_porcelain(plumbing)
|
|
8493
8557
|
if plumbing == nil
|
|
8494
8558
|
return nil
|
|
@@ -11245,7 +11309,6 @@ module SDM
|
|
|
11245
11309
|
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11246
11310
|
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11247
11311
|
porcelain.healthy = (plumbing.healthy)
|
|
11248
|
-
porcelain.hostname = (plumbing.hostname)
|
|
11249
11312
|
porcelain.id = (plumbing.id)
|
|
11250
11313
|
porcelain.name = (plumbing.name)
|
|
11251
11314
|
porcelain.port_override = (plumbing.port_override)
|
|
@@ -11267,7 +11330,6 @@ module SDM
|
|
|
11267
11330
|
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11268
11331
|
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11269
11332
|
plumbing.healthy = (porcelain.healthy)
|
|
11270
|
-
plumbing.hostname = (porcelain.hostname)
|
|
11271
11333
|
plumbing.id = (porcelain.id)
|
|
11272
11334
|
plumbing.name = (porcelain.name)
|
|
11273
11335
|
plumbing.port_override = (porcelain.port_override)
|
|
@@ -11305,7 +11367,6 @@ module SDM
|
|
|
11305
11367
|
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11306
11368
|
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11307
11369
|
porcelain.healthy = (plumbing.healthy)
|
|
11308
|
-
porcelain.hostname = (plumbing.hostname)
|
|
11309
11370
|
porcelain.id = (plumbing.id)
|
|
11310
11371
|
porcelain.name = (plumbing.name)
|
|
11311
11372
|
porcelain.oauth_auth_endpoint = (plumbing.oauth_auth_endpoint)
|
|
@@ -11332,7 +11393,6 @@ module SDM
|
|
|
11332
11393
|
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11333
11394
|
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11334
11395
|
plumbing.healthy = (porcelain.healthy)
|
|
11335
|
-
plumbing.hostname = (porcelain.hostname)
|
|
11336
11396
|
plumbing.id = (porcelain.id)
|
|
11337
11397
|
plumbing.name = (porcelain.name)
|
|
11338
11398
|
plumbing.oauth_auth_endpoint = (porcelain.oauth_auth_endpoint)
|
|
@@ -11375,7 +11435,6 @@ module SDM
|
|
|
11375
11435
|
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11376
11436
|
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11377
11437
|
porcelain.healthy = (plumbing.healthy)
|
|
11378
|
-
porcelain.hostname = (plumbing.hostname)
|
|
11379
11438
|
porcelain.id = (plumbing.id)
|
|
11380
11439
|
porcelain.name = (plumbing.name)
|
|
11381
11440
|
porcelain.oauth_auth_endpoint = (plumbing.oauth_auth_endpoint)
|
|
@@ -11401,7 +11460,6 @@ module SDM
|
|
|
11401
11460
|
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11402
11461
|
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11403
11462
|
plumbing.healthy = (porcelain.healthy)
|
|
11404
|
-
plumbing.hostname = (porcelain.hostname)
|
|
11405
11463
|
plumbing.id = (porcelain.id)
|
|
11406
11464
|
plumbing.name = (porcelain.name)
|
|
11407
11465
|
plumbing.oauth_auth_endpoint = (porcelain.oauth_auth_endpoint)
|
|
@@ -11443,7 +11501,6 @@ module SDM
|
|
|
11443
11501
|
porcelain.bind_interface = (plumbing.bind_interface)
|
|
11444
11502
|
porcelain.egress_filter = (plumbing.egress_filter)
|
|
11445
11503
|
porcelain.healthy = (plumbing.healthy)
|
|
11446
|
-
porcelain.hostname = (plumbing.hostname)
|
|
11447
11504
|
porcelain.id = (plumbing.id)
|
|
11448
11505
|
porcelain.name = (plumbing.name)
|
|
11449
11506
|
porcelain.password = (plumbing.password)
|
|
@@ -11466,7 +11523,6 @@ module SDM
|
|
|
11466
11523
|
plumbing.bind_interface = (porcelain.bind_interface)
|
|
11467
11524
|
plumbing.egress_filter = (porcelain.egress_filter)
|
|
11468
11525
|
plumbing.healthy = (porcelain.healthy)
|
|
11469
|
-
plumbing.hostname = (porcelain.hostname)
|
|
11470
11526
|
plumbing.id = (porcelain.id)
|
|
11471
11527
|
plumbing.name = (porcelain.name)
|
|
11472
11528
|
plumbing.password = (porcelain.password)
|
|
@@ -17032,6 +17088,9 @@ module SDM
|
|
|
17032
17088
|
if porcelain.instance_of? GoogleGKEUserImpersonation
|
|
17033
17089
|
plumbing.google_gke_user_impersonation = convert_google_gke_user_impersonation_to_plumbing(porcelain)
|
|
17034
17090
|
end
|
|
17091
|
+
if porcelain.instance_of? GoogleGroups
|
|
17092
|
+
plumbing.google_groups = convert_google_groups_to_plumbing(porcelain)
|
|
17093
|
+
end
|
|
17035
17094
|
if porcelain.instance_of? GoogleSpanner
|
|
17036
17095
|
plumbing.google_spanner = convert_google_spanner_to_plumbing(porcelain)
|
|
17037
17096
|
end
|
|
@@ -17393,6 +17452,9 @@ module SDM
|
|
|
17393
17452
|
if plumbing.google_gke_user_impersonation != nil
|
|
17394
17453
|
return convert_google_gke_user_impersonation_to_porcelain(plumbing.google_gke_user_impersonation)
|
|
17395
17454
|
end
|
|
17455
|
+
if plumbing.google_groups != nil
|
|
17456
|
+
return convert_google_groups_to_porcelain(plumbing.google_groups)
|
|
17457
|
+
end
|
|
17396
17458
|
if plumbing.google_spanner != nil
|
|
17397
17459
|
return convert_google_spanner_to_porcelain(plumbing.google_spanner)
|
|
17398
17460
|
end
|
|
@@ -82,6 +82,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
82
82
|
value :RESOURCE_TYPE_GOOGLE_ADMIN, 3302
|
|
83
83
|
value :RESOURCE_TYPE_GOOGLE_GKE, 803
|
|
84
84
|
value :RESOURCE_TYPE_GOOGLE_GKE_USER_IMPERSONATION, 816
|
|
85
|
+
value :RESOURCE_TYPE_GOOGLE_GROUPS, 5000
|
|
85
86
|
value :RESOURCE_TYPE_GOOGLE_SPANNER, 4800
|
|
86
87
|
value :RESOURCE_TYPE_GREENPLUM, 1302
|
|
87
88
|
value :RESOURCE_TYPE_HTTP_AUTH, 702
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -141,6 +141,8 @@ module SDM
|
|
|
141
141
|
|
|
142
142
|
GOOGLE_GKE_USER_IMPERSONATION = "RESOURCE_TYPE_GOOGLE_GKE_USER_IMPERSONATION"
|
|
143
143
|
|
|
144
|
+
GOOGLE_GROUPS = "RESOURCE_TYPE_GOOGLE_GROUPS"
|
|
145
|
+
|
|
144
146
|
GOOGLE_SPANNER = "RESOURCE_TYPE_GOOGLE_SPANNER"
|
|
145
147
|
|
|
146
148
|
GREENPLUM = "RESOURCE_TYPE_GREENPLUM"
|
|
@@ -8008,6 +8010,80 @@ module SDM
|
|
|
8008
8010
|
end
|
|
8009
8011
|
end
|
|
8010
8012
|
|
|
8013
|
+
# GoogleGroups is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
8014
|
+
class GoogleGroups
|
|
8015
|
+
# 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.
|
|
8016
|
+
attr_accessor :bind_interface
|
|
8017
|
+
# If true, configures discovery of the Google Workspace account to be run
|
|
8018
|
+
# from a node.
|
|
8019
|
+
attr_accessor :discovery_enabled
|
|
8020
|
+
# The primary domain of the Google Workspace account that owns the groups.
|
|
8021
|
+
attr_accessor :domain
|
|
8022
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
|
8023
|
+
attr_accessor :egress_filter
|
|
8024
|
+
# comma separated list of group email addresses to filter by. Supports
|
|
8025
|
+
# wildcards (*)
|
|
8026
|
+
attr_accessor :group_emails
|
|
8027
|
+
# True if the datasource is reachable and the credentials are valid.
|
|
8028
|
+
attr_accessor :healthy
|
|
8029
|
+
# Unique identifier of the Resource.
|
|
8030
|
+
attr_accessor :id
|
|
8031
|
+
# The ID of the identity set to use for identity connections.
|
|
8032
|
+
attr_accessor :identity_set_id
|
|
8033
|
+
# Unique human-readable name of the Resource.
|
|
8034
|
+
attr_accessor :name
|
|
8035
|
+
# The privilege levels specify which Groups are managed externally
|
|
8036
|
+
attr_accessor :privilege_levels
|
|
8037
|
+
# ID of the proxy cluster for this resource, if any.
|
|
8038
|
+
attr_accessor :proxy_cluster_id
|
|
8039
|
+
# ID of the secret store containing credentials for this resource, if any.
|
|
8040
|
+
attr_accessor :secret_store_id
|
|
8041
|
+
# DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
|
|
8042
|
+
attr_accessor :subdomain
|
|
8043
|
+
# Tags is a map of key, value pairs.
|
|
8044
|
+
attr_accessor :tags
|
|
8045
|
+
|
|
8046
|
+
def initialize(
|
|
8047
|
+
bind_interface: nil,
|
|
8048
|
+
discovery_enabled: nil,
|
|
8049
|
+
domain: nil,
|
|
8050
|
+
egress_filter: nil,
|
|
8051
|
+
group_emails: nil,
|
|
8052
|
+
healthy: nil,
|
|
8053
|
+
id: nil,
|
|
8054
|
+
identity_set_id: nil,
|
|
8055
|
+
name: nil,
|
|
8056
|
+
privilege_levels: nil,
|
|
8057
|
+
proxy_cluster_id: nil,
|
|
8058
|
+
secret_store_id: nil,
|
|
8059
|
+
subdomain: nil,
|
|
8060
|
+
tags: nil
|
|
8061
|
+
)
|
|
8062
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
8063
|
+
@discovery_enabled = discovery_enabled == nil ? false : discovery_enabled
|
|
8064
|
+
@domain = domain == nil ? "" : domain
|
|
8065
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
8066
|
+
@group_emails = group_emails == nil ? "" : group_emails
|
|
8067
|
+
@healthy = healthy == nil ? false : healthy
|
|
8068
|
+
@id = id == nil ? "" : id
|
|
8069
|
+
@identity_set_id = identity_set_id == nil ? "" : identity_set_id
|
|
8070
|
+
@name = name == nil ? "" : name
|
|
8071
|
+
@privilege_levels = privilege_levels == nil ? "" : privilege_levels
|
|
8072
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
8073
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
8074
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
|
8075
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
8076
|
+
end
|
|
8077
|
+
|
|
8078
|
+
def to_json(options = {})
|
|
8079
|
+
hash = {}
|
|
8080
|
+
self.instance_variables.each do |var|
|
|
8081
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
8082
|
+
end
|
|
8083
|
+
hash.to_json
|
|
8084
|
+
end
|
|
8085
|
+
end
|
|
8086
|
+
|
|
8011
8087
|
class GoogleSpanner
|
|
8012
8088
|
# 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.
|
|
8013
8089
|
attr_accessor :bind_interface
|
|
@@ -10512,8 +10588,6 @@ module SDM
|
|
|
10512
10588
|
attr_accessor :egress_filter
|
|
10513
10589
|
# True if the datasource is reachable and the credentials are valid.
|
|
10514
10590
|
attr_accessor :healthy
|
|
10515
|
-
# The host to dial to initiate a connection from the egress node to this resource.
|
|
10516
|
-
attr_accessor :hostname
|
|
10517
10591
|
# Unique identifier of the Resource.
|
|
10518
10592
|
attr_accessor :id
|
|
10519
10593
|
# Unique human-readable name of the Resource.
|
|
@@ -10539,7 +10613,6 @@ module SDM
|
|
|
10539
10613
|
bind_interface: nil,
|
|
10540
10614
|
egress_filter: nil,
|
|
10541
10615
|
healthy: nil,
|
|
10542
|
-
hostname: nil,
|
|
10543
10616
|
id: nil,
|
|
10544
10617
|
name: nil,
|
|
10545
10618
|
port_override: nil,
|
|
@@ -10554,7 +10627,6 @@ module SDM
|
|
|
10554
10627
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10555
10628
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
10556
10629
|
@healthy = healthy == nil ? false : healthy
|
|
10557
|
-
@hostname = hostname == nil ? "" : hostname
|
|
10558
10630
|
@id = id == nil ? "" : id
|
|
10559
10631
|
@name = name == nil ? "" : name
|
|
10560
10632
|
@port_override = port_override == nil ? 0 : port_override
|
|
@@ -10583,8 +10655,6 @@ module SDM
|
|
|
10583
10655
|
attr_accessor :egress_filter
|
|
10584
10656
|
# True if the datasource is reachable and the credentials are valid.
|
|
10585
10657
|
attr_accessor :healthy
|
|
10586
|
-
# The host to dial to initiate a connection from the egress node to this resource.
|
|
10587
|
-
attr_accessor :hostname
|
|
10588
10658
|
# Unique identifier of the Resource.
|
|
10589
10659
|
attr_accessor :id
|
|
10590
10660
|
# Unique human-readable name of the Resource.
|
|
@@ -10620,7 +10690,6 @@ module SDM
|
|
|
10620
10690
|
bind_interface: nil,
|
|
10621
10691
|
egress_filter: nil,
|
|
10622
10692
|
healthy: nil,
|
|
10623
|
-
hostname: nil,
|
|
10624
10693
|
id: nil,
|
|
10625
10694
|
name: nil,
|
|
10626
10695
|
oauth_auth_endpoint: nil,
|
|
@@ -10640,7 +10709,6 @@ module SDM
|
|
|
10640
10709
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10641
10710
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
10642
10711
|
@healthy = healthy == nil ? false : healthy
|
|
10643
|
-
@hostname = hostname == nil ? "" : hostname
|
|
10644
10712
|
@id = id == nil ? "" : id
|
|
10645
10713
|
@name = name == nil ? "" : name
|
|
10646
10714
|
@oauth_auth_endpoint = oauth_auth_endpoint == nil ? "" : oauth_auth_endpoint
|
|
@@ -10674,8 +10742,6 @@ module SDM
|
|
|
10674
10742
|
attr_accessor :egress_filter
|
|
10675
10743
|
# True if the datasource is reachable and the credentials are valid.
|
|
10676
10744
|
attr_accessor :healthy
|
|
10677
|
-
# The host to dial to initiate a connection from the egress node to this resource.
|
|
10678
|
-
attr_accessor :hostname
|
|
10679
10745
|
# Unique identifier of the Resource.
|
|
10680
10746
|
attr_accessor :id
|
|
10681
10747
|
# Unique human-readable name of the Resource.
|
|
@@ -10709,7 +10775,6 @@ module SDM
|
|
|
10709
10775
|
bind_interface: nil,
|
|
10710
10776
|
egress_filter: nil,
|
|
10711
10777
|
healthy: nil,
|
|
10712
|
-
hostname: nil,
|
|
10713
10778
|
id: nil,
|
|
10714
10779
|
name: nil,
|
|
10715
10780
|
oauth_auth_endpoint: nil,
|
|
@@ -10728,7 +10793,6 @@ module SDM
|
|
|
10728
10793
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10729
10794
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
10730
10795
|
@healthy = healthy == nil ? false : healthy
|
|
10731
|
-
@hostname = hostname == nil ? "" : hostname
|
|
10732
10796
|
@id = id == nil ? "" : id
|
|
10733
10797
|
@name = name == nil ? "" : name
|
|
10734
10798
|
@oauth_auth_endpoint = oauth_auth_endpoint == nil ? "" : oauth_auth_endpoint
|
|
@@ -10761,8 +10825,6 @@ module SDM
|
|
|
10761
10825
|
attr_accessor :egress_filter
|
|
10762
10826
|
# True if the datasource is reachable and the credentials are valid.
|
|
10763
10827
|
attr_accessor :healthy
|
|
10764
|
-
# The host to dial to initiate a connection from the egress node to this resource.
|
|
10765
|
-
attr_accessor :hostname
|
|
10766
10828
|
# Unique identifier of the Resource.
|
|
10767
10829
|
attr_accessor :id
|
|
10768
10830
|
# Unique human-readable name of the Resource.
|
|
@@ -10790,7 +10852,6 @@ module SDM
|
|
|
10790
10852
|
bind_interface: nil,
|
|
10791
10853
|
egress_filter: nil,
|
|
10792
10854
|
healthy: nil,
|
|
10793
|
-
hostname: nil,
|
|
10794
10855
|
id: nil,
|
|
10795
10856
|
name: nil,
|
|
10796
10857
|
password: nil,
|
|
@@ -10806,7 +10867,6 @@ module SDM
|
|
|
10806
10867
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10807
10868
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
10808
10869
|
@healthy = healthy == nil ? false : healthy
|
|
10809
|
-
@hostname = hostname == nil ? "" : hostname
|
|
10810
10870
|
@id = id == nil ? "" : id
|
|
10811
10871
|
@name = name == nil ? "" : name
|
|
10812
10872
|
@password = password == nil ? "" : password
|
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/
|
|
34
|
+
USER_AGENT = "strongdm-sdk-ruby/18.0.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
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:
|
|
4
|
+
version: 18.0.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-
|
|
11
|
+
date: 2026-09-01 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-505de70a6a52a003735d5602ae65caf6d215baf3.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-505de70a6a52a003735d5602ae65caf6d215baf3.pack"
|
|
86
86
|
- "./.git/packed-refs"
|
|
87
87
|
- "./.git/refs/heads/master"
|
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|