tencentcloud-sdk-bh 3.0.1168 → 3.0.1177

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
  SHA1:
3
- metadata.gz: 70e014671f2176147fb39cce3546833302a03d79
4
- data.tar.gz: f51378e634f92a0114cfb11616dad0518b1bf2ce
3
+ metadata.gz: a89ae527ce3a6319cc41ac2939f659f0bbc9ac19
4
+ data.tar.gz: 3a152b82537c3f3473ea9dd4e8d137a5afec0cd2
5
5
  SHA512:
6
- metadata.gz: d768683ba0e1336d678a56b85cedc59bf89adb741c0d641f3a312f49d2a688809328b94902e3e0b8fe55e2e25750c3831c375a1354ef821d56d08dfe63aff6a1
7
- data.tar.gz: 0f464309a1d9915a0aab61034b1d34c72d3ae4fddf0150ac619189b87de10f97998f96f222749ee2022727f8cee54017f19b30b7cbd6da208275a3bc741f795a
6
+ metadata.gz: 4df1b4cabf46154577026e46a3503d570dfba4c9343bc99411033592ba0552f201429fc33f9ef14f57bf8b2ced2dffa7bfe011ebfdf6aeb32e2eee5370b49ffd
7
+ data.tar.gz: ac11215954c7e69492249d7e025de3aa1e0f9445a180c056a2bbec70e564cd926e2a0b3ac42b9878199fe1ad07bb4a3b094010098510e4790be4118d5afda774
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1168
1
+ 3.0.1177
@@ -413,6 +413,30 @@ module TencentCloud
413
413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
414
  end
415
415
 
