strongdm 14.25.0 → 15.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2952bf085f796addeab96ff2f744ab4401a19bf5d3a20b00a4fb5b851647ab1
4
- data.tar.gz: 1d69c934d2bc5d89ec47737592305afd21a3f97f62694ef0be3ca15f92fe79ba
3
+ metadata.gz: fbf83c61142604e1936a06e4fb2e1ddd942e8523156a4795334255ce35d50983
4
+ data.tar.gz: eb1ad46d72f48adb85a122e84d4e9b4e98400e623008fb974d989dd8533be5a8
5
5
  SHA512:
6
- metadata.gz: c2e7e08105bfac0cc6ec14b05e30b9d360d616be5adbb955307b27d179a349e4d29b0c07dc12bccb8a48e5adeadcaab7c9bddd0b8b825ead58a67e476fd23f12
7
- data.tar.gz: c7b904bef06bffcd55a2aca9e985cab7e1fb7c221004f969c012b9d5f55f41b2dc363352cd0a992759023a246a21bf5f3e73f9b0d61982110635cdf3d3ac6a7c
6
+ metadata.gz: c97c9fb19f17ebdf594ac78e4e40502b26fde136559a2cdf57e571d02530b760871025808d73192b7ef83b64f0bb5e51935d03491822214e58efa46992375bc9
7
+ data.tar.gz: b6110d6764fbdd4fc741eb1a07b9259387a2e09e59c1e9b538538a6b840ed583e13b189ace840c64c79a72809d382c8f0b956d5f2e90329eba4119c42c1ce88b
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 14752ce7c3595e24fe27e312463b967611bffc99
1
+ 2644f38f94173025b6b84a36d78e841aa3e4cdf0
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 14752ce7c3595e24fe27e312463b967611bffc99 root <root@f09de2d4847f.(none)> 1750425303 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 14752ce7c3595e24fe27e312463b967611bffc99 14752ce7c3595e24fe27e312463b967611bffc99 root <root@f09de2d4847f.(none)> 1750425303 +0000 checkout: moving from master to master
3
- 14752ce7c3595e24fe27e312463b967611bffc99 2644f38f94173025b6b84a36d78e841aa3e4cdf0 root <root@f09de2d4847f.(none)> 1750425303 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 2644f38f94173025b6b84a36d78e841aa3e4cdf0 root <root@d96d5c97a5fa.(none)> 1750802398 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 2644f38f94173025b6b84a36d78e841aa3e4cdf0 2644f38f94173025b6b84a36d78e841aa3e4cdf0 root <root@d96d5c97a5fa.(none)> 1750802398 +0000 checkout: moving from master to master
3
+ 2644f38f94173025b6b84a36d78e841aa3e4cdf0 08fd7fd2e52f2718155d68f541842535a3261ebd root <root@d96d5c97a5fa.(none)> 1750802398 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 14752ce7c3595e24fe27e312463b967611bffc99 root <root@f09de2d4847f.(none)> 1750425303 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- 14752ce7c3595e24fe27e312463b967611bffc99 2644f38f94173025b6b84a36d78e841aa3e4cdf0 root <root@f09de2d4847f.(none)> 1750425303 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 2644f38f94173025b6b84a36d78e841aa3e4cdf0 root <root@d96d5c97a5fa.(none)> 1750802398 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 2644f38f94173025b6b84a36d78e841aa3e4cdf0 08fd7fd2e52f2718155d68f541842535a3261ebd root <root@d96d5c97a5fa.(none)> 1750802398 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 14752ce7c3595e24fe27e312463b967611bffc99 root <root@f09de2d4847f.(none)> 1750425303 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 2644f38f94173025b6b84a36d78e841aa3e4cdf0 root <root@d96d5c97a5fa.(none)> 1750802398 +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
- 2644f38f94173025b6b84a36d78e841aa3e4cdf0 refs/remotes/origin/development
3
- 14752ce7c3595e24fe27e312463b967611bffc99 refs/remotes/origin/master
2
+ 08fd7fd2e52f2718155d68f541842535a3261ebd refs/remotes/origin/development
3
+ 2644f38f94173025b6b84a36d78e841aa3e4cdf0 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
@@ -93,6 +93,7 @@ f9539f7781664eb4681b99f12cbcc5d613e241ab refs/tags/v14.2.0
93
93
  62c533550923a4c70e3d362cc18e49bb49b51392 refs/tags/v14.22.0
