tencentcloud-sdk-ms 3.0.563 → 3.0.565

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8483c0232f6e0cc74dc9adce7ca11c299a24c81
4
- data.tar.gz: 3a1f09fa526ed29d8f198851cad66287dc99481b
3
+ metadata.gz: 387e8ae30fb57e2489c9ecc9e43ec2373dcf680e
4
+ data.tar.gz: dc173b29d4105158e26e7fe84456822a26f0fb83
5
5
  SHA512:
6
- metadata.gz: cc014a4e94580c8f06efca955626f1f8e3125e20303e267215fdb19f17ff4574a3dd2fb51caaefb02672d0960bf81ef0dbfefc8c5d43edea2d1aaf50c92a2605
7
- data.tar.gz: 29de2d4bf7c9ec8cffc0e0899ff7354d5d87244ddffa0000509fedab9020873789c7a17726ee19cad54f601e93529d2312d95536cfbb0815b2ebacfca1219896
6
+ metadata.gz: 999af2b2f745a444227bf6dd6cb81d8ff5e9ee67b2c942aa26c8d1083c0c734fdaa19ec6c3582de99fc9f77ac085ef9cf9a7b21c5aa9d9088d0938b06d044ad5
7
+ data.tar.gz: 16054cc3f497e5d66a9d7bc4b64b30e317567d26aeb13ec717c95c804fd00bf19d355cb8beeec69c8aa3e1945d877d4d1c248ba55dd468feb5fb56342324fdde
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.563
1
+ 3.0.565
@@ -101,32 +101,6 @@ module TencentCloud
101
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
102
  end
103
103
 
104
- # 由于该产品是线上免费使用产品,无企业版用户,升级迭代成本高及人力安排等原因,安全测评产品不再接入新用户,故下线。
105
-
106
- # 用户通过该接口批量提交应用进行应用扫描,扫描后需通过DescribeScanResults接口查询扫描结果
107
-
108
- # @param request: Request instance for CreateScanInstances.
109
- # @type request: :class:`Tencentcloud::ms::V20180408::CreateScanInstancesRequest`
110
- # @rtype: :class:`Tencentcloud::ms::V20180408::CreateScanInstancesResponse`
111
- def CreateScanInstances(request)
112
- body = send_request('CreateScanInstances', request.serialize)
113
- response = JSON.parse(body)
114
- if response['Response'].key?('Error') == false
115
- model = CreateScanInstancesResponse.new
116
- model.deserialize(response['Response'])
117
- model
118
- else
119
- code = response['Response']['Error']['Code']
120
- message = response['Response']['Error']['Message']
121
- reqid = response['Response']['RequestId']
122
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
123
- end
124
- rescue TencentCloud::Common::TencentCloudSDKException => e
125
- raise e
126
- rescue StandardError => e
127
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
128
- end
129
-
130
104
  # 用户通过该接口提交应用进行应用加固,加固后需通过DescribeShieldResult接口查询加固结果。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
131
105
 
132
106
  # @param request: Request instance for CreateShieldInstance.
@@ -175,32 +149,6 @@ module TencentCloud
175
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
176
150
  end
177
151
 
178
- # 由于该产品是线上免费使用产品,无企业版用户,升级迭代成本高及人力安排等原因,安全测评产品不再接入新用户,故下线。
179
-
180
- # 删除一个或者多个app扫描信息
181
-
182
- # @param request: Request instance for DeleteScanInstances.
183
- # @type request: :class:`Tencentcloud::ms::V20180408::DeleteScanInstancesRequest`
184
- # @rtype: :class:`Tencentcloud::ms::V20180408::DeleteScanInstancesResponse`
185
- def DeleteScanInstances(request)
186
- body = send_request('DeleteScanInstances', request.serialize)
187
- response = JSON.parse(body)
188
- if response['Response'].key?('Error') == false
189
- model = DeleteScanInstancesResponse.new
190
- model.deserialize(response['Response'])
191
- model
192
- else
193
- code = response['Response']['Error']['Code']
194
- message = response['Response']['Error']['Message']
195
- reqid = response['Response']['RequestId']
196
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
197
- end
198
- rescue TencentCloud::Common::TencentCloudSDKException => e
199
- raise e
200
- rescue StandardError => e
201
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
202
- end
203
-
204
152
  # 删除一个或者多个app加固信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
205
153
 
206
154
  # @param request: Request instance for DeleteShieldInstances.
@@ -273,59 +221,6 @@ module TencentCloud
273
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
274
222
  end
275
223
 
