strongdm 15.46.0 → 16.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-fbca35c3cedca17839cabed13fca8d24e62dbba9.idx → pack-847de6bd0168502b76d7d3c4972dddbda2d13fa5.idx} +0 -0
- data/.git/objects/pack/{pack-fbca35c3cedca17839cabed13fca8d24e62dbba9.pack → pack-847de6bd0168502b76d7d3c4972dddbda2d13fa5.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +20 -3
- data/lib/grpc/plumbing.rb +70 -6
- data/lib/models/porcelain.rb +83 -12
- 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: 727d38f039c6a948149654b910f77ebc0176144ffed5189f502a49decf0679ab
|
|
4
|
+
data.tar.gz: dd53c8e6c5b3231783e76c053b9f7217dee7bdcab2c1f8889613029bdea3289f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60e4f23b025558a7a05457b779a2f7e01648b1b0c6e917ecc4ce042e7fc83c94fb3eb3a08acdcddf35cec1686a9756a55b222eb97f6d326d38b6faadf9d2f47f
|
|
7
|
+
data.tar.gz: deb5a7feffe46346b3036f3936eaeb394d4285af27489da8588285ee37286c0ef8ca3949949600a5935d3fdc9b57e94fbffb705c9c959f6370fe2c71192e606d
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c3b0eeef356ddf0cf408d1305fd766791121803f
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 c3b0eeef356ddf0cf408d1305fd766791121803f root <root@d28ab1d760cb.(none)> 1768395592 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
c3b0eeef356ddf0cf408d1305fd766791121803f c3b0eeef356ddf0cf408d1305fd766791121803f root <root@d28ab1d760cb.(none)> 1768395592 +0000 checkout: moving from master to master
|
|
3
|
+
c3b0eeef356ddf0cf408d1305fd766791121803f 68c6bf260ea0ac7c4c151e0de221aac18fabcd3c root <root@d28ab1d760cb.(none)> 1768395593 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 c3b0eeef356ddf0cf408d1305fd766791121803f root <root@d28ab1d760cb.(none)> 1768395592 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
c3b0eeef356ddf0cf408d1305fd766791121803f 68c6bf260ea0ac7c4c151e0de221aac18fabcd3c root <root@d28ab1d760cb.(none)> 1768395593 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 c3b0eeef356ddf0cf408d1305fd766791121803f root <root@d28ab1d760cb.(none)> 1768395592 +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
|
+
68c6bf260ea0ac7c4c151e0de221aac18fabcd3c refs/remotes/origin/development
|
|
3
|
+
c3b0eeef356ddf0cf408d1305fd766791121803f 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
|
|
@@ -132,6 +132,7 @@ b23f0912dbe900e5bd24222f9971c7820ddf128d refs/tags/v15.41.0
|
|
|
132
132
|
1170439941e521c29339b4d2314cae0e1526759e refs/tags/v15.43.0
|
|
133
133
|
75a012035de3f39e75968747f1365c6f501d73d9 refs/tags/v15.44.0
|
|
134
134
|
b5ed70eba200945b3925d20694fe735f2031101f refs/tags/v15.45.0
|
|
135
|
+
c3b0eeef356ddf0cf408d1305fd766791121803f refs/tags/v15.46.0
|
|
135
136
|
0be2c5e7f7a90c49077548cb3a9bce234219b9f0 refs/tags/v15.5.0
|
|
136
137
|
4b9cd43c5dda3f369b82b6a56132a5470ff9ff53 refs/tags/v15.6.0
|
|
137
138
|
6e8e9210b26f02ebe925b8e81909ba42985cfde7 refs/tags/v15.7.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
68c6bf260ea0ac7c4c151e0de221aac18fabcd3c
|
data/lib/grpc/drivers_pb.rb
CHANGED
|
@@ -82,6 +82,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
82
82
|
optional :gcpwif, :message, 2701, "v1.GCPWIF"
|
|
83
83
|
optional :google_gke, :message, 803, "v1.GoogleGKE"
|
|
84
84
|
optional :google_gke_user_impersonation, :message, 816, "v1.GoogleGKEUserImpersonation"
|
|
85
|
+
optional :google_spanner, :message, 4800, "v1.GoogleSpanner"
|
|
85
86
|
optional :greenplum, :message, 1302, "v1.Greenplum"
|
|
86
87
|
optional :http_auth, :message, 702, "v1.HTTPAuth"
|
|
87
88
|
optional :http_basic_auth, :message, 700, "v1.HTTPBasicAuth"
|
|
@@ -947,7 +948,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
947
948
|
optional :hostname, :string, 1
|
|
948
949
|
optional :password, :string, 5
|
|
949
950
|
optional :port_override, :int32, 3
|
|
950
|
-
optional :replica_set, :string, 6
|
|
951
951
|
optional :username, :string, 4
|
|
952
952
|
end
|
|
953
953
|
add_message "v1.DocumentDBReplicaSetIAM" do
|
|
@@ -1174,6 +1174,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1174
1174
|
optional :port_override, :int32, 12
|
|
1175
1175
|
optional :service_account_key, :string, 4
|
|
1176
1176
|
end
|
|
1177
|
+
add_message "v1.GoogleSpanner" do
|
|
1178
|
+
optional :id, :string, 32768
|
|
1179
|
+
optional :name, :string, 32769
|
|
1180
|
+
optional :healthy, :bool, 32770
|
|
1181
|
+
optional :tags, :message, 32771, "v1.Tags"
|
|
1182
|
+
optional :secret_store_id, :string, 32772
|
|
1183
|
+
optional :egress_filter, :string, 32773
|
|
1184
|
+
optional :bind_interface, :string, 32774
|
|
1185
|
+
optional :proxy_cluster_id, :string, 32776
|
|
1186
|
+
optional :subdomain, :string, 32775
|
|
1187
|
+
optional :database, :string, 3
|
|
1188
|
+
optional :endpoint, :string, 4
|
|
1189
|
+
optional :instance, :string, 2
|
|
1190
|
+
optional :port, :int32, 6
|
|
1191
|
+
optional :port_override, :int32, 5
|
|
1192
|
+
optional :project, :string, 1
|
|
1193
|
+
optional :service_account_to_impersonate, :string, 10
|
|
1194
|
+
end
|
|
1177
1195
|
add_message "v1.Greenplum" do
|
|
1178
1196
|
optional :id, :string, 32768
|
|
1179
1197
|
optional :name, :string, 32769
|
|
@@ -1527,7 +1545,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1527
1545
|
optional :password, :string, 5
|
|
1528
1546
|
optional :port, :int32, 6
|
|
1529
1547
|
optional :port_override, :int32, 3
|
|
1530
|
-
optional :replica_set, :string, 7
|
|
1531
1548
|
optional :tls_required, :bool, 9
|
|
1532
1549
|
optional :username, :string, 4
|
|
1533
1550
|
end
|
|
@@ -1547,7 +1564,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1547
1564
|
optional :password, :string, 5
|
|
1548
1565
|
optional :port, :int32, 6
|
|
1549
1566
|
optional :port_override, :int32, 3
|
|
1550
|
-
optional :replica_set, :string, 7
|
|
1551
1567
|
optional :tls_required, :bool, 9
|
|
1552
1568
|
optional :username, :string, 4
|
|
1553
1569
|
end
|
|
@@ -2229,6 +2245,7 @@ module V1
|
|
|
2229
2245
|
GCPWIF = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCPWIF").msgclass
|
|
2230
2246
|
GoogleGKE = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GoogleGKE").msgclass
|
|
2231
2247
|
GoogleGKEUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GoogleGKEUserImpersonation").msgclass
|
|
2248
|
+
GoogleSpanner = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GoogleSpanner").msgclass
|
|
2232
2249
|
Greenplum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Greenplum").msgclass
|
|
2233
2250
|
HTTPAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.HTTPAuth").msgclass
|
|
2234
2251
|
HTTPBasicAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.HTTPBasicAuth").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
|
@@ -6518,7 +6518,6 @@ module SDM
|
|
|
6518
6518
|
porcelain.password = (plumbing.password)
|
|
6519
6519
|
porcelain.port_override = (plumbing.port_override)
|
|
6520
6520
|
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
6521
|
-
porcelain.replica_set = (plumbing.replica_set)
|
|
6522
6521
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
6523
6522
|
porcelain.subdomain = (plumbing.subdomain)
|
|
6524
6523
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
@@ -6542,7 +6541,6 @@ module SDM
|
|
|
6542
6541
|
plumbing.password = (porcelain.password)
|
|
6543
6542
|
plumbing.port_override = (porcelain.port_override)
|
|
6544
6543
|
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
6545
|
-
plumbing.replica_set = (porcelain.replica_set)
|
|
6546
6544
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
6547
6545
|
plumbing.subdomain = (porcelain.subdomain)
|
|
6548
6546
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
@@ -7708,6 +7706,70 @@ module SDM
|
|
|
7708
7706
|
end
|
|
7709
7707
|
items
|
|
7710
7708
|
end
|
|
7709
|
+
def self.convert_google_spanner_to_porcelain(plumbing)
|
|
7710
|
+
if plumbing == nil
|
|
7711
|
+
return nil
|
|
7712
|
+
end
|
|
7713
|
+
porcelain = GoogleSpanner.new()
|
|
7714
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
|
7715
|
+
porcelain.database = (plumbing.database)
|
|
7716
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
|
7717
|
+
porcelain.endpoint = (plumbing.endpoint)
|
|
7718
|
+
porcelain.healthy = (plumbing.healthy)
|
|
7719
|
+
porcelain.id = (plumbing.id)
|
|
7720
|
+
porcelain.instance = (plumbing.instance)
|
|
7721
|
+
porcelain.name = (plumbing.name)
|
|
7722
|
+
porcelain.port = (plumbing.port)
|
|
7723
|
+
porcelain.port_override = (plumbing.port_override)
|
|
7724
|
+
porcelain.project = (plumbing.project)
|
|
7725
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
7726
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
7727
|
+
porcelain.service_account_to_impersonate = (plumbing.service_account_to_impersonate)
|
|
7728
|
+
porcelain.subdomain = (plumbing.subdomain)
|
|
7729
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
7730
|
+
porcelain
|
|
7731
|
+
end
|
|
7732
|
+
|
|
7733
|
+
def self.convert_google_spanner_to_plumbing(porcelain)
|
|
7734
|
+
if porcelain == nil
|
|
7735
|
+
return nil
|
|
7736
|
+
end
|
|
7737
|
+
plumbing = V1::GoogleSpanner.new()
|
|
7738
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
|
7739
|
+
plumbing.database = (porcelain.database)
|
|
7740
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
|
7741
|
+
plumbing.endpoint = (porcelain.endpoint)
|
|
7742
|
+
plumbing.healthy = (porcelain.healthy)
|
|
7743
|
+
plumbing.id = (porcelain.id)
|
|
7744
|
+
plumbing.instance = (porcelain.instance)
|
|
7745
|
+
plumbing.name = (porcelain.name)
|
|
7746
|
+
plumbing.port = (porcelain.port)
|
|
7747
|
+
plumbing.port_override = (porcelain.port_override)
|
|
7748
|
+
plumbing.project = (porcelain.project)
|
|
7749
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
7750
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
7751
|
+
plumbing.service_account_to_impersonate = (porcelain.service_account_to_impersonate)
|
|
7752
|
+
plumbing.subdomain = (porcelain.subdomain)
|
|
7753
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
7754
|
+
plumbing
|
|
7755
|
+
end
|
|
7756
|
+
def self.convert_repeated_google_spanner_to_plumbing(porcelains)
|
|
7757
|
+
items = Array.new
|
|
7758
|
+
porcelains.each do |porcelain|
|
|
7759
|
+
plumbing = convert_google_spanner_to_plumbing(porcelain)
|
|
7760
|
+
items.append(plumbing)
|
|
7761
|
+
end
|
|
7762
|
+
items
|
|
7763
|
+
end
|
|
7764
|
+
|
|
7765
|
+
def self.convert_repeated_google_spanner_to_porcelain(plumbings)
|
|
7766
|
+
items = Array.new
|
|
7767
|
+
plumbings.each do |plumbing|
|
|
7768
|
+
porcelain = convert_google_spanner_to_porcelain(plumbing)
|
|
7769
|
+
items.append(porcelain)
|
|
7770
|
+
end
|
|
7771
|
+
items
|
|
7772
|
+
end
|
|
7711
7773
|
def self.convert_greenplum_to_porcelain(plumbing)
|
|
7712
7774
|
if plumbing == nil
|
|
7713
7775
|
return nil
|
|
@@ -11539,7 +11601,6 @@ module SDM
|
|
|
11539
11601
|
porcelain.port = (plumbing.port)
|
|
11540
11602
|
porcelain.port_override = (plumbing.port_override)
|
|
11541
11603
|
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
11542
|
-
porcelain.replica_set = (plumbing.replica_set)
|
|
11543
11604
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
11544
11605
|
porcelain.subdomain = (plumbing.subdomain)
|
|
11545
11606
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
@@ -11565,7 +11626,6 @@ module SDM
|
|
|
11565
11626
|
plumbing.port = (porcelain.port)
|
|
11566
11627
|
plumbing.port_override = (porcelain.port_override)
|
|
11567
11628
|
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
11568
|
-
plumbing.replica_set = (porcelain.replica_set)
|
|
11569
11629
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
11570
11630
|
plumbing.subdomain = (porcelain.subdomain)
|
|
11571
11631
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
@@ -11607,7 +11667,6 @@ module SDM
|
|
|
11607
11667
|
porcelain.port = (plumbing.port)
|
|
11608
11668
|
porcelain.port_override = (plumbing.port_override)
|
|
11609
11669
|
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
11610
|
-
porcelain.replica_set = (plumbing.replica_set)
|
|
11611
11670
|
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
11612
11671
|
porcelain.subdomain = (plumbing.subdomain)
|
|
11613
11672
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
@@ -11633,7 +11692,6 @@ module SDM
|
|
|
11633
11692
|
plumbing.port = (porcelain.port)
|
|
11634
11693
|
plumbing.port_override = (porcelain.port_override)
|
|
11635
11694
|
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
11636
|
-
plumbing.replica_set = (porcelain.replica_set)
|
|
11637
11695
|
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
11638
11696
|
plumbing.subdomain = (porcelain.subdomain)
|
|
11639
11697
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
@@ -15380,6 +15438,9 @@ module SDM
|
|
|
15380
15438
|
if porcelain.instance_of? GoogleGKEUserImpersonation
|
|
15381
15439
|
plumbing.google_gke_user_impersonation = convert_google_gke_user_impersonation_to_plumbing(porcelain)
|
|
15382
15440
|
end
|
|
15441
|
+
if porcelain.instance_of? GoogleSpanner
|
|
15442
|
+
plumbing.google_spanner = convert_google_spanner_to_plumbing(porcelain)
|
|
15443
|
+
end
|
|
15383
15444
|
if porcelain.instance_of? Greenplum
|
|
15384
15445
|
plumbing.greenplum = convert_greenplum_to_plumbing(porcelain)
|
|
15385
15446
|
end
|
|
@@ -15723,6 +15784,9 @@ module SDM
|
|
|
15723
15784
|
if plumbing.google_gke_user_impersonation != nil
|
|
15724
15785
|
return convert_google_gke_user_impersonation_to_porcelain(plumbing.google_gke_user_impersonation)
|
|
15725
15786
|
end
|
|
15787
|
+
if plumbing.google_spanner != nil
|
|
15788
|
+
return convert_google_spanner_to_porcelain(plumbing.google_spanner)
|
|
15789
|
+
end
|
|
15726
15790
|
if plumbing.greenplum != nil
|
|
15727
15791
|
return convert_greenplum_to_porcelain(plumbing.greenplum)
|
|
15728
15792
|
end
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -6189,8 +6189,6 @@ module SDM
|
|
|
6189
6189
|
attr_accessor :port_override
|
|
6190
6190
|
# ID of the proxy cluster for this resource, if any.
|
|
6191
6191
|
attr_accessor :proxy_cluster_id
|
|
6192
|
-
# The name of the mongo replicaset.
|
|
6193
|
-
attr_accessor :replica_set
|
|
6194
6192
|
# ID of the secret store containing credentials for this resource, if any.
|
|
6195
6193
|
attr_accessor :secret_store_id
|
|
6196
6194
|
# 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.
|
|
@@ -6212,7 +6210,6 @@ module SDM
|
|
|
6212
6210
|
password: nil,
|
|
6213
6211
|
port_override: nil,
|
|
6214
6212
|
proxy_cluster_id: nil,
|
|
6215
|
-
replica_set: nil,
|
|
6216
6213
|
secret_store_id: nil,
|
|
6217
6214
|
subdomain: nil,
|
|
6218
6215
|
tags: nil,
|
|
@@ -6229,7 +6226,6 @@ module SDM
|
|
|
6229
6226
|
@password = password == nil ? "" : password
|
|
6230
6227
|
@port_override = port_override == nil ? 0 : port_override
|
|
6231
6228
|
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
6232
|
-
@replica_set = replica_set == nil ? "" : replica_set
|
|
6233
6229
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
6234
6230
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
6235
6231
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
@@ -7524,6 +7520,89 @@ module SDM
|
|
|
7524
7520
|
end
|
|
7525
7521
|
end
|
|
7526
7522
|
|
|
7523
|
+
# GoogleSpanner is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
7524
|
+
class GoogleSpanner
|
|
7525
|
+
# 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.
|
|
7526
|
+
attr_accessor :bind_interface
|
|
7527
|
+
# The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
|
|
7528
|
+
attr_accessor :database
|
|
7529
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
|
7530
|
+
attr_accessor :egress_filter
|
|
7531
|
+
# The endpoint to dial e.g. spanner.googleapis.com
|
|
7532
|
+
attr_accessor :endpoint
|
|
7533
|
+
# True if the datasource is reachable and the credentials are valid.
|
|
7534
|
+
attr_accessor :healthy
|
|
7535
|
+
# Unique identifier of the Resource.
|
|
7536
|
+
attr_accessor :id
|
|
7537
|
+
# The Spanner instance ID within the GCP project.
|
|
7538
|
+
attr_accessor :instance
|
|
7539
|
+
# Unique human-readable name of the Resource.
|
|
7540
|
+
attr_accessor :name
|
|
7541
|
+
# The port to dial to initiate a connection from the egress node to this resource.
|
|
7542
|
+
attr_accessor :port
|
|
7543
|
+
# 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.
|
|
7544
|
+
attr_accessor :port_override
|
|
7545
|
+
# The GCP project ID containing the Spanner database.
|
|
7546
|
+
attr_accessor :project
|
|
7547
|
+
# ID of the proxy cluster for this resource, if any.
|
|
7548
|
+
attr_accessor :proxy_cluster_id
|
|
7549
|
+
# ID of the secret store containing credentials for this resource, if any.
|
|
7550
|
+
attr_accessor :secret_store_id
|
|
7551
|
+
# Optional service account email to impersonate. When set, the relay's
|
|
7552
|
+
# Application Default Credentials will impersonate this service account
|
|
7553
|
+
# to access Spanner. This allows role separation where the relay uses
|
|
7554
|
+
# one service account but operates as another.
|
|
7555
|
+
attr_accessor :service_account_to_impersonate
|
|
7556
|
+
# 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.
|
|
7557
|
+
attr_accessor :subdomain
|
|
7558
|
+
# Tags is a map of key, value pairs.
|
|
7559
|
+
attr_accessor :tags
|
|
7560
|
+
|
|
7561
|
+
def initialize(
|
|
7562
|
+
bind_interface: nil,
|
|
7563
|
+
database: nil,
|
|
7564
|
+
egress_filter: nil,
|
|
7565
|
+
endpoint: nil,
|
|
7566
|
+
healthy: nil,
|
|
7567
|
+
id: nil,
|
|
7568
|
+
instance: nil,
|
|
7569
|
+
name: nil,
|
|
7570
|
+
port: nil,
|
|
7571
|
+
port_override: nil,
|
|
7572
|
+
project: nil,
|
|
7573
|
+
proxy_cluster_id: nil,
|
|
7574
|
+
secret_store_id: nil,
|
|
7575
|
+
service_account_to_impersonate: nil,
|
|
7576
|
+
subdomain: nil,
|
|
7577
|
+
tags: nil
|
|
7578
|
+
)
|
|
7579
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
7580
|
+
@database = database == nil ? "" : database
|
|
7581
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
7582
|
+
@endpoint = endpoint == nil ? "" : endpoint
|
|
7583
|
+
@healthy = healthy == nil ? false : healthy
|
|
7584
|
+
@id = id == nil ? "" : id
|
|
7585
|
+
@instance = instance == nil ? "" : instance
|
|
7586
|
+
@name = name == nil ? "" : name
|
|
7587
|
+
@port = port == nil ? 0 : port
|
|
7588
|
+
@port_override = port_override == nil ? 0 : port_override
|
|
7589
|
+
@project = project == nil ? "" : project
|
|
7590
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
7591
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
7592
|
+
@service_account_to_impersonate = service_account_to_impersonate == nil ? "" : service_account_to_impersonate
|
|
7593
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
|
7594
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
7595
|
+
end
|
|
7596
|
+
|
|
7597
|
+
def to_json(options = {})
|
|
7598
|
+
hash = {}
|
|
7599
|
+
self.instance_variables.each do |var|
|
|
7600
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
7601
|
+
end
|
|
7602
|
+
hash.to_json
|
|
7603
|
+
end
|
|
7604
|
+
end
|
|
7605
|
+
|
|
7527
7606
|
class Greenplum
|
|
7528
7607
|
# 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.
|
|
7529
7608
|
attr_accessor :bind_interface
|
|
@@ -10975,8 +11054,6 @@ module SDM
|
|
|
10975
11054
|
attr_accessor :port_override
|
|
10976
11055
|
# ID of the proxy cluster for this resource, if any.
|
|
10977
11056
|
attr_accessor :proxy_cluster_id
|
|
10978
|
-
# The name of the mongo replicaset.
|
|
10979
|
-
attr_accessor :replica_set
|
|
10980
11057
|
# ID of the secret store containing credentials for this resource, if any.
|
|
10981
11058
|
attr_accessor :secret_store_id
|
|
10982
11059
|
# 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.
|
|
@@ -11001,7 +11078,6 @@ module SDM
|
|
|
11001
11078
|
port: nil,
|
|
11002
11079
|
port_override: nil,
|
|
11003
11080
|
proxy_cluster_id: nil,
|
|
11004
|
-
replica_set: nil,
|
|
11005
11081
|
secret_store_id: nil,
|
|
11006
11082
|
subdomain: nil,
|
|
11007
11083
|
tags: nil,
|
|
@@ -11020,7 +11096,6 @@ module SDM
|
|
|
11020
11096
|
@port = port == nil ? 0 : port
|
|
11021
11097
|
@port_override = port_override == nil ? 0 : port_override
|
|
11022
11098
|
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
11023
|
-
@replica_set = replica_set == nil ? "" : replica_set
|
|
11024
11099
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
11025
11100
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
11026
11101
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
@@ -11062,8 +11137,6 @@ module SDM
|
|
|
11062
11137
|
attr_accessor :port_override
|
|
11063
11138
|
# ID of the proxy cluster for this resource, if any.
|
|
11064
11139
|
attr_accessor :proxy_cluster_id
|
|
11065
|
-
# The name of the mongo replicaset.
|
|
11066
|
-
attr_accessor :replica_set
|
|
11067
11140
|
# ID of the secret store containing credentials for this resource, if any.
|
|
11068
11141
|
attr_accessor :secret_store_id
|
|
11069
11142
|
# 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.
|
|
@@ -11088,7 +11161,6 @@ module SDM
|
|
|
11088
11161
|
port: nil,
|
|
11089
11162
|
port_override: nil,
|
|
11090
11163
|
proxy_cluster_id: nil,
|
|
11091
|
-
replica_set: nil,
|
|
11092
11164
|
secret_store_id: nil,
|
|
11093
11165
|
subdomain: nil,
|
|
11094
11166
|
tags: nil,
|
|
@@ -11107,7 +11179,6 @@ module SDM
|
|
|
11107
11179
|
@port = port == nil ? 0 : port
|
|
11108
11180
|
@port_override = port_override == nil ? 0 : port_override
|
|
11109
11181
|
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
11110
|
-
@replica_set = replica_set == nil ? "" : replica_set
|
|
11111
11182
|
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
11112
11183
|
@subdomain = subdomain == nil ? "" : subdomain
|
|
11113
11184
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
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/16.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: 16.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-01-
|
|
11
|
+
date: 2026-01-14 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-847de6bd0168502b76d7d3c4972dddbda2d13fa5.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-847de6bd0168502b76d7d3c4972dddbda2d13fa5.pack"
|
|
86
86
|
- "./.git/packed-refs"
|
|
87
87
|
- "./.git/refs/heads/master"
|
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|