94
94
  ef05b645232a60509f537214649da332c37ce21f refs/tags/v14.23.0
95
95
  14752ce7c3595e24fe27e312463b967611bffc99 refs/tags/v14.24.0
96
+ 2644f38f94173025b6b84a36d78e841aa3e4cdf0 refs/tags/v14.25.0
96
97
  435ad5faee6a7b0f94295b5d5fe9060611a81df3 refs/tags/v14.3.0
97
98
  90b476259dcfed955ebd9339fbe2bbb0c2086b6d refs/tags/v14.4.0
98
99
  f5e3068d4f6c73c93d409699726cc9fb3c5cf482 refs/tags/v14.5.0
@@ -1 +1 @@
1
- 2644f38f94173025b6b84a36d78e841aa3e4cdf0
1
+ 08fd7fd2e52f2718155d68f541842535a3261ebd
data/lib/grpc/plumbing.rb CHANGED
@@ -79,8 +79,6 @@ require_relative "./secret_store_healths_pb"
79
79
  require_relative "./secret_stores_history_pb"
80
80
  require_relative "./workflow_approvers_pb"
81
81
  require_relative "./workflow_approvers_history_pb"
82
- require_relative "./workflow_assignments_pb"
83
- require_relative "./workflow_assignments_history_pb"
84
82
  require_relative "./workflow_roles_pb"
85
83
  require_relative "./workflow_roles_history_pb"
86
84
  require_relative "./workflows_pb"
@@ -17099,150 +17097,6 @@ module SDM
17099
17097
  end
17100
17098
  items
17101
17099
  end
