tencentcloud-sdk-ctem 3.0.1100 → 3.0.1102
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/v20231128/client.rb +168 -0
- data/lib/v20231128/models.rb +1049 -88
- 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: 9357d42f796f751b29707c0b53cb1a611cf5d594
|
4
|
+
data.tar.gz: 44df7dd0031a45373d5244831d63688342e1ffbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bbaa823a683e6cab56e63e7ca91b6ae3abb5e2128d05ff990c0c1e03a0c00b997944a93edc237baac1a8ac6358f64399852a34451e792553b1fabf2240fe7f0
|
7
|
+
data.tar.gz: e4d2e357e5991efe3401931fc88c16bbafa8cf8bc5ba923aaa145cadbd12c1bd993f866d9da6b7727685767f455d7d966b77a68a7eda3cb6aa8ae5539233f2b0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1102
|
data/lib/v20231128/client.rb
CHANGED
@@ -245,6 +245,102 @@ module TencentCloud
|
|
245
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
246
|
end
|
247
247
|
|
248
|
+
# 查询仿冒应用
|
249
|
+
|
250
|
+
# @param request: Request instance for DescribeFakeApps.
|
251
|
+
# @type request: :class:`Tencentcloud::ctem::V20231128::DescribeFakeAppsRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::ctem::V20231128::DescribeFakeAppsResponse`
|
253
|
+
def DescribeFakeApps(request)
|
254
|
+
body = send_request('DescribeFakeApps', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DescribeFakeAppsResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
272
|
+
# 查询仿冒小程序
|
273
|
+
|
274
|
+
# @param request: Request instance for DescribeFakeMiniPrograms.
|
275
|
+
# @type request: :class:`Tencentcloud::ctem::V20231128::DescribeFakeMiniProgramsRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::ctem::V20231128::DescribeFakeMiniProgramsResponse`
|
277
|
+
def DescribeFakeMiniPrograms(request)
|
278
|
+
body = send_request('DescribeFakeMiniPrograms', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = DescribeFakeMiniProgramsResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
296
|
+
# 查询仿冒网站
|
297
|
+
|
298
|
+
# @param request: Request instance for DescribeFakeWebsites.
|
299
|
+
# @type request: :class:`Tencentcloud::ctem::V20231128::DescribeFakeWebsitesRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::ctem::V20231128::DescribeFakeWebsitesResponse`
|
301
|
+
def DescribeFakeWebsites(request)
|
302
|
+
body = send_request('DescribeFakeWebsites', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = DescribeFakeWebsitesResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
320
|
+
# 查询仿冒公众号
|
321
|
+
|
322
|
+
# @param request: Request instance for DescribeFakeWechatOfficials.
|
323
|
+
# @type request: :class:`Tencentcloud::ctem::V20231128::DescribeFakeWechatOfficialsRequest`
|
324
|
+
# @rtype: :class:`Tencentcloud::ctem::V20231128::DescribeFakeWechatOfficialsResponse`
|
325
|
+
def DescribeFakeWechatOfficials(request)
|
326
|
+
body = send_request('DescribeFakeWechatOfficials', request.serialize)
|
327
|
+
response = JSON.parse(body)
|
328
|
+
if response['Response'].key?('Error') == false
|
329
|
+
model = DescribeFakeWechatOfficialsResponse.new
|
330
|
+
model.deserialize(response['Response'])
|
331
|
+
model
|
332
|
+
else
|
333
|
+
code = response['Response']['Error']['Code']
|
334
|
+
message = response['Response']['Error']['Message']
|
335
|
+
reqid = response['Response']['RequestId']
|
336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
337
|
+
end
|
338
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
339
|
+
raise e
|
340
|
+
rescue StandardError => e
|
341
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
|
+
end
|
343
|
+
|
248
344
|
# 查看Github泄露数据
|
249
345
|
|
250
346
|
# @param request: Request instance for DescribeGithubs.
|
@@ -341,6 +437,78 @@ module TencentCloud
|
|
341
437
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
438
|
end
|
343
439
|
|
440
|
+
# 获取代码泄露数据
|
441
|
+
|
442
|
+
# @param request: Request instance for DescribeLeakageCodes.
|
443
|
+
# @type request: :class:`Tencentcloud::ctem::V20231128::DescribeLeakageCodesRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::ctem::V20231128::DescribeLeakageCodesResponse`
|
445
|
+
def DescribeLeakageCodes(request)
|
446
|
+
body = send_request('DescribeLeakageCodes', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = DescribeLeakageCodesResponse.new
|
450
|
+
model.deserialize(response['Response'])
|
451
|
+
model
|
452
|
+
else
|
453
|
+
code = response['Response']['Error']['Code']
|
454
|
+
message = response['Response']['Error']['Message']
|
455
|
+
reqid = response['Response']['RequestId']
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
457
|
+
end
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
459
|
+
raise e
|
460
|
+
rescue StandardError => e
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
|
+
end
|
463
|
+
|
464
|
+
# 获取数据泄露事件
|
465
|
+
|
466
|
+
# @param request: Request instance for DescribeLeakageDatas.
|
467
|
+
# @type request: :class:`Tencentcloud::ctem::V20231128::DescribeLeakageDatasRequest`
|
468
|
+
# @rtype: :class:`Tencentcloud::ctem::V20231128::DescribeLeakageDatasResponse`
|
469
|
+
def DescribeLeakageDatas(request)
|
470
|
+
body = send_request('DescribeLeakageDatas', request.serialize)
|
471
|
+
response = JSON.parse(body)
|
472
|
+
if response['Response'].key?('Error') == false
|
473
|
+
model = DescribeLeakageDatasResponse.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
|
+
|
488
|
+
# 获取邮箱泄露数据
|
489
|
+
|
490
|
+
# @param request: Request instance for DescribeLeakageEmails.
|
491
|
+
# @type request: :class:`Tencentcloud::ctem::V20231128::DescribeLeakageEmailsRequest`
|
492
|
+
# @rtype: :class:`Tencentcloud::ctem::V20231128::DescribeLeakageEmailsResponse`
|
493
|
+
def DescribeLeakageEmails(request)
|
494
|
+
body = send_request('DescribeLeakageEmails', request.serialize)
|
495
|
+
response = JSON.parse(body)
|
496
|
+
if response['Response'].key?('Error') == false
|
497
|
+
model = DescribeLeakageEmailsResponse.new
|
498
|
+
model.deserialize(response['Response'])
|
499
|
+
model
|
500
|
+
else
|
501
|
+
code = response['Response']['Error']['Code']
|
502
|
+
message = response['Response']['Error']['Message']
|
503
|
+
reqid = response['Response']['RequestId']
|
504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
505
|
+
end
|
506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
507
|
+
raise e
|
508
|
+
rescue StandardError => e
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
|
+
end
|
511
|
+
|
344
512
|
# 查看后台管理数据
|
345
513
|
|
346
514
|
# @param request: Request instance for DescribeManages.
|