tencentcloud-sdk-ctem 3.0.1100 → 3.0.1101

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: e51f29fdf0607268ee00419cef451addedefe739
4
- data.tar.gz: 0f38b85c5dba8dfce08a960c44fc67477aa73bd7
3
+ metadata.gz: 58399b951c1ef58e2fcc9cb118c945b2aa1eff53
4
+ data.tar.gz: 3cb1c7617695c3287ff089d0122331ad3f989664
5
5
  SHA512:
6
- metadata.gz: 3a8858642b60cb8de1dd8cd00bd8b9bca017b61017569e46405cd2a271a21b9ea704f3768da9aae26dee40a34ee317155422a59b41dbbc0bed078ad225c96894
7
- data.tar.gz: bb1193929171f00998da526c3c6b4f273885cba35d3bc6134c42f74627b3091dba6af61c50da0c2e55429d78d10b5f99d144ac753f7b69e2a36831adc93514df
6
+ metadata.gz: b0c78d9d1763e3e639e78ffb3bcb0a738cf6f5a3064b364d5afcae1084d225af24eb7b0664c47df502bee5a58d9a79aa3ddf623c16d0e75a15ac5aeb74ff2d10
7
+ data.tar.gz: 0500954357d71a4ddd9cfbb5dae5118cc50f2a4021729d52f5e514b366d070d1ce65dd82679fa386137a446923971752e9410d181c58e7a9e72a45a4e2445eb9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1100
1
+ 3.0.1101
@@ -341,6 +341,78 @@ module TencentCloud
341
341
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
342
  end
343
343
 