276
- # 由于该产品是线上免费使用产品,无企业版用户,升级迭代成本高及人力安排等原因,安全测评产品不再接入新用户,故下线。
277
-
278
- # 本接口用于查看app列表。
279
- # 可以通过指定任务唯一标识ItemId来查询指定app的详细信息,或通过设定过滤器来查询满足过滤条件的app的详细信息。 指定偏移(Offset)和限制(Limit)来选择结果中的一部分,默认返回满足条件的前20个app信息。
280
-
281
- # @param request: Request instance for DescribeScanInstances.
282
- # @type request: :class:`Tencentcloud::ms::V20180408::DescribeScanInstancesRequest`
283
- # @rtype: :class:`Tencentcloud::ms::V20180408::DescribeScanInstancesResponse`
284
- def DescribeScanInstances(request)
285
- body = send_request('DescribeScanInstances', request.serialize)
286
- response = JSON.parse(body)
287
- if response['Response'].key?('Error') == false
288
- model = DescribeScanInstancesResponse.new
289
- model.deserialize(response['Response'])
290
- model
291
- else
292
- code = response['Response']['Error']['Code']
293
- message = response['Response']['Error']['Message']
294
- reqid = response['Response']['RequestId']
295
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
296
- end
297
- rescue TencentCloud::Common::TencentCloudSDKException => e
298
- raise e
299
- rescue StandardError => e
300
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
301
- end
302
-
303
- # 由于该产品是线上免费使用产品,无企业版用户,升级迭代成本高及人力安排等原因,安全测评产品不再接入新用户,故下线。
304
-
305
- # 用户通过CreateScanInstances接口提交应用进行风险批量扫描后,用此接口批量获取风险详细信息,包含漏洞信息,广告信息,插件信息和病毒信息
306
-
307
- # @param request: Request instance for DescribeScanResults.
308
- # @type request: :class:`Tencentcloud::ms::V20180408::DescribeScanResultsRequest`
309
- # @rtype: :class:`Tencentcloud::ms::V20180408::DescribeScanResultsResponse`
310
- def DescribeScanResults(request)
311
- body = send_request('DescribeScanResults', request.serialize)
312
- response = JSON.parse(body)
313
- if response['Response'].key?('Error') == false
314
- model = DescribeScanResultsResponse.new
315
- model.deserialize(response['Response'])
316
- model
317
- else
318
- code = response['Response']['Error']['Code']
319
- message = response['Response']['Error']['Message']
320
- reqid = response['Response']['RequestId']
321
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
322
- end
323
- rescue TencentCloud::Common::TencentCloudSDKException => e
324
- raise e
325
- rescue StandardError => e
326
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
327
- end
328
-
329
224
  # 本接口用于查看app列表。
330
225
  # 可以通过指定任务唯一标识ItemId来查询指定app的详细信息,或通过设定过滤器来查询满足过滤条件的app的详细信息。 指定偏移(Offset)和限制(Limit)来选择结果中的一部分,默认返回满足条件的前20个app信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
331
226
 
@@ -17,84 +17,6 @@
17
17
  module TencentCloud
18
18
  module Ms
19
19
  module V20180408
20
- # 广告信息
21
- class AdInfo < TencentCloud::Common::AbstractModel
22
- # @param Spots: 插播广告列表
23
- # @type Spots: Array
24
- # @param BoutiqueRecommands: 精品推荐广告列表
25
- # @type BoutiqueRecommands: Array
26
- # @param FloatWindowses: 悬浮窗广告列表
27
- # @type FloatWindowses: Array
28
- # @param Banners: banner广告列表
29
- # @type Banners: Array
30
- # @param IntegralWalls: 积分墙广告列表
31
- # @type IntegralWalls: Array
32
- # @param NotifyBars: 通知栏广告列表
33
- # @type NotifyBars: Array
34
-
35
- attr_accessor :Spots, :BoutiqueRecommands, :FloatWindowses, :Banners, :IntegralWalls, :NotifyBars
36
-
37
- def initialize(spots=nil, boutiquerecommands=nil, floatwindowses=nil, banners=nil, integralwalls=nil, notifybars=nil)
38
- @Spots = spots
39
- @BoutiqueRecommands = boutiquerecommands
40
- @FloatWindowses = floatwindowses
41
- @Banners = banners
42
- @IntegralWalls = integralwalls
43
- @NotifyBars = notifybars
44
- end
45
-
46
- def deserialize(params)
47
- unless params['Spots'].nil?
48
- @Spots = []
49
- params['Spots'].each do |i|
50
- plugininfo_tmp = PluginInfo.new
51
- plugininfo_tmp.deserialize(i)
52
- @Spots << plugininfo_tmp
53
- end
54
- end
55
- unless params['BoutiqueRecommands'].nil?
56
- @BoutiqueRecommands = []
57
- params['BoutiqueRecommands'].each do |i|
58
- plugininfo_tmp = PluginInfo.new
59
- plugininfo_tmp.deserialize(i)
60
- @BoutiqueRecommands << plugininfo_tmp
61
- end
62
- end
63
- unless params['FloatWindowses'].nil?
64
- @FloatWindowses = []
65
- params['FloatWindowses'].each do |i|
66
- plugininfo_tmp = PluginInfo.new
67
- plugininfo_tmp.deserialize(i)
68
- @FloatWindowses << plugininfo_tmp
69
- end
70
- end
71
- unless params['Banners'].nil?
72
- @Banners = []
73
- params['Banners'].each do |i|
74
- plugininfo_tmp = PluginInfo.new
75
- plugininfo_tmp.deserialize(i)
76
- @Banners << plugininfo_tmp
77
- end
78
- end
79
- unless params['IntegralWalls'].nil?
80
- @IntegralWalls = []
81
- params['IntegralWalls'].each do |i|
82
- plugininfo_tmp = PluginInfo.new
83
- plugininfo_tmp.deserialize(i)
84
- @IntegralWalls << plugininfo_tmp
85
- end
86
- end
87
- unless params['NotifyBars'].nil?
88
- @NotifyBars = []
89
- params['NotifyBars'].each do |i|
90
- plugininfo_tmp = PluginInfo.new
91
- plugininfo_tmp.deserialize(i)
92
- @NotifyBars << plugininfo_tmp
93
- end
94
- end
95
- end
96
- end
97
-
98
20
  # app的详细基础信息
