strongdm 3.2.3 → 3.3.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: af578348ca80dc3a9515e31fa02ce967d62252a1d82a29abe28bd0b734658bcf
4
- data.tar.gz: 60c65fd023373ca136c89a32ea6e7b1537c6d64a12f150b04c88441004c23631
3
+ metadata.gz: 86049502216e872187fe3a7de88683334a3edbac7491ce21f2fbc9c3bc4f7b18
4
+ data.tar.gz: 11b588ff2aff984b6a03f358b5287774a08809cb9fd54be39722c3b693df03ba
5
5
  SHA512:
6
- metadata.gz: 2cd4667c4f40a607cd31036f6ded317c5a6c7d198fe1d5f12d81e59558c0ec001c2734fa807ad76a0f46cbd47b99d9e6dfc96d1f71aa516eed3774bff06b5c9b
7
- data.tar.gz: 4ac41c4d82154d792f3471b0d5dfc5eeb0a58ddf6587dfde8ccb282ba0b72a72b2de5a56ab3a7d38cef87cfe1786ba84a71856730d984400a27be0a8fac3a4a8
6
+ metadata.gz: f3670927be4f22bb0b78adfd3f7d30be2f675c9c87945581aa4e8fde4819b72b3e9f2bad78dc9a9a1db979b6330d3e4b12643b4397924c307f90f48b9c652d86
7
+ data.tar.gz: '09e26c6f3e0b4bc5d1aa8400c9252b7af0a5b8282cb7f72400291cbd3e2a574c414b7cdad0e3e1252067fc99fce6c9ad7d5c378774ff8141e8973e2469ad8b05'
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 09ee1a3be370a7b5e21709a7857d0f189f23da8b
1
+ d0ae780dd221eab9c3108d74697661483c1e1085
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 09ee1a3be370a7b5e21709a7857d0f189f23da8b sdmrelease <support@strongdm.com> 1662668539 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
- 09ee1a3be370a7b5e21709a7857d0f189f23da8b 09ee1a3be370a7b5e21709a7857d0f189f23da8b sdmrelease <support@strongdm.com> 1662668539 +0000 checkout: moving from master to master
3
- 09ee1a3be370a7b5e21709a7857d0f189f23da8b d0ae780dd221eab9c3108d74697661483c1e1085 sdmrelease <support@strongdm.com> 1662668539 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 d0ae780dd221eab9c3108d74697661483c1e1085 sdmrelease <support@strongdm.com> 1663101749 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
+ d0ae780dd221eab9c3108d74697661483c1e1085 d0ae780dd221eab9c3108d74697661483c1e1085 sdmrelease <support@strongdm.com> 1663101749 +0000 checkout: moving from master to master
3
+ d0ae780dd221eab9c3108d74697661483c1e1085 390199f6fe9dc45de4cd68aae9f5a433228506f5 sdmrelease <support@strongdm.com> 1663101749 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 09ee1a3be370a7b5e21709a7857d0f189f23da8b sdmrelease <support@strongdm.com> 1662668539 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
- 09ee1a3be370a7b5e21709a7857d0f189f23da8b d0ae780dd221eab9c3108d74697661483c1e1085 sdmrelease <support@strongdm.com> 1662668539 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 d0ae780dd221eab9c3108d74697661483c1e1085 sdmrelease <support@strongdm.com> 1663101749 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
+ d0ae780dd221eab9c3108d74697661483c1e1085 390199f6fe9dc45de4cd68aae9f5a433228506f5 sdmrelease <support@strongdm.com> 1663101749 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 09ee1a3be370a7b5e21709a7857d0f189f23da8b sdmrelease <support@strongdm.com> 1662668539 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 d0ae780dd221eab9c3108d74697661483c1e1085 sdmrelease <support@strongdm.com> 1663101749 +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
- d0ae780dd221eab9c3108d74697661483c1e1085 refs/remotes/origin/development
3
- 09ee1a3be370a7b5e21709a7857d0f189f23da8b refs/remotes/origin/master
2
+ 390199f6fe9dc45de4cd68aae9f5a433228506f5 refs/remotes/origin/development
3
+ d0ae780dd221eab9c3108d74697661483c1e1085 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
@@ -45,3 +45,4 @@ ebc33c297839fbbcfa70f855e599630c0a6c880c refs/tags/v2.6.4
45
45
  40d185ce8d4f4375411706886f6fbbaa5493bef6 refs/tags/v3.2.0
