strongdm 3.3.2 → 3.5.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-583241b1feb5d3f1bb783f96ef7095fc246598d0.idx → pack-22bf2ffc59ed62c6a1cc735d89f3fcbc93552690.idx} +0 -0
- data/.git/objects/pack/{pack-583241b1feb5d3f1bb783f96ef7095fc246598d0.pack → pack-22bf2ffc59ed62c6a1cc735d89f3fcbc93552690.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/accounts_pb.rb +2 -0
- data/lib/grpc/nodes_pb.rb +6 -0
- data/lib/grpc/plumbing.rb +20 -0
- data/lib/grpc/roles_pb.rb +2 -1
- data/lib/models/porcelain.rb +48 -2
- 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: eb6f505400b8b6c5710dbc854055f1d2178df204ff75863655d5126e76e73e3a
|
|
4
|
+
data.tar.gz: aa8137e2c86546358948f6ad254d8e133cfa8bf6dd0d9b3834afafe17d474ceb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b7270d476d1b60443cb89d1b9dd07931a825c2362fdfcdb15ba72d3c34bbe486b1e311867e1cbd6f5d147824c8402206008b9201fa8d31191478e6e9c701fa2
|
|
7
|
+
data.tar.gz: 75672cb02e8bea1b6725042a03029683a89f9626a3bde1658646f628fa6a6f9ac018f8519748246e51ff54fe425c34023e895e4f52cfc40a1b2770abef8154dd
|
data/.git/ORIG_HEAD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c07c84aa4982d50d60f10720b331c76f56f8c53f
|
data/.git/index
CHANGED
|
Binary file
|
data/.git/logs/HEAD
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 c07c84aa4982d50d60f10720b331c76f56f8c53f sdmrelease <support@strongdm.com> 1668525718 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
c07c84aa4982d50d60f10720b331c76f56f8c53f c07c84aa4982d50d60f10720b331c76f56f8c53f sdmrelease <support@strongdm.com> 1668525718 +0000 checkout: moving from master to master
|
|
3
|
+
c07c84aa4982d50d60f10720b331c76f56f8c53f bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 sdmrelease <support@strongdm.com> 1668525718 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
2
|
-
|
|
1
|
+
0000000000000000000000000000000000000000 c07c84aa4982d50d60f10720b331c76f56f8c53f sdmrelease <support@strongdm.com> 1668525718 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
|
2
|
+
c07c84aa4982d50d60f10720b331c76f56f8c53f bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 sdmrelease <support@strongdm.com> 1668525718 +0000 merge origin/development: Fast-forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000
|
|
1
|
+
0000000000000000000000000000000000000000 c07c84aa4982d50d60f10720b331c76f56f8c53f sdmrelease <support@strongdm.com> 1668525718 +0000 clone: from git@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
|
+
bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 refs/remotes/origin/development
|
|
3
|
+
c07c84aa4982d50d60f10720b331c76f56f8c53f 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
|
|
@@ -48,3 +48,4 @@ dd6a8a74ad5675831f42e3a820208e96f7361f80 refs/tags/v3.2.1
|
|
|
48
48
|
d0ae780dd221eab9c3108d74697661483c1e1085 refs/tags/v3.2.3
|
|
49
49
|
390199f6fe9dc45de4cd68aae9f5a433228506f5 refs/tags/v3.3.0
|
|
50
50
|
f99114303af624f557c49036ef7e65c4cdfdb862 refs/tags/v3.3.1
|
|
51
|
+
c07c84aa4982d50d60f10720b331c76f56f8c53f refs/tags/v3.3.2
|
data/.git/refs/heads/master
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2
|
data/lib/grpc/accounts_pb.rb
CHANGED
|
@@ -82,6 +82,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
82
82
|
optional :suspended, :bool, 5
|
|
83
83
|
optional :tags, :message, 6, "v1.Tags"
|
|
84
84
|
optional :permission_level, :string, 7
|
|
85
|
+
optional :managed_by, :string, 8
|
|
86
|
+
optional :external_id, :string, 9
|
|
85
87
|
end
|
|
86
88
|
add_message "v1.Service" do
|
|
87
89
|
optional :id, :string, 1
|
data/lib/grpc/nodes_pb.rb
CHANGED
|
@@ -80,6 +80,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
80
80
|
optional :state, :string, 3
|
|
81
81
|
optional :tags, :message, 4, "v1.Tags"
|
|
82
82
|
optional :gateway_filter, :string, 5
|
|
83
|
+
optional :device, :string, 6
|
|
84
|
+
optional :location, :string, 7
|
|
85
|
+
optional :version, :string, 8
|
|
83
86
|
end
|
|
84
87
|
add_message "v1.Gateway" do
|
|
85
88
|
optional :id, :string, 1
|
|
@@ -89,6 +92,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
89
92
|
optional :bind_address, :string, 5
|
|
90
93
|
optional :tags, :message, 6, "v1.Tags"
|
|
91
94
|
optional :gateway_filter, :string, 7
|
|
95
|
+
optional :device, :string, 8
|
|
96
|
+
optional :location, :string, 9
|
|
97
|
+
optional :version, :string, 10
|
|
92
98
|
end
|
|
93
99
|
end
|
|
94
100
|
end
|
data/lib/grpc/plumbing.rb
CHANGED
|
@@ -2936,12 +2936,15 @@ module SDM
|
|
|
2936
2936
|
end
|
|
2937
2937
|
porcelain = Gateway.new()
|
|
2938
2938
|
porcelain.bind_address = (plumbing.bind_address)
|
|
2939
|
+
porcelain.device = (plumbing.device)
|
|
2939
2940
|
porcelain.gateway_filter = (plumbing.gateway_filter)
|
|
2940
2941
|
porcelain.id = (plumbing.id)
|
|
2941
2942
|
porcelain.listen_address = (plumbing.listen_address)
|
|
2943
|
+
porcelain.location = (plumbing.location)
|
|
2942
2944
|
porcelain.name = (plumbing.name)
|
|
2943
2945
|
porcelain.state = (plumbing.state)
|
|
2944
2946
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
2947
|
+
porcelain.version = (plumbing.version)
|
|
2945
2948
|
porcelain
|
|
2946
2949
|
end
|
|
2947
2950
|
|
|
@@ -2951,12 +2954,15 @@ module SDM
|
|
|
2951
2954
|
end
|
|
2952
2955
|
plumbing = V1::Gateway.new()
|
|
2953
2956
|
plumbing.bind_address = (porcelain.bind_address)
|
|
2957
|
+
plumbing.device = (porcelain.device)
|
|
2954
2958
|
plumbing.gateway_filter = (porcelain.gateway_filter)
|
|
2955
2959
|
plumbing.id = (porcelain.id)
|
|
2956
2960
|
plumbing.listen_address = (porcelain.listen_address)
|
|
2961
|
+
plumbing.location = (porcelain.location)
|
|
2957
2962
|
plumbing.name = (porcelain.name)
|
|
2958
2963
|
plumbing.state = (porcelain.state)
|
|
2959
2964
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
2965
|
+
plumbing.version = (porcelain.version)
|
|
2960
2966
|
plumbing
|
|
2961
2967
|
end
|
|
2962
2968
|
def self.convert_repeated_gateway_to_plumbing(porcelains)
|
|
@@ -5141,11 +5147,14 @@ module SDM
|
|
|
5141
5147
|
return nil
|
|
5142
5148
|
end
|
|
5143
5149
|
porcelain = Relay.new()
|
|
5150
|
+
porcelain.device = (plumbing.device)
|
|
5144
5151
|
porcelain.gateway_filter = (plumbing.gateway_filter)
|
|
5145
5152
|
porcelain.id = (plumbing.id)
|
|
5153
|
+
porcelain.location = (plumbing.location)
|
|
5146
5154
|
porcelain.name = (plumbing.name)
|
|
5147
5155
|
porcelain.state = (plumbing.state)
|
|
5148
5156
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
5157
|
+
porcelain.version = (plumbing.version)
|
|
5149
5158
|
porcelain
|
|
5150
5159
|
end
|
|
5151
5160
|
|
|
@@ -5154,11 +5163,14 @@ module SDM
|
|
|
5154
5163
|
return nil
|
|
5155
5164
|
end
|
|
5156
5165
|
plumbing = V1::Relay.new()
|
|
5166
|
+
plumbing.device = (porcelain.device)
|
|
5157
5167
|
plumbing.gateway_filter = (porcelain.gateway_filter)
|
|
5158
5168
|
plumbing.id = (porcelain.id)
|
|
5169
|
+
plumbing.location = (porcelain.location)
|
|
5159
5170
|
plumbing.name = (porcelain.name)
|
|
5160
5171
|
plumbing.state = (porcelain.state)
|
|
5161
5172
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
5173
|
+
plumbing.version = (porcelain.version)
|
|
5162
5174
|
plumbing
|
|
5163
5175
|
end
|
|
5164
5176
|
def self.convert_repeated_relay_to_plumbing(porcelains)
|
|
@@ -6079,6 +6091,7 @@ module SDM
|
|
|
6079
6091
|
porcelain = Role.new()
|
|
6080
6092
|
porcelain.access_rules = convert_access_rules_to_porcelain(plumbing.access_rules)
|
|
6081
6093
|
porcelain.id = (plumbing.id)
|
|
6094
|
+
porcelain.managed_by = (plumbing.managed_by)
|
|
6082
6095
|
porcelain.name = (plumbing.name)
|
|
6083
6096
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
6084
6097
|
porcelain
|
|
@@ -6091,6 +6104,7 @@ module SDM
|
|
|
6091
6104
|
plumbing = V1::Role.new()
|
|
6092
6105
|
plumbing.access_rules = convert_access_rules_to_plumbing(porcelain.access_rules)
|
|
6093
6106
|
plumbing.id = (porcelain.id)
|
|
6107
|
+
plumbing.managed_by = (porcelain.managed_by)
|
|
6094
6108
|
plumbing.name = (porcelain.name)
|
|
6095
6109
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
6096
6110
|
plumbing
|
|
@@ -7196,9 +7210,12 @@ module SDM
|
|
|
7196
7210
|
end
|
|
7197
7211
|
porcelain = User.new()
|
|
7198
7212
|
porcelain.email = (plumbing.email)
|
|
7213
|
+
porcelain.external_id = (plumbing.external_id)
|
|
7199
7214
|
porcelain.first_name = (plumbing.first_name)
|
|
7200
7215
|
porcelain.id = (plumbing.id)
|
|
7201
7216
|
porcelain.last_name = (plumbing.last_name)
|
|
7217
|
+
porcelain.managed_by = (plumbing.managed_by)
|
|
7218
|
+
porcelain.permission_level = (plumbing.permission_level)
|
|
7202
7219
|
porcelain.suspended = (plumbing.suspended)
|
|
7203
7220
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
|
7204
7221
|
porcelain
|
|
@@ -7210,9 +7227,12 @@ module SDM
|
|
|
7210
7227
|
end
|
|
7211
7228
|
plumbing = V1::User.new()
|
|
7212
7229
|
plumbing.email = (porcelain.email)
|
|
7230
|
+
plumbing.external_id = (porcelain.external_id)
|
|
7213
7231
|
plumbing.first_name = (porcelain.first_name)
|
|
7214
7232
|
plumbing.id = (porcelain.id)
|
|
7215
7233
|
plumbing.last_name = (porcelain.last_name)
|
|
7234
|
+
plumbing.managed_by = (porcelain.managed_by)
|
|
7235
|
+
plumbing.permission_level = (porcelain.permission_level)
|
|
7216
7236
|
plumbing.suspended = (porcelain.suspended)
|
|
7217
7237
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
|
7218
7238
|
plumbing
|
data/lib/grpc/roles_pb.rb
CHANGED
|
@@ -70,8 +70,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
70
70
|
add_message "v1.Role" do
|
|
71
71
|
optional :id, :string, 1
|
|
72
72
|
optional :name, :string, 2
|
|
73
|
-
optional :access_rules, :string, 5
|
|
74
73
|
optional :tags, :message, 4, "v1.Tags"
|
|
74
|
+
optional :access_rules, :string, 5
|
|
75
|
+
optional :managed_by, :string, 6
|
|
75
76
|
end
|
|
76
77
|
end
|
|
77
78
|
end
|
data/lib/models/porcelain.rb
CHANGED
|
@@ -2891,6 +2891,9 @@ module SDM
|
|
|
2891
2891
|
# The hostname/port tuple which the gateway daemon will bind to.
|
|
2892
2892
|
# If not provided on create, set to "0.0.0.0:listen_address_port".
|
|
2893
2893
|
attr_accessor :bind_address
|
|
2894
|
+
# Device is a read only device name uploaded by the gateway process when
|
|
2895
|
+
# it comes online.
|
|
2896
|
+
attr_accessor :device
|
|
2894
2897
|
# GatewayFilter can be used to restrict the peering between relays and
|
|
2895
2898
|
# gateways.
|
|
2896
2899
|
attr_accessor :gateway_filter
|
|
@@ -2898,6 +2901,9 @@ module SDM
|
|
|
2898
2901
|
attr_accessor :id
|
|
2899
2902
|
# The public hostname/port tuple at which the gateway will be accessible to clients.
|
|
2900
2903
|
attr_accessor :listen_address
|
|
2904
|
+
# Location is a read only network location uploaded by the gateway process
|
|
2905
|
+
# when it comes online.
|
|
2906
|
+
attr_accessor :location
|
|
2901
2907
|
# Unique human-readable name of the Gateway. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
|
|
2902
2908
|
attr_accessor :name
|
|
2903
2909
|
# The current state of the gateway. One of: "new", "verifying_restart",
|
|
@@ -2905,23 +2911,32 @@ module SDM
|
|
|
2905
2911
|
attr_accessor :state
|
|
2906
2912
|
# Tags is a map of key, value pairs.
|
|
2907
2913
|
attr_accessor :tags
|
|
2914
|
+
# Version is a read only sdm binary version uploaded by the gateway process
|
|
2915
|
+
# when it comes online.
|
|
2916
|
+
attr_accessor :version
|
|
2908
2917
|
|
|
2909
2918
|
def initialize(
|
|
2910
2919
|
bind_address: nil,
|
|
2920
|
+
device: nil,
|
|
2911
2921
|
gateway_filter: nil,
|
|
2912
2922
|
id: nil,
|
|
2913
2923
|
listen_address: nil,
|
|
2924
|
+
location: nil,
|
|
2914
2925
|
name: nil,
|
|
2915
2926
|
state: nil,
|
|
2916
|
-
tags: nil
|
|
2927
|
+
tags: nil,
|
|
2928
|
+
version: nil
|
|
2917
2929
|
)
|
|
2918
2930
|
@bind_address = bind_address == nil ? "" : bind_address
|
|
2931
|
+
@device = device == nil ? "" : device
|
|
2919
2932
|
@gateway_filter = gateway_filter == nil ? "" : gateway_filter
|
|
2920
2933
|
@id = id == nil ? "" : id
|
|
2921
2934
|
@listen_address = listen_address == nil ? "" : listen_address
|
|
2935
|
+
@location = location == nil ? "" : location
|
|
2922
2936
|
@name = name == nil ? "" : name
|
|
2923
2937
|
@state = state == nil ? "" : state
|
|
2924
2938
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
2939
|
+
@version = version == nil ? "" : version
|
|
2925
2940
|
end
|
|
2926
2941
|
|
|
2927
2942
|
def to_json(options = {})
|
|
@@ -5315,11 +5330,17 @@ module SDM
|
|
|
5315
5330
|
|
|
5316
5331
|
# Relay represents a StrongDM CLI installation running in relay mode.
|
|
5317
5332
|
class Relay
|
|
5333
|
+
# Device is a read only device name uploaded by the gateway process when
|
|
5334
|
+
# it comes online.
|
|
5335
|
+
attr_accessor :device
|
|
5318
5336
|
# GatewayFilter can be used to restrict the peering between relays and
|
|
5319
5337
|
# gateways.
|
|
5320
5338
|
attr_accessor :gateway_filter
|
|
5321
5339
|
# Unique identifier of the Relay.
|
|
5322
5340
|
attr_accessor :id
|
|
5341
|
+
# Location is a read only network location uploaded by the gateway process
|
|
5342
|
+
# when it comes online.
|
|
5343
|
+
attr_accessor :location
|
|
5323
5344
|
# Unique human-readable name of the Relay. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
|
|
5324
5345
|
attr_accessor :name
|
|
5325
5346
|
# The current state of the relay. One of: "new", "verifying_restart",
|
|
@@ -5328,19 +5349,28 @@ module SDM
|
|
|
5328
5349
|
attr_accessor :state
|
|
5329
5350
|
# Tags is a map of key, value pairs.
|
|
5330
5351
|
attr_accessor :tags
|
|
5352
|
+
# Version is a read only sdm binary version uploaded by the gateway process
|
|
5353
|
+
# when it comes online.
|
|
5354
|
+
attr_accessor :version
|
|
5331
5355
|
|
|
5332
5356
|
def initialize(
|
|
5357
|
+
device: nil,
|
|
5333
5358
|
gateway_filter: nil,
|
|
5334
5359
|
id: nil,
|
|
5360
|
+
location: nil,
|
|
5335
5361
|
name: nil,
|
|
5336
5362
|
state: nil,
|
|
5337
|
-
tags: nil
|
|
5363
|
+
tags: nil,
|
|
5364
|
+
version: nil
|
|
5338
5365
|
)
|
|
5366
|
+
@device = device == nil ? "" : device
|
|
5339
5367
|
@gateway_filter = gateway_filter == nil ? "" : gateway_filter
|
|
5340
5368
|
@id = id == nil ? "" : id
|
|
5369
|
+
@location = location == nil ? "" : location
|
|
5341
5370
|
@name = name == nil ? "" : name
|
|
5342
5371
|
@state = state == nil ? "" : state
|
|
5343
5372
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
5373
|
+
@version = version == nil ? "" : version
|
|
5344
5374
|
end
|
|
5345
5375
|
|
|
5346
5376
|
def to_json(options = {})
|
|
@@ -5663,6 +5693,8 @@ module SDM
|
|
|
5663
5693
|
attr_accessor :access_rules
|
|
5664
5694
|
# Unique identifier of the Role.
|
|
5665
5695
|
attr_accessor :id
|
|
5696
|
+
# Managed By is a read only field for what service manages this role, e.g. StrongDM, Okta, Azure.
|
|
5697
|
+
attr_accessor :managed_by
|
|
5666
5698
|
# Unique human-readable name of the Role.
|
|
5667
5699
|
attr_accessor :name
|
|
5668
5700
|
# Tags is a map of key, value pairs.
|
|
@@ -5671,11 +5703,13 @@ module SDM
|
|
|
5671
5703
|
def initialize(
|
|
5672
5704
|
access_rules: nil,
|
|
5673
5705
|
id: nil,
|
|
5706
|
+
managed_by: nil,
|
|
5674
5707
|
name: nil,
|
|
5675
5708
|
tags: nil
|
|
5676
5709
|
)
|
|
5677
5710
|
@access_rules = access_rules == nil ? SDM::_porcelain_zero_value_access_rules() : access_rules
|
|
5678
5711
|
@id = id == nil ? "" : id
|
|
5712
|
+
@managed_by = managed_by == nil ? "" : managed_by
|
|
5679
5713
|
@name = name == nil ? "" : name
|
|
5680
5714
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
5681
5715
|
end
|
|
@@ -6662,12 +6696,18 @@ module SDM
|
|
|
6662
6696
|
class User
|
|
6663
6697
|
# The User's email address. Must be unique.
|
|
6664
6698
|
attr_accessor :email
|
|
6699
|
+
# External ID is an alternative unique ID this user is represented by within an external service.
|
|
6700
|
+
attr_accessor :external_id
|
|
6665
6701
|
# The User's first name.
|
|
6666
6702
|
attr_accessor :first_name
|
|
6667
6703
|
# Unique identifier of the User.
|
|
6668
6704
|
attr_accessor :id
|
|
6669
6705
|
# The User's last name.
|
|
6670
6706
|
attr_accessor :last_name
|
|
6707
|
+
# Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure.
|
|
6708
|
+
attr_accessor :managed_by
|
|
6709
|
+
# PermissionLevel is a read only field for the user's permission level e.g. admin, DBA, user.
|
|
6710
|
+
attr_accessor :permission_level
|
|
6671
6711
|
# The User's suspended state.
|
|
6672
6712
|
attr_accessor :suspended
|
|
6673
6713
|
# Tags is a map of key, value pairs.
|
|
@@ -6675,16 +6715,22 @@ module SDM
|
|
|
6675
6715
|
|
|
6676
6716
|
def initialize(
|
|
6677
6717
|
email: nil,
|
|
6718
|
+
external_id: nil,
|
|
6678
6719
|
first_name: nil,
|
|
6679
6720
|
id: nil,
|
|
6680
6721
|
last_name: nil,
|
|
6722
|
+
managed_by: nil,
|
|
6723
|
+
permission_level: nil,
|
|
6681
6724
|
suspended: nil,
|
|
6682
6725
|
tags: nil
|
|
6683
6726
|
)
|
|
6684
6727
|
@email = email == nil ? "" : email
|
|
6728
|
+
@external_id = external_id == nil ? "" : external_id
|
|
6685
6729
|
@first_name = first_name == nil ? "" : first_name
|
|
6686
6730
|
@id = id == nil ? "" : id
|
|
6687
6731
|
@last_name = last_name == nil ? "" : last_name
|
|
6732
|
+
@managed_by = managed_by == nil ? "" : managed_by
|
|
6733
|
+
@permission_level = permission_level == nil ? "" : permission_level
|
|
6688
6734
|
@suspended = suspended == nil ? false : suspended
|
|
6689
6735
|
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
|
6690
6736
|
end
|
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/3.
|
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/3.5.0"
|
|
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: 3.
|
|
4
|
+
version: 3.5.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: 2022-11-
|
|
11
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: grpc
|
|
@@ -79,8 +79,8 @@ files:
|
|
|
79
79
|
- "./.git/logs/HEAD"
|
|
80
80
|
- "./.git/logs/refs/heads/master"
|
|
81
81
|
- "./.git/logs/refs/remotes/origin/HEAD"
|
|
82
|
-
- "./.git/objects/pack/pack-
|
|
83
|
-
- "./.git/objects/pack/pack-
|
|
82
|
+
- "./.git/objects/pack/pack-22bf2ffc59ed62c6a1cc735d89f3fcbc93552690.idx"
|
|
83
|
+
- "./.git/objects/pack/pack-22bf2ffc59ed62c6a1cc735d89f3fcbc93552690.pack"
|
|
84
84
|
- "./.git/packed-refs"
|
|
85
85
|
- "./.git/refs/heads/master"
|
|
86
86
|
- "./.git/refs/remotes/origin/HEAD"
|