99
21
  class AppDetailInfo < TencentCloud::Common::AbstractModel
100
22
  # @param AppName: app的名称
@@ -179,70 +101,6 @@ module TencentCloud
179
101
  end
180
102
  end
181
103
 
182
- # 扫描后app的信息,包含基本信息和扫描状态信息
183
- class AppScanSet < TencentCloud::Common::AbstractModel
184
- # @param ItemId: 任务唯一标识
185
- # @type ItemId: String
186
- # @param AppName: app的名称
187
- # @type AppName: String
188
- # @param AppPkgName: app的包名
189
- # @type AppPkgName: String
190
- # @param AppVersion: app的版本号
191
- # @type AppVersion: String
192
- # @param AppMd5: app的md5
193
- # @type AppMd5: String
194
- # @param AppSize: app的大小
195
- # @type AppSize: Integer
196
- # @param ScanCode: 扫描结果返回码
197
- # @type ScanCode: Integer
198
- # @param TaskStatus: 任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时
199
- # @type TaskStatus: Integer
200
- # @param TaskTime: 提交扫描时间
201
- # @type TaskTime: Integer
202
- # @param AppIconUrl: app的图标url
203
- # @type AppIconUrl: String
204
- # @param AppSid: 标识唯一该app,主要用于删除
205
- # @type AppSid: String
206
- # @param SafeType: 安全类型:1-安全软件,2-风险软件,3病毒软件
207
- # @type SafeType: Integer
208
- # @param VulCount: 漏洞个数
209
- # @type VulCount: Integer
210
-
211
- attr_accessor :ItemId, :AppName, :AppPkgName, :AppVersion, :AppMd5, :AppSize, :ScanCode, :TaskStatus, :TaskTime, :AppIconUrl, :AppSid, :SafeType, :VulCount
212
-
213
- def initialize(itemid=nil, appname=nil, apppkgname=nil, appversion=nil, appmd5=nil, appsize=nil, scancode=nil, taskstatus=nil, tasktime=nil, appiconurl=nil, appsid=nil, safetype=nil, vulcount=nil)
214
- @ItemId = itemid
215
- @AppName = appname
216
- @AppPkgName = apppkgname
217
- @AppVersion = appversion
218
- @AppMd5 = appmd5
219
- @AppSize = appsize
220
- @ScanCode = scancode
221
- @TaskStatus = taskstatus
222
- @TaskTime = tasktime
223
- @AppIconUrl = appiconurl
224
- @AppSid = appsid
225
- @SafeType = safetype
226
- @VulCount = vulcount
227
- end
228
-
229
- def deserialize(params)
230
- @ItemId = params['ItemId']
231
- @AppName = params['AppName']
232
- @AppPkgName = params['AppPkgName']
233
- @AppVersion = params['AppVersion']
234
- @AppMd5 = params['AppMd5']
235
- @AppSize = params['AppSize']
236
- @ScanCode = params['ScanCode']
237
- @TaskStatus = params['TaskStatus']
238
- @TaskTime = params['TaskTime']
239
- @AppIconUrl = params['AppIconUrl']
240
- @AppSid = params['AppSid']
241
- @SafeType = params['SafeType']
242
- @VulCount = params['VulCount']
243
- end
244
- end
245
-
246
104
  # 加固后app的信息,包含基本信息和加固信息
247
105
  class AppSetInfo < TencentCloud::Common::AbstractModel
248
106
  # @param ItemId: 任务唯一标识
@@ -503,72 +361,6 @@ module TencentCloud
503
361
  end
504
362
  end
505
363
 
