strongdm 4.4.0 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd23439ec19335f852c46558ed148b222ce0e9e04b669682412ba8e1819253b4
4
- data.tar.gz: 17218a48cb8ebcf6ee5bbd1e908807ca2b4452b387bfa2f00a0ab08059698ed8
3
+ metadata.gz: e9a9586047a454e3f7d49f1852a1b481ac0118958e30dd05f74ac00cedcd9ad5
4
+ data.tar.gz: de74bd0e163fc3a985f9c6e483035bb9e51428a4efb9f7ebb965c7fd910e58e1
5
5
  SHA512:
6
- metadata.gz: 53680c45cc575d3a19496c19cc0442ff0430669445d126034bb903a8a86c3b5cb3573379e2da855f5e41d1e66c1fdae49530bfc1779c410f3ba525afd47f159e
7
- data.tar.gz: 119b60c744aedeb852d9c3fa6367f6fc1484d03048b804cd0b9a55d8ecb3bc955be29d9e564ff9183a4d4411553a74e5b513655bd1664233537a90712bb05762
6
+ metadata.gz: 7c870bbfb60b4c17215caa526d2a06c518ccb57369036a7a30b4985b69e621aa1252ceccf89d469fbf0f8602e22a0bc315f59dff87cd49d997df5534c59191d8
7
+ data.tar.gz: e8a21f51b8681a89503df9b706863267100651077d7ed52184a181fb68adc526720f61b534e9c73491c0cb8b9f9db296aaafc4e115bbe9f98dc5982830f5c0c0
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 1cb2610175dbf43344602d4446e90119ee37b10a
1
+ be896a77988796e24875925fd44919a667749986
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 1cb2610175dbf43344602d4446e90119ee37b10a root <root@49528c92172b.(none)> 1692039941 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 1cb2610175dbf43344602d4446e90119ee37b10a 1cb2610175dbf43344602d4446e90119ee37b10a root <root@49528c92172b.(none)> 1692039941 +0000 checkout: moving from master to master
3
- 1cb2610175dbf43344602d4446e90119ee37b10a be896a77988796e24875925fd44919a667749986 root <root@49528c92172b.(none)> 1692039941 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 be896a77988796e24875925fd44919a667749986 root <root@8c7eefffa5d6.(none)> 1692202404 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ be896a77988796e24875925fd44919a667749986 be896a77988796e24875925fd44919a667749986 root <root@8c7eefffa5d6.(none)> 1692202404 +0000 checkout: moving from master to master
3
+ be896a77988796e24875925fd44919a667749986 def18d4d7f07d6132af4c4b7cb79cae369cde163 root <root@8c7eefffa5d6.(none)> 1692202404 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 1cb2610175dbf43344602d4446e90119ee37b10a root <root@49528c92172b.(none)> 1692039941 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 1cb2610175dbf43344602d4446e90119ee37b10a be896a77988796e24875925fd44919a667749986 root <root@49528c92172b.(none)> 1692039941 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 be896a77988796e24875925fd44919a667749986 root <root@8c7eefffa5d6.(none)> 1692202404 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ be896a77988796e24875925fd44919a667749986 def18d4d7f07d6132af4c4b7cb79cae369cde163 root <root@8c7eefffa5d6.(none)> 1692202404 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 1cb2610175dbf43344602d4446e90119ee37b10a root <root@49528c92172b.(none)> 1692039941 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 be896a77988796e24875925fd44919a667749986 root <root@8c7eefffa5d6.(none)> 1692202404 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
data/.git/packed-refs CHANGED
@@ -1,6 +1,6 @@
1
1
  # pack-refs with: peeled fully-peeled sorted
2
- be896a77988796e24875925fd44919a667749986 refs/remotes/origin/development
3
- 1cb2610175dbf43344602d4446e90119ee37b10a refs/remotes/origin/master
2
+ def18d4d7f07d6132af4c4b7cb79cae369cde163 refs/remotes/origin/development
3
+ be896a77988796e24875925fd44919a667749986 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,4 @@ 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
@@ -1 +1 @@
1
- be896a77988796e24875925fd44919a667749986
1
+ def18d4d7f07d6132af4c4b7cb79cae369cde163
@@ -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
@@ -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
@@ -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.
@@ -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.0"
32
+ USER_AGENT = "strongdm-sdk-ruby/4.4.1"
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
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "4.4.0"
16
+ VERSION = "4.4.1"
17
17
  end
data/lib/version.rb CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "4.4.0"
16
+ VERSION = "4.4.1"
17
17
  end
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.0
4
+ version: 4.4.1
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-14 00:00:00.000000000 Z
11
+ date: 2023-08-16 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-9c459884b97e0a33b1e10aa61914fa82820fa985.idx"
85
- - "./.git/objects/pack/pack-9c459884b97e0a33b1e10aa61914fa82820fa985.pack"
84
+ - "./.git/objects/pack/pack-ed1d3ea443c0a0f442dc86b21f86e97df43ad2e3.idx"
85
+ - "./.git/objects/pack/pack-ed1d3ea443c0a0f442dc86b21f86e97df43ad2e3.pack"
86
86
  - "./.git/packed-refs"
87
87
  - "./.git/refs/heads/master"
88
88
  - "./.git/refs/remotes/origin/HEAD"