tencentcloud-sdk-mmps 1.0.360 → 1.0.361

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: 352f256ac9bff81f96a389979bd84cfa17d5bbb0
4
- data.tar.gz: 0b486be2926d70a6e4abb0097200aa710d268c66
3
+ metadata.gz: e2ab2e12baf018d0e2b614c160a9806f4d97fcae
4
+ data.tar.gz: ac96706cae467e9d79fa706cc1943efeec4bfb11
5
5
  SHA512:
6
- metadata.gz: a20fb2c677f48f65fe11f2eb6f13adbfd00bd4d76f7da0ea81694ae5c5af1e2c4974ab69b05c4987dc258d61a3077c8a0f49c6dd94e135015b45376eabf15d04
7
- data.tar.gz: 7c0f93a1e59f339d56e848dd462fd8604831e2b75f0298bff8a59043b47055363fec088e7129289ab3920e6fa6fc9d7b7fb526f7f959a40a581658bbf1e74209
6
+ metadata.gz: 8b2a3e2616da355111f9e187ff487185de53cabe39f6d13c0c139cc8767c8db86147b5308c22687a89f7479d5e237a4b599f4ccc8ce6390c0bf854ec3cb7c3d5
7
+ data.tar.gz: 9dbd3746684accede92be09e57d2854c4c41b5aba287d0f2bdba05f9a3f4ebaade70c88bb2db34363b93d0bb532f51a707196682b22a13b8bf40338457ac44ee
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.360
1
+ 1.0.361
@@ -77,6 +77,30 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
+ # 创建小程序安全深度诊断任务
81
+
82
+ # @param request: Request instance for CreateFlySecMiniAppProfessionalScanTask.
83
+ # @type request: :class:`Tencentcloud::mmps::V20200710::CreateFlySecMiniAppProfessionalScanTaskRequest`
84
+ # @rtype: :class:`Tencentcloud::mmps::V20200710::CreateFlySecMiniAppProfessionalScanTaskResponse`
85
+ def CreateFlySecMiniAppProfessionalScanTask(request)
86
+ body = send_request('CreateFlySecMiniAppProfessionalScanTask', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = CreateFlySecMiniAppProfessionalScanTaskResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
80
104
  # 创建小程序翼扬安全的基础或深度诊断任务
81
105
 
82
106
  # @param request: Request instance for CreateFlySecMiniAppScanTask.
@@ -256,11 +256,71 @@ module TencentCloud
256
256
  end
257
257
  end
258
258
 
259
+ # CreateFlySecMiniAppProfessionalScanTask请求参数结构体
260
+ class CreateFlySecMiniAppProfessionalScanTaskRequest < TencentCloud::Common::AbstractModel
261
+ # @param MiniAppID: 小程序AppID
262
+ # @type MiniAppID: String
263
+ # @param MiniAppName: 小程序名称
264
+ # @type MiniAppName: String
265
+ # @param Mode: 诊断模式 2:深度诊断
266
+ # @type Mode: Integer
267
+ # @param CorpName: 公司名称
268
+ # @type CorpName: String
269
+ # @param Mobile: 手机号码
270
+ # @type Mobile: String
271
+ # @param Email: 电子邮箱
272
+ # @type Email: String
273
+ # @param Remark: 备注信息
274
+ # @type Remark: String
275
+
276
+ attr_accessor :MiniAppID, :MiniAppName, :Mode, :CorpName, :Mobile, :Email, :Remark
277
+
278
+ def initialize(miniappid=nil, miniappname=nil, mode=nil, corpname=nil, mobile=nil, email=nil, remark=nil)
279
+ @MiniAppID = miniappid
280
+ @MiniAppName = miniappname
281
+ @Mode = mode
282
+ @CorpName = corpname
283
+ @Mobile = mobile
284
+ @Email = email
285
+ @Remark = remark
286
+ end
287
+
288
+ def deserialize(params)
289
+ @MiniAppID = params['MiniAppID']
290
+ @MiniAppName = params['MiniAppName']
291
+ @Mode = params['Mode']
292
+ @CorpName = params['CorpName']
293
+ @Mobile = params['Mobile']
294
+ @Email = params['Email']
295
+ @Remark = params['Remark']
296
+ end
297
+ end
298
+
299
+ # CreateFlySecMiniAppProfessionalScanTask返回参数结构体
300
+ class CreateFlySecMiniAppProfessionalScanTaskResponse < TencentCloud::Common::AbstractModel
301
+ # @param Ret: 返回值, 0:成功, 其他值请查看“返回值”定义
302
+ # @type Ret: Integer
303
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
304
+ # @type RequestId: String
305
+
306
+ attr_accessor :Ret, :RequestId
307
+
308
+ def initialize(ret=nil, requestid=nil)
309
+ @Ret = ret
310
+ @RequestId = requestid
311
+ end
312
+
313
+ def deserialize(params)
314
+ @Ret = params['Ret']
315
+ @RequestId = params['RequestId']
316
+ end
317
+ end
318
+
259
319
  # CreateFlySecMiniAppScanTaskRepeat请求参数结构体
260
320
  class CreateFlySecMiniAppScanTaskRepeatRequest < TencentCloud::Common::AbstractModel
261
321
  # @param MiniAppID: 小程序AppID
262
322
  # @type MiniAppID: String
263
- # @param Mode: 诊断模式 1:基础诊断,2:深度诊断
323
+ # @param Mode: 诊断模式 1:基础诊断
264
324
  # @type Mode: Integer
265
325
  # @param OrgTaskID: 原任务id
266
326
  # @type OrgTaskID: String
@@ -320,7 +380,7 @@ module TencentCloud
320
380
  class CreateFlySecMiniAppScanTaskRequest < TencentCloud::Common::AbstractModel
321
381
  # @param MiniAppID: 小程序AppID
322
382
  # @type MiniAppID: String
323
- # @param Mode: 诊断模式 1:基础诊断,2:深度诊断
383
+ # @param Mode: 诊断模式 1:基础诊断
324
384
  # @type Mode: Integer
325
385
  # @param MiniAppTestAccount: 小程序测试账号(自有账号体系需提供,其他情况不需要)
326
386
  # @type MiniAppTestAccount: String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mmps
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.360
4
+ version: 1.0.361
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-07-20 00:00:00.000000000 Z
11
+ date: 2022-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common