506
- # CreateScanInstances请求参数结构体
507
- class CreateScanInstancesRequest < TencentCloud::Common::AbstractModel
508
- # @param AppInfos: 待扫描的app信息列表,一次最多提交20个
509
- # @type AppInfos: Array
510
- # @param ScanInfo: 扫描信息
511
- # @type ScanInfo: :class:`Tencentcloud::Ms.v20180408.models.ScanInfo`
512
-
513
- attr_accessor :AppInfos, :ScanInfo
514
-
515
- def initialize(appinfos=nil, scaninfo=nil)
516
- @AppInfos = appinfos
517
- @ScanInfo = scaninfo
518
- end
519
-
520
- def deserialize(params)
521
- unless params['AppInfos'].nil?
522
- @AppInfos = []
523
- params['AppInfos'].each do |i|
524
- appinfo_tmp = AppInfo.new
525
- appinfo_tmp.deserialize(i)
526
- @AppInfos << appinfo_tmp
527
- end
528
- end
529
- unless params['ScanInfo'].nil?
530
- @ScanInfo = ScanInfo.new
531
- @ScanInfo.deserialize(params['ScanInfo'])
532
- end
533
- end
534
- end
535
-
536
- # CreateScanInstances返回参数结构体
537
- class CreateScanInstancesResponse < TencentCloud::Common::AbstractModel
538
- # @param ItemId: 任务唯一标识
539
- # @type ItemId: String
540
- # @param Progress: 任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时
541
- # @type Progress: Integer
542
- # @param AppMd5s: 提交成功的app的md5集合
543
- # @type AppMd5s: Array
544
- # @param LimitCount: 剩余可用次数
545
- # @type LimitCount: Integer
546
- # @param LimitTime: 到期时间
547
- # @type LimitTime: Integer
548
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
549
- # @type RequestId: String
550
-
551
- attr_accessor :ItemId, :Progress, :AppMd5s, :LimitCount, :LimitTime, :RequestId
552
-
553
- def initialize(itemid=nil, progress=nil, appmd5s=nil, limitcount=nil, limittime=nil, requestid=nil)
554
- @ItemId = itemid
555
- @Progress = progress
556
- @AppMd5s = appmd5s
557
- @LimitCount = limitcount
558
- @LimitTime = limittime
559
- @RequestId = requestid
560
- end
561
-
562
- def deserialize(params)
563
- @ItemId = params['ItemId']
564
- @Progress = params['Progress']
565
- @AppMd5s = params['AppMd5s']
566
- @LimitCount = params['LimitCount']
567
- @LimitTime = params['LimitTime']
568
- @RequestId = params['RequestId']
569
- end
570
- end
571
-
572
364
  # CreateShieldInstance请求参数结构体
573
365
  class CreateShieldInstanceRequest < TencentCloud::Common::AbstractModel
574
366
  # @param AppInfo: 待加固的应用信息
@@ -670,42 +462,6 @@ module TencentCloud
670
462
  end
671
463
  end
672
464
 
673
- # DeleteScanInstances请求参数结构体
674
- class DeleteScanInstancesRequest < TencentCloud::Common::AbstractModel
675
- # @param AppSids: 删除一个或多个扫描的app,最大支持20个
676
- # @type AppSids: Array
677
-
678
- attr_accessor :AppSids
679
-
680
- def initialize(appsids=nil)
681
- @AppSids = appsids
682
- end
683
-
684
- def deserialize(params)
685
- @AppSids = params['AppSids']
686
- end
687
- end
688
-
689
- # DeleteScanInstances返回参数结构体
690
- class DeleteScanInstancesResponse < TencentCloud::Common::AbstractModel
691
- # @param Progress: 任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时
692
- # @type Progress: Integer
693
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
694
- # @type RequestId: String
695
-
696
- attr_accessor :Progress, :RequestId
697
-
698
- def initialize(progress=nil, requestid=nil)
699
- @Progress = progress
700
- @RequestId = requestid
701
- end
702
-
703
- def deserialize(params)
704
- @Progress = params['Progress']
705
- @RequestId = params['RequestId']
706
- end
707
- end
708
-
709
465
  # DeleteShieldInstances请求参数结构体
710
466
  class DeleteShieldInstancesRequest < TencentCloud::Common::AbstractModel
711
467
  # @param ItemIds: 任务唯一标识ItemId的列表
@@ -871,131 +627,6 @@ module TencentCloud
871
627
  end
872
628
  end
873
629
 
874
- # DescribeScanInstances请求参数结构体
875
- class DescribeScanInstancesRequest < TencentCloud::Common::AbstractModel
876
- # @param Filters: 支持通过app名称,app包名进行筛选
877
- # @type Filters: Array
878
- # @param Offset: 偏移量,默认为0
879
- # @type Offset: Integer
880
- # @param Limit: 数量限制,默认为20,最大值为100。
881
- # @type Limit: Integer
882
- # @param ItemIds: 可以提供ItemId数组来查询一个或者多个结果。注意不可以同时指定ItemIds和Filters。
883
- # @type ItemIds: Array
884
- # @param OrderField: 按某个字段排序,目前仅支持TaskTime排序。
885
- # @type OrderField: String
886
- # @param OrderDirection: 升序(asc)还是降序(desc),默认:desc。
887
- # @type OrderDirection: String
888
-
889
- attr_accessor :Filters, :Offset, :Limit, :ItemIds, :OrderField, :OrderDirection
890
-
891
- def initialize(filters=nil, offset=nil, limit=nil, itemids=nil, orderfield=nil, orderdirection=nil)
892
- @Filters = filters
893
- @Offset = offset
894
- @Limit = limit
895
- @ItemIds = itemids
896
- @OrderField = orderfield
897
- @OrderDirection = orderdirection
898
- end
899
-
900
- def deserialize(params)
901
- unless params['Filters'].nil?
902
- @Filters = []
903
- params['Filters'].each do |i|
904
- filter_tmp = Filter.new
905
- filter_tmp.deserialize(i)
906
- @Filters << filter_tmp
907
- end
908
- end
909
- @Offset = params['Offset']
910
- @Limit = params['Limit']
911
- @ItemIds = params['ItemIds']
912
- @OrderField = params['OrderField']
913
- @OrderDirection = params['OrderDirection']
914
- end
915
- end
916
-
917
- # DescribeScanInstances返回参数结构体
918
- class DescribeScanInstancesResponse < TencentCloud::Common::AbstractModel
919
- # @param TotalCount: 符合要求的app数量
920
- # @type TotalCount: Integer
921
- # @param ScanSet: 一个关于app详细信息的结构体,主要包括app的基本信息和扫描状态信息。
922
- # @type ScanSet: Array
923
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
924
- # @type RequestId: String
925
-
926
- attr_accessor :TotalCount, :ScanSet, :RequestId
927
-
928
- def initialize(totalcount=nil, scanset=nil, requestid=nil)
929
- @TotalCount = totalcount
930
- @ScanSet = scanset
931
- @RequestId = requestid
932
- end
933
-
934
- def deserialize(params)
935
- @TotalCount = params['TotalCount']
936
- unless params['ScanSet'].nil?
937
- @ScanSet = []
938
- params['ScanSet'].each do |i|
939
- appscanset_tmp = AppScanSet.new
940
- appscanset_tmp.deserialize(i)
941
- @ScanSet << appscanset_tmp
942
- end
943
- end
944
- @RequestId = params['RequestId']
945
- end
946
- end
947
-
948
- # DescribeScanResults请求参数结构体
949
- class DescribeScanResultsRequest < TencentCloud::Common::AbstractModel
950
- # @param ItemId: 任务唯一标识
951
- # @type ItemId: String
952
- # @param AppMd5s: 批量查询一个或者多个app的扫描结果,如果不传表示查询该任务下所提交的所有app
953
- # @type AppMd5s: Array
954
-
955
- attr_accessor :ItemId, :AppMd5s
956
-
957
- def initialize(itemid=nil, appmd5s=nil)
958
- @ItemId = itemid
959
- @AppMd5s = appmd5s
960
- end
961
-
962
- def deserialize(params)
963
- @ItemId = params['ItemId']
964
- @AppMd5s = params['AppMd5s']
965
- end
966
- end
967
-
968
- # DescribeScanResults返回参数结构体
969
- class DescribeScanResultsResponse < TencentCloud::Common::AbstractModel
970
- # @param ScanSet: 批量扫描的app结果集
971
- # @type ScanSet: Array
972
- # @param TotalCount: 批量扫描结果的个数
973
- # @type TotalCount: Integer
974
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
975
- # @type RequestId: String
976
-
977
- attr_accessor :ScanSet, :TotalCount, :RequestId
978
-
979
- def initialize(scanset=nil, totalcount=nil, requestid=nil)
980
- @ScanSet = scanset
981
- @TotalCount = totalcount
982
- @RequestId = requestid
983
- end
984
-
985
- def deserialize(params)
986
- unless params['ScanSet'].nil?
987
- @ScanSet = []
988
- params['ScanSet'].each do |i|
989
- scansetinfo_tmp = ScanSetInfo.new
990
- scansetinfo_tmp.deserialize(i)
991
- @ScanSet << scansetinfo_tmp
992
- end
993
- end
994
- @TotalCount = params['TotalCount']
995
- @RequestId = params['RequestId']
996
- end
997
- end
998
-
999
630
  # DescribeShieldInstances请求参数结构体
1000
631
  class DescribeShieldInstancesRequest < TencentCloud::Common::AbstractModel
1001
632
  # @param Filters: 支持通过app名称,app包名,加固的服务版本,提交的渠道进行筛选。
@@ -1475,30 +1106,6 @@ module TencentCloud
1475
1106
  end
1476
1107
  end
1477
1108
 