46
46
  dd6a8a74ad5675831f42e3a820208e96f7361f80 refs/tags/v3.2.1
47
47
  09ee1a3be370a7b5e21709a7857d0f189f23da8b refs/tags/v3.2.2
48
+ d0ae780dd221eab9c3108d74697661483c1e1085 refs/tags/v3.2.3
@@ -1 +1 @@
1
- d0ae780dd221eab9c3108d74697661483c1e1085
1
+ 390199f6fe9dc45de4cd68aae9f5a433228506f5
@@ -93,6 +93,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
93
93
  optional :ssh_customer_key, :message, 1902, "v1.SSHCustomerKey"
94
94
  optional :single_store, :message, 1105, "v1.SingleStore"
95
95
  optional :snowflake, :message, 1700, "v1.Snowflake"
96
+ optional :snowsight, :message, 1701, "v1.Snowsight"
96
97
  optional :sybase, :message, 2000, "v1.Sybase"
97
98
  optional :sybase_iq, :message, 2001, "v1.SybaseIQ"
98
99
  optional :teradata, :message, 2100, "v1.Teradata"
@@ -200,7 +201,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
200
201
  optional :egress_filter, :string, 32773
201
202
  optional :bind_interface, :string, 32774
202
203
  optional :enable_env_variables, :bool, 1
203
- optional :port, :int32, 10
204
204
  optional :port_override, :int32, 7
205
205
  optional :region, :string, 2
206
206
  optional :remote_identity_group_id, :string, 8
@@ -648,6 +648,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
648
648
  optional :default_path, :string, 5
649
649
  optional :headers_blacklist, :string, 4
650
650
  optional :healthcheck_path, :string, 2
651
+ optional :host_override, :string, 7
651
652
  optional :subdomain, :string, 6
652
653
  optional :url, :string, 1
653
654
  end
@@ -662,6 +663,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
662
663
  optional :default_path, :string, 6
663
664
  optional :headers_blacklist, :string, 5
664
665
  optional :healthcheck_path, :string, 2
666
+ optional :host_override, :string, 8
665
667
  optional :password, :string, 4
666
668
  optional :subdomain, :string, 7
667
669
  optional :url, :string, 1
@@ -678,6 +680,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
678
680
  optional :default_path, :string, 4
679
681
  optional :headers_blacklist, :string, 3
680
682
  optional :healthcheck_path, :string, 2
683
+ optional :host_override, :string, 6
681
684
  optional :subdomain, :string, 5
682
685
  optional :url, :string, 1
683
686
  end
@@ -922,7 +925,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
922
925
  optional :hostname, :string, 1
923
926
  optional :password, :string, 5
924
927
  optional :port_override, :int32, 3
925
- optional :tls_required, :bool, 8
928
+ optional :tls_required, :bool, 6
926
929
  optional :username, :string, 4
927
930
  end
928
931
  add_message "v1.Mysql" do
@@ -1186,6 +1189,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1186
1189
  optional :schema, :string, 5
1187
1190
  optional :username, :string, 2
1188
1191
  end
1192
+ add_message "v1.Snowsight" do
1193
+ optional :id, :string, 32768
1194
+ optional :name, :string, 32769
1195
+ optional :healthy, :bool, 32770
1196
+ optional :tags, :message, 32771, "v1.Tags"
1197
+ optional :secret_store_id, :string, 32772
1198
+ optional :egress_filter, :string, 32773
1199
+ optional :bind_interface, :string, 32774
1200
+ optional :healthcheck_username, :string, 11
1201
+ optional :port_override, :int32, 3
1202
+ optional :samlMetadata, :string, 1
1203
+ optional :subdomain, :string, 2
1204
+ end
1189
1205
  add_message "v1.Sybase" do
1190
1206
  optional :id, :string, 32768
1191
1207
  optional :name, :string, 32769
@@ -1303,6 +1319,7 @@ module V1
1303
1319
  SSHCustomerKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSHCustomerKey").msgclass
1304
1320
  SingleStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SingleStore").msgclass
1305
1321
  Snowflake = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Snowflake").msgclass
1322
+ Snowsight = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Snowsight").msgclass
1306
1323
  Sybase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Sybase").msgclass
1307
1324
  SybaseIQ = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SybaseIQ").msgclass
1308
1325
  Teradata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Teradata").msgclass
