strongdm 14.25.0 → 15.1.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-da0df88fcc6489834c037e3692d7c8d14eda205c.idx → pack-260518a45e53ce31a7d2f4aa33bc6fda08677d0f.idx} +0 -0
- data/.git/objects/pack/{pack-da0df88fcc6489834c037e3692d7c8d14eda205c.pack → pack-260518a45e53ce31a7d2f4aa33bc6fda08677d0f.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +23 -0
- data/lib/grpc/plumbing.rb +0 -146
- data/lib/models/porcelain.rb +0 -101
- data/lib/strongdm.rb +1 -20
- data/lib/svc.rb +0 -134
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -8
- data/lib/grpc/workflow_assignments_history_pb.rb +0 -49
- data/lib/grpc/workflow_assignments_history_services_pb.rb +0 -37
- data/lib/grpc/workflow_assignments_pb.rb +0 -45
- data/lib/grpc/workflow_assignments_services_pb.rb +0 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 011a05315cc6619ce588922a20caef4cbc13f0ed40a11fb9927616a532b07747
|
4
|
+
data.tar.gz: 4d83e50204c3319c642f88599097b4c211f8799a6bf16b9629c48629ad987b2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ce56c3487670c412e20ff0e86c665e1f5889a9e18f62c60431d811a340f06756c23e1a403e95fde1adf17686b048ea8f7ff42a9059dc29c1882b7eba0089898
|
7
|
+
data.tar.gz: b7a0b9399241b42a0ed79dea851fa593b32aa3a48922cfeab5fa4aa8f939166cbb29caa792f265746599c5685c685f5145afecf27aa4aa2244e13c83c4f388ba
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
08fd7fd2e52f2718155d68f541842535a3261ebd
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 08fd7fd2e52f2718155d68f541842535a3261ebd root <root@57a7ed0689f1.(none)> 1750812086 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
08fd7fd2e52f2718155d68f541842535a3261ebd 08fd7fd2e52f2718155d68f541842535a3261ebd root <root@57a7ed0689f1.(none)> 1750812086 +0000 checkout: moving from master to master
|
3
|
+
08fd7fd2e52f2718155d68f541842535a3261ebd 28d4387142c309e532c47f809e4ef3c80150f523 root <root@57a7ed0689f1.(none)> 1750812086 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 08fd7fd2e52f2718155d68f541842535a3261ebd root <root@57a7ed0689f1.(none)> 1750812086 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
08fd7fd2e52f2718155d68f541842535a3261ebd 28d4387142c309e532c47f809e4ef3c80150f523 root <root@57a7ed0689f1.(none)> 1750812086 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 08fd7fd2e52f2718155d68f541842535a3261ebd root <root@57a7ed0689f1.(none)> 1750812086 +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
|
+
28d4387142c309e532c47f809e4ef3c80150f523 refs/remotes/origin/development
|
3
|
+
08fd7fd2e52f2718155d68f541842535a3261ebd 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
|
@@ -100,6 +101,7 @@ f5e3068d4f6c73c93d409699726cc9fb3c5cf482 refs/tags/v14.5.0
|
|
100
101
|
5554cde11e3792c6d87dcf3c213c8671e51626d5 refs/tags/v14.7.0
|
101
102
|
1b041fbccb35f138ec614b2fad0bf6c7f321e21c refs/tags/v14.8.0
|
102
103
|
5c3dad71c286baa1fed7056f23334ecfbf114abc refs/tags/v14.9.0
|
104
|
+
08fd7fd2e52f2718155d68f541842535a3261ebd refs/tags/v15.0.0
|
103
105
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
104
106
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
105
107
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
28d4387142c309e532c47f809e4ef3c80150f523
|
data/lib/constants.rb
CHANGED
@@ -124,6 +124,11 @@ module SDM
|
|
124
124
|
PEERING_GROUP_NODE = "peering_group_node"
|
125
125
|
PEERING_GROUP_RESOURCE = "peering_group_resource"
|
126
126
|
PEERING_GROUP_PEER = "peering_group_peer"
|
127
|
+
ORG_INTEGRATION = "org_integration"
|
128
|
+
CREDENTIAL = "credential"
|
129
|
+
CERTIFICATE_AUTHORITY = "certificate_authority"
|
130
|
+
POLICY = "policy"
|
131
|
+
PROXY_CLUSTER_KEY = "proxy_cluster_key"
|
127
132
|
end
|
128
133
|
|
129
134
|
# Activity Verbs, describe which kind of activity has taken place.
|
@@ -322,12 +327,28 @@ module SDM
|
|
322
327
|
RESOURCE_UNLOCKED = "user unlocked a resource"
|
323
328
|
RESOURCE_FORCE_UNLOCKED = "admin force-unlocked a resource"
|
324
329
|
CONCURRENT_AUTHENTICATION_REVOKED_PER_ORG_SETTING = "concurrent authentications revoked per organization settings"
|
330
|
+
PEERING_GROUP_TOGGLED = "peering group toggled"
|
331
|
+
PEERING_GROUP_CREATED = "peering group created"
|
332
|
+
PEERING_GROUP_DELETED = "peering group deleted"
|
333
|
+
PEERING_GROUP_LINKED = "peering groups linked"
|
334
|
+
PEERING_GROUP_UNLINKED = "peering groups unlinked"
|
335
|
+
PEERING_GROUP_ATTACHED = "entity attached to peering group"
|
336
|
+
PEERING_GROUP_DETACHED = "entity detached from peering group"
|
325
337
|
ORG_INTEGRATION_INSTALLED = "org integration installed"
|
326
338
|
USER_INTEGRATION_AUTHORIZED = "user authorized integration"
|
327
339
|
ORG_INTEGRATION_UNINSTALLED = "org integration uninstalled"
|
328
340
|
USER_INTEGRATION_DEAUTHORIZED = "user deauthorized integration"
|
329
341
|
SERVICE_NOW_TOKEN_ADDED = "ServiceNow token created"
|
330
342
|
SERVICE_NOW_TOKEN_DELETED = "ServiceNow token deleted"
|
343
|
+
CREDENTIAL_CREATED = "credential created"
|
344
|
+
CREDENTIAL_DELETED = "credential deleted"
|
345
|
+
CERTIFICATE_AUTHORITY_UPDATED = "certificate authority updated"
|
346
|
+
POLICY_CREATED = "policy created"
|
347
|
+
POLICY_UPDATED = "policy updated"
|
348
|
+
POLICY_DELETED = "policy deleted"
|
349
|
+
AUTHENTICATION_REVOKED_BY_POLICY = "authentication revoked by policy"
|
350
|
+
PROXY_CLUSTER_KEY_CREATED = "proxy cluster key created"
|
351
|
+
PROXY_CLUSTER_KEY_DELETED = "proxy cluster key deleted"
|
331
352
|
MANAGED_SECRET_CREATED = "managed secret created"
|
332
353
|
MANAGED_SECRET_UPDATED = "managed secret updated"
|
333
354
|
MANAGED_SECRET_EXPIRATION_TIME_UPDATED = "managed secret expiration time updated"
|
@@ -419,6 +440,8 @@ module SDM
|
|
419
440
|
BILLING_READ = "billing:read"
|
420
441
|
CREDENTIAL_READ = "credential:read"
|
421
442
|
CREDENTIAL_WRITE = "credential:write"
|
443
|
+
POLICY_READ = "policy:read"
|
444
|
+
POLICY_WRITE = "policy:write"
|
422
445
|
MANAGED_SECRET_CREATE = "managedsecret:create"
|
423
446
|
MANAGED_SECRET_LIST = "managedsecret:list"
|
424
447
|
MANAGED_SECRET_DELETE = "managedsecret:delete"
|
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
|
data/lib/models/porcelain.rb
CHANGED
@@ -1950,7 +1950,6 @@ module SDM
|
|
1950
1950
|
end
|
1951
1951
|
end
|
1952
1952
|
|
1953
|
-
# Aerospike is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
1954
1953
|
class Aerospike
|
1955
1954
|
# 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.
|
1956
1955
|
attr_accessor :bind_interface
|
@@ -15841,106 +15840,6 @@ module SDM
|
|
15841
15840
|
end
|
15842
15841
|
end
|
15843
15842
|
|
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
15843
|
# WorkflowCreateResponse reports how the Workflow was created in the system.
|
15945
15844
|
class WorkflowCreateResponse
|
15946
15845
|
# 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/
|
33
|
+
USER_AGENT = "strongdm-sdk-ruby/15.1.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
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongdm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 15.1.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-
|
11
|
+
date: 2025-06-25 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-260518a45e53ce31a7d2f4aa33bc6fda08677d0f.idx"
|
85
|
+
- "./.git/objects/pack/pack-260518a45e53ce31a7d2f4aa33bc6fda08677d0f.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
|