strongdm 4.4.0 → 4.4.2
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-9c459884b97e0a33b1e10aa61914fa82820fa985.idx → pack-2d0c3782e88429e709f1d7500e4295bb4c85494c.idx} +0 -0
- data/.git/objects/pack/{pack-9c459884b97e0a33b1e10aa61914fa82820fa985.pack → pack-2d0c3782e88429e709f1d7500e4295bb4c85494c.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +1 -0
- data/lib/grpc/access_requests_pb.rb +1 -0
- data/lib/grpc/plumbing.rb +148 -0
- data/lib/grpc/workflows_pb.rb +1 -0
- data/lib/models/porcelain.rb +94 -11
- data/lib/strongdm.rb +1 -1
- 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: 18118cde79ba9805df1544c16ffbd45f456c024c7d02d54bc32a1b6140a8e202
|
|
4
|
+
data.tar.gz: 4d31ab0d6a077b1c90373c000ffd7c84049367da412d828b5013399b9c78b76f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b1fd42ccfb3374823f22bf3e9bbb9854aa20b1789fbc771b809e998b499d39f08d2a78699bc275d6c406bcf09f0b04128f8b4f6fdef49ba6fad2ab3c3f637ec
|
|
7
|
+
data.tar.gz: bac55d0b7153daf95bc34e730cd6ea94017138f7b75bd5b560e9532f0525bc9f2af35b9728f591eb075160427a5094697135f31df3a8303edfac07e7c4046df7
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
def18d4d7f07d6132af4c4b7cb79cae369cde163
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 def18d4d7f07d6132af4c4b7cb79cae369cde163 root <root@e5796bcd8d1b.(none)> 1692643761 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
def18d4d7f07d6132af4c4b7cb79cae369cde163 def18d4d7f07d6132af4c4b7cb79cae369cde163 root <root@e5796bcd8d1b.(none)> 1692643761 +0000 checkout: moving from master to master
|
|
3
|
+
def18d4d7f07d6132af4c4b7cb79cae369cde163 a6f7cd7cd796d31adea0950366f45875ff0bbccc root <root@e5796bcd8d1b.(none)> 1692643761 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 def18d4d7f07d6132af4c4b7cb79cae369cde163 root <root@e5796bcd8d1b.(none)> 1692643761 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
def18d4d7f07d6132af4c4b7cb79cae369cde163 a6f7cd7cd796d31adea0950366f45875ff0bbccc root <root@e5796bcd8d1b.(none)> 1692643761 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 def18d4d7f07d6132af4c4b7cb79cae369cde163 root <root@e5796bcd8d1b.(none)> 1692643761 +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
|
+
a6f7cd7cd796d31adea0950366f45875ff0bbccc refs/remotes/origin/development
|
|
3
|
+
def18d4d7f07d6132af4c4b7cb79cae369cde163 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
|
|
@@ -74,3 +74,5 @@ ffd4706f2b64466550868d42ee2a5a4b88b3a372 refs/tags/v3.6.1
|
|
|
74
74
|
d39111ffa2c85b26a22a8bb3ddff212ac2228e1f refs/tags/v4.1.0
|
|
75
75
|
08f4675a1557ed133181105c72b37ffbef084740 refs/tags/v4.2.0
|
|
76
76
|
1cb2610175dbf43344602d4446e90119ee37b10a refs/tags/v4.3.0
|
|
77
|
+
be896a77988796e24875925fd44919a667749986 refs/tags/v4.4.0
|
|
78
|
+
def18d4d7f07d6132af4c4b7cb79cae369cde163 refs/tags/v4.4.1
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a6f7cd7cd796d31adea0950366f45875ff0bbccc
|
data/lib/constants.rb
CHANGED
|
@@ -207,6 +207,7 @@ module SDM
|
|
|
207
207
|
RELAY_UPDATED_NAME = "relay name updated"
|
|
208
208
|
RELAY_DELETED = "relay deleted"
|
|
209
209
|
ORG_PUBLIC_KEY_UPDATED = "public key updated"
|
|
210
|
+
ORG_DISCARD_REPLAYS_UPDATED = "discard replays updated"
|
|
210
211
|
ORG_ENFORCE_PORT_OVERRIDES_UPDATED = "port override enforcement updated"
|
|
211
212
|
ORG_SERVICE_AUTO_CONNECT_UPDATED = "service account auto-connect updated"
|
|
212
213
|
ORG_SELF_REGISTRATION_ACTIVATED = "self-registration activated"
|
|
@@ -29,6 +29,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
29
29
|
add_message "v1.AccessRequestListResponse" do
|
|
30
30
|
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
|
31
31
|
repeated :access_requests, :message, 2, "v1.AccessRequest"
|
|
32
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
|
32
33
|
end
|
|
33
34
|
add_message "v1.AccessRequest" do
|
|
34
35
|
optional :id, :string, 1
|
data/lib/grpc/plumbing.rb
CHANGED
|
@@ -867,6 +867,80 @@ module SDM
|
|
|
867
867
|
end
|
|
868
868
|
items
|
|
869
869
|
end
|
|
870
|
+
def self.convert_access_request_list_request_to_porcelain(plumbing)
|
|
871
|
+
if plumbing == nil
|
|
872
|
+
return nil
|
|
873
|
+
end
|
|
874
|
+
porcelain = AccessRequestListRequest.new()
|
|
875
|
+
porcelain.filter = (plumbing.filter)
|
|
876
|
+
porcelain.meta = convert_list_request_metadata_to_porcelain(plumbing.meta)
|
|
877
|
+
porcelain
|
|
878
|
+
end
|
|
879
|
+
|
|
880
|
+
def self.convert_access_request_list_request_to_plumbing(porcelain)
|
|
881
|
+
if porcelain == nil
|
|
882
|
+
return nil
|
|
883
|
+
end
|
|
884
|
+
plumbing = V1::AccessRequestListRequest.new()
|
|
885
|
+
plumbing.filter = (porcelain.filter)
|
|
886
|
+
plumbing.meta = convert_list_request_metadata_to_plumbing(porcelain.meta)
|
|
887
|
+
plumbing
|
|
888
|
+
end
|
|
889
|
+
def self.convert_repeated_access_request_list_request_to_plumbing(porcelains)
|
|
890
|
+
items = Array.new
|
|
891
|
+
porcelains.each do |porcelain|
|
|
892
|
+
plumbing = convert_access_request_list_request_to_plumbing(porcelain)
|
|
893
|
+
items.append(plumbing)
|
|
894
|
+
end
|
|
895
|
+
items
|
|
896
|
+
end
|
|
897
|
+
|
|
898
|
+
def self.convert_repeated_access_request_list_request_to_porcelain(plumbings)
|
|
899
|
+
items = Array.new
|
|
900
|
+
plumbings.each do |plumbing|
|
|
901
|
+
porcelain = convert_access_request_list_request_to_porcelain(plumbing)
|
|
902
|
+
items.append(porcelain)
|
|
903
|
+
end
|
|
904
|
+
items
|
|
905
|
+
end
|
|
906
|
+
def self.convert_access_request_list_response_to_porcelain(plumbing)
|
|
907
|
+
if plumbing == nil
|
|
908
|
+
return nil
|
|
909
|
+
end
|
|
910
|
+
porcelain = AccessRequestListResponse.new()
|
|
911
|
+
porcelain.access_requests = convert_repeated_access_request_to_porcelain(plumbing.access_requests)
|
|
912
|
+
porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
|
|
913
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
|
914
|
+
porcelain
|
|
915
|
+
end
|
|
916
|
+
|
|
917
|
+
def self.convert_access_request_list_response_to_plumbing(porcelain)
|
|
918
|
+
if porcelain == nil
|
|
919
|
+
return nil
|
|
920
|
+
end
|
|
921
|
+
plumbing = V1::AccessRequestListResponse.new()
|
|
922
|
+
plumbing.access_requests += convert_repeated_access_request_to_plumbing(porcelain.access_requests)
|
|
923
|
+
plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
|
|
924
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
|
925
|
+
plumbing
|
|
926
|
+
end
|
|
927
|
+
def self.convert_repeated_access_request_list_response_to_plumbing(porcelains)
|
|
928
|
+
items = Array.new
|
|
929
|
+
porcelains.each do |porcelain|
|
|
930
|
+
plumbing = convert_access_request_list_response_to_plumbing(porcelain)
|
|
931
|
+
items.append(plumbing)
|
|
932
|
+
end
|
|
933
|
+
items
|
|
934
|
+
end
|
|
935
|
+
|
|
936
|
+
def self.convert_repeated_access_request_list_response_to_porcelain(plumbings)
|
|
937
|
+
items = Array.new
|
|
938
|
+
plumbings.each do |plumbing|
|
|
939
|
+
porcelain = convert_access_request_list_response_to_porcelain(plumbing)
|
|
940
|
+
items.append(porcelain)
|
|
941
|
+
end
|
|
942
|
+
items
|
|
943
|
+
end
|
|
870
944
|
def self.convert_account_to_plumbing(porcelain)
|
|
871
945
|
if porcelain == nil
|
|
872
946
|
return nil
|
|
@@ -10219,6 +10293,80 @@ module SDM
|
|
|
10219
10293
|
end
|
|
10220
10294
|
items
|
|
10221
10295
|
end
|
|
10296
|
+
def self.convert_workflow_list_request_to_porcelain(plumbing)
|
|
10297
|
+
if plumbing == nil
|
|
10298
|
+
return nil
|
|
10299
|
+
end
|
|
10300
|
+
porcelain = WorkflowListRequest.new()
|
|
10301
|
+
porcelain.filter = (plumbing.filter)
|
|
10302
|
+
porcelain.meta = convert_list_request_metadata_to_porcelain(plumbing.meta)
|
|
10303
|
+
porcelain
|
|
10304
|
+
end
|
|
10305
|
+
|
|
10306
|
+
def self.convert_workflow_list_request_to_plumbing(porcelain)
|
|
10307
|
+
if porcelain == nil
|
|
10308
|
+
return nil
|
|
10309
|
+
end
|
|
10310
|
+
plumbing = V1::WorkflowListRequest.new()
|
|
10311
|
+
plumbing.filter = (porcelain.filter)
|
|
10312
|
+
plumbing.meta = convert_list_request_metadata_to_plumbing(porcelain.meta)
|
|
10313
|
+
plumbing
|
|
10314
|
+
end
|
|
10315
|
+
def self.convert_repeated_workflow_list_request_to_plumbing(porcelains)
|
|
10316
|
+
items = Array.new
|
|
10317
|
+
porcelains.each do |porcelain|
|
|
10318
|
+
plumbing = convert_workflow_list_request_to_plumbing(porcelain)
|
|
10319
|
+
items.append(plumbing)
|
|
10320
|
+
end
|
|
10321
|
+
items
|
|
10322
|
+
end
|
|
10323
|
+
|
|
10324
|
+
def self.convert_repeated_workflow_list_request_to_porcelain(plumbings)
|
|
10325
|
+
items = Array.new
|
|
10326
|
+
plumbings.each do |plumbing|
|
|
10327
|
+
porcelain = convert_workflow_list_request_to_porcelain(plumbing)
|
|
10328
|
+
items.append(porcelain)
|
|
10329
|
+
end
|
|
10330
|
+
items
|
|
10331
|
+
end
|
|
10332
|
+
def self.convert_workflow_list_response_to_porcelain(plumbing)
|
|
10333
|
+
if plumbing == nil
|
|
10334
|
+
return nil
|
|
10335
|
+
end
|
|
10336
|
+
porcelain = WorkflowListResponse.new()
|
|
10337
|
+
porcelain.meta = convert_list_response_metadata_to_porcelain(plumbing.meta)
|
|
10338
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
|
10339
|
+
porcelain.workflows = convert_repeated_workflow_to_porcelain(plumbing.workflows)
|
|
10340
|
+
porcelain
|
|
10341
|
+
end
|
|
10342
|
+
|
|
10343
|
+
def self.convert_workflow_list_response_to_plumbing(porcelain)
|
|
10344
|
+
if porcelain == nil
|
|
10345
|
+
return nil
|
|
10346
|
+
end
|
|
10347
|
+
plumbing = V1::WorkflowListResponse.new()
|
|
10348
|
+
plumbing.meta = convert_list_response_metadata_to_plumbing(porcelain.meta)
|
|
10349
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
|
10350
|
+
plumbing.workflows += convert_repeated_workflow_to_plumbing(porcelain.workflows)
|
|
10351
|
+
plumbing
|
|
10352
|
+
end
|
|
10353
|
+
def self.convert_repeated_workflow_list_response_to_plumbing(porcelains)
|
|
10354
|
+
items = Array.new
|
|
10355
|
+
porcelains.each do |porcelain|
|
|
10356
|
+
plumbing = convert_workflow_list_response_to_plumbing(porcelain)
|
|
10357
|
+
items.append(plumbing)
|
|
10358
|
+
end
|
|
10359
|
+
items
|
|
10360
|
+
end
|
|
10361
|
+
|
|
10362
|
+
def self.convert_repeated_workflow_list_response_to_porcelain(plumbings)
|
|
10363
|
+
items = Array.new
|
|
10364
|
+
plumbings.each do |plumbing|
|
|
10365
|
+
porcelain = convert_workflow_list_response_to_porcelain(plumbing)
|
|
10366
|
+
items.append(porcelain)
|
|
10367
|
+
end
|
|
10368
|
+
items
|
|
10369
|
+
end
|
|
10222
10370
|
def self.convert_workflow_role_to_porcelain(plumbing)
|
|
10223
10371
|
if plumbing == nil
|
|
10224
10372
|
return nil
|
data/lib/grpc/workflows_pb.rb
CHANGED
|
@@ -28,6 +28,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
28
28
|
add_message "v1.WorkflowListResponse" do
|
|
29
29
|
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
|
30
30
|
repeated :workflows, :message, 2, "v1.Workflow"
|
|
31
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
|
31
32
|
end
|
|
32
33
|
add_message "v1.Workflow" do
|
|
33
34
|
optional :id, :string, 1
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -817,6 +817,47 @@ module SDM
|
|
|
817
817
|
end
|
|
818
818
|
end
|
|
819
819
|
|
|
820
|
+
# AccessRequestListRequest specifies criteria for retrieving a list of
|
|
821
|
+
# AccessRequest records
|
|
822
|
+
class AccessRequestListRequest
|
|
823
|
+
# A human-readable filter query string.
|
|
824
|
+
attr_accessor :filter
|
|
825
|
+
|
|
826
|
+
def initialize(
|
|
827
|
+
filter: nil
|
|
828
|
+
)
|
|
829
|
+
@filter = filter == nil ? "" : filter
|
|
830
|
+
end
|
|
831
|
+
|
|
832
|
+
def to_json(options = {})
|
|
833
|
+
hash = {}
|
|
834
|
+
self.instance_variables.each do |var|
|
|
835
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
836
|
+
end
|
|
837
|
+
hash.to_json
|
|
838
|
+
end
|
|
839
|
+
end
|
|
840
|
+
|
|
841
|
+
# AccessRequestListResponse reports how the Workflow was created in the system.
|
|
842
|
+
class AccessRequestListResponse
|
|
843
|
+
# Rate limit information.
|
|
844
|
+
attr_accessor :rate_limit
|
|
845
|
+
|
|
846
|
+
def initialize(
|
|
847
|
+
rate_limit: nil
|
|
848
|
+
)
|
|
849
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
|
850
|
+
end
|
|
851
|
+
|
|
852
|
+
def to_json(options = {})
|
|
853
|
+
hash = {}
|
|
854
|
+
self.instance_variables.each do |var|
|
|
855
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
856
|
+
end
|
|
857
|
+
hash.to_json
|
|
858
|
+
end
|
|
859
|
+
end
|
|
860
|
+
|
|
820
861
|
# AccountAttachments assign an account to a role.
|
|
821
862
|
class AccountAttachment
|
|
822
863
|
# The id of the account of this AccountAttachment.
|
|
@@ -2118,7 +2159,7 @@ module SDM
|
|
|
2118
2159
|
class AuroraMysql
|
|
2119
2160
|
# 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.
|
|
2120
2161
|
attr_accessor :bind_interface
|
|
2121
|
-
# The
|
|
2162
|
+
# The database for healthchecks. Does not affect client requests
|
|
2122
2163
|
attr_accessor :database
|
|
2123
2164
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
2124
2165
|
attr_accessor :egress_filter
|
|
@@ -2398,7 +2439,7 @@ module SDM
|
|
|
2398
2439
|
class AzureMysql
|
|
2399
2440
|
# 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.
|
|
2400
2441
|
attr_accessor :bind_interface
|
|
2401
|
-
# The
|
|
2442
|
+
# The database for healthchecks. Does not affect client requests.
|
|
2402
2443
|
attr_accessor :database
|
|
2403
2444
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
2404
2445
|
attr_accessor :egress_filter
|
|
@@ -2876,7 +2917,7 @@ module SDM
|
|
|
2876
2917
|
class Clustrix
|
|
2877
2918
|
# 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.
|
|
2878
2919
|
attr_accessor :bind_interface
|
|
2879
|
-
# The
|
|
2920
|
+
# The database for healthchecks. Does not affect client requests.
|
|
2880
2921
|
attr_accessor :database
|
|
2881
2922
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
2882
2923
|
attr_accessor :egress_filter
|
|
@@ -4806,7 +4847,7 @@ module SDM
|
|
|
4806
4847
|
attr_accessor :client_certificate
|
|
4807
4848
|
# The key to authenticate TLS connections with.
|
|
4808
4849
|
attr_accessor :client_key
|
|
4809
|
-
# The
|
|
4850
|
+
# The database for healthchecks. Does not affect client requests.
|
|
4810
4851
|
attr_accessor :database
|
|
4811
4852
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
4812
4853
|
attr_accessor :egress_filter
|
|
@@ -4986,7 +5027,7 @@ module SDM
|
|
|
4986
5027
|
class Maria
|
|
4987
5028
|
# 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.
|
|
4988
5029
|
attr_accessor :bind_interface
|
|
4989
|
-
# The
|
|
5030
|
+
# The database for healthchecks. Does not affect client requests.
|
|
4990
5031
|
attr_accessor :database
|
|
4991
5032
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
4992
5033
|
attr_accessor :egress_filter
|
|
@@ -5124,7 +5165,7 @@ module SDM
|
|
|
5124
5165
|
class Memsql
|
|
5125
5166
|
# 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.
|
|
5126
5167
|
attr_accessor :bind_interface
|
|
5127
|
-
# The
|
|
5168
|
+
# The database for healthchecks. Does not affect client requests.
|
|
5128
5169
|
attr_accessor :database
|
|
5129
5170
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
5130
5171
|
attr_accessor :egress_filter
|
|
@@ -5597,7 +5638,7 @@ module SDM
|
|
|
5597
5638
|
class Mysql
|
|
5598
5639
|
# 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.
|
|
5599
5640
|
attr_accessor :bind_interface
|
|
5600
|
-
# The
|
|
5641
|
+
# The database for healthchecks. Does not affect client requests.
|
|
5601
5642
|
attr_accessor :database
|
|
5602
5643
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
5603
5644
|
attr_accessor :egress_filter
|
|
@@ -8142,7 +8183,7 @@ module SDM
|
|
|
8142
8183
|
class SQLServer
|
|
8143
8184
|
# 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.
|
|
8144
8185
|
attr_accessor :bind_interface
|
|
8145
|
-
# The
|
|
8186
|
+
# The database for healthchecks, and used for clients if Override Default Database is true.
|
|
8146
8187
|
attr_accessor :database
|
|
8147
8188
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
8148
8189
|
attr_accessor :egress_filter
|
|
@@ -8223,7 +8264,7 @@ module SDM
|
|
|
8223
8264
|
attr_accessor :bind_interface
|
|
8224
8265
|
# The Azure AD application (client) ID with which to authenticate.
|
|
8225
8266
|
attr_accessor :client_id
|
|
8226
|
-
# The
|
|
8267
|
+
# The database for healthchecks, and used for clients if Override Default Database is true.
|
|
8227
8268
|
attr_accessor :database
|
|
8228
8269
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
8229
8270
|
attr_accessor :egress_filter
|
|
@@ -8304,7 +8345,7 @@ module SDM
|
|
|
8304
8345
|
class SQLServerKerberosAD
|
|
8305
8346
|
# 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.
|
|
8306
8347
|
attr_accessor :bind_interface
|
|
8307
|
-
# The
|
|
8348
|
+
# The database for healthchecks, and used for clients if Override Default Database is true.
|
|
8308
8349
|
attr_accessor :database
|
|
8309
8350
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
8310
8351
|
attr_accessor :egress_filter
|
|
@@ -8809,7 +8850,7 @@ module SDM
|
|
|
8809
8850
|
class SingleStore
|
|
8810
8851
|
# 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.
|
|
8811
8852
|
attr_accessor :bind_interface
|
|
8812
|
-
# The
|
|
8853
|
+
# The database for healthchecks. Does not affect client requests.
|
|
8813
8854
|
attr_accessor :database
|
|
8814
8855
|
# A filter applied to the routing logic to pin datasource to nodes.
|
|
8815
8856
|
attr_accessor :egress_filter
|
|
@@ -9697,6 +9738,48 @@ module SDM
|
|
|
9697
9738
|
end
|
|
9698
9739
|
end
|
|
9699
9740
|
|
|
9741
|
+
# WorkflowListRequest specifies criteria for retrieving a list of
|
|
9742
|
+
# Workflow records
|
|
9743
|
+
class WorkflowListRequest
|
|
9744
|
+
# A human-readable filter query string.
|
|
9745
|
+
attr_accessor :filter
|
|
9746
|
+
|
|
9747
|
+
def initialize(
|
|
9748
|
+
filter: nil
|
|
9749
|
+
)
|
|
9750
|
+
@filter = filter == nil ? "" : filter
|
|
9751
|
+
end
|
|
9752
|
+
|
|
9753
|
+
def to_json(options = {})
|
|
9754
|
+
hash = {}
|
|
9755
|
+
self.instance_variables.each do |var|
|
|
9756
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
9757
|
+
end
|
|
9758
|
+
hash.to_json
|
|
9759
|
+
end
|
|
9760
|
+
end
|
|
9761
|
+
|
|
9762
|
+
# WorkflowListResponse returns a list of Workflow records that meet
|
|
9763
|
+
# the criteria of a WorkflowListRequest.
|
|
9764
|
+
class WorkflowListResponse
|
|
9765
|
+
# Rate limit information.
|
|
9766
|
+
attr_accessor :rate_limit
|
|
9767
|
+
|
|
9768
|
+
def initialize(
|
|
9769
|
+
rate_limit: nil
|
|
9770
|
+
)
|
|
9771
|
+
@rate_limit = rate_limit == nil ? nil : rate_limit
|
|
9772
|
+
end
|
|
9773
|
+
|
|
9774
|
+
def to_json(options = {})
|
|
9775
|
+
hash = {}
|
|
9776
|
+
self.instance_variables.each do |var|
|
|
9777
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
|
9778
|
+
end
|
|
9779
|
+
hash.to_json
|
|
9780
|
+
end
|
|
9781
|
+
end
|
|
9782
|
+
|
|
9700
9783
|
# WorkflowRole links a Role to a Workflow.
|
|
9701
9784
|
class WorkflowRole
|
|
9702
9785
|
# The role id.
|
data/lib/strongdm.rb
CHANGED
|
@@ -29,7 +29,7 @@ module SDM #:nodoc:
|
|
|
29
29
|
DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
|
|
30
30
|
DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
|
|
31
31
|
API_VERSION = "2021-08-23"
|
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/4.4.
|
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/4.4.2"
|
|
33
33
|
private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
|
|
34
34
|
|
|
35
35
|
# Creates a new strongDM API client.
|
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.4.
|
|
4
|
+
version: 4.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- strongDM Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-08-
|
|
11
|
+
date: 2023-08-21 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-2d0c3782e88429e709f1d7500e4295bb4c85494c.idx"
|
|
85
|
+
- "./.git/objects/pack/pack-2d0c3782e88429e709f1d7500e4295bb4c85494c.pack"
|
|
86
86
|
- "./.git/packed-refs"
|
|
87
87
|
- "./.git/refs/heads/master"
|
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|