data/lib/grpc/plumbing.rb CHANGED
@@ -475,7 +475,6 @@ module SDM
475
475
  porcelain.healthy = (plumbing.healthy)
476
476
  porcelain.id = (plumbing.id)
477
477
  porcelain.name = (plumbing.name)
478
- porcelain.port = (plumbing.port)
479
478
  porcelain.port_override = (plumbing.port_override)
480
479
  porcelain.region = (plumbing.region)
481
480
  porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
@@ -500,7 +499,6 @@ module SDM
500
499
  plumbing.healthy = (porcelain.healthy)
501
500
  plumbing.id = (porcelain.id)
502
501
  plumbing.name = (porcelain.name)
503
- plumbing.port = (porcelain.port)
504
502
  plumbing.port_override = (porcelain.port_override)
505
503
  plumbing.region = (porcelain.region)
506
504
  plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
@@ -3136,6 +3134,7 @@ module SDM
3136
3134
  porcelain.headers_blacklist = (plumbing.headers_blacklist)
3137
3135
  porcelain.healthcheck_path = (plumbing.healthcheck_path)
3138
3136
  porcelain.healthy = (plumbing.healthy)
3137
+ porcelain.host_override = (plumbing.host_override)
3139
3138
  porcelain.id = (plumbing.id)
3140
3139
  porcelain.name = (plumbing.name)
3141
3140
  porcelain.secret_store_id = (plumbing.secret_store_id)
@@ -3157,6 +3156,7 @@ module SDM
3157
3156
  plumbing.headers_blacklist = (porcelain.headers_blacklist)
3158
3157
  plumbing.healthcheck_path = (porcelain.healthcheck_path)
3159
3158
  plumbing.healthy = (porcelain.healthy)
3159
+ plumbing.host_override = (porcelain.host_override)
3160
3160
  plumbing.id = (porcelain.id)
3161
3161
  plumbing.name = (porcelain.name)
3162
3162
  plumbing.secret_store_id = (porcelain.secret_store_id)
@@ -3193,6 +3193,7 @@ module SDM
3193
3193
  porcelain.headers_blacklist = (plumbing.headers_blacklist)
3194
3194
  porcelain.healthcheck_path = (plumbing.healthcheck_path)
3195
3195
  porcelain.healthy = (plumbing.healthy)
3196
+ porcelain.host_override = (plumbing.host_override)
3196
3197
  porcelain.id = (plumbing.id)
3197
3198
  porcelain.name = (plumbing.name)
3198
3199
  porcelain.password = (plumbing.password)
@@ -3215,6 +3216,7 @@ module SDM
3215
3216
  plumbing.headers_blacklist = (porcelain.headers_blacklist)
3216
3217
  plumbing.healthcheck_path = (porcelain.healthcheck_path)
3217
3218
  plumbing.healthy = (porcelain.healthy)
3219
+ plumbing.host_override = (porcelain.host_override)
3218
3220
  plumbing.id = (porcelain.id)
3219
3221
  plumbing.name = (porcelain.name)
3220
3222
  plumbing.password = (porcelain.password)
@@ -3253,6 +3255,7 @@ module SDM
3253
3255
  porcelain.headers_blacklist = (plumbing.headers_blacklist)
3254
3256
  porcelain.healthcheck_path = (plumbing.healthcheck_path)
3255
3257
  porcelain.healthy = (plumbing.healthy)
3258
+ porcelain.host_override = (plumbing.host_override)
3256
3259
  porcelain.id = (plumbing.id)
3257
3260
  porcelain.name = (plumbing.name)
3258
3261
  porcelain.secret_store_id = (plumbing.secret_store_id)
@@ -3273,6 +3276,7 @@ module SDM
3273
3276
  plumbing.headers_blacklist = (porcelain.headers_blacklist)
3274
3277
  plumbing.healthcheck_path = (porcelain.healthcheck_path)
3275
3278
  plumbing.healthy = (porcelain.healthy)
3279
+ plumbing.host_override = (porcelain.host_override)
3276
3280
  plumbing.id = (porcelain.id)
3277
3281
  plumbing.name = (porcelain.name)
3278
3282
  plumbing.secret_store_id = (porcelain.secret_store_id)
@@ -5583,6 +5587,9 @@ module SDM
5583
5587
  if porcelain.instance_of? Snowflake
5584
5588
  plumbing.snowflake = convert_snowflake_to_plumbing(porcelain)
