strongdm 3.3.2 → 3.5.1

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: 102164fe201cdb6b0540adfc893542ec4d619f2e968db081c86061943f2fd33d
4
- data.tar.gz: cbb750885f2da74717378a692ccc1496824f76214bc81a8a566b4bdf82232453
3
+ metadata.gz: a2737637f696b751bfee8a7d080bfe31956763c24dcb6b3569ad60b32a7dce28
4
+ data.tar.gz: 9f997af180649983fc170ed95169cf514081189b381cae2a07330d2b58112153
5
5
  SHA512:
6
- metadata.gz: f0769d742e9110b0ff33c2ca83ce75b946585e3b54621f494019ff24c897a4954be766f4447393bc64ce848b9c77b81460b47bc3772c30174e8c534c64fcae01
7
- data.tar.gz: 4ca586b97feb0bfb8c78523d710c440d3570b909fa9aa5924961f19df00d8846893e60307b8c25ca4fe04692c0ff50429afe275a55ec718b7068e682b0a5d040
6
+ metadata.gz: f66c074631de402e32885cd89dd9bd173af9b9abd145e8e56bd6553e4b0c3db4f622c150953672f4353cb52dd9d345f90538a0d334961dd3391eb0302b070e32
7
+ data.tar.gz: 337abed3b6c14bd06cbb30902a099adf141fd0acca9b9571df240c79bb0d2ce2b4b90ee19ef6cb4edae9de1b5212a38ee880ddfaf6b753d153a96b8c75c4bf99
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- f99114303af624f557c49036ef7e65c4cdfdb862
1
+ bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 f99114303af624f557c49036ef7e65c4cdfdb862 sdmrelease <support@strongdm.com> 1668443123 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
- f99114303af624f557c49036ef7e65c4cdfdb862 f99114303af624f557c49036ef7e65c4cdfdb862 sdmrelease <support@strongdm.com> 1668443123 +0000 checkout: moving from master to master
3
- f99114303af624f557c49036ef7e65c4cdfdb862 c07c84aa4982d50d60f10720b331c76f56f8c53f sdmrelease <support@strongdm.com> 1668443123 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 sdmrelease <support@strongdm.com> 1669235218 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
+ bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 sdmrelease <support@strongdm.com> 1669235218 +0000 checkout: moving from master to master
3
+ bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 sdmrelease <support@strongdm.com> 1669235218 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 f99114303af624f557c49036ef7e65c4cdfdb862 sdmrelease <support@strongdm.com> 1668443123 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
- f99114303af624f557c49036ef7e65c4cdfdb862 c07c84aa4982d50d60f10720b331c76f56f8c53f sdmrelease <support@strongdm.com> 1668443123 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 sdmrelease <support@strongdm.com> 1669235218 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
+ bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 sdmrelease <support@strongdm.com> 1669235218 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 f99114303af624f557c49036ef7e65c4cdfdb862 sdmrelease <support@strongdm.com> 1668443123 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 sdmrelease <support@strongdm.com> 1669235218 +0000 clone: from git@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
- c07c84aa4982d50d60f10720b331c76f56f8c53f refs/remotes/origin/development
3
- f99114303af624f557c49036ef7e65c4cdfdb862 refs/remotes/origin/master
2
+ 8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41 refs/remotes/origin/development
3
+ bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 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,5 @@ 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
52
+ bfb8a3cdb41c617913f0295b25ac7ecc7398d2c2 refs/tags/v3.5.0
@@ -1 +1 @@
1
- c07c84aa4982d50d60f10720b331c76f56f8c53f
1
+ 8ddacf3c9cbe388ee11ed4617ba41cf7b0cc2a41
@@ -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
@@ -596,6 +596,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
596
596
  optional :port, :int32, 4
597
597
  optional :port_override, :int32, 2
598
598
  optional :tls_required, :bool, 5
599
+ optional :username, :string, 6
599
600
  end
600
601
  add_message "v1.GCP" do
601
602
  optional :id, :string, 32768
@@ -1090,6 +1091,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1090
1091
  optional :password, :string, 3
1091
1092
  optional :port, :int32, 4
1092
1093
  optional :port_override, :int32, 2
1094
+ optional :tls_required, :bool, 6
1095
+ optional :username, :string, 5
1093
1096
  end
1094
1097
  add_message "v1.Redshift" do
1095
1098
  optional :id, :string, 32768
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
@@ -2801,6 +2801,7 @@ module SDM
2801
2801
  porcelain.secret_store_id = (plumbing.secret_store_id)
