tencentcloud-sdk-acp 3.0.489 → 3.0.491
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220105/client.rb +24 -0
- data/lib/v20220105/models.rb +64 -0
- 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: 95fe6fa9766bae1480ca9b8b94a4a11ada5b93d0
|
4
|
+
data.tar.gz: 85667121a3b8d451ebc48b00297307e67462d850
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53588805148e6105cd19ffce68fa1f6108527a628ccbc2bcb46ea629b4fa28c964d4819c25ac6e97aa30c1365f5c724936c2ad496df4c7916b95fed1deb63ae6
|
7
|
+
data.tar.gz: e4fdfbe0a5a27322da24565658f0f2e479417bb105c1976b7f0d0dcc456b435eefd27ba72ea7572336d99fdb12766750f9e258457fd7524dbb5fd9cd9652eccc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.491
|
data/lib/v20220105/client.rb
CHANGED
@@ -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.
|
data/lib/v20220105/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.491
|
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-
|
11
|
+
date: 2023-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|