5585
5589
  end
5590
+ if porcelain.instance_of? Snowsight
5591
+ plumbing.snowsight = convert_snowsight_to_plumbing(porcelain)
5592
+ end
5586
5593
  if porcelain.instance_of? SQLServer
5587
5594
  plumbing.sql_server = convert_sql_server_to_plumbing(porcelain)
5588
5595
  end
@@ -5809,6 +5816,9 @@ module SDM
5809
5816
  if plumbing.snowflake != nil
5810
5817
  return convert_snowflake_to_porcelain(plumbing.snowflake)
5811
5818
  end
5819
+ if plumbing.snowsight != nil
5820
+ return convert_snowsight_to_porcelain(plumbing.snowsight)
5821
+ end
5812
5822
  if plumbing.sql_server != nil
5813
5823
  return convert_sql_server_to_porcelain(plumbing.sql_server)
5814
5824
  end
@@ -6826,6 +6836,60 @@ module SDM
6826
6836
  end
6827
6837
  items
6828
6838
  end
6839
+ def self.convert_snowsight_to_porcelain(plumbing)
6840
+ if plumbing == nil
6841
+ return nil
6842
+ end
6843
+ porcelain = Snowsight.new()
6844
+ porcelain.bind_interface = (plumbing.bind_interface)
6845
+ porcelain.egress_filter = (plumbing.egress_filter)
6846
+ porcelain.healthcheck_username = (plumbing.healthcheck_username)
6847
+ porcelain.healthy = (plumbing.healthy)
6848
+ porcelain.id = (plumbing.id)
6849
+ porcelain.name = (plumbing.name)
6850
+ porcelain.port_override = (plumbing.port_override)
6851
+ porcelain.samlmetadata = (plumbing.samlMetadata)
6852
+ porcelain.secret_store_id = (plumbing.secret_store_id)
6853
+ porcelain.subdomain = (plumbing.subdomain)
6854
+ porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
6855
+ porcelain
6856
+ end
6857
+
6858
+ def self.convert_snowsight_to_plumbing(porcelain)
6859
+ if porcelain == nil
6860
+ return nil
6861
+ end
6862
+ plumbing = V1::Snowsight.new()
6863
+ plumbing.bind_interface = (porcelain.bind_interface)
6864
+ plumbing.egress_filter = (porcelain.egress_filter)
6865
+ plumbing.healthcheck_username = (porcelain.healthcheck_username)
6866
+ plumbing.healthy = (porcelain.healthy)
6867
+ plumbing.id = (porcelain.id)
6868
+ plumbing.name = (porcelain.name)
6869
+ plumbing.port_override = (porcelain.port_override)
6870
+ plumbing.samlMetadata = (porcelain.samlmetadata)
6871
+ plumbing.secret_store_id = (porcelain.secret_store_id)
6872
+ plumbing.subdomain = (porcelain.subdomain)
6873
+ plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
6874
+ plumbing
6875
+ end
6876
+ def self.convert_repeated_snowsight_to_plumbing(porcelains)
6877
+ items = Array.new
6878
+ porcelains.each do |porcelain|
6879
+ plumbing = convert_snowsight_to_plumbing(porcelain)
6880
+ items.append(plumbing)
6881
+ end
6882
+ items
6883
+ end
6884
+
6885
+ def self.convert_repeated_snowsight_to_porcelain(plumbings)
6886
+ items = Array.new
6887
+ plumbings.each do |plumbing|
6888
+ porcelain = convert_snowsight_to_porcelain(plumbing)
6889
+ items.append(porcelain)
6890
+ end
6891
+ items
6892
+ end
6829
6893
  def self.convert_sybase_to_porcelain(plumbing)
6830
6894
  if plumbing == nil
6831
6895
  return nil
@@ -444,8 +444,6 @@ module SDM
444
444
  # Unique human-readable name of the Resource.
445
445
  attr_accessor :name
446
446
 
447
- attr_accessor :port
448
-
449
447
  attr_accessor :port_override
450
448
 
451
449
  attr_accessor :region
@@ -473,7 +471,6 @@ module SDM
473
471
  healthy: nil,
474
472
  id: nil,
475
473
  name: nil,
476
- port: nil,
477
474
  port_override: nil,
478
475
  region: nil,
479
476
  remote_identity_group_id: nil,
@@ -491,7 +488,6 @@ module SDM
491
488
  @healthy = healthy == nil ? false : healthy
