tencentcloud-sdk-dasb 3.0.387 → 3.0.388
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/lib/VERSION +1 -1
- data/lib/v20191018/models.rb +148 -34
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 128d80235ea12abb9e69c4716923cf8d49853d7e
|
4
|
+
data.tar.gz: 846fd0ae56f56152c9da2c3987b05836c492c446
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cce9ea296f0aa19600266ead91ac157d3dd7794a2795f2b442784ebf4645f4d1f0a14a7c3a4e199c57d7e6a8152a09e552955488af893f561f0e3ea9b2607b0
|
7
|
+
data.tar.gz: 9e8e4f819f70a4614fffba7ebc42d94d0fc467673d0480e4ef26a57e81fa92a00f6132ed30db1e3e50fc9e39fabba2990ab6617e98e8d7a6f4db8d7a7c1c70da
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.388
|
data/lib/v20191018/models.rb
CHANGED
@@ -73,10 +73,13 @@ module TencentCloud
|
|
73
73
|
# @type ValidateTo: String
|
74
74
|
# @param Status: 访问权限状态,1 - 已生效,2 - 未生效,3 - 已过期
|
75
75
|
# @type Status: Integer
|
76
|
+
# @param Department: 所属部门的信息
|
77
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
78
|
+
# @type Department: :class:`Tencentcloud::Dasb.v20191018.models.Department`
|
76
79
|
|
77
|
-
attr_accessor :Id, :Name, :AllowDiskRedirect, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :AllowAnyAccount, :UserSet, :UserGroupSet, :DeviceSet, :DeviceGroupSet, :AccountSet, :CmdTemplateSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo, :Status
|
80
|
+
attr_accessor :Id, :Name, :AllowDiskRedirect, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :AllowAnyAccount, :UserSet, :UserGroupSet, :DeviceSet, :DeviceGroupSet, :AccountSet, :CmdTemplateSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo, :Status, :Department
|
78
81
|
|
79
|
-
def initialize(id=nil, name=nil, allowdiskredirect=nil, allowclipfileup=nil, allowclipfiledown=nil, allowcliptextup=nil, allowcliptextdown=nil, allowfileup=nil, maxfileupsize=nil, allowfiledown=nil, maxfiledownsize=nil, allowanyaccount=nil, userset=nil, usergroupset=nil, deviceset=nil, devicegroupset=nil, accountset=nil, cmdtemplateset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, status=nil)
|
82
|
+
def initialize(id=nil, name=nil, allowdiskredirect=nil, allowclipfileup=nil, allowclipfiledown=nil, allowcliptextup=nil, allowcliptextdown=nil, allowfileup=nil, maxfileupsize=nil, allowfiledown=nil, maxfiledownsize=nil, allowanyaccount=nil, userset=nil, usergroupset=nil, deviceset=nil, devicegroupset=nil, accountset=nil, cmdtemplateset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, status=nil, department=nil)
|
80
83
|
@Id = id
|
81
84
|
@Name = name
|
82
85
|
@AllowDiskRedirect = allowdiskredirect
|
@@ -103,6 +106,7 @@ module TencentCloud
|
|
103
106
|
@ValidateFrom = validatefrom
|
104
107
|
@ValidateTo = validateto
|
105
108
|
@Status = status
|
109
|
+
@Department = department
|
106
110
|
end
|
107
111
|
|
108
112
|
def deserialize(params)
|
@@ -167,6 +171,10 @@ module TencentCloud
|
|
167
171
|
@ValidateFrom = params['ValidateFrom']
|
168
172
|
@ValidateTo = params['ValidateTo']
|
169
173
|
@Status = params['Status']
|
174
|
+
unless params['Department'].nil?
|
175
|
+
@Department = Department.new
|
176
|
+
@Department.deserialize(params['Department'])
|
177
|
+
end
|
170
178
|
end
|
171
179
|
end
|
172
180
|
|
@@ -354,10 +362,12 @@ module TencentCloud
|
|
354
362
|
# @param ValidateTo: 访问权限失效时间,如:"2021-09-23T00:00:00+00:00"
|
355
363
|
# 生效、失效时间不填则访问权限长期有效
|
356
364
|
# @type ValidateTo: String
|
365
|
+
# @param DepartmentId: 访问权限所属部门的ID
|
366
|
+
# @type DepartmentId: String
|
357
367
|
|
358
|
-
attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo
|
368
|
+
attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo, :DepartmentId
|
359
369
|
|
360
|
-
def initialize(name=nil, allowdiskredirect=nil, allowanyaccount=nil, allowclipfileup=nil, allowclipfiledown=nil, allowcliptextup=nil, allowcliptextdown=nil, allowfileup=nil, maxfileupsize=nil, allowfiledown=nil, maxfiledownsize=nil, useridset=nil, usergroupidset=nil, deviceidset=nil, devicegroupidset=nil, accountset=nil, cmdtemplateidset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil)
|
370
|
+
def initialize(name=nil, allowdiskredirect=nil, allowanyaccount=nil, allowclipfileup=nil, allowclipfiledown=nil, allowcliptextup=nil, allowcliptextdown=nil, allowfileup=nil, maxfileupsize=nil, allowfiledown=nil, maxfiledownsize=nil, useridset=nil, usergroupidset=nil, deviceidset=nil, devicegroupidset=nil, accountset=nil, cmdtemplateidset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, departmentid=nil)
|
361
371
|
@Name = name
|
362
372
|
@AllowDiskRedirect = allowdiskredirect
|
363
373
|
@AllowAnyAccount = allowanyaccount
|
@@ -382,6 +392,7 @@ module TencentCloud
|
|
382
392
|
@AllowFileDel = allowfiledel
|
383
393
|
@ValidateFrom = validatefrom
|
384
394
|
@ValidateTo = validateto
|
395
|
+
@DepartmentId = departmentid
|
385
396
|
end
|
386
397
|
|
387
398
|
def deserialize(params)
|
@@ -409,6 +420,7 @@ module TencentCloud
|
|
409
420
|
@AllowFileDel = params['AllowFileDel']
|
410
421
|
@ValidateFrom = params['ValidateFrom']
|
411
422
|
@ValidateTo = params['ValidateTo']
|
423
|
+
@DepartmentId = params['DepartmentId']
|
412
424
|
end
|
413
425
|
end
|
414
426
|
|
@@ -436,15 +448,19 @@ module TencentCloud
|
|
436
448
|
class CreateDeviceGroupRequest < TencentCloud::Common::AbstractModel
|
437
449
|
# @param Name: 资产组名,最大长度32字符
|
438
450
|
# @type Name: String
|
451
|
+
# @param DepartmentId: 资产组所属部门ID,如:1.2.3
|
452
|
+
# @type DepartmentId: String
|
439
453
|
|
440
|
-
attr_accessor :Name
|
454
|
+
attr_accessor :Name, :DepartmentId
|
441
455
|
|
442
|
-
def initialize(name=nil)
|
456
|
+
def initialize(name=nil, departmentid=nil)
|
443
457
|
@Name = name
|
458
|
+
@DepartmentId = departmentid
|
444
459
|
end
|
445
460
|
|
446
461
|
def deserialize(params)
|
447
462
|
@Name = params['Name']
|
463
|
+
@DepartmentId = params['DepartmentId']
|
448
464
|
end
|
449
465
|
end
|
450
466
|
|
@@ -472,15 +488,19 @@ module TencentCloud
|
|
472
488
|
class CreateUserGroupRequest < TencentCloud::Common::AbstractModel
|
473
489
|
# @param Name: 用户组名,最大长度32字符
|
474
490
|
# @type Name: String
|
491
|
+
# @param DepartmentId: 用户组所属部门的ID,如:1.2.3
|
492
|
+
# @type DepartmentId: String
|
475
493
|
|
476
|
-
attr_accessor :Name
|
494
|
+
attr_accessor :Name, :DepartmentId
|
477
495
|
|
478
|
-
def initialize(name=nil)
|
496
|
+
def initialize(name=nil, departmentid=nil)
|
479
497
|
@Name = name
|
498
|
+
@DepartmentId = departmentid
|
480
499
|
end
|
481
500
|
|
482
501
|
def deserialize(params)
|
483
502
|
@Name = params['Name']
|
503
|
+
@DepartmentId = params['DepartmentId']
|
484
504
|
end
|
485
505
|
end
|
486
506
|
|
@@ -526,10 +546,12 @@ module TencentCloud
|
|
526
546
|
# @type AuthType: Integer
|
527
547
|
# @param ValidateTime: 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
|
528
548
|
# @type ValidateTime: String
|
549
|
+
# @param DepartmentId: 所属部门ID,如:“1.2.3”
|
550
|
+
# @type DepartmentId: String
|
529
551
|
|
530
|
-
attr_accessor :UserName, :RealName, :Phone, :Email, :ValidateFrom, :ValidateTo, :GroupIdSet, :AuthType, :ValidateTime
|
552
|
+
attr_accessor :UserName, :RealName, :Phone, :Email, :ValidateFrom, :ValidateTo, :GroupIdSet, :AuthType, :ValidateTime, :DepartmentId
|
531
553
|
|
532
|
-
def initialize(username=nil, realname=nil, phone=nil, email=nil, validatefrom=nil, validateto=nil, groupidset=nil, authtype=nil, validatetime=nil)
|
554
|
+
def initialize(username=nil, realname=nil, phone=nil, email=nil, validatefrom=nil, validateto=nil, groupidset=nil, authtype=nil, validatetime=nil, departmentid=nil)
|
533
555
|
@UserName = username
|
534
556
|
@RealName = realname
|
535
557
|
@Phone = phone
|
@@ -539,6 +561,7 @@ module TencentCloud
|
|
539
561
|
@GroupIdSet = groupidset
|
540
562
|
@AuthType = authtype
|
541
563
|
@ValidateTime = validatetime
|
564
|
+
@DepartmentId = departmentid
|
542
565
|
end
|
543
566
|
|
544
567
|
def deserialize(params)
|
@@ -551,6 +574,7 @@ module TencentCloud
|
|
551
574
|
@GroupIdSet = params['GroupIdSet']
|
552
575
|
@AuthType = params['AuthType']
|
553
576
|
@ValidateTime = params['ValidateTime']
|
577
|
+
@DepartmentId = params['DepartmentId']
|
554
578
|
end
|
555
579
|
end
|
556
580
|
|
@@ -774,6 +798,31 @@ module TencentCloud
|
|
774
798
|
end
|
775
799
|
end
|
776
800
|
|
801
|
+
# 部门信息
|
802
|
+
class Department < TencentCloud::Common::AbstractModel
|
803
|
+
# @param Id: 部门ID
|
804
|
+
# @type Id: String
|
805
|
+
# @param Name: 部门名称,1 - 256个字符
|
806
|
+
# @type Name: String
|
807
|
+
# @param Managers: 部门管理员账号ID
|
808
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
809
|
+
# @type Managers: Array
|
810
|
+
|
811
|
+
attr_accessor :Id, :Name, :Managers
|
812
|
+
|
813
|
+
def initialize(id=nil, name=nil, managers=nil)
|
814
|
+
@Id = id
|
815
|
+
@Name = name
|
816
|
+
@Managers = managers
|
817
|
+
end
|
818
|
+
|
819
|
+
def deserialize(params)
|
820
|
+
@Id = params['Id']
|
821
|
+
@Name = params['Name']
|
822
|
+
@Managers = params['Managers']
|
823
|
+
end
|
824
|
+
end
|
825
|
+
|
777
826
|
# DescribeAcls请求参数结构体
|
778
827
|
class DescribeAclsRequest < TencentCloud::Common::AbstractModel
|
779
828
|
# @param IdSet: 访问权限ID集合
|
@@ -792,10 +841,12 @@ module TencentCloud
|
|
792
841
|
# @type AuthorizedDeviceIdSet: Array
|
793
842
|
# @param Status: 访问权限状态,1 - 已生效,2 - 未生效,3 - 已过期
|
794
843
|
# @type Status: Integer
|
844
|
+
# @param DepartmentId: 部门ID,用于过滤属于某个部门的访问权限
|
845
|
+
# @type DepartmentId: String
|
795
846
|
|
796
|
-
attr_accessor :IdSet, :Name, :Offset, :Limit, :Exact, :AuthorizedUserIdSet, :AuthorizedDeviceIdSet, :Status
|
847
|
+
attr_accessor :IdSet, :Name, :Offset, :Limit, :Exact, :AuthorizedUserIdSet, :AuthorizedDeviceIdSet, :Status, :DepartmentId
|
797
848
|
|
798
|
-
def initialize(idset=nil, name=nil, offset=nil, limit=nil, exact=nil, authorizeduseridset=nil, authorizeddeviceidset=nil, status=nil)
|
849
|
+
def initialize(idset=nil, name=nil, offset=nil, limit=nil, exact=nil, authorizeduseridset=nil, authorizeddeviceidset=nil, status=nil, departmentid=nil)
|
799
850
|
@IdSet = idset
|
800
851
|
@Name = name
|
801
852
|
@Offset = offset
|
@@ -804,6 +855,7 @@ module TencentCloud
|
|
804
855
|
@AuthorizedUserIdSet = authorizeduseridset
|
805
856
|
@AuthorizedDeviceIdSet = authorizeddeviceidset
|
806
857
|
@Status = status
|
858
|
+
@DepartmentId = departmentid
|
807
859
|
end
|
808
860
|
|
809
861
|
def deserialize(params)
|
@@ -815,6 +867,7 @@ module TencentCloud
|
|
815
867
|
@AuthorizedUserIdSet = params['AuthorizedUserIdSet']
|
816
868
|
@AuthorizedDeviceIdSet = params['AuthorizedDeviceIdSet']
|
817
869
|
@Status = params['Status']
|
870
|
+
@DepartmentId = params['DepartmentId']
|
818
871
|
end
|
819
872
|
end
|
820
873
|
|
@@ -898,16 +951,19 @@ module TencentCloud
|
|
898
951
|
# @type Limit: Integer
|
899
952
|
# @param Kind: 资产类型,1 - Linux,2 - Windows,3 - MySQL,4 - SQLServer
|
900
953
|
# @type Kind: Integer
|
954
|
+
# @param DepartmentId: 所属部门ID
|
955
|
+
# @type DepartmentId: String
|
901
956
|
|
902
|
-
attr_accessor :Id, :Bound, :Name, :Offset, :Limit, :Kind
|
957
|
+
attr_accessor :Id, :Bound, :Name, :Offset, :Limit, :Kind, :DepartmentId
|
903
958
|
|
904
|
-
def initialize(id=nil, bound=nil, name=nil, offset=nil, limit=nil, kind=nil)
|
959
|
+
def initialize(id=nil, bound=nil, name=nil, offset=nil, limit=nil, kind=nil, departmentid=nil)
|
905
960
|
@Id = id
|
906
961
|
@Bound = bound
|
907
962
|
@Name = name
|
908
963
|
@Offset = offset
|
909
964
|
@Limit = limit
|
910
965
|
@Kind = kind
|
966
|
+
@DepartmentId = departmentid
|
911
967
|
end
|
912
968
|
|
913
969
|
def deserialize(params)
|
@@ -917,6 +973,7 @@ module TencentCloud
|
|
917
973
|
@Offset = params['Offset']
|
918
974
|
@Limit = params['Limit']
|
919
975
|
@Kind = params['Kind']
|
976
|
+
@DepartmentId = params['DepartmentId']
|
920
977
|
end
|
921
978
|
end
|
922
979
|
|
@@ -961,14 +1018,17 @@ module TencentCloud
|
|
961
1018
|
# @type Offset: Integer
|
962
1019
|
# @param Limit: 每页条目数量,缺省20,最大500
|
963
1020
|
# @type Limit: Integer
|
1021
|
+
# @param DepartmentId: 部门ID,用于过滤属于某个部门的资产组
|
1022
|
+
# @type DepartmentId: String
|
964
1023
|
|
965
|
-
attr_accessor :IdSet, :Name, :Offset, :Limit
|
1024
|
+
attr_accessor :IdSet, :Name, :Offset, :Limit, :DepartmentId
|
966
1025
|
|
967
|
-
def initialize(idset=nil, name=nil, offset=nil, limit=nil)
|
1026
|
+
def initialize(idset=nil, name=nil, offset=nil, limit=nil, departmentid=nil)
|
968
1027
|
@IdSet = idset
|
969
1028
|
@Name = name
|
970
1029
|
@Offset = offset
|
971
1030
|
@Limit = limit
|
1031
|
+
@DepartmentId = departmentid
|
972
1032
|
end
|
973
1033
|
|
974
1034
|
def deserialize(params)
|
@@ -976,6 +1036,7 @@ module TencentCloud
|
|
976
1036
|
@Name = params['Name']
|
977
1037
|
@Offset = params['Offset']
|
978
1038
|
@Limit = params['Limit']
|
1039
|
+
@DepartmentId = params['DepartmentId']
|
979
1040
|
end
|
980
1041
|
end
|
981
1042
|
|
@@ -1032,10 +1093,12 @@ module TencentCloud
|
|
1032
1093
|
# @type ResourceIdSet: Array
|
1033
1094
|
# @param KindSet: 可提供按照多种类型过滤, 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer
|
1034
1095
|
# @type KindSet: Array
|
1096
|
+
# @param DepartmentId: 过滤条件,可按照部门ID进行过滤
|
1097
|
+
# @type DepartmentId: String
|
1035
1098
|
|
1036
|
-
attr_accessor :IdSet, :Name, :Ip, :ApCodeSet, :Kind, :Offset, :Limit, :AuthorizedUserIdSet, :ResourceIdSet, :KindSet
|
1099
|
+
attr_accessor :IdSet, :Name, :Ip, :ApCodeSet, :Kind, :Offset, :Limit, :AuthorizedUserIdSet, :ResourceIdSet, :KindSet, :DepartmentId
|
1037
1100
|
|
1038
|
-
def initialize(idset=nil, name=nil, ip=nil, apcodeset=nil, kind=nil, offset=nil, limit=nil, authorizeduseridset=nil, resourceidset=nil, kindset=nil)
|
1101
|
+
def initialize(idset=nil, name=nil, ip=nil, apcodeset=nil, kind=nil, offset=nil, limit=nil, authorizeduseridset=nil, resourceidset=nil, kindset=nil, departmentid=nil)
|
1039
1102
|
@IdSet = idset
|
1040
1103
|
@Name = name
|
1041
1104
|
@Ip = ip
|
@@ -1046,6 +1109,7 @@ module TencentCloud
|
|
1046
1109
|
@AuthorizedUserIdSet = authorizeduseridset
|
1047
1110
|
@ResourceIdSet = resourceidset
|
1048
1111
|
@KindSet = kindset
|
1112
|
+
@DepartmentId = departmentid
|
1049
1113
|
end
|
1050
1114
|
|
1051
1115
|
def deserialize(params)
|
@@ -1059,6 +1123,7 @@ module TencentCloud
|
|
1059
1123
|
@AuthorizedUserIdSet = params['AuthorizedUserIdSet']
|
1060
1124
|
@ResourceIdSet = params['ResourceIdSet']
|
1061
1125
|
@KindSet = params['KindSet']
|
1126
|
+
@DepartmentId = params['DepartmentId']
|
1062
1127
|
end
|
1063
1128
|
end
|
1064
1129
|
|
@@ -1156,15 +1221,18 @@ module TencentCloud
|
|
1156
1221
|
# @type Offset: Integer
|
1157
1222
|
# @param Limit: 每页条目数量,默认20, 最大500
|
1158
1223
|
# @type Limit: Integer
|
1224
|
+
# @param DepartmentId: 所属部门ID
|
1225
|
+
# @type DepartmentId: String
|
1159
1226
|
|
1160
|
-
attr_accessor :Id, :Bound, :Name, :Offset, :Limit
|
1227
|
+
attr_accessor :Id, :Bound, :Name, :Offset, :Limit, :DepartmentId
|
1161
1228
|
|
1162
|
-
def initialize(id=nil, bound=nil, name=nil, offset=nil, limit=nil)
|
1229
|
+
def initialize(id=nil, bound=nil, name=nil, offset=nil, limit=nil, departmentid=nil)
|
1163
1230
|
@Id = id
|
1164
1231
|
@Bound = bound
|
1165
1232
|
@Name = name
|
1166
1233
|
@Offset = offset
|
1167
1234
|
@Limit = limit
|
1235
|
+
@DepartmentId = departmentid
|
1168
1236
|
end
|
1169
1237
|
|
1170
1238
|
def deserialize(params)
|
@@ -1173,6 +1241,7 @@ module TencentCloud
|
|
1173
1241
|
@Name = params['Name']
|
1174
1242
|
@Offset = params['Offset']
|
1175
1243
|
@Limit = params['Limit']
|
1244
|
+
@DepartmentId = params['DepartmentId']
|
1176
1245
|
end
|
1177
1246
|
end
|
1178
1247
|
|
@@ -1217,14 +1286,17 @@ module TencentCloud
|
|
1217
1286
|
# @type Offset: Integer
|
1218
1287
|
# @param Limit: 每页条目数量,缺省20,最大500
|
1219
1288
|
# @type Limit: Integer
|
1289
|
+
# @param DepartmentId: 部门ID,用于过滤属于某个部门的用户组
|
1290
|
+
# @type DepartmentId: String
|
1220
1291
|
|
1221
|
-
attr_accessor :IdSet, :Name, :Offset, :Limit
|
1292
|
+
attr_accessor :IdSet, :Name, :Offset, :Limit, :DepartmentId
|
1222
1293
|
|
1223
|
-
def initialize(idset=nil, name=nil, offset=nil, limit=nil)
|
1294
|
+
def initialize(idset=nil, name=nil, offset=nil, limit=nil, departmentid=nil)
|
1224
1295
|
@IdSet = idset
|
1225
1296
|
@Name = name
|
1226
1297
|
@Offset = offset
|
1227
1298
|
@Limit = limit
|
1299
|
+
@DepartmentId = departmentid
|
1228
1300
|
end
|
1229
1301
|
|
1230
1302
|
def deserialize(params)
|
@@ -1232,6 +1304,7 @@ module TencentCloud
|
|
1232
1304
|
@Name = params['Name']
|
1233
1305
|
@Offset = params['Offset']
|
1234
1306
|
@Limit = params['Limit']
|
1307
|
+
@DepartmentId = params['DepartmentId']
|
1235
1308
|
end
|
1236
1309
|
end
|
1237
1310
|
|
@@ -1285,10 +1358,12 @@ module TencentCloud
|
|
1285
1358
|
# @type AuthorizedDeviceIdSet: Array
|
1286
1359
|
# @param AuthTypeSet: 认证方式,0 - 本地, 1 - LDAP, 2 - OAuth, 不传为全部
|
1287
1360
|
# @type AuthTypeSet: Array
|
1361
|
+
# @param DepartmentId: 部门ID,用于过滤属于某个部门的用户
|
1362
|
+
# @type DepartmentId: String
|
1288
1363
|
|
1289
|
-
attr_accessor :IdSet, :Name, :Offset, :Limit, :UserName, :Phone, :AuthorizedDeviceIdSet, :AuthTypeSet
|
1364
|
+
attr_accessor :IdSet, :Name, :Offset, :Limit, :UserName, :Phone, :AuthorizedDeviceIdSet, :AuthTypeSet, :DepartmentId
|
1290
1365
|
|
1291
|
-
def initialize(idset=nil, name=nil, offset=nil, limit=nil, username=nil, phone=nil, authorizeddeviceidset=nil, authtypeset=nil)
|
1366
|
+
def initialize(idset=nil, name=nil, offset=nil, limit=nil, username=nil, phone=nil, authorizeddeviceidset=nil, authtypeset=nil, departmentid=nil)
|
1292
1367
|
@IdSet = idset
|
1293
1368
|
@Name = name
|
1294
1369
|
@Offset = offset
|
@@ -1297,6 +1372,7 @@ module TencentCloud
|
|
1297
1372
|
@Phone = phone
|
1298
1373
|
@AuthorizedDeviceIdSet = authorizeddeviceidset
|
1299
1374
|
@AuthTypeSet = authtypeset
|
1375
|
+
@DepartmentId = departmentid
|
1300
1376
|
end
|
1301
1377
|
|
1302
1378
|
def deserialize(params)
|
@@ -1308,6 +1384,7 @@ module TencentCloud
|
|
1308
1384
|
@Phone = params['Phone']
|
1309
1385
|
@AuthorizedDeviceIdSet = params['AuthorizedDeviceIdSet']
|
1310
1386
|
@AuthTypeSet = params['AuthTypeSet']
|
1387
|
+
@DepartmentId = params['DepartmentId']
|
1311
1388
|
end
|
1312
1389
|
end
|
1313
1390
|
|
@@ -1373,10 +1450,13 @@ module TencentCloud
|
|
1373
1450
|
# @param Resource: 堡垒机服务信息,注意没有绑定服务时为null
|
1374
1451
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1375
1452
|
# @type Resource: :class:`Tencentcloud::Dasb.v20191018.models.Resource`
|
1453
|
+
# @param Department: 资产所属部门
|
1454
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1455
|
+
# @type Department: :class:`Tencentcloud::Dasb.v20191018.models.Department`
|
1376
1456
|
|
1377
|
-
attr_accessor :Id, :InstanceId, :Name, :PublicIp, :PrivateIp, :ApCode, :OsName, :Kind, :Port, :GroupSet, :AccountCount, :VpcId, :SubnetId, :Resource
|
1457
|
+
attr_accessor :Id, :InstanceId, :Name, :PublicIp, :PrivateIp, :ApCode, :OsName, :Kind, :Port, :GroupSet, :AccountCount, :VpcId, :SubnetId, :Resource, :Department
|
1378
1458
|
|
1379
|
-
def initialize(id=nil, instanceid=nil, name=nil, publicip=nil, privateip=nil, apcode=nil, osname=nil, kind=nil, port=nil, groupset=nil, accountcount=nil, vpcid=nil, subnetid=nil, resource=nil)
|
1459
|
+
def initialize(id=nil, instanceid=nil, name=nil, publicip=nil, privateip=nil, apcode=nil, osname=nil, kind=nil, port=nil, groupset=nil, accountcount=nil, vpcid=nil, subnetid=nil, resource=nil, department=nil)
|
1380
1460
|
@Id = id
|
1381
1461
|
@InstanceId = instanceid
|
1382
1462
|
@Name = name
|
@@ -1391,6 +1471,7 @@ module TencentCloud
|
|
1391
1471
|
@VpcId = vpcid
|
1392
1472
|
@SubnetId = subnetid
|
1393
1473
|
@Resource = resource
|
1474
|
+
@Department = department
|
1394
1475
|
end
|
1395
1476
|
|
1396
1477
|
def deserialize(params)
|
@@ -1418,6 +1499,10 @@ module TencentCloud
|
|
1418
1499
|
@Resource = Resource.new
|
1419
1500
|
@Resource.deserialize(params['Resource'])
|
1420
1501
|
end
|
1502
|
+
unless params['Department'].nil?
|
1503
|
+
@Department = Department.new
|
1504
|
+
@Department.deserialize(params['Department'])
|
1505
|
+
end
|
1421
1506
|
end
|
1422
1507
|
end
|
1423
1508
|
|
@@ -1427,17 +1512,25 @@ module TencentCloud
|
|
1427
1512
|
# @type Id: Integer
|
1428
1513
|
# @param Name: 组名称
|
1429
1514
|
# @type Name: String
|
1515
|
+
# @param Department: 所属部门信息
|
1516
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1517
|
+
# @type Department: :class:`Tencentcloud::Dasb.v20191018.models.Department`
|
1430
1518
|
|
1431
|
-
attr_accessor :Id, :Name
|
1519
|
+
attr_accessor :Id, :Name, :Department
|
1432
1520
|
|
1433
|
-
def initialize(id=nil, name=nil)
|
1521
|
+
def initialize(id=nil, name=nil, department=nil)
|
1434
1522
|
@Id = id
|
1435
1523
|
@Name = name
|
1524
|
+
@Department = department
|
1436
1525
|
end
|
1437
1526
|
|
1438
1527
|
def deserialize(params)
|
1439
1528
|
@Id = params['Id']
|
1440
1529
|
@Name = params['Name']
|
1530
|
+
unless params['Department'].nil?
|
1531
|
+
@Department = Department.new
|
1532
|
+
@Department.deserialize(params['Department'])
|
1533
|
+
end
|
1441
1534
|
end
|
1442
1535
|
end
|
1443
1536
|
|
@@ -1495,10 +1588,12 @@ module TencentCloud
|
|
1495
1588
|
# @param ValidateTo: 访问权限失效时间,如:"2021-09-23T00:00:00+00:00"
|
1496
1589
|
# 生效、失效时间不填则访问权限长期有效
|
1497
1590
|
# @type ValidateTo: String
|
1591
|
+
# @param DepartmentId: 权限所属部门的ID,如:1.2.3
|
1592
|
+
# @type DepartmentId: String
|
1498
1593
|
|
1499
|
-
attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :Id, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo
|
1594
|
+
attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :Id, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo, :DepartmentId
|
1500
1595
|
|
1501
|
-
def initialize(name=nil, allowdiskredirect=nil, allowanyaccount=nil, id=nil, allowclipfileup=nil, allowclipfiledown=nil, allowcliptextup=nil, allowcliptextdown=nil, allowfileup=nil, maxfileupsize=nil, allowfiledown=nil, maxfiledownsize=nil, useridset=nil, usergroupidset=nil, deviceidset=nil, devicegroupidset=nil, accountset=nil, cmdtemplateidset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil)
|
1596
|
+
def initialize(name=nil, allowdiskredirect=nil, allowanyaccount=nil, id=nil, allowclipfileup=nil, allowclipfiledown=nil, allowcliptextup=nil, allowcliptextdown=nil, allowfileup=nil, maxfileupsize=nil, allowfiledown=nil, maxfiledownsize=nil, useridset=nil, usergroupidset=nil, deviceidset=nil, devicegroupidset=nil, accountset=nil, cmdtemplateidset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, departmentid=nil)
|
1502
1597
|
@Name = name
|
1503
1598
|
@AllowDiskRedirect = allowdiskredirect
|
1504
1599
|
@AllowAnyAccount = allowanyaccount
|
@@ -1524,6 +1619,7 @@ module TencentCloud
|
|
1524
1619
|
@AllowFileDel = allowfiledel
|
1525
1620
|
@ValidateFrom = validatefrom
|
1526
1621
|
@ValidateTo = validateto
|
1622
|
+
@DepartmentId = departmentid
|
1527
1623
|
end
|
1528
1624
|
|
1529
1625
|
def deserialize(params)
|
@@ -1552,6 +1648,7 @@ module TencentCloud
|
|
1552
1648
|
@AllowFileDel = params['AllowFileDel']
|
1553
1649
|
@ValidateFrom = params['ValidateFrom']
|
1554
1650
|
@ValidateTo = params['ValidateTo']
|
1651
|
+
@DepartmentId = params['DepartmentId']
|
1555
1652
|
end
|
1556
1653
|
end
|
1557
1654
|
|
@@ -1593,10 +1690,12 @@ module TencentCloud
|
|
1593
1690
|
# @type AuthType: Integer
|
1594
1691
|
# @param ValidateTime: 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
|
1595
1692
|
# @type ValidateTime: String
|
1693
|
+
# @param DepartmentId: 用户所属部门的ID,如1.2.3
|
1694
|
+
# @type DepartmentId: String
|
1596
1695
|
|
1597
|
-
attr_accessor :Id, :RealName, :Phone, :Email, :ValidateFrom, :ValidateTo, :GroupIdSet, :AuthType, :ValidateTime
|
1696
|
+
attr_accessor :Id, :RealName, :Phone, :Email, :ValidateFrom, :ValidateTo, :GroupIdSet, :AuthType, :ValidateTime, :DepartmentId
|
1598
1697
|
|
1599
|
-
def initialize(id=nil, realname=nil, phone=nil, email=nil, validatefrom=nil, validateto=nil, groupidset=nil, authtype=nil, validatetime=nil)
|
1698
|
+
def initialize(id=nil, realname=nil, phone=nil, email=nil, validatefrom=nil, validateto=nil, groupidset=nil, authtype=nil, validatetime=nil, departmentid=nil)
|
1600
1699
|
@Id = id
|
1601
1700
|
@RealName = realname
|
1602
1701
|
@Phone = phone
|
@@ -1606,6 +1705,7 @@ module TencentCloud
|
|
1606
1705
|
@GroupIdSet = groupidset
|
1607
1706
|
@AuthType = authtype
|
1608
1707
|
@ValidateTime = validatetime
|
1708
|
+
@DepartmentId = departmentid
|
1609
1709
|
end
|
1610
1710
|
|
1611
1711
|
def deserialize(params)
|
@@ -1618,6 +1718,7 @@ module TencentCloud
|
|
1618
1718
|
@GroupIdSet = params['GroupIdSet']
|
1619
1719
|
@AuthType = params['AuthType']
|
1620
1720
|
@ValidateTime = params['ValidateTime']
|
1721
|
+
@DepartmentId = params['DepartmentId']
|
1621
1722
|
end
|
1622
1723
|
end
|
1623
1724
|
|
@@ -1785,10 +1886,16 @@ module TencentCloud
|
|
1785
1886
|
# @type AuthType: Integer
|
1786
1887
|
# @param ValidateTime: 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
|
1787
1888
|
# @type ValidateTime: String
|
1889
|
+
# @param Department: 用户所属部门(用于出参)
|
1890
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1891
|
+
# @type Department: :class:`Tencentcloud::Dasb.v20191018.models.Department`
|
1892
|
+
# @param DepartmentId: 用户所属部门(用于入参)
|
1893
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1894
|
+
# @type DepartmentId: String
|
1788
1895
|
|
1789
|
-
attr_accessor :UserName, :RealName, :Phone, :Id, :Email, :ValidateFrom, :ValidateTo, :GroupSet, :AuthType, :ValidateTime
|
1896
|
+
attr_accessor :UserName, :RealName, :Phone, :Id, :Email, :ValidateFrom, :ValidateTo, :GroupSet, :AuthType, :ValidateTime, :Department, :DepartmentId
|
1790
1897
|
|
1791
|
-
def initialize(username=nil, realname=nil, phone=nil, id=nil, email=nil, validatefrom=nil, validateto=nil, groupset=nil, authtype=nil, validatetime=nil)
|
1898
|
+
def initialize(username=nil, realname=nil, phone=nil, id=nil, email=nil, validatefrom=nil, validateto=nil, groupset=nil, authtype=nil, validatetime=nil, department=nil, departmentid=nil)
|
1792
1899
|
@UserName = username
|
1793
1900
|
@RealName = realname
|
1794
1901
|
@Phone = phone
|
@@ -1799,6 +1906,8 @@ module TencentCloud
|
|
1799
1906
|
@GroupSet = groupset
|
1800
1907
|
@AuthType = authtype
|
1801
1908
|
@ValidateTime = validatetime
|
1909
|
+
@Department = department
|
1910
|
+
@DepartmentId = departmentid
|
1802
1911
|
end
|
1803
1912
|
|
1804
1913
|
def deserialize(params)
|
@@ -1819,6 +1928,11 @@ module TencentCloud
|
|
1819
1928
|
end
|
1820
1929
|
@AuthType = params['AuthType']
|
1821
1930
|
@ValidateTime = params['ValidateTime']
|
1931
|
+
unless params['Department'].nil?
|
1932
|
+
@Department = Department.new
|
1933
|
+
@Department.deserialize(params['Department'])
|
1934
|
+
end
|
1935
|
+
@DepartmentId = params['DepartmentId']
|
1822
1936
|
end
|
1823
1937
|
end
|
1824
1938
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dasb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.388
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|