2802
2802
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2803
2803
  porcelain.tls_required = (plumbing.tls_required)
2804
+ porcelain.username = (plumbing.username)
2804
2805
  porcelain
2805
2806
  end
2806
2807
 
@@ -2821,6 +2822,7 @@ module SDM
2821
2822
  plumbing.secret_store_id = (porcelain.secret_store_id)
2822
2823
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2823
2824
  plumbing.tls_required = (porcelain.tls_required)
2825
+ plumbing.username = (porcelain.username)
2824
2826
  plumbing
2825
2827
  end
2826
2828
  def self.convert_repeated_elasticache_redis_to_plumbing(porcelains)
@@ -2936,12 +2938,15 @@ module SDM
2936
2938
  end
2937
2939
  porcelain = Gateway.new()
2938
2940
  porcelain.bind_address = (plumbing.bind_address)
2941
+ porcelain.device = (plumbing.device)
2939
2942
  porcelain.gateway_filter = (plumbing.gateway_filter)
2940
2943
  porcelain.id = (plumbing.id)
2941
2944
  porcelain.listen_address = (plumbing.listen_address)
2945
+ porcelain.location = (plumbing.location)
2942
2946
  porcelain.name = (plumbing.name)
2943
2947
  porcelain.state = (plumbing.state)
2944
2948
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
2949
+ porcelain.version = (plumbing.version)
2945
2950
  porcelain
2946
2951
  end
2947
2952
 
@@ -2951,12 +2956,15 @@ module SDM
2951
2956
  end
2952
2957
  plumbing = V1::Gateway.new()
2953
2958
  plumbing.bind_address = (porcelain.bind_address)
2959
+ plumbing.device = (porcelain.device)
2954
2960
  plumbing.gateway_filter = (porcelain.gateway_filter)
2955
2961
  plumbing.id = (porcelain.id)
2956
2962
  plumbing.listen_address = (porcelain.listen_address)
2963
+ plumbing.location = (porcelain.location)
2957
2964
  plumbing.name = (porcelain.name)
2958
2965
  plumbing.state = (porcelain.state)
2959
2966
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
2967
+ plumbing.version = (porcelain.version)
2960
2968
  plumbing
2961
2969
  end
2962
2970
  def self.convert_repeated_gateway_to_plumbing(porcelains)
@@ -5038,6 +5046,8 @@ module SDM
5038
5046
  porcelain.port_override = (plumbing.port_override)
5039
5047
  porcelain.secret_store_id = (plumbing.secret_store_id)
5040
5048
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
5049
+ porcelain.tls_required = (plumbing.tls_required)
5050
+ porcelain.username = (plumbing.username)
5041
5051
  porcelain
5042
5052
  end
5043
5053
 
@@ -5057,6 +5067,8 @@ module SDM
5057
5067
  plumbing.port_override = (porcelain.port_override)
5058
5068
  plumbing.secret_store_id = (porcelain.secret_store_id)
5059
5069
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
5070
+ plumbing.tls_required = (porcelain.tls_required)
5071
+ plumbing.username = (porcelain.username)
5060
5072
  plumbing
5061
5073
  end
5062
5074
  def self.convert_repeated_redis_to_plumbing(porcelains)
@@ -5141,11 +5153,14 @@ module SDM
5141
5153
  return nil
5142
5154
  end
5143
5155
  porcelain = Relay.new()
5156
+ porcelain.device = (plumbing.device)
5144
5157
  porcelain.gateway_filter = (plumbing.gateway_filter)
5145
5158
  porcelain.id = (plumbing.id)
5159
+ porcelain.location = (plumbing.location)
5146
5160
  porcelain.name = (plumbing.name)
5147
5161
  porcelain.state = (plumbing.state)
5148
5162
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
5163
+ porcelain.version = (plumbing.version)
5149
5164
  porcelain
5150
5165
  end
5151
5166
 
@@ -5154,11 +5169,14 @@ module SDM
5154
5169
  return nil
5155
5170
  end
5156
5171
  plumbing = V1::Relay.new()
5172
+ plumbing.device = (porcelain.device)
5157
5173
  plumbing.gateway_filter = (porcelain.gateway_filter)
5158
5174
  plumbing.id = (porcelain.id)
5175
+ plumbing.location = (porcelain.location)
5159
5176
  plumbing.name = (porcelain.name)
5160
5177
  plumbing.state = (porcelain.state)
5161
5178
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
5179
+ plumbing.version = (porcelain.version)
5162
5180
  plumbing
5163
5181
  end
5164
5182
  def self.convert_repeated_relay_to_plumbing(porcelains)
@@ -6079,6 +6097,7 @@ module SDM
6079
6097
  porcelain = Role.new()
6080
6098
  porcelain.access_rules = convert_access_rules_to_porcelain(plumbing.access_rules)
6081
6099
  porcelain.id = (plumbing.id)
6100
+ porcelain.managed_by = (plumbing.managed_by)
6082
6101
  porcelain.name = (plumbing.name)
6083
6102
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
6084
6103
  porcelain
@@ -6091,6 +6110,7 @@ module SDM
6091
6110
  plumbing = V1::Role.new()
6092
6111
  plumbing.access_rules = convert_access_rules_to_plumbing(porcelain.access_rules)
6093
6112
  plumbing.id = (porcelain.id)
6113
+ plumbing.managed_by = (porcelain.managed_by)
6094
6114
  plumbing.name = (porcelain.name)
6095
6115
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
6096
6116
  plumbing
@@ -7196,9 +7216,12 @@ module SDM
7196
7216
  end
7197
7217
  porcelain = User.new()
7198
7218
  porcelain.email = (plumbing.email)
7219
+ porcelain.external_id = (plumbing.external_id)
7199
7220
  porcelain.first_name = (plumbing.first_name)
7200
7221
  porcelain.id = (plumbing.id)
7201
7222
  porcelain.last_name = (plumbing.last_name)
7223
+ porcelain.managed_by = (plumbing.managed_by)
7224
+ porcelain.permission_level = (plumbing.permission_level)
7202
7225
  porcelain.suspended = (plumbing.suspended)
7203
7226
  porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
7204
7227
  porcelain
@@ -7210,9 +7233,12 @@ module SDM
7210
7233
  end
7211
7234
  plumbing = V1::User.new()
7212
7235
  plumbing.email = (porcelain.email)
7236
+ plumbing.external_id = (porcelain.external_id)
7213
7237
  plumbing.first_name = (porcelain.first_name)
7214
7238
  plumbing.id = (porcelain.id)
7215
7239
  plumbing.last_name = (porcelain.last_name)
7240
+ plumbing.managed_by = (porcelain.managed_by)
7241
+ plumbing.permission_level = (porcelain.permission_level)
7216
7242
  plumbing.suspended = (porcelain.suspended)
7217
7243
  plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
7218
7244
  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
@@ -2767,6 +2767,8 @@ module SDM
2767
2767
 
2768
2768
  attr_accessor :tls_required
2769
2769
 
2770
+ attr_accessor :username
2771
+
2770
2772
  def initialize(
2771
2773
  bind_interface: nil,
2772
2774
  egress_filter: nil,
@@ -2779,7 +2781,8 @@ module SDM
2779
2781
  port_override: nil,
2780
2782
  secret_store_id: nil,
2781
2783
  tags: nil,
2782
- tls_required: nil
2784
+ tls_required: nil,
2785
+ username: nil
2783
2786
  )
2784
2787
  @bind_interface = bind_interface == nil ? "" : bind_interface
2785
2788
  @egress_filter = egress_filter == nil ? "" : egress_filter
@@ -2793,6 +2796,7 @@ module SDM
2793
2796
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
2794
2797
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
2795
2798
  @tls_required = tls_required == nil ? false : tls_required
2799
+ @username = username == nil ? "" : username
2796
2800
  end
2797
2801
 
2798
2802
  def to_json(options = {})
@@ -2891,6 +2895,9 @@ module SDM
2891
2895
  # The hostname/port tuple which the gateway daemon will bind to.
2892
2896
  # If not provided on create, set to "0.0.0.0:listen_address_port".
2893
2897
  attr_accessor :bind_address
2898
+ # Device is a read only device name uploaded by the gateway process when
2899
+ # it comes online.
2900
+ attr_accessor :device
2894
2901
  # GatewayFilter can be used to restrict the peering between relays and
2895
2902
  # gateways.
2896
2903
  attr_accessor :gateway_filter
@@ -2898,6 +2905,9 @@ module SDM
2898
2905
  attr_accessor :id
2899
2906
  # The public hostname/port tuple at which the gateway will be accessible to clients.
2900
2907
  attr_accessor :listen_address
2908
+ # Location is a read only network location uploaded by the gateway process
2909
+ # when it comes online.
2910
+ attr_accessor :location
2901
2911
  # 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