416
+ # 创建用户同步任务
417
+
418
+ # @param request: Request instance for CreateSyncUserTask.
419
+ # @type request: :class:`Tencentcloud::bh::V20230418::CreateSyncUserTaskRequest`
420
+ # @rtype: :class:`Tencentcloud::bh::V20230418::CreateSyncUserTaskResponse`
421
+ def CreateSyncUserTask(request)
422
+ body = send_request('CreateSyncUserTask', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = CreateSyncUserTaskResponse.new
426
+ model.deserialize(response['Response'])
427
+ model
428
+ else
429
+ code = response['Response']['Error']['Code']
430
+ message = response['Response']['Error']['Message']
431
+ reqid = response['Response']['RequestId']
432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
433
+ end
434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
435
+ raise e
436
+ rescue StandardError => e
437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
+ end
439
+
416
440
  # 新建用户
417
441
 
418
442
  # @param request: Request instance for CreateUser.
@@ -437,6 +461,30 @@ module TencentCloud
437
461
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
462
  end
439
463
 
464
+ # 创建用户目录
465
+
466
+ # @param request: Request instance for CreateUserDirectory.
467
+ # @type request: :class:`Tencentcloud::bh::V20230418::CreateUserDirectoryRequest`
468
+ # @rtype: :class:`Tencentcloud::bh::V20230418::CreateUserDirectoryResponse`
469
+ def CreateUserDirectory(request)
470
+ body = send_request('CreateUserDirectory', request.serialize)
471
+ response = JSON.parse(body)
472
+ if response['Response'].key?('Error') == false
473
+ model = CreateUserDirectoryResponse.new
474
+ model.deserialize(response['Response'])
475
+ model
476
+ else
477
+ code = response['Response']['Error']['Code']
478
+ message = response['Response']['Error']['Message']
479
+ reqid = response['Response']['RequestId']
480
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
481
+ end
482
+ rescue TencentCloud::Common::TencentCloudSDKException => e
483
+ raise e
484
+ rescue StandardError => e
485
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
+ end
487
+
440
488
  # 新建用户组
441
489
 
442
490
  # @param request: Request instance for CreateUserGroup.
@@ -677,6 +725,30 @@ module TencentCloud
677
725
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
678
726
  end
679
727
 
728
+ # 删除用户目录
729
+
730
+ # @param request: Request instance for DeleteUserDirectory.
731
+ # @type request: :class:`Tencentcloud::bh::V20230418::DeleteUserDirectoryRequest`
732
+ # @rtype: :class:`Tencentcloud::bh::V20230418::DeleteUserDirectoryResponse`
733
+ def DeleteUserDirectory(request)
734
+ body = send_request('DeleteUserDirectory', request.serialize)
735
+ response = JSON.parse(body)
736
+ if response['Response'].key?('Error') == false
737
+ model = DeleteUserDirectoryResponse.new
738
+ model.deserialize(response['Response'])
739
+ model
740
+ else
741
+ code = response['Response']['Error']['Code']
742
+ message = response['Response']['Error']['Message']
743
+ reqid = response['Response']['RequestId']
744
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
745
+ end
746
+ rescue TencentCloud::Common::TencentCloudSDKException => e
747
+ raise e
748
+ rescue StandardError => e
749
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
+ end
751
+
680
752
  # 删除用户组成员
681
753
 
682
754
  # @param request: Request instance for DeleteUserGroupMembers.
@@ -797,6 +869,30 @@ module TencentCloud
797
869
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
870
  end
799
871
 
872
+ # 获取账号组信息
873
+
874
+ # @param request: Request instance for DescribeAccountGroups.
875
+ # @type request: :class:`Tencentcloud::bh::V20230418::DescribeAccountGroupsRequest`
876
+ # @rtype: :class:`Tencentcloud::bh::V20230418::DescribeAccountGroupsResponse`
877
+ def DescribeAccountGroups(request)
878
+ body = send_request('DescribeAccountGroups', request.serialize)
879
+ response = JSON.parse(body)
880
+ if response['Response'].key?('Error') == false
881
+ model = DescribeAccountGroupsResponse.new
882
+ model.deserialize(response['Response'])
883
+ model
884
+ else
885
+ code = response['Response']['Error']['Code']
886
+ message = response['Response']['Error']['Message']
887
+ reqid = response['Response']['RequestId']
888
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
889
+ end
890
+ rescue TencentCloud::Common::TencentCloudSDKException => e
891
+ raise e
892
+ rescue StandardError => e
893
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
894
+ end
895
+
800
896
  # 查询访问权限列表
801
897
 
802
898
  # @param request: Request instance for DescribeAcls.
@@ -1205,6 +1301,54 @@ module TencentCloud
1205
1301
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1206
1302
  end
1207
1303
 
1304
+ # 获取认证源信息
1305
+
1306
+ # @param request: Request instance for DescribeSourceTypes.
1307
+ # @type request: :class:`Tencentcloud::bh::V20230418::DescribeSourceTypesRequest`
1308
+ # @rtype: :class:`Tencentcloud::bh::V20230418::DescribeSourceTypesResponse`
1309
+ def DescribeSourceTypes(request)
1310
+ body = send_request('DescribeSourceTypes', request.serialize)
1311
+ response = JSON.parse(body)
1312
+ if response['Response'].key?('Error') == false
1313
+ model = DescribeSourceTypesResponse.new
1314
+ model.deserialize(response['Response'])
1315
+ model
1316
+ else
1317
+ code = response['Response']['Error']['Code']
1318
+ message = response['Response']['Error']['Message']
1319
+ reqid = response['Response']['RequestId']
1320
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1321
+ end
1322
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1323
+ raise e
1324
+ rescue StandardError => e
1325
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
+ end
1327
+
1328
+ # 获取用户目录
1329
+
1330
+ # @param request: Request instance for DescribeUserDirectory.
1331
+ # @type request: :class:`Tencentcloud::bh::V20230418::DescribeUserDirectoryRequest`
1332
+ # @rtype: :class:`Tencentcloud::bh::V20230418::DescribeUserDirectoryResponse`
1333
+ def DescribeUserDirectory(request)
1334
+ body = send_request('DescribeUserDirectory', request.serialize)
1335
+ response = JSON.parse(body)
1336
+ if response['Response'].key?('Error') == false
1337
+ model = DescribeUserDirectoryResponse.new
1338
+ model.deserialize(response['Response'])
1339
+ model
1340
+ else
1341
+ code = response['Response']['Error']['Code']
1342
+ message = response['Response']['Error']['Message']
1343
+ reqid = response['Response']['RequestId']
1344
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1345
+ end
1346
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1347
+ raise e
1348
+ rescue StandardError => e
1349
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1350
+ end
1351
+
1208
1352
  # 查询用户组成员列表
1209
1353
 
1210
1354
  # @param request: Request instance for DescribeUserGroupMembers.
@@ -1253,6 +1397,30 @@ module TencentCloud
1253
1397
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1254
1398
  end
1255
1399
 
1400
+ # 获取用户同步状态
1401
+
1402
+ # @param request: Request instance for DescribeUserSyncStatus.
1403
+ # @type request: :class:`Tencentcloud::bh::V20230418::DescribeUserSyncStatusRequest`
1404
+ # @rtype: :class:`Tencentcloud::bh::V20230418::DescribeUserSyncStatusResponse`
1405
+ def DescribeUserSyncStatus(request)
1406
+ body = send_request('DescribeUserSyncStatus', request.serialize)
1407
+ response = JSON.parse(body)
1408
+ if response['Response'].key?('Error') == false
1409
+ model = DescribeUserSyncStatusResponse.new
1410
+ model.deserialize(response['Response'])
1411
+ model
1412
+ else
1413
+ code = response['Response']['Error']['Code']
1414
+ message = response['Response']['Error']['Message']
1415
+ reqid = response['Response']['RequestId']
1416
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1417
+ end
1418
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1419
+ raise e
1420
+ rescue StandardError => e
1421
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1422
+ end
1423
+
1256
1424
  # 查询用户列表
1257
1425
 
1258
1426
  # @param request: Request instance for DescribeUsers.
@@ -1781,6 +1949,30 @@ module TencentCloud
1781
1949
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1782
1950
  end
1783
1951
 
1952
+ # 修改用户目录信息
1953
+
1954
+ # @param request: Request instance for ModifyUserDirectory.
1955
+ # @type request: :class:`Tencentcloud::bh::V20230418::ModifyUserDirectoryRequest`
1956
+ # @rtype: :class:`Tencentcloud::bh::V20230418::ModifyUserDirectoryResponse`
1957
+ def ModifyUserDirectory(request)
1958
+ body = send_request('ModifyUserDirectory', request.serialize)
1959
+ response = JSON.parse(body)
1960
+ if response['Response'].key?('Error') == false
1961
+ model = ModifyUserDirectoryResponse.new
1962
+ model.deserialize(response['Response'])
1963
+ model
1964
+ else
1965
+ code = response['Response']['Error']['Code']
1966
+ message = response['Response']['Error']['Message']
1967
+ reqid = response['Response']['RequestId']
1968
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1969
+ end
1970
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1971
+ raise e
1972
+ rescue StandardError => e
1973
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1974
+ end
1975
+
1784
1976
  # 修改用户组
1785
1977
 
1786
1978
  # @param request: Request instance for ModifyUserGroup.
@@ -2189,6 +2381,54 @@ module TencentCloud
2189
2381
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2190
2382
  end
2191
2383
 
2384
+ # 同步资产到IOA
2385
+
2386
+ # @param request: Request instance for SyncDevicesToIOA.
2387
+ # @type request: :class:`Tencentcloud::bh::V20230418::SyncDevicesToIOARequest`
2388
+ # @rtype: :class:`Tencentcloud::bh::V20230418::SyncDevicesToIOAResponse`
2389
+ def SyncDevicesToIOA(request)
2390
+ body = send_request('SyncDevicesToIOA', request.serialize)
2391
+ response = JSON.parse(body)
2392
+ if response['Response'].key?('Error') == false
2393
+ model = SyncDevicesToIOAResponse.new
2394
+ model.deserialize(response['Response'])
2395
+ model
2396
+ else
2397
+ code = response['Response']['Error']['Code']
2398
+ message = response['Response']['Error']['Message']
2399
+ reqid = response['Response']['RequestId']
2400
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2401
+ end
2402
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2403
+ raise e
2404
+ rescue StandardError => e
2405
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2406
+ end
2407
+
2408
+ # 同步堡垒机本地用户到IOA
2409
+
2410
+ # @param request: Request instance for SyncUserToIOA.
2411
+ # @type request: :class:`Tencentcloud::bh::V20230418::SyncUserToIOARequest`
2412
+ # @rtype: :class:`Tencentcloud::bh::V20230418::SyncUserToIOAResponse`
2413
+ def SyncUserToIOA(request)
2414
+ body = send_request('SyncUserToIOA', request.serialize)
2415
+ response = JSON.parse(body)
2416
+ if response['Response'].key?('Error') == false
2417
+ model = SyncUserToIOAResponse.new
2418
+ model.deserialize(response['Response'])
2419
+ model
2420
+ else
2421
+ code = response['Response']['Error']['Code']
2422
+ message = response['Response']['Error']['Message']
2423
+ reqid = response['Response']['RequestId']
2424
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2425
+ end
2426
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2427
+ raise e
2428
+ rescue StandardError => e
2429
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2430
+ end
2431
+
2192
2432
  # 解锁用户
2193
2433
 
2194
2434
  # @param request: Request instance for UnlockUser.
@@ -74,10 +74,10 @@ module TencentCloud
74
74
 
75
75
  attr_accessor :Account, :LoginAccount, :LoginPassword, :DeviceId, :InstanceId, :Password, :PrivateKey, :PrivateKeyPassword, :Exe, :Drivers, :Width, :Height, :IntranetAccess, :AutoManageAccessCredential
76
76
  extend Gem::Deprecate
77
- deprecate :LoginAccount, :none, 2025, 11
78
- deprecate :LoginAccount=, :none, 2025, 11
79
- deprecate :LoginPassword, :none, 2025, 11
80
- deprecate :LoginPassword=, :none, 2025, 11
77
+ deprecate :LoginAccount, :none, 2025, 12
78
+ deprecate :LoginAccount=, :none, 2025, 12
79
+ deprecate :LoginPassword, :none, 2025, 12
80
+ deprecate :LoginPassword=, :none, 2025, 12
81
81
 
82
82
  def initialize(account=nil, loginaccount=nil, loginpassword=nil, deviceid=nil, instanceid=nil, password=nil, privatekey=nil, privatekeypassword=nil, exe=nil, drivers=nil, width=nil, height=nil, intranetaccess=nil, automanageaccesscredential=nil)
83
83
  @Account = account
@@ -197,6 +197,70 @@ module TencentCloud
197
197
  end
198
198
  end
199
199
 
200
+ # ioa账号组
201
+ class AccountGroup < TencentCloud::Common::AbstractModel
202
+ # @param Id: 账号组id
203
+ # @type Id: Integer
204
+ # @param Name: 账号组名称
205
+ # @type Name: String
206
+ # @param IdPath: 账号组id路径
207
+ # @type IdPath: String
208
+ # @param NamePath: 账号组名称路径
209
+ # @type NamePath: String
210
+ # @param ParentId: 父账号组id
211
+ # @type ParentId: Integer
212
+ # @param Source: 账号组来源
213
+ # @type Source: Integer
214
+ # @param UserTotal: 账号组下用户总数
215
+ # @type UserTotal: Integer
216
+ # @param IsLeaf: 是否叶子节点
217
+ # @type IsLeaf: Boolean
218
+ # @param ImportType: 账号组导入类型
219
+ # @type ImportType: String
220
+ # @param Description: 账号组描述
221
+ # @type Description: String
222
+ # @param ParentOrgId: 父源账号组织ID。使用第三方导入用户源时,记录该分组在源组织架构下的分组ID
223
+ # @type ParentOrgId: String
224
+ # @param OrgId: 源账号组织ID。使用第三方导入用户源时,记录该分组在源组织架构下的分组ID
225
+ # @type OrgId: String
226
+ # @param Status: 账号组是否已经接入,0表示未接入,1表示接入
227
+ # @type Status: Integer
228
+
229
+ attr_accessor :Id, :Name, :IdPath, :NamePath, :ParentId, :Source, :UserTotal, :IsLeaf, :ImportType, :Description, :ParentOrgId, :OrgId, :Status
230
+
231
+ def initialize(id=nil, name=nil, idpath=nil, namepath=nil, parentid=nil, source=nil, usertotal=nil, isleaf=nil, importtype=nil, description=nil, parentorgid=nil, orgid=nil, status=nil)
232
+ @Id = id
233
+ @Name = name
234
+ @IdPath = idpath
235
+ @NamePath = namepath
236
+ @ParentId = parentid
237
+ @Source = source
238
+ @UserTotal = usertotal
239
+ @IsLeaf = isleaf
240
+ @ImportType = importtype
241
+ @Description = description
242
+ @ParentOrgId = parentorgid
243
+ @OrgId = orgid
244
+ @Status = status
245
+ end
246
+
247
+ def deserialize(params)
248
+ @Id = params['Id']
249
+ @Name = params['Name']
250
+ @IdPath = params['IdPath']
251
+ @NamePath = params['NamePath']
252
+ @ParentId = params['ParentId']
253
+ @Source = params['Source']
254
+ @UserTotal = params['UserTotal']
255
+ @IsLeaf = params['IsLeaf']
256
+ @ImportType = params['ImportType']
257
+ @Description = params['Description']
258
+ @ParentOrgId = params['ParentOrgId']
259
+ @OrgId = params['OrgId']
260
+ @Status = params['Status']
261
+ end
262
+ end
263
+
200
264
  # 访问权限
201
265
  class Acl < TencentCloud::Common::AbstractModel
202
266
  # @param Id: 访问权限ID
@@ -624,6 +688,22 @@ module TencentCloud
624
688
  end
625
689
  end
626
690
 
691
+ # 认证方式设置
692
+ class AuthModeSetting < TencentCloud::Common::AbstractModel
693
+ # @param AuthMode: 双因子认证,0-不开启,1-OTP,2-短信
694
+ # @type AuthMode: Integer
695
+
696
+ attr_accessor :AuthMode
697
+
698
+ def initialize(authmode=nil)
699
+ @AuthMode = authmode
700
+ end
701
+
702
+ def deserialize(params)
703
+ @AuthMode = params['AuthMode']
704
+ end
705
+ end
706
+
627
707
  # BindDeviceAccountPassword请求参数结构体
628
708
  class BindDeviceAccountPasswordRequest < TencentCloud::Common::AbstractModel
629
709
  # @param Id: 主机账号ID
@@ -1704,6 +1784,101 @@ module TencentCloud
1704
1784
  end
1705
1785
  end
1706
1786
 
1787
+ # CreateSyncUserTask请求参数结构体
1788
+ class CreateSyncUserTaskRequest < TencentCloud::Common::AbstractModel
1789
+ # @param UserKind: 同步用户类型, 1-同步ioa用户
1790
+ # @type UserKind: Integer
1791
+
1792
+ attr_accessor :UserKind
1793
+
1794
+ def initialize(userkind=nil)
1795
+ @UserKind = userkind
1796
+ end
1797
+
1798
+ def deserialize(params)
1799
+ @UserKind = params['UserKind']
1800
+ end
1801
+ end
1802
+
1803
+ # CreateSyncUserTask返回参数结构体
1804
+ class CreateSyncUserTaskResponse < TencentCloud::Common::AbstractModel
1805
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1806
+ # @type RequestId: String
1807
+
1808
+ attr_accessor :RequestId
1809
+
1810
+ def initialize(requestid=nil)
1811
+ @RequestId = requestid
1812
+ end
1813
+
1814
+ def deserialize(params)
1815
+ @RequestId = params['RequestId']
1816
+ end
1817
+ end
1818
+
1819
+ # CreateUserDirectory请求参数结构体
1820
+ class CreateUserDirectoryRequest < TencentCloud::Common::AbstractModel
1821
+ # @param DirId: 目录id
1822
+ # @type DirId: Integer
1823
+ # @param DirName: 目录名称
1824
+ # @type DirName: String
1825
+ # @param UserOrgSet: ioa分组信息
1826
+ # @type UserOrgSet: Array
1827
+ # @param Source: ioa关联用户源类型
1828
+ # @type Source: Integer
1829
+ # @param SourceName: ioa关联用户源名称
1830
+ # @type SourceName: String
1831
+ # @param UserCount: 目录包含用户数
1832
+ # @type UserCount: Integer
1833
+
1834
+ attr_accessor :DirId, :DirName, :UserOrgSet, :Source, :SourceName, :UserCount
1835
+
1836
+ def initialize(dirid=nil, dirname=nil, userorgset=nil, source=nil, sourcename=nil, usercount=nil)
1837
+ @DirId = dirid
1838
+ @DirName = dirname
1839
+ @UserOrgSet = userorgset
1840
+ @Source = source
1841
+ @SourceName = sourcename
1842
+ @UserCount = usercount
1843
+ end
1844
+
1845
+ def deserialize(params)
1846
+ @DirId = params['DirId']
1847
+ @DirName = params['DirName']
1848
+ unless params['UserOrgSet'].nil?
1849
+ @UserOrgSet = []
1850
+ params['UserOrgSet'].each do |i|
1851
+ userorg_tmp = UserOrg.new
1852
+ userorg_tmp.deserialize(i)
1853
+ @UserOrgSet << userorg_tmp
1854
+ end
1855
+ end
1856
+ @Source = params['Source']
1857
+ @SourceName = params['SourceName']
1858
+ @UserCount = params['UserCount']
1859
+ end
1860
+ end
1861
+
1862
+ # CreateUserDirectory返回参数结构体
1863
+ class CreateUserDirectoryResponse < TencentCloud::Common::AbstractModel
1864
+ # @param Id: 目录Id
1865
+ # @type Id: Integer
1866
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1867
+ # @type RequestId: String
1868
+
1869
+ attr_accessor :Id, :RequestId
1870
+
1871
+ def initialize(id=nil, requestid=nil)
1872
+ @Id = id
1873
+ @RequestId = requestid
1874
+ end
1875
+
1876
+ def deserialize(params)
1877
+ @Id = params['Id']
1878
+ @RequestId = params['RequestId']
1879
+ end
1880
+ end
1881
+
1707
1882
  # CreateUserGroup请求参数结构体
1708
1883
  class CreateUserGroupRequest < TencentCloud::Common::AbstractModel
1709
1884
  # @param Name: 用户组名,最大长度32字符
@@ -2110,6 +2285,38 @@ module TencentCloud
2110
2285
  end
2111
2286
  end
2112
2287
 
2288
+ # DeleteUserDirectory请求参数结构体
2289
+ class DeleteUserDirectoryRequest < TencentCloud::Common::AbstractModel
2290
+ # @param IdSet: 目录id集合
2291
+ # @type IdSet: Array
2292
+
2293
+ attr_accessor :IdSet
2294
+
2295
+ def initialize(idset=nil)
2296
+ @IdSet = idset
2297
+ end
2298
+
2299
+ def deserialize(params)
2300
+ @IdSet = params['IdSet']
2301
+ end
2302
+ end
2303
+
2304
+ # DeleteUserDirectory返回参数结构体
2305
+ class DeleteUserDirectoryResponse < TencentCloud::Common::AbstractModel
2306
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2307
+ # @type RequestId: String
2308
+
2309
+ attr_accessor :RequestId
2310
+
2311
+ def initialize(requestid=nil)
2312
+ @RequestId = requestid
2313
+ end
2314
+
2315
+ def deserialize(params)
2316
+ @RequestId = params['RequestId']
2317
+ end
2318
+ end
2319
+
2113
2320
  # DeleteUserGroupMembers请求参数结构体
2114
2321
  class DeleteUserGroupMembersRequest < TencentCloud::Common::AbstractModel
2115
2322
  # @param Id: 用户组ID
@@ -2420,6 +2627,69 @@ module TencentCloud
2420
2627
  end
2421
2628
  end
2422
2629
 
2630
+ # DescribeAccountGroups请求参数结构体
2631
+ class DescribeAccountGroupsRequest < TencentCloud::Common::AbstractModel
2632
+ # @param DeepIn: 是否递归查询,0为不递归,1为递归
2633
+ # @type DeepIn: Integer
2634
+ # @param ParentId: 父账号组ID, 默认0,查询根账号组下所有分组
2635
+ # @type ParentId: Integer
2636
+ # @param GroupName: 账号组名称,模糊查询
2637
+ # @type GroupName: String
2638
+ # @param PageSize: 分页查询,每页条数
2639
+ # @type PageSize: Integer
2640
+ # @param PageNum: 获取第几页的数据
2641
+ # @type PageNum: Integer
2642
+
2643
+ attr_accessor :DeepIn, :ParentId, :GroupName, :PageSize, :PageNum
2644
+
2645
+ def initialize(deepin=nil, parentid=nil, groupname=nil, pagesize=nil, pagenum=nil)
2646
+ @DeepIn = deepin
2647
+ @ParentId = parentid
2648
+ @GroupName = groupname
2649
+ @PageSize = pagesize
2650
+ @PageNum = pagenum
2651
+ end
2652
+
2653
+ def deserialize(params)
2654
+ @DeepIn = params['DeepIn']
2655
+ @ParentId = params['ParentId']
2656
+ @GroupName = params['GroupName']
2657
+ @PageSize = params['PageSize']
2658
+ @PageNum = params['PageNum']
2659
+ end
2660
+ end
2661
+
2662
+ # DescribeAccountGroups返回参数结构体
2663
+ class DescribeAccountGroupsResponse < TencentCloud::Common::AbstractModel
2664
+ # @param TotalCount: 账号组总数
2665
+ # @type TotalCount: Integer
2666
+ # @param AccountGroupSet: 账号组信息
2667
+ # @type AccountGroupSet: Array
2668
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2669
+ # @type RequestId: String
2670
+
2671
+ attr_accessor :TotalCount, :AccountGroupSet, :RequestId
2672
+
2673
+ def initialize(totalcount=nil, accountgroupset=nil, requestid=nil)
2674
+ @TotalCount = totalcount
2675
+ @AccountGroupSet = accountgroupset
2676
+ @RequestId = requestid
2677
+ end
2678
+
2679
+ def deserialize(params)
2680
+ @TotalCount = params['TotalCount']
2681
+ unless params['AccountGroupSet'].nil?
2682
+ @AccountGroupSet = []
2683
+ params['AccountGroupSet'].each do |i|
2684
+ accountgroup_tmp = AccountGroup.new
2685
+ accountgroup_tmp.deserialize(i)
2686
+ @AccountGroupSet << accountgroup_tmp
2687
+ end
2688
+ end
2689
+ @RequestId = params['RequestId']
2690
+ end
2691
+ end
2692
+
2423
2693
  # DescribeAcls请求参数结构体
2424
2694
  class DescribeAclsRequest < TencentCloud::Common::AbstractModel
2425
2695
  # @param IdSet: 访问权限ID集合
@@ -3587,16 +3857,116 @@ module TencentCloud
3587
3857
 
3588
3858
  # DescribeSecuritySetting返回参数结构体
3589
3859
  class DescribeSecuritySettingResponse < TencentCloud::Common::AbstractModel
3860
+ # @param SecuritySetting: 无
3861
+ # @type SecuritySetting: :class:`Tencentcloud::Bh.v20230418.models.SecuritySetting`
3590
3862
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3591
3863
  # @type RequestId: String
3592
3864
 
3593
- attr_accessor :RequestId
3865
+ attr_accessor :SecuritySetting, :RequestId
3594
3866
 
3595
- def initialize(requestid=nil)
3867
+ def initialize(securitysetting=nil, requestid=nil)
3868
+ @SecuritySetting = securitysetting
3869
+ @RequestId = requestid
3870
+ end
3871
+
3872
+ def deserialize(params)
3873
+ unless params['SecuritySetting'].nil?
3874
+ @SecuritySetting = SecuritySetting.new
3875
+ @SecuritySetting.deserialize(params['SecuritySetting'])
3876
+ end
3877
+ @RequestId = params['RequestId']
3878
+ end
3879
+ end
3880
+
3881
+ # DescribeSourceTypes请求参数结构体
3882
+ class DescribeSourceTypesRequest < TencentCloud::Common::AbstractModel
3883
+
3884
+
3885
+ def initialize()
3886
+ end
3887
+
3888
+ def deserialize(params)
3889
+ end
3890
+ end
3891
+
3892
+ # DescribeSourceTypes返回参数结构体
3893
+ class DescribeSourceTypesResponse < TencentCloud::Common::AbstractModel
3894
+ # @param TotalCount: 认证源总数
3895
+ # @type TotalCount: Integer
3896
+ # @param SourceTypeSet: 认证源信息
3897
+ # @type SourceTypeSet: Array
3898
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3899
+ # @type RequestId: String
3900
+
3901
+ attr_accessor :TotalCount, :SourceTypeSet, :RequestId
3902
+
3903
+ def initialize(totalcount=nil, sourcetypeset=nil, requestid=nil)
3904
+ @TotalCount = totalcount
3905
+ @SourceTypeSet = sourcetypeset
3906
+ @RequestId = requestid
3907
+ end
3908
+
3909
+ def deserialize(params)
3910
+ @TotalCount = params['TotalCount']
3911
+ unless params['SourceTypeSet'].nil?
3912
+ @SourceTypeSet = []
3913
+ params['SourceTypeSet'].each do |i|
3914
+ sourcetype_tmp = SourceType.new
3915
+ sourcetype_tmp.deserialize(i)
3916
+ @SourceTypeSet << sourcetype_tmp
3917
+ end
3918
+ end
3919
+ @RequestId = params['RequestId']
3920
+ end
3921
+ end
3922
+
3923
+ # DescribeUserDirectory请求参数结构体
3924
+ class DescribeUserDirectoryRequest < TencentCloud::Common::AbstractModel
3925
+ # @param Limit: 分页大小
3926
+ # @type Limit: Integer
3927
+ # @param Offset: 分页偏移
3928
+ # @type Offset: Integer
3929
+
3930
+ attr_accessor :Limit, :Offset
3931
+
3932
+ def initialize(limit=nil, offset=nil)
3933
+ @Limit = limit
3934
+ @Offset = offset
3935
+ end
3936
+
3937
+ def deserialize(params)
3938
+ @Limit = params['Limit']
3939
+ @Offset = params['Offset']
3940
+ end
3941
+ end
3942
+
3943
+ # DescribeUserDirectory返回参数结构体
3944
+ class DescribeUserDirectoryResponse < TencentCloud::Common::AbstractModel
3945
+ # @param UserDirSet: 用户目录集
3946
+ # @type UserDirSet: Array
3947
+ # @param TotalCount: 用户目录集总数
3948
+ # @type TotalCount: Integer
3949
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3950
+ # @type RequestId: String
3951
+
3952
+ attr_accessor :UserDirSet, :TotalCount, :RequestId
3953
+
3954
+ def initialize(userdirset=nil, totalcount=nil, requestid=nil)
3955
+ @UserDirSet = userdirset
3956
+ @TotalCount = totalcount
3596
3957
  @RequestId = requestid
3597
3958
  end
3598
3959
 
3599
3960
  def deserialize(params)
3961
+ unless params['UserDirSet'].nil?
3962
+ @UserDirSet = []
3963
+ params['UserDirSet'].each do |i|
3964
+ userdirectory_tmp = UserDirectory.new
3965
+ userdirectory_tmp.deserialize(i)
3966
+ @UserDirSet << userdirectory_tmp
3967
+ end
3968
+ end
3969
+ @TotalCount = params['TotalCount']
3600
3970
  @RequestId = params['RequestId']
3601
3971
  end
3602
3972
  end
@@ -3731,6 +4101,45 @@ module TencentCloud
3731
4101
  end
3732
4102
  end
3733
4103
 
4104
+ # DescribeUserSyncStatus请求参数结构体
4105
+ class DescribeUserSyncStatusRequest < TencentCloud::Common::AbstractModel
4106
+ # @param UserKind: 获取用户同步状态, 1-获取ioa用户同步状态
4107
+ # @type UserKind: Integer
4108
+
4109
+ attr_accessor :UserKind
4110
+
4111
+ def initialize(userkind=nil)
4112
+ @UserKind = userkind
4113
+ end
4114
+
4115
+ def deserialize(params)
4116
+ @UserKind = params['UserKind']
4117
+ end
4118
+ end
4119
+
4120
+ # DescribeUserSyncStatus返回参数结构体
4121
+ class DescribeUserSyncStatusResponse < TencentCloud::Common::AbstractModel
4122
+ # @param Status: 用户同步状态
4123
+ # @type Status: :class:`Tencentcloud::Bh.v20230418.models.AssetSyncStatus`
4124
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4125
+ # @type RequestId: String
4126
+
4127
+ attr_accessor :Status, :RequestId
4128
+
4129
+ def initialize(status=nil, requestid=nil)
4130
+ @Status = status
4131
+ @RequestId = requestid
4132
+ end
4133
+
4134
+ def deserialize(params)
4135
+ unless params['Status'].nil?
4136
+ @Status = AssetSyncStatus.new
4137
+ @Status.deserialize(params['Status'])
4138
+ end
4139
+ @RequestId = params['RequestId']
4140
+ end
4141
+ end
4142
+
3734
4143
  # DescribeUsers请求参数结构体
3735
4144
  class DescribeUsersRequest < TencentCloud::Common::AbstractModel
3736
4145
  # @param IdSet: 如果IdSet不为空,则忽略其他参数
@@ -5331,8 +5740,8 @@ module TencentCloud
5331
5740
 
5332
5741
  attr_accessor :ResourceId, :Status, :ResourceEdition, :ResourceNode, :AutoRenewFlag, :PackageBandwidth, :PackageNode, :LogDelivery
5333
5742
  extend Gem::Deprecate
5334
- deprecate :Status, :none, 2025, 11
5335
- deprecate :Status=, :none, 2025, 11
5743
+ deprecate :Status, :none, 2025, 12
5744
+ deprecate :Status=, :none, 2025, 12
5336
5745
 
5337
5746
  def initialize(resourceid=nil, status=nil, resourceedition=nil, resourcenode=nil, autorenewflag=nil, packagebandwidth=nil, packagenode=nil, logdelivery=nil)
5338
5747
  @ResourceId = resourceid
@@ -5373,6 +5782,49 @@ module TencentCloud
5373
5782
  end
5374
5783
  end
5375
5784
 
5785
+ # ModifyUserDirectory请求参数结构体
5786
+ class ModifyUserDirectoryRequest < TencentCloud::Common::AbstractModel
5787
+ # @param Id: 目录id
5788
+ # @type Id: Integer
5789
+ # @param UserOrgSet: ioa分组信息
5790
+ # @type UserOrgSet: Array
5791
+
5792
+ attr_accessor :Id, :UserOrgSet
5793
+
5794
+ def initialize(id=nil, userorgset=nil)
5795
+ @Id = id
5796
+ @UserOrgSet = userorgset
5797
+ end
5798
+
5799
+ def deserialize(params)
5800
+ @Id = params['Id']
5801
+ unless params['UserOrgSet'].nil?
5802
+ @UserOrgSet = []
5803
+ params['UserOrgSet'].each do |i|
5804
+ userorg_tmp = UserOrg.new
5805
+ userorg_tmp.deserialize(i)
5806
+ @UserOrgSet << userorg_tmp
5807
+ end
5808
+ end
5809
+ end
5810
+ end
5811
+
5812
+ # ModifyUserDirectory返回参数结构体
5813
+ class ModifyUserDirectoryResponse < TencentCloud::Common::AbstractModel
5814
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5815
+ # @type RequestId: String
5816
+
5817
+ attr_accessor :RequestId
5818
+
5819
+ def initialize(requestid=nil)
5820
+ @RequestId = requestid
5821
+ end
5822
+
5823
+ def deserialize(params)
5824
+ @RequestId = params['RequestId']
5825
+ end
5826
+ end
5827
+
5376
5828
  # ModifyUserGroup请求参数结构体
5377
5829
  class ModifyUserGroupRequest < TencentCloud::Common::AbstractModel
5378
5830
  # @param Id: 用户组ID
@@ -5575,6 +6027,26 @@ module TencentCloud
5575
6027
  end
5576
6028
  end
5577
6029
 
6030
+ # 运维资产重连次数
6031
+ class ReconnectionSetting < TencentCloud::Common::AbstractModel
6032
+ # @param ReconnectionMaxCount: 重连次数
6033
+ # @type ReconnectionMaxCount: Integer
6034
+ # @param Enable: true:可以重连,false:不可以重连
6035
+ # @type Enable: Boolean
6036
+
6037
+ attr_accessor :ReconnectionMaxCount, :Enable
6038
+
6039
+ def initialize(reconnectionmaxcount=nil, enable=nil)
6040
+ @ReconnectionMaxCount = reconnectionmaxcount
6041
+ @Enable = enable
6042
+ end
6043
+
6044
+ def deserialize(params)
6045
+ @ReconnectionMaxCount = params['ReconnectionMaxCount']
6046
+ @Enable = params['Enable']
6047
+ end
6048
+ end
6049
+
5578
6050
  # 回放所需字段信息
5579
6051
  class ReplayInformation < TencentCloud::Common::AbstractModel
5580
6052
  # @param Token: 令牌
@@ -7075,6 +7547,32 @@ module TencentCloud
7075
7547
  end
7076
7548
  end
7077
7549
 
7550
+ # 系统安全设置
7551
+ class SecuritySetting < TencentCloud::Common::AbstractModel
7552
+ # @param AuthModeGM: 国密认证方式设置
7553
+ # @type AuthModeGM: :class:`Tencentcloud::Bh.v20230418.models.AuthModeSetting`
7554
+ # @param Reconnection: 资产重连次数
7555
+ # @type Reconnection: :class:`Tencentcloud::Bh.v20230418.models.ReconnectionSetting`
7556
+
7557
+ attr_accessor :AuthModeGM, :Reconnection
7558
+
7559
+ def initialize(authmodegm=nil, reconnection=nil)
7560
+ @AuthModeGM = authmodegm
7561
+ @Reconnection = reconnection
7562
+ end
7563
+
7564
+ def deserialize(params)
7565
+ unless params['AuthModeGM'].nil?
7566
+ @AuthModeGM = AuthModeSetting.new
7567
+ @AuthModeGM.deserialize(params['AuthModeGM'])
7568
+ end
7569
+ unless params['Reconnection'].nil?
7570
+ @Reconnection = ReconnectionSetting.new
7571
+ @Reconnection.deserialize(params['Reconnection'])
7572
+ end
7573
+ end
7574
+ end
7575
+
7078
7576
  # 搜索字符或图形会话时返回的SessionResul结构体
7079
7577
  class SessionResult < TencentCloud::Common::AbstractModel
7080
7578
  # @param UserName: 用户名
@@ -7214,6 +7712,98 @@ module TencentCloud
7214
7712
  end
7215
7713
  end
7216
7714
 
7715
+ # ioa用户源信息
7716
+ class SourceType < TencentCloud::Common::AbstractModel
7717
+ # @param Source: 账号组来源
7718
+ # @type Source: Integer
7719
+ # @param Type: 账号组来源类型
7720
+ # @type Type: String
7721
+ # @param Name: 账号组来源名称
7722
+ # @type Name: String
7723
+ # @param Target: 区分ioa原来和iam-mini
7724
+ # @type Target: String
7725
+
7726
+ attr_accessor :Source, :Type, :Name, :Target
7727
+
7728
+ def initialize(source=nil, type=nil, name=nil, target=nil)
7729
+ @Source = source
7730
+ @Type = type
7731
+ @Name = name
7732
+ @Target = target
7733
+ end
7734
+
7735
+ def deserialize(params)
7736
+ @Source = params['Source']
7737
+ @Type = params['Type']
7738
+ @Name = params['Name']
7739
+ @Target = params['Target']
7740
+ end
7741
+ end
7742
+
7743
+ # SyncDevicesToIOA请求参数结构体
7744
+ class SyncDevicesToIOARequest < TencentCloud::Common::AbstractModel
7745
+ # @param DeviceIdSet: 资产ID集合。资产必须已绑定支持IOA功能的堡垒机实例。每次最多同步200个资产。
7746
+ # @type DeviceIdSet: Array
7747
+
7748
+ attr_accessor :DeviceIdSet
7749
+
7750
+ def initialize(deviceidset=nil)
7751
+ @DeviceIdSet = deviceidset
7752
+ end
7753
+
7754
+ def deserialize(params)
7755
+ @DeviceIdSet = params['DeviceIdSet']
7756
+ end
7757
+ end
7758
+
7759
+ # SyncDevicesToIOA返回参数结构体
7760
+ class SyncDevicesToIOAResponse < TencentCloud::Common::AbstractModel
7761
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7762
+ # @type RequestId: String
7763
+
7764
+ attr_accessor :RequestId
7765
+
7766
+ def initialize(requestid=nil)
7767
+ @RequestId = requestid
7768
+ end
7769
+
7770
+ def deserialize(params)
7771
+ @RequestId = params['RequestId']
7772
+ end
7773
+ end
7774
+
7775
+ # SyncUserToIOA请求参数结构体
7776
+ class SyncUserToIOARequest < TencentCloud::Common::AbstractModel
7777
+ # @param UserIdSet: 需要同步到ioa的本地用户的id集合
7778
+ # @type UserIdSet: Array
7779
+
7780
+ attr_accessor :UserIdSet
7781
+
7782
+ def initialize(useridset=nil)
7783
+ @UserIdSet = useridset
7784
+ end
7785
+
7786
+ def deserialize(params)
7787
+ @UserIdSet = params['UserIdSet']
7788
+ end
7789
+ end
7790
+
7791
+ # SyncUserToIOA返回参数结构体
7792
+ class SyncUserToIOAResponse < TencentCloud::Common::AbstractModel
7793
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7794
+ # @type RequestId: String
7795
+
7796
+ attr_accessor :RequestId
7797
+
7798
+ def initialize(requestid=nil)
7799
+ @RequestId = requestid
7800
+ end
7801
+
7802
+ def deserialize(params)
7803
+ @RequestId = params['RequestId']
7804
+ end
7805
+ end
7806
+
7217
7807
  # 资产标签
7218
7808
  class TagFilter < TencentCloud::Common::AbstractModel
7219
7809
  # @param TagKey: 标签键
@@ -7316,7 +7906,7 @@ module TencentCloud
7316
7906
 
7317
7907
  # 用户信息
7318
7908
  class User < TencentCloud::Common::AbstractModel
7319
- # @param UserName: 用户名, 3-20个字符 必须以英文字母开头,且不能包含字母、数字、.、_、-以外的字符
7909
+ # @param UserName: 用户名,1 - 128个字符 必须以英文字母开头,只能由a-zA-Z0-9以及+=,.@_-组成,支持邮箱格式
7320
7910
  # @type UserName: String
7321
7911
  # @param RealName: 用户姓名, 最大20个字符,不能包含空白字符
7322
7912
  # @type RealName: String
@@ -7356,10 +7946,12 @@ module TencentCloud
7356
7946
  # @type UserFrom: Integer
7357
7947
  # @param IOAUserGroup: ioa同步过来的用户相关信息
7358
7948
  # @type IOAUserGroup: :class:`Tencentcloud::Bh.v20230418.models.IOAUserGroup`
7949
+ # @param RoleArn: cam角色用户载体
7950
+ # @type RoleArn: String
7359
7951
 
7360
- attr_accessor :UserName, :RealName, :Id, :Phone, :Email, :ValidateFrom, :ValidateTo, :GroupSet, :AuthType, :ValidateTime, :Department, :DepartmentId, :ActiveStatus, :LockStatus, :UKeyStatus, :Status, :AclVersion, :UserFrom, :IOAUserGroup
7952
+ attr_accessor :UserName, :RealName, :Id, :Phone, :Email, :ValidateFrom, :ValidateTo, :GroupSet, :AuthType, :ValidateTime, :Department, :DepartmentId, :ActiveStatus, :LockStatus, :UKeyStatus, :Status, :AclVersion, :UserFrom, :IOAUserGroup, :RoleArn
7361
7953
 
7362
- def initialize(username=nil, realname=nil, id=nil, phone=nil, email=nil, validatefrom=nil, validateto=nil, groupset=nil, authtype=nil, validatetime=nil, department=nil, departmentid=nil, activestatus=nil, lockstatus=nil, ukeystatus=nil, status=nil, aclversion=nil, userfrom=nil, ioausergroup=nil)
7954
+ def initialize(username=nil, realname=nil, id=nil, phone=nil, email=nil, validatefrom=nil, validateto=nil, groupset=nil, authtype=nil, validatetime=nil, department=nil, departmentid=nil, activestatus=nil, lockstatus=nil, ukeystatus=nil, status=nil, aclversion=nil, userfrom=nil, ioausergroup=nil, rolearn=nil)
7363
7955
  @UserName = username
7364
7956
  @RealName = realname
7365
7957
  @Id = id
@@ -7379,6 +7971,7 @@ module TencentCloud
7379
7971
  @AclVersion = aclversion
7380
7972
  @UserFrom = userfrom
7381
7973
  @IOAUserGroup = ioausergroup
7974
+ @RoleArn = rolearn
7382
7975
  end
7383
7976
 
7384
7977
  def deserialize(params)
@@ -7414,6 +8007,90 @@ module TencentCloud
7414
8007
  @IOAUserGroup = IOAUserGroup.new
7415
8008
  @IOAUserGroup.deserialize(params['IOAUserGroup'])
7416
8009
  end
8010
+ @RoleArn = params['RoleArn']
8011
+ end
8012
+ end
8013
+
8014
+ # 用户目录信息
8015
+ class UserDirectory < TencentCloud::Common::AbstractModel
8016
+ # @param Id: 目录id
8017
+ # @type Id: Integer
8018
+ # @param DirId: ioa目录id
8019
+ # @type DirId: Integer
8020
+ # @param DirName: ioa目录名称
8021
+ # @type DirName: String
8022
+ # @param Source: ioa关联用户源类型
8023
+ # @type Source: Integer
8024
+ # @param SourceName: ioa关联用户源名称
8025
+ # @type SourceName: String
8026
+ # @param UserTotal: 目录包含用户数
8027
+ # @type UserTotal: Integer
8028
+ # @param CreateTime: 目录接入时间
8029
+ # @type CreateTime: String
8030
+ # @param UserOrgSet: 目录下的组织细节信息
8031
+ # @type UserOrgSet: Array
8032
+
8033
+ attr_accessor :Id, :DirId, :DirName, :Source, :SourceName, :UserTotal, :CreateTime, :UserOrgSet
8034
+
8035
+ def initialize(id=nil, dirid=nil, dirname=nil, source=nil, sourcename=nil, usertotal=nil, createtime=nil, userorgset=nil)
8036
+ @Id = id
8037
+ @DirId = dirid
8038
+ @DirName = dirname
8039
+ @Source = source
8040
+ @SourceName = sourcename
8041
+ @UserTotal = usertotal
8042
+ @CreateTime = createtime
8043
+ @UserOrgSet = userorgset
8044
+ end
8045
+
8046
+ def deserialize(params)
8047
+ @Id = params['Id']
8048
+ @DirId = params['DirId']
8049
+ @DirName = params['DirName']
8050
+ @Source = params['Source']
8051
+ @SourceName = params['SourceName']
8052
+ @UserTotal = params['UserTotal']
8053
+ @CreateTime = params['CreateTime']
8054
+ unless params['UserOrgSet'].nil?
8055
+ @UserOrgSet = []
8056
+ params['UserOrgSet'].each do |i|
8057
+ userorg_tmp = UserOrg.new
8058
+ userorg_tmp.deserialize(i)
8059
+ @UserOrgSet << userorg_tmp
8060
+ end
8061
+ end
8062
+ end
8063
+ end
8064
+
8065
+ # 同步的ioa用户组织信息
8066
+ class UserOrg < TencentCloud::Common::AbstractModel
8067
+ # @param OrgId: ioa用户组织id
8068
+ # @type OrgId: Integer
8069
+ # @param OrgName: ioa用户组织名称
8070
+ # @type OrgName: String
8071
+ # @param OrgIdPath: ioa用户组织id路径
8072
+ # @type OrgIdPath: String
8073
+ # @param OrgNamePath: ioa用户组织名称路径
8074
+ # @type OrgNamePath: String
8075
+ # @param UserTotal: ioa用户组织id下的用户数
8076
+ # @type UserTotal: Integer
8077
+
8078
+ attr_accessor :OrgId, :OrgName, :OrgIdPath, :OrgNamePath, :UserTotal
8079
+
8080
+ def initialize(orgid=nil, orgname=nil, orgidpath=nil, orgnamepath=nil, usertotal=nil)
8081
+ @OrgId = orgid
8082
+ @OrgName = orgname
8083
+ @OrgIdPath = orgidpath
8084
+ @OrgNamePath = orgnamepath
8085
+ @UserTotal = usertotal
8086
+ end
8087
+
8088
+ def deserialize(params)
8089
+ @OrgId = params['OrgId']
8090
+ @OrgName = params['OrgName']
8091
+ @OrgIdPath = params['OrgIdPath']
8092
+ @OrgNamePath = params['OrgNamePath']
8093
+ @UserTotal = params['UserTotal']
7417
8094
  end
7418
8095
  end
7419
8096
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-bh
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1168
4
+ version: 3.0.1177
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-14 00:00:00.000000000 Z
11
+ date: 2025-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - lib/tencentcloud-sdk-bh.rb
36
37
  - lib/v20230418/client.rb
37
38
  - lib/v20230418/models.rb
38
- - lib/tencentcloud-sdk-bh.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: