tencentcloud-sdk-dasb 3.0.636 → 3.0.637

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20191018/models.rb +124 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 016fd69166c528c27daebfe48e7651d4e7ccd3e0
4
- data.tar.gz: 0a04dda577902dafa051efc628ab9b17510d3db8
3
+ metadata.gz: 2661ab2c41d037774bec9be81be94ff725309c00
4
+ data.tar.gz: 846de3cf2c20ddcf2f296ea2c1b232b29adc5e79
5
5
  SHA512:
6
- metadata.gz: e8470defb7ee45ff14cd547838a78984306a616f634de9ac8fd15c13eb93aad49146f6a96540f218d8fdaada15337caf7b614ca5c62f4a94eff6dc1e17912c2d
7
- data.tar.gz: 35da389d497cf3f93e8ec2f512b34dac2655978f616920d359cc46e9189f78f402ee4cb3363e845838e60cdb9325b1aa29f1c7a97ef3a7f6d1c0046fa3163d00
6
+ metadata.gz: 8df4e06674c77295ac9f1163342a691dcf2848bb07fa8a113c4e2d4c26fd055d9078002fba4a28986b94f138f90795384242bae28b97c9b14b09e05be35d651a
7
+ data.tar.gz: f1530cae7379bcd7e88c10a33b6d0792412f653a98faf6acf3b5de3abd9a164d31f74ea4d2e295c0e8bf90d2b5ab83716404e5017e69e28086c05841fe5ca3d5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.636
1
+ 3.0.637
@@ -17,6 +17,33 @@
17
17
  module TencentCloud
18
18
  module Dasb
19
19
  module V20191018
20
+ # 权限控制模版对象
21
+ class ACTemplate < TencentCloud::Common::AbstractModel
22
+ # @param TemplateId: 模版id
23
+ # 注意:此字段可能返回 null,表示取不到有效值。
24
+ # @type TemplateId: String
25
+ # @param TemplateName: 模版名称
26
+ # 注意:此字段可能返回 null,表示取不到有效值。
27
+ # @type TemplateName: String
28
+ # @param Description: 模版描述
29
+ # 注意:此字段可能返回 null,表示取不到有效值。
30
+ # @type Description: String
31
+
32
+ attr_accessor :TemplateId, :TemplateName, :Description
33
+
34
+ def initialize(templateid=nil, templatename=nil, description=nil)
35
+ @TemplateId = templateid
36
+ @TemplateName = templatename
37
+ @Description = description
38
+ end
39
+
40
+ def deserialize(params)
41
+ @TemplateId = params['TemplateId']
42
+ @TemplateName = params['TemplateName']
43
+ @Description = params['Description']
44
+ end
45
+ end
46
+
20
47
  # 访问权限
21
48
  class Acl < TencentCloud::Common::AbstractModel
22
49
  # @param Id: 访问权限ID
@@ -76,10 +103,16 @@ module TencentCloud
76
103
  # @param Department: 所属部门的信息
77
104
  # 注意:此字段可能返回 null,表示取不到有效值。
78
105
  # @type Department: :class:`Tencentcloud::Dasb.v20191018.models.Department`
106
+ # @param AllowAccessCredential: 是否允许使用访问串,默认允许
107
+ # 注意:此字段可能返回 null,表示取不到有效值。
108
+ # @type AllowAccessCredential: Boolean
109
+ # @param ACTemplateSet: 关联的数据库高危命令列表
110
+ # 注意:此字段可能返回 null,表示取不到有效值。
111
+ # @type ACTemplateSet: Array
79
112
 
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
113
+ 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, :AllowAccessCredential, :ACTemplateSet
81
114
 
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)
115
+ 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, allowaccesscredential=nil, actemplateset=nil)
83
116
  @Id = id
84
117
  @Name = name
85
118
  @AllowDiskRedirect = allowdiskredirect
@@ -107,6 +140,8 @@ module TencentCloud
107
140
  @ValidateTo = validateto
108
141
  @Status = status
109
142
  @Department = department
143
+ @AllowAccessCredential = allowaccesscredential
144
+ @ACTemplateSet = actemplateset
110
145
  end
111
146
 
112
147
  def deserialize(params)
@@ -175,6 +210,15 @@ module TencentCloud
175
210
  @Department = Department.new
176
211
  @Department.deserialize(params['Department'])
177
212
  end
213
+ @AllowAccessCredential = params['AllowAccessCredential']
214
+ unless params['ACTemplateSet'].nil?
215
+ @ACTemplateSet = []
216
+ params['ACTemplateSet'].each do |i|
217
+ actemplate_tmp = ACTemplate.new
218
+ actemplate_tmp.deserialize(i)
219
+ @ACTemplateSet << actemplate_tmp
220
+ end
221
+ end
178
222
  end
179
223
  end
180
224
 
@@ -605,10 +649,12 @@ module TencentCloud
605
649
  # @type ValidateTo: String
606
650
  # @param DepartmentId: 访问权限所属部门的ID
607
651
  # @type DepartmentId: String
652
+ # @param AllowAccessCredential: 是否允许使用访问串,默认允许
653
+ # @type AllowAccessCredential: Boolean
608
654
 
