tencentcloud-sdk-acp 3.0.490 → 3.0.492

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: 9fdb9d02a495e2c2c4f464d76ef8a1a7e4894a52
4
- data.tar.gz: 7372a21cb3a6daf830ba7a4c3e51852d8716eed4
3
+ metadata.gz: ef25ae8bd015d5a7627bae3f0c6fc4f6a7a3640c
4
+ data.tar.gz: c3aa613478b941de024871d67b36c9b856b0c2a3
5
5
  SHA512:
6
- metadata.gz: 7b54381a2f7cae1692f906b2864539ee41d942bb11f5eaa2f7db6394b96ec72757856d5e51fc2f07b2d483d18a1c22c8930e03f9fef97bf0ff31319e14beff89
7
- data.tar.gz: 1756da6cd7aaff4a421c0444ea0b6db21f7fd1c7cc68b1d6f253de4bc9603764f7d18519c4df08afd3ba911dd9f4ab00d55eb728fae564f5189450865879b616
6
+ metadata.gz: 324943e9fa35b559b16132d7c644cee95f2bdaf993edcd8136f94314fcdc76922c27d4ca1e3afee2e05ea0e7e5e7a0ef04b41f4a1528d89fe1052e0f2c948fad
7
+ data.tar.gz: 4cb6a672a8423c4af24b54ec8aa5378a4f2717dfe61225dbeb84135c2e88256f56b36d96b1145c9f874942c1ab2a528a6143e28becf77e4b7f61b4eae477fad4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.490
1
+ 3.0.492
@@ -77,6 +77,30 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
+ # 获取子渠道的App合规诊断任务报告url
81
+
82
+ # @param request: Request instance for DescribeChannelTaskReportUrl.
83
+ # @type request: :class:`Tencentcloud::acp::V20220105::DescribeChannelTaskReportUrlRequest`
84
+ # @rtype: :class:`Tencentcloud::acp::V20220105::DescribeChannelTaskReportUrlResponse`
85
+ def DescribeChannelTaskReportUrl(request)
86
+ body = send_request('DescribeChannelTaskReportUrl', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = DescribeChannelTaskReportUrlResponse.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 DescribeFileTicket.
@@ -337,6 +337,70 @@ module TencentCloud
337
337
  end
338
338
  end
339
339
 
340
+ # DescribeChannelTaskReportUrl请求参数结构体
341
+ class DescribeChannelTaskReportUrlRequest < TencentCloud::Common::AbstractModel
342
+ # @param Source: 任务来源, 0:小程序诊断, 1:预留字段(暂未使用), 2:app诊断(android), 3:app漏洞扫描;
343
+ # @type Source: Integer
344
+ # @param Platform: 应用平台, 0:android, 1: iOS,2:小程序
345
+ # @type Platform: Integer
346
+ # @param TaskID: 任务id
347
+ # @type TaskID: String
348
+ # @param TaskType: 任务类型, 0:基础版, 1:专家版, 2:本地化
349
+ # @type TaskType: Integer
350
+ # @param ReportType: 报告类型, 0:诊断报告, 1:堆栈报告, 2:视频证据(预留), 3:报告json结果
351
+ # @type ReportType: Integer
352
+ # @param AppMD5: 子渠道APP MD5值
353
+ # @type AppMD5: String
354
+
355
+ attr_accessor :Source, :Platform, :TaskID, :TaskType, :ReportType, :AppMD5
356
+
357
+ def initialize(source=nil, platform=nil, taskid=nil, tasktype=nil, reporttype=nil, appmd5=nil)
358
+ @Source = source
359
+ @Platform = platform
360
+ @TaskID = taskid
361
+ @TaskType = tasktype
362
+ @ReportType = reporttype
363
+ @AppMD5 = appmd5
364
+ end
365
+
366
+ def deserialize(params)
367
+ @Source = params['Source']
368
+ @Platform = params['Platform']
369
+ @TaskID = params['TaskID']
370
+ @TaskType = params['TaskType']
371
+ @ReportType = params['ReportType']
372
+ @AppMD5 = params['AppMD5']
373
+ end
374
+ end
375
+
376
+ # DescribeChannelTaskReportUrl返回参数结构体
377
+ class DescribeChannelTaskReportUrlResponse < TencentCloud::Common::AbstractModel
378
+ # @param Result: 返回值, 0:成功, 其他值请查看“返回值”定义
379
+ # @type Result: Integer
380
+ # @param ReportUrl: 诊断报告/堆栈信息/报告json结果下载链接
381
+ # @type ReportUrl: String
382
+ # @param ReportTitle: 诊断报告/堆栈/报告json结果的名称
383
+ # @type ReportTitle: String
384
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
385
+ # @type RequestId: String
386
+
387
+ attr_accessor :Result, :ReportUrl, :ReportTitle, :RequestId
388
+
389
+ def initialize(result=nil, reporturl=nil, reporttitle=nil, requestid=nil)
390
+ @Result = result
391
+ @ReportUrl = reporturl
392
+ @ReportTitle = reporttitle
393
+ @RequestId = requestid
394
+ end
395
+
396
+ def deserialize(params)
397
+ @Result = params['Result']
398
+ @ReportUrl = params['ReportUrl']
399
+ @ReportTitle = params['ReportTitle']
400
+ @RequestId = params['RequestId']
401
+ end
402
+ end
403
+
340
404
  # DescribeFileTicket请求参数结构体
341
405
  class DescribeFileTicketRequest < TencentCloud::Common::AbstractModel
342
406
  # @param Source: 任务来源, 0:小程序诊断, 1:预留字段(暂未使用), 2:app诊断(android), 3:app漏洞扫描;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-acp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.490
4
+ version: 3.0.492
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-01-10 00:00:00.000000000 Z
11
+ date: 2023-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common