17102
- def self.convert_workflow_assignment_to_porcelain(plumbing)
17103
- if plumbing == nil
17104
- return nil
17105
- end
17106
- porcelain = WorkflowAssignment.new()
17107
- porcelain.resource_id = (plumbing.resource_id)
17108
- porcelain.workflow_id = (plumbing.workflow_id)
17109
- porcelain
17110
- end
17111
-
17112
- def self.convert_workflow_assignment_to_plumbing(porcelain)
17113
- if porcelain == nil
17114
- return nil
17115
- end
17116
- plumbing = V1::WorkflowAssignment.new()
17117
- plumbing.resource_id = (porcelain.resource_id)
17118
- plumbing.workflow_id = (porcelain.workflow_id)
17119
- plumbing
17120
- end
17121
- def self.convert_repeated_workflow_assignment_to_plumbing(porcelains)
17122
- items = Array.new
17123
- porcelains.each do |porcelain|
17124
- plumbing = convert_workflow_assignment_to_plumbing(porcelain)
17125
- items.append(plumbing)
17126
- end
17127
- items
17128
- end
17129
-
17130
- def self.convert_repeated_workflow_assignment_to_porcelain(plumbings)
17131
- items = Array.new
17132
- plumbings.each do |plumbing|
17133
- porcelain = convert_workflow_assignment_to_porcelain(plumbing)
17134
- items.append(porcelain)
17135
- end
17136
- items
17137
- end
17138
- def self.convert_workflow_assignment_history_to_porcelain(plumbing)
17139
- if plumbing == nil
17140
- return nil
17141
- end
17142
- porcelain = WorkflowAssignmentHistory.new()
17143
- porcelain.activity_id = (plumbing.activity_id)
17144
- porcelain.deleted_at = convert_timestamp_to_porcelain(plumbing.deleted_at)
17145
- porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
17146
- porcelain.workflow_assignment = convert_workflow_assignment_to_porcelain(plumbing.workflow_assignment)
17147
- porcelain
17148
- end
17149
-
17150
- def self.convert_workflow_assignment_history_to_plumbing(porcelain)
17151
- if porcelain == nil
17152
- return nil
17153
- end
17154
- plumbing = V1::WorkflowAssignmentHistory.new()
17155
- plumbing.activity_id = (porcelain.activity_id)
17156
- plumbing.deleted_at = convert_timestamp_to_plumbing(porcelain.deleted_at)
17157
- plumbing.timestamp = convert_timestamp_to_plumbing(porcelain.timestamp)
17158
- plumbing.workflow_assignment = convert_workflow_assignment_to_plumbing(porcelain.workflow_assignment)
17159
- plumbing
17160
- end
17161
- def self.convert_repeated_workflow_assignment_history_to_plumbing(porcelains)
17162
- items = Array.new
17163
- porcelains.each do |porcelain|
17164
- plumbing = convert_workflow_assignment_history_to_plumbing(porcelain)
17165
- items.append(plumbing)
17166
- end
17167
- items
17168
- end
17169
-
17170
- def self.convert_repeated_workflow_assignment_history_to_porcelain(plumbings)
17171
- items = Array.new
17172
- plumbings.each do |plumbing|
17173
- porcelain = convert_workflow_assignment_history_to_porcelain(plumbing)
17174
- items.append(porcelain)
17175
- end
17176
- items
17177
- end
17178
- def self.convert_workflow_assignments_list_request_to_porcelain(plumbing)
17179
- if plumbing == nil
17180
- return nil
17181
- end
17182
- porcelain = WorkflowAssignmentsListRequest.new()
17183
- porcelain.filter = (plumbing.filter)
17184
- porcelain
17185
- end
17186
-
17187
- def self.convert_workflow_assignments_list_request_to_plumbing(porcelain)
17188
- if porcelain == nil
17189
- return nil
17190
- end
17191
- plumbing = V1::WorkflowAssignmentsListRequest.new()
17192
- plumbing.filter = (porcelain.filter)
17193
- plumbing
17194
- end
17195
- def self.convert_repeated_workflow_assignments_list_request_to_plumbing(porcelains)
17196
- items = Array.new
17197
- porcelains.each do |porcelain|
17198
- plumbing = convert_workflow_assignments_list_request_to_plumbing(porcelain)
17199
- items.append(plumbing)
17200
- end
17201
- items
17202
- end
17203
-
17204
- def self.convert_repeated_workflow_assignments_list_request_to_porcelain(plumbings)
17205
- items = Array.new
17206
- plumbings.each do |plumbing|
17207
- porcelain = convert_workflow_assignments_list_request_to_porcelain(plumbing)
17208
- items.append(porcelain)
17209
- end
17210
- items
17211
- end
17212
- def self.convert_workflow_assignments_list_response_to_porcelain(plumbing)
17213
- if plumbing == nil
17214
- return nil
17215
- end
17216
- porcelain = WorkflowAssignmentsListResponse.new()
17217
- porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
17218
- porcelain
17219
- end
17220
-
17221
- def self.convert_workflow_assignments_list_response_to_plumbing(porcelain)
17222
- if porcelain == nil
17223
- return nil
17224
- end
17225
- plumbing = V1::WorkflowAssignmentsListResponse.new()
17226
- plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
17227
- plumbing
17228
- end
17229
- def self.convert_repeated_workflow_assignments_list_response_to_plumbing(porcelains)
17230
- items = Array.new
17231
- porcelains.each do |porcelain|
17232
- plumbing = convert_workflow_assignments_list_response_to_plumbing(porcelain)
17233
- items.append(plumbing)
17234
- end
17235
- items
17236
- end
17237
-
17238
- def self.convert_repeated_workflow_assignments_list_response_to_porcelain(plumbings)
17239
- items = Array.new
17240
- plumbings.each do |plumbing|
17241
- porcelain = convert_workflow_assignments_list_response_to_porcelain(plumbing)
17242
- items.append(porcelain)
17243
- end
17244
- items
17245
- end
17246
17100
  def self.convert_workflow_create_response_to_porcelain(plumbing)
17247
17101
  if plumbing == nil
17248
17102
  return nil
@@ -15841,106 +15841,6 @@ module SDM
15841
15841
  end
15842
15842
  end
15843
15843
 
15844
- # WorkflowAssignment links a Resource to a Workflow. The assigned resources are those that a user can request
15845
- # access to via the workflow.
15846
- class WorkflowAssignment
15847
- # The resource id.
15848
- attr_accessor :resource_id
15849
- # The workflow id.
15850
- attr_accessor :workflow_id
15851
-
15852
- def initialize(
15853
- resource_id: nil,
15854
- workflow_id: nil
15855
- )
15856
- @resource_id = resource_id == nil ? "" : resource_id
15857
- @workflow_id = workflow_id == nil ? "" : workflow_id
15858
- end
15859
-
15860
- def to_json(options = {})
15861
- hash = {}
15862
- self.instance_variables.each do |var|
15863
- hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
15864
- end
15865
- hash.to_json
15866
- end
15867
- end
15868
-
15869
- # WorkflowAssignmentsHistory provides records of all changes to the state of a WorkflowAssignment.
15870
- class WorkflowAssignmentHistory
15871
- # The unique identifier of the Activity that produced this change to the WorkflowAssignment.
15872
- # May be empty for some system-initiated updates.
15873
- attr_accessor :activity_id
15874
- # If this WorkflowAssignment was deleted, the time it was deleted.
15875
- attr_accessor :deleted_at
15876
- # The time at which the WorkflowAssignment state was recorded.
15877
- attr_accessor :timestamp
15878
- # The complete WorkflowAssignment state at this time.
15879
- attr_accessor :workflow_assignment
15880
-
15881
- def initialize(
15882
- activity_id: nil,
15883
- deleted_at: nil,
15884
- timestamp: nil,
15885
- workflow_assignment: nil
15886
- )
15887
- @activity_id = activity_id == nil ? "" : activity_id
15888
- @deleted_at = deleted_at == nil ? nil : deleted_at
15889
- @timestamp = timestamp == nil ? nil : timestamp
15890
- @workflow_assignment = workflow_assignment == nil ? nil : workflow_assignment
15891
- end
15892
-
15893
- def to_json(options = {})
15894
- hash = {}
15895
- self.instance_variables.each do |var|
15896
- hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
15897
- end
15898
- hash.to_json
15899
- end
15900
- end
15901
-
15902
- # WorkflowAssignmentsListRequest specifies criteria for retrieving a list of
15903
- # WorkflowAssignment records
15904
- class WorkflowAssignmentsListRequest
15905
- # A human-readable filter query string.
15906
- attr_accessor :filter
15907
-
15908
- def initialize(
15909
- filter: nil
15910
- )
15911
- @filter = filter == nil ? "" : filter
15912
- end
15913
-
15914
- def to_json(options = {})
15915
- hash = {}
15916
- self.instance_variables.each do |var|
15917
- hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
15918
- end
15919
- hash.to_json
15920
- end
15921
- end
15922
-
15923
- # WorkflowAssignmentsListResponse returns a list of WorkflowAssignment records that meet
15924
- # the criteria of a WorkflowAssignmentsListRequest.
15925
- class WorkflowAssignmentsListResponse
15926
- # Rate limit information.
15927
- attr_accessor :rate_limit
15928
-
15929
- def initialize(
15930
- rate_limit: nil
15931
- )
15932
- @rate_limit = rate_limit == nil ? nil : rate_limit
15933
- end
15934
-
15935
- def to_json(options = {})
15936
- hash = {}
15937
- self.instance_variables.each do |var|
15938
- hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
15939
- end
15940
- hash.to_json
15941
- end
15942
- end
15943
-
15944
15844
  # WorkflowCreateResponse reports how the Workflow was created in the system.
15945
15845
  class WorkflowCreateResponse
15946
15846
  # Rate limit information.
data/lib/strongdm.rb CHANGED
@@ -30,7 +30,7 @@ module SDM #:nodoc:
30
30
  DEFAULT_RETRY_FACTOR = 1.6
31
31
  DEFAULT_RETRY_JITTER = 0.2
32
32
  API_VERSION = "2025-04-14"