609
- attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :ACTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo, :DepartmentId
655
+ attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :ACTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo, :DepartmentId, :AllowAccessCredential
610
656
 
611
- 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, actemplateidset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, departmentid=nil)
657
+ 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, actemplateidset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, departmentid=nil, allowaccesscredential=nil)
612
658
  @Name = name
613
659
  @AllowDiskRedirect = allowdiskredirect
614
660
  @AllowAnyAccount = allowanyaccount
@@ -635,6 +681,7 @@ module TencentCloud
635
681
  @ValidateFrom = validatefrom
636
682
  @ValidateTo = validateto
637
683
  @DepartmentId = departmentid
684
+ @AllowAccessCredential = allowaccesscredential
638
685
  end
639
686
 
640
687
  def deserialize(params)
@@ -664,6 +711,7 @@ module TencentCloud
664
711
  @ValidateFrom = params['ValidateFrom']
665
712
  @ValidateTo = params['ValidateTo']
666
713
  @DepartmentId = params['DepartmentId']
714
+ @AllowAccessCredential = params['AllowAccessCredential']
667
715
  end
668
716
  end
669
717
 
@@ -1264,19 +1312,53 @@ module TencentCloud
1264
1312
  # @param Managers: 部门管理员账号ID
1265
1313
  # 注意:此字段可能返回 null,表示取不到有效值。
1266
1314
  # @type Managers: Array
1315
+ # @param ManagerUsers: 管理员用户
1316
+ # 注意:此字段可能返回 null,表示取不到有效值。
1317
+ # @type ManagerUsers: Array
1267
1318
 
1268
- attr_accessor :Id, :Name, :Managers
1319
+ attr_accessor :Id, :Name, :Managers, :ManagerUsers
1269
1320
 
1270
- def initialize(id=nil, name=nil, managers=nil)
1321
+ def initialize(id=nil, name=nil, managers=nil, managerusers=nil)
1271
1322
  @Id = id
1272
1323
  @Name = name
1273
1324
  @Managers = managers
1325
+ @ManagerUsers = managerusers
1274
1326
  end
1275
1327
 
1276
1328
  def deserialize(params)
1277
1329
  @Id = params['Id']
1278
1330
  @Name = params['Name']
1279
1331
  @Managers = params['Managers']
1332
+ unless params['ManagerUsers'].nil?
1333
+ @ManagerUsers = []
1334
+ params['ManagerUsers'].each do |i|
1335
+ departmentmanageruser_tmp = DepartmentManagerUser.new
1336
+ departmentmanageruser_tmp.deserialize(i)
1337
+ @ManagerUsers << departmentmanageruser_tmp
1338
+ end
1339
+ end
1340
+ end
1341
+ end
1342
+
1343
+ # 部门管理员信息
1344
+ class DepartmentManagerUser < TencentCloud::Common::AbstractModel
1345
+ # @param ManagerId: 管理员Id
1346
+ # 注意:此字段可能返回 null,表示取不到有效值。
1347
+ # @type ManagerId: String
1348
+ # @param ManagerName: 管理员姓名
1349
+ # 注意:此字段可能返回 null,表示取不到有效值。
1350
+ # @type ManagerName: String
1351
+
1352
+ attr_accessor :ManagerId, :ManagerName
1353
+
1354
+ def initialize(managerid=nil, managername=nil)
1355
+ @ManagerId = managerid
1356
+ @ManagerName = managername
1357
+ end
1358
+
1359
+ def deserialize(params)
1360
+ @ManagerId = params['ManagerId']
1361
+ @ManagerName = params['ManagerName']
1280
1362
  end
1281
1363
  end
1282
1364
 
@@ -2240,10 +2322,12 @@ module TencentCloud
2240
2322
  # @type AuthTypeSet: Array
2241
2323
  # @param DepartmentId: 部门ID,用于过滤属于某个部门的用户
2242
2324
  # @type DepartmentId: String
2325
+ # @param Filters: 参数过滤数组
2326
+ # @type Filters: Array
2243
2327
 
2244
- attr_accessor :IdSet, :Name, :Offset, :Limit, :UserName, :Phone, :Email, :AuthorizedDeviceIdSet, :AuthTypeSet, :DepartmentId
2328
+ attr_accessor :IdSet, :Name, :Offset, :Limit, :UserName, :Phone, :Email, :AuthorizedDeviceIdSet, :AuthTypeSet, :DepartmentId, :Filters
2245
2329
 
2246
- def initialize(idset=nil, name=nil, offset=nil, limit=nil, username=nil, phone=nil, email=nil, authorizeddeviceidset=nil, authtypeset=nil, departmentid=nil)
2330
+ def initialize(idset=nil, name=nil, offset=nil, limit=nil, username=nil, phone=nil, email=nil, authorizeddeviceidset=nil, authtypeset=nil, departmentid=nil, filters=nil)
2247
2331
  @IdSet = idset
2248
2332
  @Name = name
2249
2333
  @Offset = offset
@@ -2254,6 +2338,7 @@ module TencentCloud
2254
2338
  @AuthorizedDeviceIdSet = authorizeddeviceidset