492
489
  @id = id == nil ? "" : id
493
490
  @name = name == nil ? "" : name
494
- @port = port == nil ? 0 : port
495
491
  @port_override = port_override == nil ? 0 : port_override
496
492
  @region = region == nil ? "" : region
497
493
  @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
@@ -3094,6 +3090,8 @@ module SDM
3094
3090
  attr_accessor :healthcheck_path
3095
3091
  # True if the datasource is reachable and the credentials are valid.
3096
3092
  attr_accessor :healthy
3093
+
3094
+ attr_accessor :host_override
3097
3095
  # Unique identifier of the Resource.
3098
3096
  attr_accessor :id
3099
3097
  # Unique human-readable name of the Resource.
@@ -3115,6 +3113,7 @@ module SDM
3115
3113
  headers_blacklist: nil,
3116
3114
  healthcheck_path: nil,
3117
3115
  healthy: nil,
3116
+ host_override: nil,
3118
3117
  id: nil,
3119
3118
  name: nil,
3120
3119
  secret_store_id: nil,
@@ -3129,6 +3128,7 @@ module SDM
3129
3128
  @headers_blacklist = headers_blacklist == nil ? "" : headers_blacklist
3130
3129
  @healthcheck_path = healthcheck_path == nil ? "" : healthcheck_path
3131
3130
  @healthy = healthy == nil ? false : healthy
3131
+ @host_override = host_override == nil ? "" : host_override
3132
3132
  @id = id == nil ? "" : id
3133
3133
  @name = name == nil ? "" : name
3134
3134
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
@@ -3159,6 +3159,8 @@ module SDM
3159
3159
  attr_accessor :healthcheck_path
3160
3160
  # True if the datasource is reachable and the credentials are valid.
3161
3161
  attr_accessor :healthy
3162
+
3163
+ attr_accessor :host_override
3162
3164
  # Unique identifier of the Resource.
3163
3165
  attr_accessor :id
3164
3166
  # Unique human-readable name of the Resource.
@@ -3183,6 +3185,7 @@ module SDM
3183
3185
  headers_blacklist: nil,
3184
3186
  healthcheck_path: nil,
3185
3187
  healthy: nil,
3188
+ host_override: nil,
3186
3189
  id: nil,
3187
3190
  name: nil,
3188
3191
  password: nil,
@@ -3198,6 +3201,7 @@ module SDM
3198
3201
  @headers_blacklist = headers_blacklist == nil ? "" : headers_blacklist
3199
3202
  @healthcheck_path = healthcheck_path == nil ? "" : healthcheck_path
3200
3203
  @healthy = healthy == nil ? false : healthy
3204
+ @host_override = host_override == nil ? "" : host_override
3201
3205
  @id = id == nil ? "" : id
3202
3206
  @name = name == nil ? "" : name
3203
3207
  @password = password == nil ? "" : password
@@ -3230,6 +3234,8 @@ module SDM
3230
3234
  attr_accessor :healthcheck_path
3231
3235
  # True if the datasource is reachable and the credentials are valid.
3232
3236
  attr_accessor :healthy
3237
+
3238
+ attr_accessor :host_override
3233
3239
  # Unique identifier of the Resource.
3234
3240
  attr_accessor :id
3235
3241
  # Unique human-readable name of the Resource.
@@ -3250,6 +3256,7 @@ module SDM
3250
3256
  headers_blacklist: nil,
3251
3257
  healthcheck_path: nil,
3252
3258
  healthy: nil,
3259
+ host_override: nil,
3253
3260
  id: nil,
3254
3261
  name: nil,
3255
3262
  secret_store_id: nil,
@@ -3263,6 +3270,7 @@ module SDM
3263
3270
  @headers_blacklist = headers_blacklist == nil ? "" : headers_blacklist
3264
3271
  @healthcheck_path = healthcheck_path == nil ? "" : healthcheck_path
3265
3272
  @healthy = healthy == nil ? false : healthy
3273
+ @host_override = host_override == nil ? "" : host_override
3266
3274
  @id = id == nil ? "" : id
3267
3275
  @name = name == nil ? "" : name
3268
3276
  @secret_store_id = secret_store_id == nil ? "" : secret_store_id
@@ -6297,6 +6305,66 @@ module SDM
6297
6305
  end
6298
6306
  end
6299
6307
 