33
- USER_AGENT = "strongdm-sdk-ruby/14.25.0"
33
+ USER_AGENT = "strongdm-sdk-ruby/15.0.0"
34
34
  private_constant :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :DEFAULT_RETRY_FACTOR, :DEFAULT_RETRY_JITTER, :API_VERSION, :USER_AGENT
35
35
 
36
36
  # Creates a new strongDM API client.
@@ -111,8 +111,6 @@ module SDM #:nodoc:
111
111
  @secret_stores_history = SecretStoresHistory.new(@channel, self)
112
112
  @workflow_approvers = WorkflowApprovers.new(@channel, self)
113
113
  @workflow_approvers_history = WorkflowApproversHistory.new(@channel, self)
114
- @workflow_assignments = WorkflowAssignments.new(@channel, self)
115
- @workflow_assignments_history = WorkflowAssignmentsHistory.new(@channel, self)
116
114
  @workflow_roles = WorkflowRoles.new(@channel, self)
117
115
  @workflow_roles_history = WorkflowRolesHistory.new(@channel, self)
118
116
  @workflows = Workflows.new(@channel, self)
@@ -471,15 +469,6 @@ module SDM #:nodoc:
471
469
  #
472
470
  # See {WorkflowApproversHistory}.
473
471
  attr_reader :workflow_approvers_history
474
- # WorkflowAssignments links a Resource to a Workflow. The assigned resources are those that a user can request
475
- # access to via the workflow.
476
- #
477
- # See {WorkflowAssignments}.
478
- attr_reader :workflow_assignments
479
- # WorkflowAssignmentsHistory provides records of all changes to the state of a WorkflowAssignment.
480
- #
481
- # See {WorkflowAssignmentsHistory}.
482
- attr_reader :workflow_assignments_history
483
472
  # WorkflowRole links a role to a workflow. The linked roles indicate which roles a user must be a part of
484
473
  # to request access to a resource via the workflow.
485
474
  #
@@ -561,8 +550,6 @@ module SDM #:nodoc:
561
550
  @secret_stores_history = SecretStoresHistory.new(@channel, self)
562
551
  @workflow_approvers = WorkflowApprovers.new(@channel, self)
563
552
  @workflow_approvers_history = WorkflowApproversHistory.new(@channel, self)
564
- @workflow_assignments = WorkflowAssignments.new(@channel, self)
565
- @workflow_assignments_history = WorkflowAssignmentsHistory.new(@channel, self)
566
553
  @workflow_roles = WorkflowRoles.new(@channel, self)
567
554
  @workflow_roles_history = WorkflowRolesHistory.new(@channel, self)
568
555
  @workflows = Workflows.new(@channel, self)
@@ -594,7 +581,6 @@ module SDM #:nodoc:
594
581
  @roles = SnapshotRoles.new(client.roles)
595
582
  @secret_stores = SnapshotSecretStores.new(client.secret_stores)
596
583
  @workflow_approvers = SnapshotWorkflowApprovers.new(client.workflow_approvers)
597
- @workflow_assignments = SnapshotWorkflowAssignments.new(client.workflow_assignments)
598
584
  @workflow_roles = SnapshotWorkflowRoles.new(client.workflow_roles)
599
585
  @workflows = SnapshotWorkflows.new(client.workflows)
600
586
  end
@@ -701,11 +687,6 @@ module SDM #:nodoc:
701
687
  #
702
688
  # See {SnapshotWorkflowApprovers}.
703
689
  attr_reader :workflow_approvers
704
- # WorkflowAssignments links a Resource to a Workflow. The assigned resources are those that a user can request
705
- # access to via the workflow.
706
- #
707
- # See {SnapshotWorkflowAssignments}.
708
- attr_reader :workflow_assignments
709
690
  # WorkflowRole links a role to a workflow. The linked roles indicate which roles a user must be a part of
710
691
  # to request access to a resource via the workflow.
711
692
  #
data/lib/svc.rb CHANGED
@@ -6742,140 +6742,6 @@ module SDM #:nodoc:
6742
6742
  end
6743
6743
  end
6744
6744
 
