tencentcloud-sdk-pts 3.0.544 → 3.0.545
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/v20210728/client.rb +24 -0
- data/lib/v20210728/models.rb +112 -2
- 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: fdd65f342b0c3183d97983b540e8e1bb71068863
|
4
|
+
data.tar.gz: f354b6d80657bd77ad4d5afab6ac716c7c222a15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f2ec6abe4418007555ad2fc289180ae9a1eaf71ce51ad1ed0ba4ee2c332ddf677410d4a109430e86de9c79b857878f050327c2650283e793602ffecf9d708e8
|
7
|
+
data.tar.gz: 3e1b1e815fd6f590c82a6ad06b7f8cd1c35eddcdd55be39a306001c29cb2ac16cfac4404ecc9200ebbd8a14b312e46f4654537f5cbaf9fc614d331b06861c0ae
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.545
|
data/lib/v20210728/client.rb
CHANGED
@@ -509,6 +509,30 @@ module TencentCloud
|
|
509
509
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
510
|
end
|
511
511
|
|
512
|
+
# 查询错误详情汇总信息
|
513
|
+
|
514
|
+
# @param request: Request instance for DescribeErrorSummary.
|
515
|
+
# @type request: :class:`Tencentcloud::pts::V20210728::DescribeErrorSummaryRequest`
|
516
|
+
# @rtype: :class:`Tencentcloud::pts::V20210728::DescribeErrorSummaryResponse`
|
517
|
+
def DescribeErrorSummary(request)
|
518
|
+
body = send_request('DescribeErrorSummary', request.serialize)
|
519
|
+
response = JSON.parse(body)
|
520
|
+
if response['Response'].key?('Error') == false
|
521
|
+
model = DescribeErrorSummaryResponse.new
|
522
|
+
model.deserialize(response['Response'])
|
523
|
+
model
|
524
|
+
else
|
525
|
+
code = response['Response']['Error']['Code']
|
526
|
+
message = response['Response']['Error']['Message']
|
527
|
+
reqid = response['Response']['RequestId']
|
528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
529
|
+
end
|
530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
531
|
+
raise e
|
532
|
+
rescue StandardError => e
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
|
+
end
|
535
|
+
|
512
536
|
# 查询文件列表
|
513
537
|
|
514
538
|
# @param request: Request instance for DescribeFiles.
|
data/lib/v20210728/models.rb
CHANGED
@@ -426,14 +426,18 @@ module TencentCloud
|
|
426
426
|
# @param GracefulStopSeconds: 优雅终止任务的等待时间
|
427
427
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
428
428
|
# @type GracefulStopSeconds: Integer
|
429
|
+
# @param Resources: 资源数
|
430
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
431
|
+
# @type Resources: Integer
|
429
432
|
|
430
|
-
attr_accessor :Stages, :IterationCount, :MaxRequestsPerSecond, :GracefulStopSeconds
|
433
|
+
attr_accessor :Stages, :IterationCount, :MaxRequestsPerSecond, :GracefulStopSeconds, :Resources
|
431
434
|
|
432
|
-
def initialize(stages=nil, iterationcount=nil, maxrequestspersecond=nil, gracefulstopseconds=nil)
|
435
|
+
def initialize(stages=nil, iterationcount=nil, maxrequestspersecond=nil, gracefulstopseconds=nil, resources=nil)
|
433
436
|
@Stages = stages
|
434
437
|
@IterationCount = iterationcount
|
435
438
|
@MaxRequestsPerSecond = maxrequestspersecond
|
436
439
|
@GracefulStopSeconds = gracefulstopseconds
|
440
|
+
@Resources = resources
|
437
441
|
end
|
438
442
|
|
439
443
|
def deserialize(params)
|
@@ -448,6 +452,7 @@ module TencentCloud
|
|
448
452
|
@IterationCount = params['IterationCount']
|
449
453
|
@MaxRequestsPerSecond = params['MaxRequestsPerSecond']
|
450
454
|
@GracefulStopSeconds = params['GracefulStopSeconds']
|
455
|
+
@Resources = params['Resources']
|
451
456
|
end
|
452
457
|
end
|
453
458
|
|
@@ -1655,6 +1660,69 @@ module TencentCloud
|
|
1655
1660
|
end
|
1656
1661
|
end
|
1657
1662
|
|
1663
|
+
# DescribeErrorSummary请求参数结构体
|
1664
|
+
class DescribeErrorSummaryRequest < TencentCloud::Common::AbstractModel
|
1665
|
+
# @param JobId: 任务ID
|
1666
|
+
# @type JobId: String
|
1667
|
+
# @param ScenarioId: 场景ID
|
1668
|
+
# @type ScenarioId: String
|
1669
|
+
# @param ProjectId: 项目ID
|
1670
|
+
# @type ProjectId: String
|
1671
|
+
# @param Filters: 过滤参数
|
1672
|
+
# @type Filters: Array
|
1673
|
+
|
1674
|
+
attr_accessor :JobId, :ScenarioId, :ProjectId, :Filters
|
1675
|
+
|
1676
|
+
def initialize(jobid=nil, scenarioid=nil, projectid=nil, filters=nil)
|
1677
|
+
@JobId = jobid
|
1678
|
+
@ScenarioId = scenarioid
|
1679
|
+
@ProjectId = projectid
|
1680
|
+
@Filters = filters
|
1681
|
+
end
|
1682
|
+
|
1683
|
+
def deserialize(params)
|
1684
|
+
@JobId = params['JobId']
|
1685
|
+
@ScenarioId = params['ScenarioId']
|
1686
|
+
@ProjectId = params['ProjectId']
|
1687
|
+
unless params['Filters'].nil?
|
1688
|
+
@Filters = []
|
1689
|
+
params['Filters'].each do |i|
|
1690
|
+
filter_tmp = Filter.new
|
1691
|
+
filter_tmp.deserialize(i)
|
1692
|
+
@Filters << filter_tmp
|
1693
|
+
end
|
1694
|
+
end
|
1695
|
+
end
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
# DescribeErrorSummary返回参数结构体
|
1699
|
+
class DescribeErrorSummaryResponse < TencentCloud::Common::AbstractModel
|
1700
|
+
# @param ErrorSummarySet: 错误汇总信息
|
1701
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1702
|
+
# @type ErrorSummarySet: Array
|
1703
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1704
|
+
# @type RequestId: String
|
1705
|
+
|
1706
|
+
attr_accessor :ErrorSummarySet, :RequestId
|
1707
|
+
|
1708
|
+
def initialize(errorsummaryset=nil, requestid=nil)
|
1709
|
+
@ErrorSummarySet = errorsummaryset
|
1710
|
+
@RequestId = requestid
|
1711
|
+
end
|
1712
|
+
|
1713
|
+
def deserialize(params)
|
1714
|
+
unless params['ErrorSummarySet'].nil?
|
1715
|
+
@ErrorSummarySet = []
|
1716
|
+
params['ErrorSummarySet'].each do |i|
|
1717
|
+
errorsummary_tmp = ErrorSummary.new
|
1718
|
+
errorsummary_tmp.deserialize(i)
|
1719
|
+
@ErrorSummarySet << errorsummary_tmp
|
1720
|
+
end
|
1721
|
+
end
|
1722
|
+
@RequestId = params['RequestId']
|
1723
|
+
end
|
1724
|
+
end
|
1725
|
+
|
1658
1726
|
# DescribeFiles请求参数结构体
|
1659
1727
|
class DescribeFilesRequest < TencentCloud::Common::AbstractModel
|
1660
1728
|
# @param ProjectIds: 项目 ID 数组
|
@@ -2768,6 +2836,48 @@ module TencentCloud
|
|
2768
2836
|
end
|
2769
2837
|
end
|
2770
2838
|
|
2839
|
+
# 错误信息汇总
|
2840
|
+
class ErrorSummary < TencentCloud::Common::AbstractModel
|
2841
|
+
# @param Status: 状态码
|
2842
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2843
|
+
# @type Status: String
|
2844
|
+
# @param Result: 结果码
|
2845
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2846
|
+
# @type Result: String
|
2847
|
+
# @param Count: 错误出现次数
|
2848
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2849
|
+
# @type Count: Integer
|
2850
|
+
# @param Rate: 错误率
|
2851
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2852
|
+
# @type Rate: Float
|
2853
|
+
# @param Message: 错误信息
|
2854
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2855
|
+
# @type Message: String
|
2856
|
+
# @param Proto: 请求协议类型
|
2857
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2858
|
+
# @type Proto: String
|
2859
|
+
|
2860
|
+
attr_accessor :Status, :Result, :Count, :Rate, :Message, :Proto
|
2861
|
+
|
2862
|
+
def initialize(status=nil, result=nil, count=nil, rate=nil, message=nil, proto=nil)
|
2863
|
+
@Status = status
|
2864
|
+
@Result = result
|
2865
|
+
@Count = count
|
2866
|
+
@Rate = rate
|
2867
|
+
@Message = message
|
2868
|
+
@Proto = proto
|
2869
|
+
end
|
2870
|
+
|
2871
|
+
def deserialize(params)
|
2872
|
+
@Status = params['Status']
|
2873
|
+
@Result = params['Result']
|
2874
|
+
@Count = params['Count']
|
2875
|
+
@Rate = params['Rate']
|
2876
|
+
@Message = params['Message']
|
2877
|
+
@Proto = params['Proto']
|
2878
|
+
end
|
2879
|
+
end
|
2880
|
+
|
2771
2881
|
# 文件列表
|
2772
2882
|
class File < TencentCloud::Common::AbstractModel
|
2773
2883
|
# @param FileId: 文件 ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-pts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.545
|
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-04-
|
11
|
+
date: 2023-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|