strongdm 16.6.0 → 16.7.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-9819f460b31192e1976755b914df47b264f2c4d3.idx → pack-0df2a16af22998f8c1a6deffba51df809b086e12.idx} +0 -0
- data/.git/objects/pack/{pack-9819f460b31192e1976755b914df47b264f2c4d3.pack → pack-0df2a16af22998f8c1a6deffba51df809b086e12.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +18 -0
- data/lib/grpc/nodes_pb.rb +0 -13
- data/lib/grpc/plumbing.rb +70 -0
- data/lib/grpc/resourcetypes_pb.rb +1 -0
- data/lib/models/porcelain.rb +74 -0
- 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: 3ffd250c09493bc7ca998d634aa774084bb3afbbb81e99a10fcd023958645a19
|
|
4
|
+
data.tar.gz: e4dc96150982de85abed44362b7803970fd9ffd58ea5e7ebc26a77c1c1e60e58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05ec1e40632c46720393a36219990c2825c74205ba1a9e6f6a0ec0d76aede85d09ec74ede390ff758d3fef02eb02665c532422c13f31ac812e9808bc49708e86
|
|
7
|
+
data.tar.gz: 453cf0906b350a4572225a52835f9fd13bdf88ab7a3117040ddd1e55551e0fa81e478477516e87e136982727a18de3f275c3d65a0ea749493a52f3e852daf678
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
f724f0f5e80bdd413b229634023967a34cee468a
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 f724f0f5e80bdd413b229634023967a34cee468a root <root@67c1be524c55.(none)> 1771315146 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
f724f0f5e80bdd413b229634023967a34cee468a f724f0f5e80bdd413b229634023967a34cee468a root <root@67c1be524c55.(none)> 1771315146 +0000 checkout: moving from master to master
|
|
3
|
+
f724f0f5e80bdd413b229634023967a34cee468a a165dfe5abc9ab5b3a471adb1de391e22de76f21 root <root@67c1be524c55.(none)> 1771315146 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 f724f0f5e80bdd413b229634023967a34cee468a root <root@67c1be524c55.(none)> 1771315146 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
f724f0f5e80bdd413b229634023967a34cee468a a165dfe5abc9ab5b3a471adb1de391e22de76f21 root <root@67c1be524c55.(none)> 1771315146 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 f724f0f5e80bdd413b229634023967a34cee468a root <root@67c1be524c55.(none)> 1771315146 +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
|
+
a165dfe5abc9ab5b3a471adb1de391e22de76f21 refs/remotes/origin/development
|
|
3
|
+
f724f0f5e80bdd413b229634023967a34cee468a 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
|
|
@@ -143,6 +143,7 @@ c3b0eeef356ddf0cf408d1305fd766791121803f refs/tags/v15.46.0
|
|
|
143
143
|
3f2a99e1a4296cf5b4937d57b901051b9381c209 refs/tags/v16.3.0
|
|
144
144
|
eb2c5388eb894fce71666148224e02d977c87baa refs/tags/v16.4.0
|
|
145
145
|
6450bdc10119fb8a00123c4262d6f245a70ed06a refs/tags/v16.5.0
|
|
146
|
+
f724f0f5e80bdd413b229634023967a34cee468a refs/tags/v16.6.0
|
|
146
147
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
|
147
148
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
|
148
149
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a165dfe5abc9ab5b3a471adb1de391e22de76f21
|
data/lib/grpc/drivers_pb.rb
CHANGED
|
@@ -67,6 +67,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
67
67
|
optional :couchbase_web_ui, :message, 3200, "v1.CouchbaseWebUI"
|
|
68
68
|
optional :db_2_i, :message, 2400, "v1.DB2I"
|
|
69
69
|
optional :db_2_luw, :message, 2200, "v1.DB2LUW"
|
|
70
|
+
optional :databricks, :message, 3600, "v1.Databricks"
|
|
70
71
|
optional :document_db_host, :message, 1052, "v1.DocumentDBHost"
|
|
71
72
|
optional :document_db_host_iam, :message, 1055, "v1.DocumentDBHostIAM"
|
|
72
73
|
optional :document_db_replica_set, :message, 1053, "v1.DocumentDBReplicaSet"
|
|
@@ -903,6 +904,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
903
904
|
optional :tls_required, :bool, 8
|
|
904
905
|
optional :username, :string, 2
|
|
905
906
|
end
|
|
907
|
+
add_message "v1.Databricks" do
|
|
908
|
+
optional :id, :string, 32768
|
|
909
|
+
optional :name, :string, 32769
|
|
910
|
+
optional :healthy, :bool, 32770
|
|
911
|
+
optional :tags, :message, 32771, "v1.Tags"
|
|
912
|
+
optional :secret_store_id, :string, 32772
|
|
913
|
+
optional :egress_filter, :string, 32773
|
|
914
|
+
optional :bind_interface, :string, 32774
|
|
915
|
+
optional :proxy_cluster_id, :string, 32776
|
|
916
|
+
optional :subdomain, :string, 32775
|
|
917
|
+
optional :access_token, :string, 3
|
|
918
|
+
optional :hostname, :string, 1
|
|
919
|
+
optional :http_path, :string, 2
|
|
920
|
+
optional :port_override, :int32, 5
|
|
921
|
+
optional :schema, :string, 4
|
|
922
|
+
end
|
|
906
923
|
add_message "v1.DocumentDBHost" do
|
|
907
924
|
optional :id, :string, 32768
|
|
908
925
|
optional :name, :string, 32769
|
|
@@ -2252,6 +2269,7 @@ module V1
|
|
|
2252
2269
|
CouchbaseWebUI = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CouchbaseWebUI").msgclass
|
|
2253
2270
|
DB2I = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DB2I").msgclass
|
|
2254
2271
|
DB2LUW = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DB2LUW").msgclass
|
|
2272
|
+
Databricks = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Databricks").msgclass
|
|
2255
2273
|
DocumentDBHost = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBHost").msgclass
|
|
2256
2274
|
DocumentDBHostIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBHostIAM").msgclass
|
|
2257
2275
|
DocumentDBReplicaSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBReplicaSet").msgclass
|
data/lib/grpc/nodes_pb.rb
CHANGED
|
@@ -100,7 +100,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
100
100
|
optional :version, :string, 8
|
|
101
101
|
optional :uuid, :string, 9
|
|
102
102
|
repeated :maintenance_windows, :message, 11, "v1.NodeMaintenanceWindow"
|
|
103
|
-
optional :discovery_config, :message, 12, "v1.NodeDiscoveryConfig"
|
|
104
103
|
end
|
|
105
104
|
add_message "v1.Gateway" do
|
|
106
105
|
optional :id, :string, 1
|
|
@@ -115,7 +114,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
115
114
|
optional :version, :string, 10
|
|
116
115
|
optional :uuid, :string, 11
|
|
117
116
|
repeated :maintenance_windows, :message, 13, "v1.NodeMaintenanceWindow"
|
|
118
|
-
optional :discovery_config, :message, 14, "v1.NodeDiscoveryConfig"
|
|
119
117
|
end
|
|
120
118
|
add_message "v1.ProxyCluster" do
|
|
121
119
|
optional :id, :string, 1
|
|
@@ -123,20 +121,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
123
121
|
optional :address, :string, 3
|
|
124
122
|
optional :tags, :message, 4, "v1.Tags"
|
|
125
123
|
repeated :maintenance_windows, :message, 5, "v1.NodeMaintenanceWindow"
|
|
126
|
-
optional :discovery_config, :message, 6, "v1.NodeDiscoveryConfig"
|
|
127
124
|
end
|
|
128
125
|
add_message "v1.NodeMaintenanceWindow" do
|
|
129
126
|
optional :cron_schedule, :string, 1
|
|
130
127
|
optional :require_idleness, :bool, 2
|
|
131
128
|
end
|
|
132
|
-
add_message "v1.NodeDiscoveryConfig" do
|
|
133
|
-
optional :enabled, :bool, 1
|
|
134
|
-
optional :period, :message, 2, "google.protobuf.Duration"
|
|
135
|
-
repeated :enabledTypes, :message, 3, "v1.NodeDiscoveryTypeConfig"
|
|
136
|
-
end
|
|
137
|
-
add_message "v1.NodeDiscoveryTypeConfig" do
|
|
138
|
-
optional :type, :string, 1
|
|
139
|
-
end
|
|
140
129
|
end
|
|
141
130
|
end
|
|
142
131
|
|
|
@@ -158,6 +147,4 @@ module V1
|
|
|
158
147
|
Gateway = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Gateway").msgclass
|
|
159
148
|
ProxyCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ProxyCluster").msgclass
|
|
160
149
|
NodeMaintenanceWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.NodeMaintenanceWindow").msgclass
|
|
161
|
-
NodeDiscoveryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.NodeDiscoveryConfig").msgclass
|
|
162
|
-
NodeDiscoveryTypeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.NodeDiscoveryTypeConfig").msgclass
|
|
163
150
|
end
|
data/lib/grpc/plumbing.rb
CHANGED
|
@@ -318,6 +318,8 @@ module SDM
|
|
|
318
318
|
return SDM::ResourceType::RESOURCE_TYPE_DB_2_I
|
|
319
319
|
when V1::ResourceType::RESOURCE_TYPE_DB_2_LUW
|
|
320
320
|
return SDM::ResourceType::RESOURCE_TYPE_DB_2_LUW
|
|
321
|
+
when V1::ResourceType::RESOURCE_TYPE_DATABRICKS
|
|
322
|
+
return SDM::ResourceType::RESOURCE_TYPE_DATABRICKS
|
|
321
323
|
when V1::ResourceType::RESOURCE_TYPE_DOCUMENT_DB_HOST
|
|
322
324
|
return SDM::ResourceType::RESOURCE_TYPE_DOCUMENT_DB_HOST
|
|
323
325
|
when V1::ResourceType::RESOURCE_TYPE_DOCUMENT_DB_HOST_IAM
|
|
@@ -570,6 +572,8 @@ module SDM
|
|
|
570
572
|
value = V1::ResourceType::RESOURCE_TYPE_DB_2_I
|
|
571
573
|
when SDM::ResourceType::RESOURCE_TYPE_DB_2_LUW, "RESOURCE_TYPE_DB_2_LUW"
|
|
572
574
|
value = V1::ResourceType::RESOURCE_TYPE_DB_2_LUW
|
|
575
|
+
when SDM::ResourceType::RESOURCE_TYPE_DATABRICKS, "RESOURCE_TYPE_DATABRICKS"
|
|
576
|
+
value = V1::ResourceType::RESOURCE_TYPE_DATABRICKS
|
|
573
577
|
when SDM::ResourceType::RESOURCE_TYPE_DOCUMENT_DB_HOST, "RESOURCE_TYPE_DOCUMENT_DB_HOST"
|
|
574
578
|
value = V1::ResourceType::RESOURCE_TYPE_DOCUMENT_DB_HOST
|
|
575
579
|
when SDM::ResourceType::RESOURCE_TYPE_DOCUMENT_DB_HOST_IAM, "RESOURCE_TYPE_DOCUMENT_DB_HOST_IAM"
|
|
@@ -6947,6 +6951,66 @@ module SDM
|
|
|
6947
6951
|
end
|
|
6948
6952
|
items
|
|
6949
6953
|
end
|
|
6954
|
+
def self.convert_databricks_to_porcelain(plumbing)
|
|
6955
|
+
if plumbing == nil
|
|
6956
|
+
return nil
|
|
6957
|
+
end
|
|
6958
|
+
porcelain = Databricks.new()
|
|
6959
|
+
porcelain.access_token = (plumbing.access_token)
|
|
6960
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
|
6961
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
|
6962
|
+
porcelain.healthy = (plumbing.healthy)
|
|
6963
|
+
porcelain.hostname = (plumbing.hostname)
|
|
6964
|
+
porcelain.http_path = (plumbing.http_path)
|
|
6965
|
+
porcelain.id = (plumbing.id)
|
|
6966
|
+
porcelain.name = (plumbing.name)
|
|
6967
|
+
porcelain.port_override = (plumbing.port_override)
|
|
6968
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
|
6969
|
+
porcelain.schema = (plumbing.schema)
|
|
6970
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
|
6971
|
+
porcelain.subdomain = (plumbing.subdomain)
|
|
6972
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
6973
|
+
porcelain
|
|
6974
|
+
end
|
|
6975
|
+
|
|
6976
|
+
def self.convert_databricks_to_plumbing(porcelain)
|
|
6977
|
+
if porcelain == nil
|
|
6978
|
+
return nil
|
|
6979
|
+
end
|
|
6980
|
+
plumbing = V1::Databricks.new()
|
|
6981
|
+
plumbing.access_token = (porcelain.access_token)
|
|
6982
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
|
6983
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
|
6984
|
+
plumbing.healthy = (porcelain.healthy)
|
|
6985
|
+
plumbing.hostname = (porcelain.hostname)
|
|
6986
|
+
plumbing.http_path = (porcelain.http_path)
|
|
6987
|
+
plumbing.id = (porcelain.id)
|
|
6988
|
+
plumbing.name = (porcelain.name)
|
|
6989
|
+
plumbing.port_override = (porcelain.port_override)
|
|
6990
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
|
6991
|
+
plumbing.schema = (porcelain.schema)
|
|
6992
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
|
6993
|
+
plumbing.subdomain = (porcelain.subdomain)
|
|
6994
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
6995
|
+
plumbing
|
|
6996
|
+
end
|
|
6997
|
+
def self.convert_repeated_databricks_to_plumbing(porcelains)
|
|
6998
|
+
items = Array.new
|
|
6999
|
+
porcelains.each do |porcelain|
|
|
7000
|
+
plumbing = convert_databricks_to_plumbing(porcelain)
|
|
7001
|
+
items.append(plumbing)
|
|
7002
|
+
end
|
|
7003
|
+
items
|
|
7004
|
+
end
|
|
7005
|
+
|
|
7006
|
+
def self.convert_repeated_databricks_to_porcelain(plumbings)
|
|
7007
|
+
items = Array.new
|
|
7008
|
+
plumbings.each do |plumbing|
|
|
7009
|
+
porcelain = convert_databricks_to_porcelain(plumbing)
|
|
7010
|
+
items.append(porcelain)
|
|
7011
|
+
end
|
|
7012
|
+
items
|
|
7013
|
+
end
|
|
6950
7014
|
def self.convert_delete_response_metadata_to_porcelain(plumbing)
|
|
6951
7015
|
if plumbing == nil
|
|
6952
7016
|
return nil
|
|
@@ -16097,6 +16161,9 @@ module SDM
|
|
|
16097
16161
|
if porcelain.instance_of? CouchbaseWebUI
|
|
16098
16162
|
plumbing.couchbase_web_ui = convert_couchbase_web_ui_to_plumbing(porcelain)
|
|
16099
16163
|
end
|
|
16164
|
+
if porcelain.instance_of? Databricks
|
|
16165
|
+
plumbing.databricks = convert_databricks_to_plumbing(porcelain)
|
|
16166
|
+
end
|
|
16100
16167
|
if porcelain.instance_of? DB2I
|
|
16101
16168
|
plumbing.db_2_i = convert_db_2_i_to_plumbing(porcelain)
|
|
16102
16169
|
end
|
|
@@ -16446,6 +16513,9 @@ module SDM
|
|
|
16446
16513
|
if plumbing.couchbase_web_ui != nil
|
|
16447
16514
|
return convert_couchbase_web_ui_to_porcelain(plumbing.couchbase_web_ui)
|
|
16448
16515
|
end
|
|
16516
|
+
if plumbing.databricks != nil
|
|
16517
|
+
return convert_databricks_to_porcelain(plumbing.databricks)
|
|
16518
|
+
end
|
|
16449
16519
|
if plumbing.db_2_i != nil
|
|
16450
16520
|
return convert_db_2_i_to_porcelain(plumbing.db_2_i)
|
|
16451
16521
|
end
|
|
@@ -63,6 +63,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
63
63
|
value :RESOURCE_TYPE_COUCHBASE_WEB_UI, 3200
|
|
64
64
|
value :RESOURCE_TYPE_DB_2_I, 2400
|
|
65
65
|
value :RESOURCE_TYPE_DB_2_LUW, 2200
|
|
66
|
+
value :RESOURCE_TYPE_DATABRICKS, 3600
|
|
66
67
|
value :RESOURCE_TYPE_DOCUMENT_DB_HOST, 1052
|
|
67
68
|
value :RESOURCE_TYPE_DOCUMENT_DB_HOST_IAM, 1055
|
|
68
69
|
value :RESOURCE_TYPE_DOCUMENT_DB_REPLICA_SET, 1053
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -103,6 +103,8 @@ module SDM
|
|
|
103
103
|
|
|
104
104
|
DB_2_LUW = "RESOURCE_TYPE_DB_2_LUW"
|
|
105
105
|
|
|
106
|
+
DATABRICKS = "RESOURCE_TYPE_DATABRICKS"
|
|
107
|
+
|
|
106
108
|
DOCUMENT_DB_HOST = "RESOURCE_TYPE_DOCUMENT_DB_HOST"
|
|
107
109
|
|
|
108
110
|
DOCUMENT_DB_HOST_IAM = "RESOURCE_TYPE_DOCUMENT_DB_HOST_IAM"
|
|
@@ -6313,6 +6315,78 @@ module SDM
|
|
|
6313
6315
|
end
|
|
6314
6316
|
end
|
|
6315
6317
|
|
|
6318
|
+
# Databricks is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
|
6319
|
+
class Databricks
|
|
6320
|
+
# Databricks Personal Access Token (PAT)
|
|
6321
|
+
attr_accessor :access_token
|
|
6322
|
+
# 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.
|
|
6323
|
+
attr_accessor :bind_interface
|
|
6324
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
|
6325
|
+
attr_accessor :egress_filter
|
|
6326
|
+
# True if the datasource is reachable and the credentials are valid.
|
|
6327
|
+
attr_accessor :healthy
|
|
6328
|
+
# The Databricks workspace hostname (e.g., dbc-xxx.cloud.databricks.com)
|
|
6329
|
+
attr_accessor :hostname
|
|
6330
|
+
# The HTTP path to the SQL warehouse or cluster (e.g., /sql/1.0/warehouses/xxx)
|
|
6331
|
+
attr_accessor :http_path
|
|
6332
|
+
# Unique identifier of the Resource.
|
|
6333
|
+
attr_accessor :id
|
|
6334
|
+
# Unique human-readable name of the Resource.
|
|
6335
|
+
attr_accessor :name
|
|
6336
|
+
# 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.
|
|
6337
|
+
attr_accessor :port_override
|
|
6338
|
+
# ID of the proxy cluster for this resource, if any.
|
|
6339
|
+
attr_accessor :proxy_cluster_id
|
|
6340
|
+
# The Schema to use to direct initial requests.
|
|
6341
|
+
attr_accessor :schema
|
|
6342
|
+
# ID of the secret store containing credentials for this resource, if any.
|
|
6343
|
+
attr_accessor :secret_store_id
|
|
6344
|
+
# 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.
|
|
6345
|
+
attr_accessor :subdomain
|
|
6346
|
+
# Tags is a map of key, value pairs.
|
|
6347
|
+
attr_accessor :tags
|
|
6348
|
+
|
|
6349
|
+
def initialize(
|
|
6350
|
+
access_token: nil,
|
|
6351
|
+
bind_interface: nil,
|
|
6352
|
+
egress_filter: nil,
|
|
6353
|
+
healthy: nil,
|
|
6354
|
+
hostname: nil,
|
|
6355
|
+
http_path: nil,
|
|
6356
|
+
id: nil,
|
|
6357
|
+
name: nil,
|
|
6358
|
+
port_override: nil,
|
|
6359
|
+
proxy_cluster_id: nil,
|
|
6360
|
+
schema: nil,
|
|
6361
|
+
secret_store_id: nil,
|
|
6362
|
+
subdomain: nil,
|
|
6363
|
+
tags: nil
|
|
6364
|
+
)
|
|
6365
|
+
@access_token = access_token == nil ? "" : access_token
|
|
6366
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
|
6367
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
|
6368
|
+
@healthy = healthy == nil ? false : healthy
|
|
6369
|
+
@hostname = hostname == nil ? "" : hostname
|
|
6370
|
+
@http_path = http_path == nil ? "" : http_path
|
|
6371
|
+
@id = id == nil ? "" : id
|
|
6372
|
+
@name = name == nil ? "" : name
|
|
6373
|
+
@port_override = port_override == nil ? 0 : port_override
|
|
6374
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
|
6375
|
+
@schema = schema == nil ? "" : schema
|
|
6376
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
|
6377
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
|
6378
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
6379
|
+
end
|
|
6380
|
+
|
|
6381
|
+
def to_json(options = {})
|
|
6382
|
+
hash = {}
|
|
6383
|
+
self.instance_variables.each do |var|
|
|
6384
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
6385
|
+
end
|
|
6386
|
+
hash.to_json
|
|
6387
|
+
end
|
|
6388
|
+
end
|
|
6389
|
+
|
|
6316
6390
|
# DeleteResponseMetadata is reserved for future use.
|
|
6317
6391
|
class DeleteResponseMetadata
|
|
6318
6392
|
def initialize()
|
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.7.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: 16.
|
|
4
|
+
version: 16.7.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-02-
|
|
11
|
+
date: 2026-02-17 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-0df2a16af22998f8c1a6deffba51df809b086e12.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-0df2a16af22998f8c1a6deffba51df809b086e12.pack"
|
|
86
86
|
- "./.git/packed-refs"
|
|
87
87
|
- "./.git/refs/heads/master"
|
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|