1478
- # 插件信息
1479
- class PluginInfo < TencentCloud::Common::AbstractModel
1480
- # @param PluginType: 插件类型,分别为 1-通知栏广告,2-积分墙广告,3-banner广告,4- 悬浮窗图标广告,5-精品推荐列表广告, 6-插播广告
1481
- # @type PluginType: Integer
1482
- # @param PluginName: 插件名称
1483
- # @type PluginName: String
1484
- # @param PluginDesc: 插件描述
1485
- # @type PluginDesc: String
1486
-
1487
- attr_accessor :PluginType, :PluginName, :PluginDesc
1488
-
1489
- def initialize(plugintype=nil, pluginname=nil, plugindesc=nil)
1490
- @PluginType = plugintype
1491
- @PluginName = pluginname
1492
- @PluginDesc = plugindesc
1493
- end
1494
-
1495
- def deserialize(params)
1496
- @PluginType = params['PluginType']
1497
- @PluginName = params['PluginName']
1498
- @PluginDesc = params['PluginDesc']
1499
- end
1500
- end
1501
-
1502
1109
  # APK检测服务:广告插件结果结构体
1503
1110
  class PluginListItem < TencentCloud::Common::AbstractModel
1504
1111
  # @param PluginType: 数字类型,分别为 1-通知栏广告,2-积分墙广告,3-banner广告,4- 悬浮窗图标广告,5-精品推荐列表广告, 6-插播广告
@@ -1710,186 +1317,6 @@ module TencentCloud
1710
1317
  end
1711
1318
  end
1712
1319
 