344
+ # 获取代码泄露数据
345
+
346
+ # @param request: Request instance for DescribeLeakageCodes.
347
+ # @type request: :class:`Tencentcloud::ctem::V20231128::DescribeLeakageCodesRequest`
348
+ # @rtype: :class:`Tencentcloud::ctem::V20231128::DescribeLeakageCodesResponse`
349
+ def DescribeLeakageCodes(request)
350
+ body = send_request('DescribeLeakageCodes', request.serialize)
351
+ response = JSON.parse(body)
352
+ if response['Response'].key?('Error') == false
353
+ model = DescribeLeakageCodesResponse.new
354
+ model.deserialize(response['Response'])
355
+ model
356
+ else
357
+ code = response['Response']['Error']['Code']
358
+ message = response['Response']['Error']['Message']
359
+ reqid = response['Response']['RequestId']
360
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
361
+ end
362
+ rescue TencentCloud::Common::TencentCloudSDKException => e
363
+ raise e
364
+ rescue StandardError => e
365
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
+ end
367
+
368
+ # 获取数据泄露事件
369
+
370
+ # @param request: Request instance for DescribeLeakageDatas.
371
+ # @type request: :class:`Tencentcloud::ctem::V20231128::DescribeLeakageDatasRequest`
372
+ # @rtype: :class:`Tencentcloud::ctem::V20231128::DescribeLeakageDatasResponse`
373
+ def DescribeLeakageDatas(request)
374
+ body = send_request('DescribeLeakageDatas', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = DescribeLeakageDatasResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
392
+ # 获取邮箱泄露数据
393
+
394
+ # @param request: Request instance for DescribeLeakageEmails.
395
+ # @type request: :class:`Tencentcloud::ctem::V20231128::DescribeLeakageEmailsRequest`
396
+ # @rtype: :class:`Tencentcloud::ctem::V20231128::DescribeLeakageEmailsResponse`
397
+ def DescribeLeakageEmails(request)
398
+ body = send_request('DescribeLeakageEmails', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = DescribeLeakageEmailsResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
344
416
  # 查看后台管理数据
345
417
 
346
418
  # @param request: Request instance for DescribeManages.
@@ -1265,6 +1265,315 @@ module TencentCloud
1265
1265
  end
1266
1266
  end
1267
1267
 
1268
+ # DescribeLeakageCodes请求参数结构体
1269
+ class DescribeLeakageCodesRequest < TencentCloud::Common::AbstractModel
1270
+ # @param IsAggregation: 是否聚合数据
1271
+ # @type IsAggregation: Boolean
1272
+ # @param IsNew: 是否新增数据
1273
+ # @type IsNew: Boolean
1274
+ # @param CustomerId: 企业ID
1275
+ # @type CustomerId: Integer
1276
+ # @param Limit: 分页大小
1277
+ # @type Limit: Integer
1278
+ # @param Offset: 分页偏移
1279
+ # @type Offset: Integer
1280
+ # @param EnterpriseUidList: 子公司ID列表
1281
+ # @type EnterpriseUidList: Array
1282
+ # @param Format: 数据输出格式:json、file,默认不填为json
1283
+ # @type Format: String
1284
+ # @param CreateAtStart: 创建时间-开始
1285
+ # @type CreateAtStart: String
1286
+ # @param CreateAtEnd: 创建时间-结束
1287
+ # @type CreateAtEnd: String
1288
+ # @param UpdateAtStart: 更新时间-开始
1289
+ # @type UpdateAtStart: String
1290
+ # @param UpdateAtEnd: 更新时间-结束
1291
+ # @type UpdateAtEnd: String
1292
+ # @param Filters: 查询数组
1293
+ # @type Filters: Array
1294
+ # @param Ignored: 是否显示被忽略的数据
1295
+ # @type Ignored: Boolean
1296
+
1297
+ attr_accessor :IsAggregation, :IsNew, :CustomerId, :Limit, :Offset, :EnterpriseUidList, :Format, :CreateAtStart, :CreateAtEnd, :UpdateAtStart, :UpdateAtEnd, :Filters, :Ignored
1298
+
1299
+ def initialize(isaggregation=nil, isnew=nil, customerid=nil, limit=nil, offset=nil, enterpriseuidlist=nil, format=nil, createatstart=nil, createatend=nil, updateatstart=nil, updateatend=nil, filters=nil, ignored=nil)
1300
+ @IsAggregation = isaggregation
1301
+ @IsNew = isnew
1302
+ @CustomerId = customerid
1303
+ @Limit = limit
1304
+ @Offset = offset
1305
+ @EnterpriseUidList = enterpriseuidlist
1306
+ @Format = format
1307
+ @CreateAtStart = createatstart
1308
+ @CreateAtEnd = createatend
1309
+ @UpdateAtStart = updateatstart
1310
+ @UpdateAtEnd = updateatend
1311
+ @Filters = filters
1312
+ @Ignored = ignored
1313
+ end
1314
+
1315
+ def deserialize(params)
1316
+ @IsAggregation = params['IsAggregation']
1317
+ @IsNew = params['IsNew']
1318
+ @CustomerId = params['CustomerId']
1319
+ @Limit = params['Limit']
1320
+ @Offset = params['Offset']
1321
+ @EnterpriseUidList = params['EnterpriseUidList']
1322
+ @Format = params['Format']
1323
+ @CreateAtStart = params['CreateAtStart']
1324
+ @CreateAtEnd = params['CreateAtEnd']
1325
+ @UpdateAtStart = params['UpdateAtStart']
1326
+ @UpdateAtEnd = params['UpdateAtEnd']
1327
+ unless params['Filters'].nil?
1328
+ @Filters = []
1329
+ params['Filters'].each do |i|
1330
+ filter_tmp = Filter.new
1331
+ filter_tmp.deserialize(i)
1332
+ @Filters << filter_tmp
1333
+ end
1334
+ end
1335
+ @Ignored = params['Ignored']
1336
+ end
1337
+ end
1338
+
1339
+ # DescribeLeakageCodes返回参数结构体
1340
+ class DescribeLeakageCodesResponse < TencentCloud::Common::AbstractModel
1341
+ # @param Total: 总数
1342
+ # @type Total: Integer
1343
+ # @param List: 数组
1344
+ # 注意:此字段可能返回 null,表示取不到有效值。
1345
+ # @type List: Array
1346
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1347
+ # @type RequestId: String
1348
+
1349
+ attr_accessor :Total, :List, :RequestId
1350
+
1351
+ def initialize(total=nil, list=nil, requestid=nil)
1352
+ @Total = total
1353
+ @List = list
1354
+ @RequestId = requestid
1355
+ end
1356
+
1357
+ def deserialize(params)
1358
+ @Total = params['Total']
1359
+ unless params['List'].nil?
1360
+ @List = []
1361
+ params['List'].each do |i|
1362
+ displayleakagecode_tmp = DisplayLeakageCode.new
1363
+ displayleakagecode_tmp.deserialize(i)
1364
+ @List << displayleakagecode_tmp
1365
+ end
1366
+ end
1367
+ @RequestId = params['RequestId']
1368
+ end
1369
+ end
1370
+
1371
+ # DescribeLeakageDatas请求参数结构体
1372
+ class DescribeLeakageDatasRequest < TencentCloud::Common::AbstractModel
1373
+ # @param IsAggregation: 是否聚合数据
1374
+ # @type IsAggregation: Boolean
1375
+ # @param IsNew: 是否新增数据
1376
+ # @type IsNew: Boolean
1377
+ # @param CustomerId: 企业ID
1378
+ # @type CustomerId: Integer
1379
+ # @param Limit: 分页大小
1380
+ # @type Limit: Integer
1381
+ # @param Offset: 分页偏移
1382
+ # @type Offset: Integer
1383
+ # @param EnterpriseUidList: 子公司ID列表
1384
+ # @type EnterpriseUidList: Array
1385
+ # @param Format: 数据输出格式:json、file,默认不填为json
1386
+ # @type Format: String
1387
+ # @param CreateAtStart: 创建时间-开始
1388
+ # @type CreateAtStart: String
1389
+ # @param CreateAtEnd: 创建时间-结束
1390
+ # @type CreateAtEnd: String
1391
+ # @param UpdateAtStart: 更新时间-开始
1392
+ # @type UpdateAtStart: String
1393
+ # @param UpdateAtEnd: 更新时间-结束
1394
+ # @type UpdateAtEnd: String
1395
+ # @param Filters: 查询数组
1396
+ # @type Filters: Array
1397
+ # @param Ignored: 是否显示被忽略的数据
1398
+ # @type Ignored: Boolean
1399
+
1400
+ attr_accessor :IsAggregation, :IsNew, :CustomerId, :Limit, :Offset, :EnterpriseUidList, :Format, :CreateAtStart, :CreateAtEnd, :UpdateAtStart, :UpdateAtEnd, :Filters, :Ignored
1401
+
1402
+ def initialize(isaggregation=nil, isnew=nil, customerid=nil, limit=nil, offset=nil, enterpriseuidlist=nil, format=nil, createatstart=nil, createatend=nil, updateatstart=nil, updateatend=nil, filters=nil, ignored=nil)
1403
+ @IsAggregation = isaggregation
1404
+ @IsNew = isnew
1405
+ @CustomerId = customerid
1406
+ @Limit = limit
1407
+ @Offset = offset
1408
+ @EnterpriseUidList = enterpriseuidlist
1409
+ @Format = format
1410
+ @CreateAtStart = createatstart
1411
+ @CreateAtEnd = createatend
1412
+ @UpdateAtStart = updateatstart
1413
+ @UpdateAtEnd = updateatend
1414
+ @Filters = filters
1415
+ @Ignored = ignored
1416
+ end
1417
+
1418
+ def deserialize(params)
1419
+ @IsAggregation = params['IsAggregation']
1420
+ @IsNew = params['IsNew']
1421
+ @CustomerId = params['CustomerId']
1422
+ @Limit = params['Limit']
1423
+ @Offset = params['Offset']
1424
+ @EnterpriseUidList = params['EnterpriseUidList']
1425
+ @Format = params['Format']
1426
+ @CreateAtStart = params['CreateAtStart']
1427
+ @CreateAtEnd = params['CreateAtEnd']
1428
+ @UpdateAtStart = params['UpdateAtStart']
1429
+ @UpdateAtEnd = params['UpdateAtEnd']
1430
+ unless params['Filters'].nil?
1431
+ @Filters = []
1432
+ params['Filters'].each do |i|
1433
+ filter_tmp = Filter.new
1434
+ filter_tmp.deserialize(i)
1435
+ @Filters << filter_tmp
1436
+ end
1437
+ end
1438
+ @Ignored = params['Ignored']
1439
+ end
1440
+ end
1441
+
1442
+ # DescribeLeakageDatas返回参数结构体
1443
+ class DescribeLeakageDatasResponse < TencentCloud::Common::AbstractModel
1444
+ # @param Total: 总数
1445
+ # @type Total: Integer
1446
+ # @param List: 数组
1447
+ # 注意:此字段可能返回 null,表示取不到有效值。
1448
+ # @type List: Array
1449
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1450
+ # @type RequestId: String
1451
+
1452
+ attr_accessor :Total, :List, :RequestId
1453
+
1454
+ def initialize(total=nil, list=nil, requestid=nil)
1455
+ @Total = total
1456
+ @List = list
1457
+ @RequestId = requestid
1458
+ end
1459
+
1460
+ def deserialize(params)
1461
+ @Total = params['Total']
1462
+ unless params['List'].nil?
1463
+ @List = []
1464
+ params['List'].each do |i|
1465
+ displayleakagedata_tmp = DisplayLeakageData.new
1466
+ displayleakagedata_tmp.deserialize(i)
1467
+ @List << displayleakagedata_tmp
1468
+ end
1469
+ end
1470
+ @RequestId = params['RequestId']
1471
+ end
1472
+ end
1473
+
1474
+ # DescribeLeakageEmails请求参数结构体
1475
+ class DescribeLeakageEmailsRequest < TencentCloud::Common::AbstractModel
1476
+ # @param IsAggregation: 是否聚合数据
1477
+ # @type IsAggregation: Boolean
1478
+ # @param IsNew: 是否新增数据
1479
+ # @type IsNew: Boolean
1480
+ # @param CustomerId: 企业ID
1481
+ # @type CustomerId: Integer
1482
+ # @param Limit: 分页大小
1483
+ # @type Limit: Integer
1484
+ # @param Offset: 分页偏移
1485
+ # @type Offset: Integer
1486
+ # @param EnterpriseUidList: 子公司ID列表
1487
+ # @type EnterpriseUidList: Array
1488
+ # @param Format: 数据输出格式:json、file,默认不填为json
1489
+ # @type Format: String
1490
+ # @param CreateAtStart: 创建时间-开始
1491
+ # @type CreateAtStart: String
1492
+ # @param CreateAtEnd: 创建时间-结束
1493
+ # @type CreateAtEnd: String
1494
+ # @param UpdateAtStart: 更新时间-开始
1495
+ # @type UpdateAtStart: String
1496
+ # @param UpdateAtEnd: 更新时间-结束
1497
+ # @type UpdateAtEnd: String
1498
+ # @param Filters: 查询数组
1499
+ # @type Filters: Array
1500
+ # @param Ignored: 是否显示被忽略的数据
1501
+ # @type Ignored: Boolean
1502
+
1503
+ attr_accessor :IsAggregation, :IsNew, :CustomerId, :Limit, :Offset, :EnterpriseUidList, :Format, :CreateAtStart, :CreateAtEnd, :UpdateAtStart, :UpdateAtEnd, :Filters, :Ignored
1504
+
1505
+ def initialize(isaggregation=nil, isnew=nil, customerid=nil, limit=nil, offset=nil, enterpriseuidlist=nil, format=nil, createatstart=nil, createatend=nil, updateatstart=nil, updateatend=nil, filters=nil, ignored=nil)
1506
+ @IsAggregation = isaggregation
1507
+ @IsNew = isnew
1508
+ @CustomerId = customerid
1509
+ @Limit = limit
1510
+ @Offset = offset
1511
+ @EnterpriseUidList = enterpriseuidlist
1512
+ @Format = format
1513
+ @CreateAtStart = createatstart
1514
+ @CreateAtEnd = createatend
1515
+ @UpdateAtStart = updateatstart
1516
+ @UpdateAtEnd = updateatend
1517
+ @Filters = filters
1518
+ @Ignored = ignored
1519
+ end
1520
+
1521
+ def deserialize(params)
1522
+ @IsAggregation = params['IsAggregation']
1523
+ @IsNew = params['IsNew']
1524
+ @CustomerId = params['CustomerId']
1525
+ @Limit = params['Limit']
1526
+ @Offset = params['Offset']
1527
+ @EnterpriseUidList = params['EnterpriseUidList']
1528
+ @Format = params['Format']
1529
+ @CreateAtStart = params['CreateAtStart']
1530
+ @CreateAtEnd = params['CreateAtEnd']
1531
+ @UpdateAtStart = params['UpdateAtStart']
1532
+ @UpdateAtEnd = params['UpdateAtEnd']
1533
+ unless params['Filters'].nil?
1534
+ @Filters = []
1535
+ params['Filters'].each do |i|
1536
+ filter_tmp = Filter.new
1537
+ filter_tmp.deserialize(i)
1538
+ @Filters << filter_tmp
1539
+ end
1540
+ end
1541
+ @Ignored = params['Ignored']
1542
+ end
1543
+ end
1544
+
1545
+ # DescribeLeakageEmails返回参数结构体
1546
+ class DescribeLeakageEmailsResponse < TencentCloud::Common::AbstractModel
1547
+ # @param Total: 总数
1548
+ # @type Total: Integer
1549
+ # @param List: 数组
1550
+ # 注意:此字段可能返回 null,表示取不到有效值。
1551
+ # @type List: Array
1552
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1553
+ # @type RequestId: String
1554
+
1555
+ attr_accessor :Total, :List, :RequestId
1556
+
1557
+ def initialize(total=nil, list=nil, requestid=nil)
1558
+ @Total = total
1559
+ @List = list
1560
+ @RequestId = requestid
1561
+ end
1562
+
1563
+ def deserialize(params)
1564
+ @Total = params['Total']
1565
+ unless params['List'].nil?
1566
+ @List = []
1567
+ params['List'].each do |i|
1568
+ displayleakageemail_tmp = DisplayLeakageEmail.new
1569
+ displayleakageemail_tmp.deserialize(i)
1570
+ @List << displayleakageemail_tmp
1571
+ end
1572
+ end
1573
+ @RequestId = params['RequestId']
1574
+ end
1575
+ end
1576
+
1268
1577
  # DescribeManages请求参数结构体
1269
1578
  class DescribeManagesRequest < TencentCloud::Common::AbstractModel
1270
1579
  # @param IsAggregation: 是否聚合数据
@@ -2817,6 +3126,66 @@ module TencentCloud
2817
3126
  end
2818
3127
  end
2819
3128
 
3129
+ # 代码泄露详情
3130
+ class DisplayLeakageCode < TencentCloud::Common::AbstractModel
3131
+ # @param Id: 主键ID
3132
+ # @type Id: Integer
3133
+ # @param Url: 链接
3134
+ # @type Url: String
3135
+
3136
+ attr_accessor :Id, :Url
3137
+
3138
+ def initialize(id=nil, url=nil)
3139
+ @Id = id
3140
+ @Url = url
3141
+ end
3142
+
3143
+ def deserialize(params)
3144
+ @Id = params['Id']
3145
+ @Url = params['Url']
3146
+ end
3147
+ end
3148
+
3149
+ # 数据泄露详情
3150
+ class DisplayLeakageData < TencentCloud::Common::AbstractModel
3151
+ # @param Id: 主键ID
3152
+ # @type Id: Integer
3153
+ # @param Url: 链接
3154
+ # @type Url: String
3155
+
3156
+ attr_accessor :Id, :Url
3157
+
3158
+ def initialize(id=nil, url=nil)
3159
+ @Id = id
3160
+ @Url = url
3161
+ end
3162
+
3163
+ def deserialize(params)
3164
+ @Id = params['Id']
3165
+ @Url = params['Url']
3166
+ end
3167
+ end
3168
+
3169
+ # 邮箱泄露详情
3170
+ class DisplayLeakageEmail < TencentCloud::Common::AbstractModel
3171
+ # @param Id: 主键ID
3172
+ # @type Id: Integer
3173
+ # @param Email: 邮箱
3174
+ # @type Email: String
3175
+
3176
+ attr_accessor :Id, :Email
3177
+
3178
+ def initialize(id=nil, email=nil)
3179
+ @Id = id
3180
+ @Email = email
3181
+ end
3182
+
3183
+ def deserialize(params)
3184
+ @Id = params['Id']
3185
+ @Email = params['Email']
3186
+ end
3187
+ end
3188
+
2820
3189
  # 后台详情
2821
3190
  class DisplayManage < TencentCloud::Common::AbstractModel
2822
3191
  # @param Id: 主键ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ctem
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1100
4
+ version: 3.0.1101
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-07-13 00:00:00.000000000 Z
11
+ date: 2025-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common