2255
2339
  @AuthTypeSet = authtypeset
2256
2340
  @DepartmentId = departmentid
2341
+ @Filters = filters
2257
2342
  end
2258
2343
 
2259
2344
  def deserialize(params)
@@ -2267,6 +2352,14 @@ module TencentCloud
2267
2352
  @AuthorizedDeviceIdSet = params['AuthorizedDeviceIdSet']
2268
2353
  @AuthTypeSet = params['AuthTypeSet']
2269
2354
  @DepartmentId = params['DepartmentId']
2355
+ unless params['Filters'].nil?
2356
+ @Filters = []
2357
+ params['Filters'].each do |i|
2358
+ filter_tmp = Filter.new
2359
+ filter_tmp.deserialize(i)
2360
+ @Filters << filter_tmp
2361
+ end
2362
+ end
2270
2363
  end
2271
2364
  end
2272
2365
 
@@ -2649,10 +2742,12 @@ module TencentCloud
2649
2742
  # @type ValidateTo: String
2650
2743
  # @param DepartmentId: 权限所属部门的ID,如:1.2.3
2651
2744
  # @type DepartmentId: String
2745
+ # @param AllowAccessCredential: 是否允许使用访问串
2746
+ # @type AllowAccessCredential: Boolean
2652
2747
 
2653
- attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :Id, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :ACTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo, :DepartmentId
2748
+ attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :Id, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :ACTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo, :DepartmentId, :AllowAccessCredential
2654
2749
 
2655
- 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, actemplateidset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, departmentid=nil)
2750
+ 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, actemplateidset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, departmentid=nil, allowaccesscredential=nil)
2656
2751
  @Name = name
2657
2752
  @AllowDiskRedirect = allowdiskredirect
2658
2753
  @AllowAnyAccount = allowanyaccount
@@ -2680,6 +2775,7 @@ module TencentCloud
2680
2775
  @ValidateFrom = validatefrom
2681
2776
  @ValidateTo = validateto
2682
2777
  @DepartmentId = departmentid
2778
+ @AllowAccessCredential = allowaccesscredential
2683
2779
  end
2684
2780
 
2685
2781
  def deserialize(params)
@@ -2710,6 +2806,7 @@ module TencentCloud
2710
2806
  @ValidateFrom = params['ValidateFrom']
2711
2807
  @ValidateTo = params['ValidateTo']
2712
2808
  @DepartmentId = params['DepartmentId']
2809
+ @AllowAccessCredential = params['AllowAccessCredential']
2713
2810
  end
2714
2811
  end
2715
2812
 
@@ -4128,10 +4225,19 @@ module TencentCloud
4128
4225
  # @param DepartmentId: 用户所属部门(用于入参)
4129
4226
  # 注意:此字段可能返回 null,表示取不到有效值。
4130
4227
  # @type DepartmentId: String
4228
+ # @param ActiveStatus: 激活状态 0 - 未激活 1 - 激活
4229
+ # 注意:此字段可能返回 null,表示取不到有效值。
4230
+ # @type ActiveStatus: Integer
4231
+ # @param LockStatus: 锁定状态 0 - 未锁定 1 - 锁定
4232
+ # 注意:此字段可能返回 null,表示取不到有效值。
4233
+ # @type LockStatus: Integer
4234
+ # @param Status: 状态 与Filter中一致
4235
+ # 注意:此字段可能返回 null,表示取不到有效值。
4236
+ # @type Status: String
4131
4237
 
4132
- attr_accessor :UserName, :RealName, :Id, :Phone, :Email, :ValidateFrom, :ValidateTo, :GroupSet, :AuthType, :ValidateTime, :Department, :DepartmentId
4238
+ attr_accessor :UserName, :RealName, :Id, :Phone, :Email, :ValidateFrom, :ValidateTo, :GroupSet, :AuthType, :ValidateTime, :Department, :DepartmentId, :ActiveStatus, :LockStatus, :Status
4133
4239
 
4134
- 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)
4240
+ 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, status=nil)
4135
4241
  @UserName = username
4136
4242
  @RealName = realname
4137
4243
  @Id = id
@@ -4144,6 +4250,9 @@ module TencentCloud
4144
4250
  @ValidateTime = validatetime
4145
4251
  @Department = department
4146
4252
  @DepartmentId = departmentid
4253
+ @ActiveStatus = activestatus
4254
+ @LockStatus = lockstatus
4255
+ @Status = status
4147
4256
  end
4148
4257
 
4149
4258
  def deserialize(params)
@@ -4169,6 +4278,9 @@ module TencentCloud
4169
4278
  @Department.deserialize(params['Department'])
4170
4279
  end
4171
4280
  @DepartmentId = params['DepartmentId']
4281
+ @ActiveStatus = params['ActiveStatus']
4282
+ @LockStatus = params['LockStatus']
4283
+ @Status = params['Status']
4172
4284
  end
4173
4285
  end
4174
4286
 
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.636
4
+ version: 3.0.637
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-15 00:00:00.000000000 Z
11
+ date: 2023-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common