1713
- # 需要扫描的应用的服务信息
1714
- class ScanInfo < TencentCloud::Common::AbstractModel
1715
- # @param CallbackUrl: 任务处理完成后的反向通知回调地址,批量提交app每扫描完成一个会通知一次,通知为POST请求,post信息{ItemId:
1716
- # @type CallbackUrl: String
1717
- # @param ScanTypes: VULSCAN-漏洞扫描信息,VIRUSSCAN-返回病毒扫描信息, ADSCAN-广告扫描信息,PLUGINSCAN-插件扫描信息,PERMISSION-系统权限信息,SENSITIVE-敏感词信息,可以自由组合
1718
- # @type ScanTypes: Array
1719
-
1720
- attr_accessor :CallbackUrl, :ScanTypes
1721
-
1722
- def initialize(callbackurl=nil, scantypes=nil)
1723
- @CallbackUrl = callbackurl
1724
- @ScanTypes = scantypes
1725
- end
1726
-
1727
- def deserialize(params)
1728
- @CallbackUrl = params['CallbackUrl']
1729
- @ScanTypes = params['ScanTypes']
1730
- end
1731
- end
1732
-
1733
- # 安全扫描系统权限信息
1734
- class ScanPermissionInfo < TencentCloud::Common::AbstractModel
1735
- # @param Permission: 系统权限
1736
- # @type Permission: String
1737
-
1738
- attr_accessor :Permission
1739
-
1740
- def initialize(permission=nil)
1741
- @Permission = permission
1742
- end
1743
-
1744
- def deserialize(params)
1745
- @Permission = params['Permission']
1746
- end
1747
- end
1748
-
1749
- # 安全扫描系统权限信息
1750
- class ScanPermissionList < TencentCloud::Common::AbstractModel
1751
- # @param PermissionList: 系统权限信息
1752
- # @type PermissionList: Array
1753
-
1754
- attr_accessor :PermissionList
1755
-
1756
- def initialize(permissionlist=nil)
1757
- @PermissionList = permissionlist
1758
- end
1759
-
1760
- def deserialize(params)
1761
- unless params['PermissionList'].nil?
1762
- @PermissionList = []
1763
- params['PermissionList'].each do |i|
1764
- scanpermissioninfo_tmp = ScanPermissionInfo.new
1765
- scanpermissioninfo_tmp.deserialize(i)
1766
- @PermissionList << scanpermissioninfo_tmp
1767
- end
1768
- end
1769
- end
1770
- end
1771
-
1772
- # 安全扫描敏感词
1773
- class ScanSensitiveInfo < TencentCloud::Common::AbstractModel
1774
- # @param WordList: 敏感词
1775
- # @type WordList: Array
1776
- # @param FilePath: 敏感词对应的文件信息
1777
- # @type FilePath: String
1778
- # @param FileSha: 文件sha1值
1779
- # @type FileSha: String
1780
-
1781
- attr_accessor :WordList, :FilePath, :FileSha
1782
-
1783
- def initialize(wordlist=nil, filepath=nil, filesha=nil)
1784
- @WordList = wordlist
1785
- @FilePath = filepath
1786
- @FileSha = filesha
1787
- end
1788
-
1789
- def deserialize(params)
1790
- @WordList = params['WordList']
1791
- @FilePath = params['FilePath']
1792
- @FileSha = params['FileSha']
1793
- end
1794
- end
1795
-
1796
- # 安全扫描敏感词列表
1797
- class ScanSensitiveList < TencentCloud::Common::AbstractModel
1798
- # @param SensitiveList: 敏感词列表
1799
- # @type SensitiveList: Array
1800
-
1801
- attr_accessor :SensitiveList
1802
-
1803
- def initialize(sensitivelist=nil)
1804
- @SensitiveList = sensitivelist
1805
- end
1806
-
1807
- def deserialize(params)
1808
- unless params['SensitiveList'].nil?
1809
- @SensitiveList = []
1810
- params['SensitiveList'].each do |i|
1811
- scansensitiveinfo_tmp = ScanSensitiveInfo.new
1812
- scansensitiveinfo_tmp.deserialize(i)
1813
- @SensitiveList << scansensitiveinfo_tmp
1814
- end
1815
- end
1816
- end
1817
- end
1818
-
1819
- # app扫描结果集
1820
- class ScanSetInfo < TencentCloud::Common::AbstractModel
1821
- # @param TaskStatus: 任务状态: 1-已完成,2-处理中,3-处理出错,4-处理超时
1822
- # @type TaskStatus: Integer
1823
- # @param AppDetailInfo: app信息
1824
- # @type AppDetailInfo: :class:`Tencentcloud::Ms.v20180408.models.AppDetailInfo`
1825
- # @param VirusInfo: 病毒信息
1826
- # @type VirusInfo: :class:`Tencentcloud::Ms.v20180408.models.VirusInfo`
1827
- # @param VulInfo: 漏洞信息
1828
- # @type VulInfo: :class:`Tencentcloud::Ms.v20180408.models.VulInfo`
1829
- # @param AdInfo: 广告插件信息
1830
- # @type AdInfo: :class:`Tencentcloud::Ms.v20180408.models.AdInfo`
1831
- # @param TaskTime: 提交扫描的时间
1832
- # @type TaskTime: Integer
1833
- # @param StatusCode: 状态码,成功返回0,失败返回错误码
1834
- # @type StatusCode: Integer
1835
- # @param StatusDesc: 状态描述
1836
- # @type StatusDesc: String
1837
- # @param StatusRef: 状态操作指引
1838
- # @type StatusRef: String
1839
- # @param PermissionInfo: 系统权限信息
1840
- # @type PermissionInfo: :class:`Tencentcloud::Ms.v20180408.models.ScanPermissionList`
1841
- # @param SensitiveInfo: 敏感词列表
1842
- # @type SensitiveInfo: :class:`Tencentcloud::Ms.v20180408.models.ScanSensitiveList`
1843
-
1844
- attr_accessor :TaskStatus, :AppDetailInfo, :VirusInfo, :VulInfo, :AdInfo, :TaskTime, :StatusCode, :StatusDesc, :StatusRef, :PermissionInfo, :SensitiveInfo
1845
-
1846
- def initialize(taskstatus=nil, appdetailinfo=nil, virusinfo=nil, vulinfo=nil, adinfo=nil, tasktime=nil, statuscode=nil, statusdesc=nil, statusref=nil, permissioninfo=nil, sensitiveinfo=nil)
1847
- @TaskStatus = taskstatus
1848
- @AppDetailInfo = appdetailinfo
1849
- @VirusInfo = virusinfo
1850
- @VulInfo = vulinfo
1851
- @AdInfo = adinfo
1852
- @TaskTime = tasktime
1853
- @StatusCode = statuscode
1854
- @StatusDesc = statusdesc
1855
- @StatusRef = statusref
1856
- @PermissionInfo = permissioninfo
1857
- @SensitiveInfo = sensitiveinfo
1858
- end
1859
-
1860
- def deserialize(params)
1861
- @TaskStatus = params['TaskStatus']
1862
- unless params['AppDetailInfo'].nil?
1863
- @AppDetailInfo = AppDetailInfo.new
1864
- @AppDetailInfo.deserialize(params['AppDetailInfo'])
1865
- end
1866
- unless params['VirusInfo'].nil?
1867
- @VirusInfo = VirusInfo.new
1868
- @VirusInfo.deserialize(params['VirusInfo'])
1869
- end
1870
- unless params['VulInfo'].nil?
1871
- @VulInfo = VulInfo.new
1872
- @VulInfo.deserialize(params['VulInfo'])
1873
- end
1874
- unless params['AdInfo'].nil?
1875
- @AdInfo = AdInfo.new
1876
- @AdInfo.deserialize(params['AdInfo'])
1877
- end
1878
- @TaskTime = params['TaskTime']
1879
- @StatusCode = params['StatusCode']
1880
- @StatusDesc = params['StatusDesc']
1881
- @StatusRef = params['StatusRef']
1882
- unless params['PermissionInfo'].nil?
1883
- @PermissionInfo = ScanPermissionList.new
1884
- @PermissionInfo.deserialize(params['PermissionInfo'])
1885
- end
1886
- unless params['SensitiveInfo'].nil?
1887
- @SensitiveInfo = ScanSensitiveList.new
1888
- @SensitiveInfo.deserialize(params['SensitiveInfo'])
1889
- end
1890
- end
1891
- end
1892
-
1893
1320
  # 提交app加固的服务信息