6745
- # WorkflowAssignments links a Resource to a Workflow. The assigned resources are those that a user can request
6746
- # access to via the workflow.
6747
- #
6748
- # See {WorkflowAssignment}.
6749
- class WorkflowAssignments
6750
- extend Gem::Deprecate
6751
-
6752
- def initialize(channel, parent)
6753
- begin
6754
- @stub = V1::WorkflowAssignments::Stub.new(nil, nil, channel_override: channel)
6755
- rescue => exception
6756
- raise Plumbing::convert_error_to_porcelain(exception)
6757
- end
6758
- @parent = parent
6759
- end
6760
-
6761
- # Lists existing workflow assignments.
6762
- def list(
6763
- filter,
6764
- *args,
6765
- deadline: nil
6766
- )
6767
- req = V1::WorkflowAssignmentsListRequest.new()
6768
- req.meta = V1::ListRequestMetadata.new()
6769
- if not @parent.page_limit.nil?
6770
- req.meta.limit = @parent.page_limit
6771
- end
6772
- if not @parent.snapshot_time.nil?
6773
- req.meta.snapshot_at = @parent.snapshot_time
6774
- end
6775
-
6776
- req.filter = Plumbing::quote_filter_args(filter, *args)
6777
- resp = Enumerator::Generator.new { |g|
6778
- tries = 0
6779
- loop do
6780
- begin
6781
- plumbing_response = @stub.list(req, metadata: @parent.get_metadata("WorkflowAssignments.List", req), deadline: deadline)
6782
- rescue => exception
6783
- if (@parent.shouldRetry(tries, exception, deadline))
6784
- tries + +sleep(@parent.exponentialBackoff(tries, deadline))
6785
- next
6786
- end
6787
- raise Plumbing::convert_error_to_porcelain(exception)
6788
- end
6789
- tries = 0
6790
- plumbing_response.workflow_assignments.each do |plumbing_item|
6791
- g.yield Plumbing::convert_workflow_assignment_to_porcelain(plumbing_item)
6792
- end
6793
- break if plumbing_response.meta.next_cursor == ""
6794
- req.meta.cursor = plumbing_response.meta.next_cursor
6795
- end
6796
- }
6797
- resp
6798
- end
6799
- end
6800
-
6801
- # SnapshotWorkflowAssignments exposes the read only methods of the WorkflowAssignments
6802
- # service for historical queries.
6803
- class SnapshotWorkflowAssignments
6804
- extend Gem::Deprecate
6805
-
6806
- def initialize(workflow_assignments)
6807
- @workflow_assignments = workflow_assignments
6808
- end
6809
-
6810
- # Lists existing workflow assignments.
6811
- def list(
6812
- filter,
6813
- *args,
6814
- deadline: nil
6815
- )
6816
- return @workflow_assignments.list(
6817
- filter,
6818
- *args,
6819
- deadline: deadline,
6820
- )
6821
- end
6822
- end
6823
-
6824
- # WorkflowAssignmentsHistory provides records of all changes to the state of a WorkflowAssignment.
6825
- #
6826
- # See {WorkflowAssignmentHistory}.
6827
- class WorkflowAssignmentsHistory
6828
- extend Gem::Deprecate
6829
-
6830
- def initialize(channel, parent)
6831
- begin
6832
- @stub = V1::WorkflowAssignmentsHistory::Stub.new(nil, nil, channel_override: channel)
6833
- rescue => exception
6834
- raise Plumbing::convert_error_to_porcelain(exception)
6835
- end
6836
- @parent = parent
6837
- end
6838
-
6839
- # List gets a list of WorkflowAssignmentsHistory records matching a given set of criteria.
6840
- def list(
6841
- filter,
6842
- *args,
6843
- deadline: nil
6844
- )
6845
- req = V1::WorkflowAssignmentsHistoryListRequest.new()
6846
- req.meta = V1::ListRequestMetadata.new()
6847
- if not @parent.page_limit.nil?
6848
- req.meta.limit = @parent.page_limit
6849
- end
6850
- if not @parent.snapshot_time.nil?
6851
- req.meta.snapshot_at = @parent.snapshot_time
6852
- end
6853
-
6854
- req.filter = Plumbing::quote_filter_args(filter, *args)
6855
- resp = Enumerator::Generator.new { |g|
6856
- tries = 0
6857
- loop do
6858
- begin
6859
- plumbing_response = @stub.list(req, metadata: @parent.get_metadata("WorkflowAssignmentsHistory.List", req), deadline: deadline)
6860
- rescue => exception
6861
- if (@parent.shouldRetry(tries, exception, deadline))
6862
- tries + +sleep(@parent.exponentialBackoff(tries, deadline))
6863
- next
6864
- end
6865
- raise Plumbing::convert_error_to_porcelain(exception)
6866
- end
6867
- tries = 0
6868
- plumbing_response.history.each do |plumbing_item|
6869
- g.yield Plumbing::convert_workflow_assignment_history_to_porcelain(plumbing_item)
6870
- end
6871
- break if plumbing_response.meta.next_cursor == ""
6872
- req.meta.cursor = plumbing_response.meta.next_cursor
6873
- end
6874
- }
6875
- resp
6876
- end
6877
- end
6878
-
6879
6745
  # WorkflowRole links a role to a workflow. The linked roles indicate which roles a user must be a part of
6880
6746
  # to request access to a resource via the workflow.
6881
6747
  #
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "14.25.0"
16
+ VERSION = "15.0.0"
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 = "14.25.0"
16
+ VERSION = "15.0.0"
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: 14.25.0
4
+ version: 15.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: 2025-06-20 00:00:00.000000000 Z
11
+ date: 2025-06-24 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-da0df88fcc6489834c037e3692d7c8d14eda205c.idx"
85
- - "./.git/objects/pack/pack-da0df88fcc6489834c037e3692d7c8d14eda205c.pack"
84
+ - "./.git/objects/pack/pack-bd8b8f0af38bf34b6a6b95af8d6ca3888486388c.idx"
85
+ - "./.git/objects/pack/pack-bd8b8f0af38bf34b6a6b95af8d6ca3888486388c.pack"
86
86
  - "./.git/packed-refs"
87
87
  - "./.git/refs/heads/master"
88
88
  - "./.git/refs/remotes/origin/HEAD"
@@ -208,10 +208,6 @@ files:
208
208
  - "./lib/grpc/workflow_approvers_history_services_pb.rb"
209
209
  - "./lib/grpc/workflow_approvers_pb.rb"
210
210
  - "./lib/grpc/workflow_approvers_services_pb.rb"
211
- - "./lib/grpc/workflow_assignments_history_pb.rb"
212
- - "./lib/grpc/workflow_assignments_history_services_pb.rb"
213
- - "./lib/grpc/workflow_assignments_pb.rb"
214
- - "./lib/grpc/workflow_assignments_services_pb.rb"
215
211
  - "./lib/grpc/workflow_roles_history_pb.rb"
216
212
  - "./lib/grpc/workflow_roles_history_services_pb.rb"
217
213
  - "./lib/grpc/workflow_roles_pb.rb"
@@ -1,49 +0,0 @@
1
- # Copyright 2020 StrongDM Inc
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
- #
15
- # Generated by the protocol buffer compiler. DO NOT EDIT!
16
- # source: workflow_assignments_history.proto
17
-
18
- require "google/protobuf"
19
-
20
- require "google/protobuf/timestamp_pb"
21
- require "workflow_assignments_pb"
22
- require "options_pb"
23
- require "spec_pb"
24
-
25
- Google::Protobuf::DescriptorPool.generated_pool.build do
26
- add_file("workflow_assignments_history.proto", :syntax => :proto3) do
27
- add_message "v1.WorkflowAssignmentsHistoryListRequest" do
28
- optional :meta, :message, 1, "v1.ListRequestMetadata"
29
- optional :filter, :string, 2
30
- end
31
- add_message "v1.WorkflowAssignmentsHistoryListResponse" do
32
- optional :meta, :message, 1, "v1.ListResponseMetadata"
33
- repeated :history, :message, 2, "v1.WorkflowAssignmentHistory"
34
- optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
35
- end
36
- add_message "v1.WorkflowAssignmentHistory" do
37
- optional :activity_id, :string, 1
38
- optional :timestamp, :message, 2, "google.protobuf.Timestamp"
39
- optional :workflow_assignment, :message, 3, "v1.WorkflowAssignment"
40
- optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
41
- end
42
- end
43
- end
44
-
45
- module V1
46
- WorkflowAssignmentsHistoryListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowAssignmentsHistoryListRequest").msgclass
47
- WorkflowAssignmentsHistoryListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowAssignmentsHistoryListResponse").msgclass
48
- WorkflowAssignmentHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowAssignmentHistory").msgclass
49
- end
@@ -1,37 +0,0 @@
1
- # Copyright 2020 StrongDM Inc
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
- #
15
- # Generated by the protocol buffer compiler. DO NOT EDIT!
16
- # Source: workflow_assignments_history.proto for package 'v1'
17
-
18
- require "grpc"
19
- require "workflow_assignments_history_pb"
20
-
21
- module V1
22
- module WorkflowAssignmentsHistory
23
- # WorkflowAssignmentsHistory provides records of all changes to the state of a WorkflowAssignment.
24
- class Service
25
- include ::GRPC::GenericService
26
-
27
- self.marshal_class_method = :encode
28
- self.unmarshal_class_method = :decode
29
- self.service_name = "v1.WorkflowAssignmentsHistory"
30
-
31
- # List gets a list of WorkflowAssignmentsHistory records matching a given set of criteria.
32
- rpc :List, ::V1::WorkflowAssignmentsHistoryListRequest, ::V1::WorkflowAssignmentsHistoryListResponse
33
- end
34
-
35
- Stub = Service.rpc_stub_class
36
- end
37
- end
@@ -1,45 +0,0 @@
1
- # Copyright 2020 StrongDM Inc
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
- #
15
- # Generated by the protocol buffer compiler. DO NOT EDIT!
16
- # source: workflow_assignments.proto
17
-
18
- require "google/protobuf"
19
-
20
- require "options_pb"
21
- require "spec_pb"
22
-
23
- Google::Protobuf::DescriptorPool.generated_pool.build do
24
- add_file("workflow_assignments.proto", :syntax => :proto3) do
25
- add_message "v1.WorkflowAssignmentsListRequest" do
26
- optional :meta, :message, 1, "v1.ListRequestMetadata"
27
- optional :filter, :string, 2
28
- end
29
- add_message "v1.WorkflowAssignmentsListResponse" do
30
- optional :meta, :message, 1, "v1.ListResponseMetadata"
31
- repeated :workflow_assignments, :message, 2, "v1.WorkflowAssignment"
32
- optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
33
- end
34
- add_message "v1.WorkflowAssignment" do
35
- optional :workflow_id, :string, 2
36
- optional :resource_id, :string, 3
37
- end
38
- end
39
- end
40
-
41
- module V1
42
- WorkflowAssignmentsListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowAssignmentsListRequest").msgclass
43
- WorkflowAssignmentsListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowAssignmentsListResponse").msgclass
44
- WorkflowAssignment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.WorkflowAssignment").msgclass
45
- end
@@ -1,38 +0,0 @@
1
- # Copyright 2020 StrongDM Inc
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
- #
15
- # Generated by the protocol buffer compiler. DO NOT EDIT!
16
- # Source: workflow_assignments.proto for package 'v1'
17
-
18
- require "grpc"
19
- require "workflow_assignments_pb"
20
-
21
- module V1
22
- module WorkflowAssignments
23
- # WorkflowAssignments links a Resource to a Workflow. The assigned resources are those that a user can request
24
- # access to via the workflow.
25
- class Service
26
- include ::GRPC::GenericService
27
-
28
- self.marshal_class_method = :encode
29
- self.unmarshal_class_method = :decode
30
- self.service_name = "v1.WorkflowAssignments"
31
-
32
- # Lists existing workflow assignments.
33
- rpc :List, ::V1::WorkflowAssignmentsListRequest, ::V1::WorkflowAssignmentsListResponse
34
- end
35
-
36
- Stub = Service.rpc_stub_class
37
- end
38
- end