strongdm 17.9.0 → 18.1.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-f7f25f9461ae3c78adc6d865d6c64077dd353fa2.idx} +0 -0
- data/.git/objects/pack/{pack-2772f07cf81891183010f2eb7f66edb196c133e2.pack → pack-f7f25f9461ae3c78adc6d865d6c64077dd353fa2.pack} +0 -0
- data/.git/packed-refs +4 -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 -17
- 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: 0f5d39d2f7581cfa4ddb27da4af5515db3988d2891f4b31b925a4ff5f5899f1f
|
|
4
|
+
data.tar.gz: 1e107208b9bff97b9d3807dc8540261e336c572691b494ca62aeda41ef69e725
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71f1395f91a2800bfcb6f3c1f6bb956c4b3fdbf88616d93e718c63695900c8b9ac1717bc074f8c83258b6bbe2a536e66df58bb7d1e1f1811c8e2d7f3614edad6
|
|
7
|
+
data.tar.gz: b911e7ca20393f53c5924c1a306144feef20a3e700f8b396f0f67319eab9592c2ce9b8451a9b8233055a4814eb0f314ed1e04d10517d0f77bd01a469c1f8bbf4
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a9461772e0fec378935e8a68e03da0ab162f747b
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 a9461772e0fec378935e8a68e03da0ab162f747b root <root@1c247bce55b1.(none)> 1788979776 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
a9461772e0fec378935e8a68e03da0ab162f747b a9461772e0fec378935e8a68e03da0ab162f747b root <root@1c247bce55b1.(none)> 1788979776 +0000 checkout: moving from master to master
|
|
3
|
+
a9461772e0fec378935e8a68e03da0ab162f747b 16822777e56defbbd7db369a97fae005424ce340 root <root@1c247bce55b1.(none)> 1788979776 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 a9461772e0fec378935e8a68e03da0ab162f747b root <root@1c247bce55b1.(none)> 1788979776 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
a9461772e0fec378935e8a68e03da0ab162f747b 16822777e56defbbd7db369a97fae005424ce340 root <root@1c247bce55b1.(none)> 1788979776 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 a9461772e0fec378935e8a68e03da0ab162f747b root <root@1c247bce55b1.(none)> 1788979776 +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
|
+
16822777e56defbbd7db369a97fae005424ce340 refs/remotes/origin/development
|
|
3
|
+
a9461772e0fec378935e8a68e03da0ab162f747b 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,8 @@ 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
|
|
170
|
+
a9461772e0fec378935e8a68e03da0ab162f747b refs/tags/v18.0.0
|
|
169
171
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
|
170
172
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
|
171
173
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
16822777e56defbbd7db369a97fae005424ce340
|
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"
|
|
@@ -6441,7 +6443,6 @@ module SDM
|
|
|
6441
6443
|
end
|
|
6442
6444
|
end
|
|
6443
6445
|
|
|
6444
|
-
# DelineaDSVStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
6445
6446
|
class DelineaDSVStore
|
|
6446
6447
|
# Unique identifier of the SecretStore.
|
|
6447
6448
|
attr_accessor :id
|
|
@@ -8008,6 +8009,80 @@ module SDM
|
|
|
8008
8009
|
end
|
|
8009
8010
|
end
|
|
8010
8011
|
|
|
8012
|
+
# GoogleGroups is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
8013
|
+
class GoogleGroups
|
|
8014
|
+
# 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.
|
|
8015
|
+
attr_accessor :bind_interface
|
|
8016
|
+
# If true, configures discovery of the Google Workspace account to be run
|
|
8017
|
+
# from a node.
|
|
8018
|
+
attr_accessor :discovery_enabled
|
|
8019
|
+
# The primary domain of the Google Workspace account that owns the groups.
|
|
8020
|
+
attr_accessor :domain
|
|
8021
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
|
8022
|
+
attr_accessor :egress_filter
|
|
8023
|
+
# comma separated list of group email addresses to filter by. Supports
|
|
8024
|
+
# wildcards (*)
|
|
8025
|
+
attr_accessor :group_emails
|
|
8026
|
+
# True if the datasource is reachable and the credentials are valid.
|
|
8027
|
+
attr_accessor :healthy
|
|
8028
|
+
# Unique identifier of the Resource.
|
|
8029
|
+
attr_accessor :id
|
|
8030
|
+
# The ID of the identity set to use for identity connections.
|
|
8031
|
+
attr_accessor :identity_set_id
|
|
8032
|
+
# Unique human-readable name of the Resource.
|
|
8033
|
+
attr_accessor :name
|
|
8034
|
+
# The privilege levels specify which Groups are managed externally
|
|
8035
|
+
attr_accessor :privilege_levels
|
|
8036
|
+
# ID of the proxy cluster for this resource, if any.
|
|
8037
|
+
attr_accessor :proxy_cluster_id
|
|
8038
|
+
# ID of the secret store containing credentials for this resource, if any.
|
|
8039
|
+
attr_accessor :secret_store_id
|
|
8040
|
+
# 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.
|
|
8041
|
+
attr_accessor :subdomain
|
|
8042
|
+
# Tags is a map of key, value pairs.
|
|
8043
|
+
attr_accessor :tags
|
|
8044
|
+
|
|
8045
|
+
def initialize(
|
|
8046
|
+
bind_interface: nil,
|
|
8047
|
+
discovery_enabled: nil,
|
|
8048
|
+
domain: nil,
|
|
8049
|
+
egress_filter: nil,
|
|
8050
|
+
group_emails: nil,
|
|
8051
|
+
healthy: nil,
|
|
8052
|
+
id: nil,
|
|
8053
|
+
identity_set_id: nil,
|
|
8054
|
+
name: nil,
|
|
8055
|
+
privilege_levels: nil,
|
|
8056
|
+
proxy_cluster_id: nil,
|
|
8057
|
+
secret_store_id: nil,
|
|
8058
|
+
subdomain: nil,
|
|
8059
|
+
tags: nil
|
|
8060
|
+
)
|
|
8061
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
8062
|
+
@discovery_enabled = discovery_enabled == nil ? false : discovery_enabled
|
|
8063
|
+
@domain = domain == nil ? "" : domain
|
|
8064
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
8065
|
+
@group_emails = group_emails == nil ? "" : group_emails
|
|
8066
|
+
@healthy = healthy == nil ? false : healthy
|
|
8067
|
+
@id = id == nil ? "" : id
|
|
8068
|
+
@identity_set_id = identity_set_id == nil ? "" : identity_set_id
|
|
8069
|
+
@name = name == nil ? "" : name
|
|
8070
|
+
@privilege_levels = privilege_levels == nil ? "" : privilege_levels
|
|
8071
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
8072
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
8073
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
|
8074
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
8075
|
+
end
|
|
8076
|
+
|
|
8077
|
+
def to_json(options = {})
|
|
8078
|
+
hash = {}
|
|
8079
|
+
self.instance_variables.each do |var|
|
|
8080
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
8081
|
+
end
|
|
8082
|
+
hash.to_json
|
|
8083
|
+
end
|
|
8084
|
+
end
|
|
8085
|
+
|
|
8011
8086
|
class GoogleSpanner
|
|
8012
8087
|
# 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
8088
|
attr_accessor :bind_interface
|
|
@@ -10512,8 +10587,6 @@ module SDM
|
|
|
10512
10587
|
attr_accessor :egress_filter
|
|
10513
10588
|
# True if the datasource is reachable and the credentials are valid.
|
|
10514
10589
|
attr_accessor :healthy
|
|
10515
|
-
# The host to dial to initiate a connection from the egress node to this resource.
|
|
10516
|
-
attr_accessor :hostname
|
|
10517
10590
|
# Unique identifier of the Resource.
|
|
10518
10591
|
attr_accessor :id
|
|
10519
10592
|
# Unique human-readable name of the Resource.
|
|
@@ -10539,7 +10612,6 @@ module SDM
|
|
|
10539
10612
|
bind_interface: nil,
|
|
10540
10613
|
egress_filter: nil,
|
|
10541
10614
|
healthy: nil,
|
|
10542
|
-
hostname: nil,
|
|
10543
10615
|
id: nil,
|
|
10544
10616
|
name: nil,
|
|
10545
10617
|
port_override: nil,
|
|
@@ -10554,7 +10626,6 @@ module SDM
|
|
|
10554
10626
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10555
10627
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
10556
10628
|
@healthy = healthy == nil ? false : healthy
|
|
10557
|
-
@hostname = hostname == nil ? "" : hostname
|
|
10558
10629
|
@id = id == nil ? "" : id
|
|
10559
10630
|
@name = name == nil ? "" : name
|
|
10560
10631
|
@port_override = port_override == nil ? 0 : port_override
|
|
@@ -10583,8 +10654,6 @@ module SDM
|
|
|
10583
10654
|
attr_accessor :egress_filter
|
|
10584
10655
|
# True if the datasource is reachable and the credentials are valid.
|
|
10585
10656
|
attr_accessor :healthy
|
|
10586
|
-
# The host to dial to initiate a connection from the egress node to this resource.
|
|
10587
|
-
attr_accessor :hostname
|
|
10588
10657
|
# Unique identifier of the Resource.
|
|
10589
10658
|
attr_accessor :id
|
|
10590
10659
|
# Unique human-readable name of the Resource.
|
|
@@ -10620,7 +10689,6 @@ module SDM
|
|
|
10620
10689
|
bind_interface: nil,
|
|
10621
10690
|
egress_filter: nil,
|
|
10622
10691
|
healthy: nil,
|
|
10623
|
-
hostname: nil,
|
|
10624
10692
|
id: nil,
|
|
10625
10693
|
name: nil,
|
|
10626
10694
|
oauth_auth_endpoint: nil,
|
|
@@ -10640,7 +10708,6 @@ module SDM
|
|
|
10640
10708
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10641
10709
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
10642
10710
|
@healthy = healthy == nil ? false : healthy
|
|
10643
|
-
@hostname = hostname == nil ? "" : hostname
|
|
10644
10711
|
@id = id == nil ? "" : id
|
|
10645
10712
|
@name = name == nil ? "" : name
|
|
10646
10713
|
@oauth_auth_endpoint = oauth_auth_endpoint == nil ? "" : oauth_auth_endpoint
|
|
@@ -10674,8 +10741,6 @@ module SDM
|
|
|
10674
10741
|
attr_accessor :egress_filter
|
|
10675
10742
|
# True if the datasource is reachable and the credentials are valid.
|
|
10676
10743
|
attr_accessor :healthy
|
|
10677
|
-
# The host to dial to initiate a connection from the egress node to this resource.
|
|
10678
|
-
attr_accessor :hostname
|
|
10679
10744
|
# Unique identifier of the Resource.
|
|
10680
10745
|
attr_accessor :id
|
|
10681
10746
|
# Unique human-readable name of the Resource.
|
|
@@ -10709,7 +10774,6 @@ module SDM
|
|
|
10709
10774
|
bind_interface: nil,
|
|
10710
10775
|
egress_filter: nil,
|
|
10711
10776
|
healthy: nil,
|
|
10712
|
-
hostname: nil,
|
|
10713
10777
|
id: nil,
|
|
10714
10778
|
name: nil,
|
|
10715
10779
|
oauth_auth_endpoint: nil,
|
|
@@ -10728,7 +10792,6 @@ module SDM
|
|
|
10728
10792
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10729
10793
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
10730
10794
|
@healthy = healthy == nil ? false : healthy
|
|
10731
|
-
@hostname = hostname == nil ? "" : hostname
|
|
10732
10795
|
@id = id == nil ? "" : id
|
|
10733
10796
|
@name = name == nil ? "" : name
|
|
10734
10797
|
@oauth_auth_endpoint = oauth_auth_endpoint == nil ? "" : oauth_auth_endpoint
|
|
@@ -10761,8 +10824,6 @@ module SDM
|
|
|
10761
10824
|
attr_accessor :egress_filter
|
|
10762
10825
|
# True if the datasource is reachable and the credentials are valid.
|
|
10763
10826
|
attr_accessor :healthy
|
|
10764
|
-
# The host to dial to initiate a connection from the egress node to this resource.
|
|
10765
|
-
attr_accessor :hostname
|
|
10766
10827
|
# Unique identifier of the Resource.
|
|
10767
10828
|
attr_accessor :id
|
|
10768
10829
|
# Unique human-readable name of the Resource.
|
|
@@ -10790,7 +10851,6 @@ module SDM
|
|
|
10790
10851
|
bind_interface: nil,
|
|
10791
10852
|
egress_filter: nil,
|
|
10792
10853
|
healthy: nil,
|
|
10793
|
-
hostname: nil,
|
|
10794
10854
|
id: nil,
|
|
10795
10855
|
name: nil,
|
|
10796
10856
|
password: nil,
|
|
@@ -10806,7 +10866,6 @@ module SDM
|
|
|
10806
10866
|
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
10807
10867
|
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
10808
10868
|
@healthy = healthy == nil ? false : healthy
|
|
10809
|
-
@hostname = hostname == nil ? "" : hostname
|
|
10810
10869
|
@id = id == nil ? "" : id
|
|
10811
10870
|
@name = name == nil ? "" : name
|
|
10812
10871
|
@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.1.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.1.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-09 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-f7f25f9461ae3c78adc6d865d6c64077dd353fa2.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-f7f25f9461ae3c78adc6d865d6c64077dd353fa2.pack"
|
|
86
86
|
- "./.git/packed-refs"
|
|
87
87
|
- "./.git/refs/heads/master"
|
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|