1894
1321
  class ServiceInfo < TencentCloud::Common::AbstractModel
1895
1322
  # @param ServiceEdition: 服务版本,基础版basic,专业版professional,企业版enterprise。
@@ -2001,101 +1428,6 @@ module TencentCloud
2001
1428
  end
2002
1429
  end
2003
1430
 
2004
- # 病毒信息
2005
- class VirusInfo < TencentCloud::Common::AbstractModel
2006
- # @param SafeType: 软件安全类型,分别为0-未知、 1-安全软件、2-风险软件、3-病毒软件
2007
- # @type SafeType: Integer
2008
- # @param VirusName: 病毒名称, utf8编码,非病毒时值为空
2009
- # @type VirusName: String
2010
- # @param VirusDesc: 病毒描述,utf8编码,非病毒时值为空
2011
- # @type VirusDesc: String
2012
-
2013
- attr_accessor :SafeType, :VirusName, :VirusDesc
2014
-
2015
- def initialize(safetype=nil, virusname=nil, virusdesc=nil)
2016
- @SafeType = safetype
2017
- @VirusName = virusname
2018
- @VirusDesc = virusdesc
2019
- end
2020
-
2021
- def deserialize(params)
2022
- @SafeType = params['SafeType']
2023
- @VirusName = params['VirusName']
2024
- @VirusDesc = params['VirusDesc']
2025
- end
2026
- end
2027
-
2028
- # 漏洞信息
2029
- class VulInfo < TencentCloud::Common::AbstractModel
2030
- # @param VulList: 漏洞列表
2031
- # @type VulList: Array
2032
- # @param VulFileScore: 漏洞文件评分
2033
- # @type VulFileScore: Integer
2034
-
2035
- attr_accessor :VulList, :VulFileScore
2036
-
2037
- def initialize(vullist=nil, vulfilescore=nil)
2038
- @VulList = vullist
2039
- @VulFileScore = vulfilescore
2040
- end
2041
-
2042
- def deserialize(params)
2043
- unless params['VulList'].nil?
2044
- @VulList = []
2045
- params['VulList'].each do |i|
2046
- vullist_tmp = VulList.new
2047
- vullist_tmp.deserialize(i)
2048
- @VulList << vullist_tmp
2049
- end
2050
- end
2051
- @VulFileScore = params['VulFileScore']
2052
- end
2053
- end
2054
-
2055
- # 漏洞信息
2056
- class VulList < TencentCloud::Common::AbstractModel
2057
- # @param VulId: 漏洞id
2058
- # @type VulId: String
2059
- # @param VulName: 漏洞名称
2060
- # @type VulName: String
2061
- # @param VulCode: 漏洞代码
2062
- # @type VulCode: String
2063
- # @param VulDesc: 漏洞描述
2064
- # @type VulDesc: String
2065
- # @param VulSolution: 漏洞解决方案
2066
- # @type VulSolution: String
2067
- # @param VulSrcType: 漏洞来源类别,0默认自身,1第三方插件
2068
- # @type VulSrcType: Integer
2069
- # @param VulFilepath: 漏洞位置
2070
- # @type VulFilepath: String
2071
- # @param RiskLevel: 风险级别:1 低风险 ;2中等风险;3 高风险
2072
- # @type RiskLevel: Integer
2073
-
2074
- attr_accessor :VulId, :VulName, :VulCode, :VulDesc, :VulSolution, :VulSrcType, :VulFilepath, :RiskLevel
2075
-
2076
- def initialize(vulid=nil, vulname=nil, vulcode=nil, vuldesc=nil, vulsolution=nil, vulsrctype=nil, vulfilepath=nil, risklevel=nil)
2077
- @VulId = vulid
2078
- @VulName = vulname
2079
- @VulCode = vulcode
2080
- @VulDesc = vuldesc
2081
- @VulSolution = vulsolution
2082
- @VulSrcType = vulsrctype
2083
- @VulFilepath = vulfilepath
2084
- @RiskLevel = risklevel
2085
- end
2086
-
2087
- def deserialize(params)
2088
- @VulId = params['VulId']
2089
- @VulName = params['VulName']
2090
- @VulCode = params['VulCode']
2091
- @VulDesc = params['VulDesc']
2092
- @VulSolution = params['VulSolution']
2093
- @VulSrcType = params['VulSrcType']
2094
- @VulFilepath = params['VulFilepath']
2095
- @RiskLevel = params['RiskLevel']
2096
- end
2097
- end
2098
-
2099
1431
  end
2100
1432
  end
2101
1433
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.563
4
+ version: 3.0.565
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-05-01 00:00:00.000000000 Z
11
+ date: 2023-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common