6308
+ # Snowsight is currently unstable, and its API may change, or it may be removed, without a major version bump.
6309
+ class Snowsight
6310
+ # Bind interface
6311
+ attr_accessor :bind_interface
6312
+ # A filter applied to the routing logic to pin datasource to nodes.
6313
+ attr_accessor :egress_filter
6314
+
6315
+ attr_accessor :healthcheck_username
6316
+ # True if the datasource is reachable and the credentials are valid.
6317
+ attr_accessor :healthy
6318
+ # Unique identifier of the Resource.
6319
+ attr_accessor :id
6320
+ # Unique human-readable name of the Resource.
6321
+ attr_accessor :name
6322
+
6323
+ attr_accessor :port_override
6324
+
6325
+ attr_accessor :samlmetadata
6326
+ # ID of the secret store containing credentials for this resource, if any.
6327
+ attr_accessor :secret_store_id
6328
+
6329
+ attr_accessor :subdomain
6330
+ # Tags is a map of key, value pairs.
6331
+ attr_accessor :tags
6332
+
6333
+ def initialize(
6334
+ bind_interface: nil,
6335
+ egress_filter: nil,
6336
+ healthcheck_username: nil,
6337
+ healthy: nil,
6338
+ id: nil,
6339
+ name: nil,
6340
+ port_override: nil,
6341
+ samlmetadata: nil,
6342
+ secret_store_id: nil,
6343
+ subdomain: nil,
6344
+ tags: nil
6345
+ )
6346
+ @bind_interface = bind_interface == nil ? "" : bind_interface
6347
+ @egress_filter = egress_filter == nil ? "" : egress_filter
6348
+ @healthcheck_username = healthcheck_username == nil ? "" : healthcheck_username
6349
+ @healthy = healthy == nil ? false : healthy
6350
+ @id = id == nil ? "" : id
6351
+ @name = name == nil ? "" : name
6352
+ @port_override = port_override == nil ? 0 : port_override
6353
+ @samlmetadata = samlmetadata == nil ? "" : samlmetadata
6354
+ @secret_store_id = secret_store_id == nil ? "" : secret_store_id
6355
+ @subdomain = subdomain == nil ? "" : subdomain
6356
+ @tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
6357
+ end
6358
+
6359
+ def to_json(options = {})
6360
+ hash = {}
6361
+ self.instance_variables.each do |var|
6362
+ hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
6363
+ end
6364
+ hash.to_json
6365
+ end
6366
+ end
6367
+
6300
6368
  class Sybase
6301
6369
  # Bind interface
6302
6370
  attr_accessor :bind_interface
data/lib/strongdm.rb CHANGED
@@ -28,7 +28,7 @@ module SDM #:nodoc:
28
28
  DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
29
29
  DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
30
30
  API_VERSION = "2021-08-23"
31
- USER_AGENT = "strongdm-sdk-ruby/3.2.3"
31
+ USER_AGENT = "strongdm-sdk-ruby/3.3.0"
32
32
  private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
33
33
 
34
34
  # Creates a new strongDM API client.
data/lib/svc.rb CHANGED
@@ -1095,6 +1095,7 @@ module SDM #:nodoc:
1095
1095
  # {Redshift}
1096
1096
  # {SingleStore}
1097
1097
  # {Snowflake}
1098
+ # {Snowsight}
1098
1099
  # {SQLServer}
1099
1100
  # {SSH}
1100
1101
  # {SSHCert}
data/lib/version CHANGED
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
  #
15
15
  module SDM
16
- VERSION = "3.2.3"
16
+ VERSION = "3.3.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 = "3.2.3"
16
+ VERSION = "3.3.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: 3.2.3
4
+ version: 3.3.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-09-08 00:00:00.000000000 Z
11
+ date: 2022-09-13 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-e9c82da6c5ed0630cb64d18659e725ae23f52cfc.idx"
83
- - "./.git/objects/pack/pack-e9c82da6c5ed0630cb64d18659e725ae23f52cfc.pack"
82
+ - "./.git/objects/pack/pack-6a639f0e84633c6b3d1ec5c7cc09f299a3ec5013.idx"
83
+ - "./.git/objects/pack/pack-6a639f0e84633c6b3d1ec5c7cc09f299a3ec5013.pack"
84
84
  - "./.git/packed-refs"
85
85
  - "./.git/refs/heads/master"
86
86
  - "./.git/refs/remotes/origin/HEAD"