2912
  attr_accessor :name
2903
2913
  # The current state of the gateway. One of: "new", "verifying_restart",
@@ -2905,23 +2915,32 @@ module SDM
2905
2915
  attr_accessor :state
2906
2916
  # Tags is a map of key, value pairs.
2907
2917
  attr_accessor :tags
2918
+ # Version is a read only sdm binary version uploaded by the gateway process
2919
+ # when it comes online.
2920
+ attr_accessor :version
2908
2921
 
2909
2922
  def initialize(
2910
2923
  bind_address: nil,
2924
+ device: nil,
2911
2925
  gateway_filter: nil,
2912
2926
  id: nil,
2913
2927
  listen_address: nil,
2928
+ location: nil,
2914
2929
  name: nil,
2915
2930
  state: nil,
2916
- tags: nil
2931
+ tags: nil,
2932
+ version: nil
2917
2933
  )
2918
2934
  @bind_address = bind_address == nil ? "" : bind_address
2935
+ @device = device == nil ? "" : device
2919
2936
  @gateway_filter = gateway_filter == nil ? "" : gateway_filter
2920
2937
  @id = id == nil ? "" : id
2921
2938
  @listen_address = listen_address == nil ? "" : listen_address
2939
+ @location = location == nil ? "" : location
2922
2940
  @name = name == nil ? "" : name
2923
2941
  @state = state == nil ? "" : state
2924
2942
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
2943
+ @version = version == nil ? "" : version
2925
2944
  end
2926
2945
 
2927
2946
  def to_json(options = {})
@@ -5207,6 +5226,10 @@ module SDM
5207
5226
  # Tags is a map of key, value pairs.
5208
5227
  attr_accessor :tags
5209
5228
 
5229
+ attr_accessor :tls_required
5230
+
5231
+ attr_accessor :username
5232
+
5210
5233
  def initialize(
5211
5234
  bind_interface: nil,
5212
5235
  egress_filter: nil,
@@ -5218,7 +5241,9 @@ module SDM
5218
5241
  port: nil,
5219
5242
  port_override: nil,
5220
5243
  secret_store_id: nil,
5221
- tags: nil
5244
+ tags: nil,
5245
+ tls_required: nil,
5246
+ username: nil
5222
5247
  )
5223
5248
  @bind_interface = bind_interface == nil ? "" : bind_interface
5224
5249
  @egress_filter = egress_filter == nil ? "" : egress_filter
@@ -5231,6 +5256,8 @@ module SDM
5231
5256
  @port_override = port_override == nil ? 0 : port_override
5232
5257
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
5233
5258
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
5259
+ @tls_required = tls_required == nil ? false : tls_required
5260
+ @username = username == nil ? "" : username
5234
5261
  end
5235
5262
 
5236
5263
  def to_json(options = {})
@@ -5315,11 +5342,17 @@ module SDM
5315
5342
 
5316
5343
  # Relay represents a StrongDM CLI installation running in relay mode.
5317
5344
  class Relay
5345
+ # Device is a read only device name uploaded by the gateway process when
5346
+ # it comes online.
5347
+ attr_accessor :device
5318
5348
  # GatewayFilter can be used to restrict the peering between relays and
5319
5349
  # gateways.
5320
5350
  attr_accessor :gateway_filter
5321
5351
  # Unique identifier of the Relay.
5322
5352
  attr_accessor :id
5353
+ # Location is a read only network location uploaded by the gateway process
5354
+ # when it comes online.
5355
+ attr_accessor :location
5323
5356
  # 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
5357
  attr_accessor :name
5325
5358
  # The current state of the relay. One of: "new", "verifying_restart",
@@ -5328,19 +5361,28 @@ module SDM
5328
5361
  attr_accessor :state
5329
5362
  # Tags is a map of key, value pairs.
5330
5363
  attr_accessor :tags
5364
+ # Version is a read only sdm binary version uploaded by the gateway process
5365
+ # when it comes online.
5366
+ attr_accessor :version
5331
5367
 
5332
5368
  def initialize(
5369
+ device: nil,
5333
5370
  gateway_filter: nil,
5334
5371
  id: nil,
5372
+ location: nil,
5335
5373
  name: nil,
5336
5374
  state: nil,
5337
- tags: nil
5375
+ tags: nil,
5376
+ version: nil
5338
5377
  )
5378
+ @device = device == nil ? "" : device
5339
5379
  @gateway_filter = gateway_filter == nil ? "" : gateway_filter
5340
5380
  @id = id == nil ? "" : id
5381
+ @location = location == nil ? "" : location
5341
5382
  @name = name == nil ? "" : name
5342
5383
  @state = state == nil ? "" : state
5343
5384
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
5385
+ @version = version == nil ? "" : version
5344
5386
  end
5345
5387
 
5346
5388
  def to_json(options = {})
@@ -5663,6 +5705,8 @@ module SDM
5663
5705
  attr_accessor :access_rules
5664
5706
  # Unique identifier of the Role.
5665
5707
  attr_accessor :id
5708
+ # Managed By is a read only field for what service manages this role, e.g. StrongDM, Okta, Azure.
5709
+ attr_accessor :managed_by
5666
5710
  # Unique human-readable name of the Role.
5667
5711
  attr_accessor :name
5668
5712
  # Tags is a map of key, value pairs.
@@ -5671,11 +5715,13 @@ module SDM
5671
5715
  def initialize(
5672
5716
  access_rules: nil,
5673
5717
  id: nil,
5718
+ managed_by: nil,
5674
5719
  name: nil,
5675
5720
  tags: nil
5676
5721
  )
5677
5722
  @access_rules = access_rules == nil ? SDM::_porcelain_zero_value_access_rules() : access_rules
5678
5723
  @id = id == nil ? "" : id
5724
+ @managed_by = managed_by == nil ? "" : managed_by
5679
5725
  @name = name == nil ? "" : name
5680
5726
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
5681
5727
  end
@@ -6662,12 +6708,18 @@ module SDM
6662
6708
  class User
6663
6709
  # The User's email address. Must be unique.
6664
6710
  attr_accessor :email
6711
+ # External ID is an alternative unique ID this user is represented by within an external service.
6712
+ attr_accessor :external_id
6665
6713
  # The User's first name.
6666
6714
  attr_accessor :first_name
6667
6715
  # Unique identifier of the User.
6668
6716
  attr_accessor :id
6669
6717
  # The User's last name.
6670
6718
  attr_accessor :last_name
6719
+ # Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure.
6720
+ attr_accessor :managed_by
6721
+ # PermissionLevel is a read only field for the user's permission level e.g. admin, DBA, user.
6722
+ attr_accessor :permission_level
6671
6723
  # The User's suspended state.
6672
6724
  attr_accessor :suspended
6673
6725
  # Tags is a map of key, value pairs.
@@ -6675,16 +6727,22 @@ module SDM
6675
6727
 
6676
6728
  def initialize(
6677
6729
  email: nil,
6730
+ external_id: nil,
6678
6731
  first_name: nil,
6679
6732
  id: nil,
6680
6733
  last_name: nil,
6734
+ managed_by: nil,
6735
+ permission_level: nil,
6681
6736
  suspended: nil,
6682
6737
  tags: nil
6683
6738
  )
6684
6739
  @email = email == nil ? "" : email
6740
+ @external_id = external_id == nil ? "" : external_id
6685
6741
  @first_name = first_name == nil ? "" : first_name
6686
6742
  @id = id == nil ? "" : id
6687
6743
  @last_name = last_name == nil ? "" : last_name
6744
+ @managed_by = managed_by == nil ? "" : managed_by
6745
+ @permission_level = permission_level == nil ? "" : permission_level
6688
6746
  @suspended = suspended == nil ? false : suspended
6689
6747
  @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
6690
6748
  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.3.2"
32
+ USER_AGENT = "strongdm-sdk-ruby/3.5.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 = "3.3.2"
16
+ VERSION = "3.5.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 = "3.3.2"
16
+ VERSION = "3.5.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: 3.3.2
4
+ version: 3.5.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: 2022-11-14 00:00:00.000000000 Z
11
+ date: 2022-11-23 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-583241b1feb5d3f1bb783f96ef7095fc246598d0.idx"
83
- - "./.git/objects/pack/pack-583241b1feb5d3f1bb783f96ef7095fc246598d0.pack"
82
+ - "./.git/objects/pack/pack-b5b254071399fd9a4bf4fef16d7f1306228c9c0a.idx"
83
+ - "./.git/objects/pack/pack-b5b254071399fd9a4bf4fef16d7f1306228c9c0a.pack"
84
84
  - "./.git/packed-refs"
85
85
  - "./.git/refs/heads/master"
86
86
  - "./.git/refs/remotes/origin/HEAD"