tencentcloud-sdk-trp 3.0.426 → 3.0.428

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c685a646172a641bde10f862b73d99bd7c1db128
4
- data.tar.gz: c13ff0e539e751e0fb69c1b331d83e225e863126
3
+ metadata.gz: 2b3245b249fbaab100a6b8281f1500c3137d5534
4
+ data.tar.gz: 87c93e35b1ee24deccb22853cbb544d3e647b0fa
5
5
  SHA512:
6
- metadata.gz: b100060bb66398bc353ada4807b41f2b40daa0d0db6f0b81a80c6ccba9497a7e87a26cb30fe5e58e48d9c37dc720e1d9add612c8c2a20b93be9a2a1f6392d5ce
7
- data.tar.gz: ec26a9d34e63a857338ba776afb8b4d020ec6ccf645fdaf51e598374283267875a45ee8d651740f0a414c4b9ea21667084813e0ea6f4f71c3ff5830cfd2eeac8
6
+ metadata.gz: e544bc910ea8eacc1c4c684a2e4da0ae4d2fcda3c820bede518c48209bcf2ca2ce9b4d12799542603a301ad7ceb5d7a719b1f795b74f465df20bcd73d563f1b5
7
+ data.tar.gz: 18760bc8319f3ddc89c50a9bfc89fa2ebcbc80d4d664b075699d08a31a05b1df279eb4275ca0935b1a4503d2f0f64916c0dcd058888023cff7ab0bf87f71b0c2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.426
1
+ 3.0.428
@@ -53,7 +53,7 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
- # 生成码包
56
+ # 生成普通码包
57
57
 
58
58
  # @param request: Request instance for CreateCodePack.
59
59
  # @type request: :class:`Tencentcloud::trp::V20210515::CreateCodePackRequest`
@@ -94,10 +94,13 @@ module TencentCloud
94
94
  # @param TplName: 模板名称
95
95
  # 注意:此字段可能返回 null,表示取不到有效值。
96
96
  # @type TplName: String
97
+ # @param Job: 调度任务
98
+ # 注意:此字段可能返回 null,表示取不到有效值。
99
+ # @type Job: :class:`Tencentcloud::Trp.v20210515.models.Job`
97
100
 
98
- attr_accessor :BatchId, :CorpId, :BatchCode, :CodeCnt, :MerchantId, :ProductId, :BatchType, :Remark, :MpTpl, :Status, :CreateTime, :UpdateTime, :MerchantName, :ProductName, :Ext, :TplName
101
+ attr_accessor :BatchId, :CorpId, :BatchCode, :CodeCnt, :MerchantId, :ProductId, :BatchType, :Remark, :MpTpl, :Status, :CreateTime, :UpdateTime, :MerchantName, :ProductName, :Ext, :TplName, :Job
99
102
 
100
- def initialize(batchid=nil, corpid=nil, batchcode=nil, codecnt=nil, merchantid=nil, productid=nil, batchtype=nil, remark=nil, mptpl=nil, status=nil, createtime=nil, updatetime=nil, merchantname=nil, productname=nil, ext=nil, tplname=nil)
103
+ def initialize(batchid=nil, corpid=nil, batchcode=nil, codecnt=nil, merchantid=nil, productid=nil, batchtype=nil, remark=nil, mptpl=nil, status=nil, createtime=nil, updatetime=nil, merchantname=nil, productname=nil, ext=nil, tplname=nil, job=nil)
101
104
  @BatchId = batchid
102
105
  @CorpId = corpid
103
106
  @BatchCode = batchcode
@@ -114,6 +117,7 @@ module TencentCloud
114
117
  @ProductName = productname
115
118
  @Ext = ext
116
119
  @TplName = tplname
120
+ @Job = job
117
121
  end
118
122
 
119
123
  def deserialize(params)
@@ -136,6 +140,10 @@ module TencentCloud
136
140
  @Ext.deserialize(params['Ext'])
137
141
  end
138
142
  @TplName = params['TplName']
143
+ unless params['Job'].nil?
144
+ @Job = Job.new
145
+ @Job.deserialize(params['Job'])
146
+ end
139
147
  end
140
148
  end
141
149
 
@@ -298,19 +306,27 @@ module TencentCloud
298
306
  # @type Remark: String
299
307
  # @param CorpId: 企业ID
300
308
  # @type CorpId: Integer
309
+ # @param CodeType: 码包来源 0:自建, 1:第三发
310
+ # @type CodeType: Integer
311
+ # @param CodeUrl: 码包前缀地址 第三方码包时必填
312
+ # @type CodeUrl: String
301
313
 
302
- attr_accessor :Name, :Remark, :CorpId
314
+ attr_accessor :Name, :Remark, :CorpId, :CodeType, :CodeUrl
303
315
 
304
- def initialize(name=nil, remark=nil, corpid=nil)
316
+ def initialize(name=nil, remark=nil, corpid=nil, codetype=nil, codeurl=nil)
305
317
  @Name = name
306
318
  @Remark = remark
307
319
  @CorpId = corpid
320
+ @CodeType = codetype
321
+ @CodeUrl = codeurl
308
322
  end
309
323
 
310
324
  def deserialize(params)
311
325
  @Name = params['Name']
312
326
  @Remark = params['Remark']
313
327
  @CorpId = params['CorpId']
328
+ @CodeType = params['CodeType']
329
+ @CodeUrl = params['CodeUrl']
314
330
  end
315
331
  end
316
332
 
@@ -1013,14 +1029,17 @@ module TencentCloud
1013
1029
  # @type PageNumber: Integer
1014
1030
  # @param CorpId: 企业ID
1015
1031
  # @type CorpId: Integer
1032
+ # @param CodeType: 码来源类型 0:自建, 1:第三方
1033
+ # @type CodeType: Integer
1016
1034
 
1017
- attr_accessor :Name, :PageSize, :PageNumber, :CorpId
1035
+ attr_accessor :Name, :PageSize, :PageNumber, :CorpId, :CodeType
1018
1036
 
1019
- def initialize(name=nil, pagesize=nil, pagenumber=nil, corpid=nil)
1037
+ def initialize(name=nil, pagesize=nil, pagenumber=nil, corpid=nil, codetype=nil)
1020
1038
  @Name = name
1021
1039
  @PageSize = pagesize
1022
1040
  @PageNumber = pagenumber
1023
1041
  @CorpId = corpid
1042
+ @CodeType = codetype
1024
1043
  end
1025
1044
 
1026
1045
  def deserialize(params)
@@ -1028,6 +1047,7 @@ module TencentCloud
1028
1047
  @PageSize = params['PageSize']
1029
1048
  @PageNumber = params['PageNumber']
1030
1049
  @CorpId = params['CorpId']
1050
+ @CodeType = params['CodeType']
1031
1051
  end
1032
1052
  end
1033
1053
 
@@ -1363,6 +1383,26 @@ module TencentCloud
1363
1383
  end
1364
1384
  end
1365
1385
 
1386
+ # 通用调度任务
1387
+ class Job < TencentCloud::Common::AbstractModel
1388
+ # @param JobId: 调度ID
1389
+ # @type JobId: Integer
1390
+ # @param Status: 执行状态 init:初始化, pending: 执行中, done: 执行成功, error: 执行失败
1391
+ # @type Status: String
1392
+
1393
+ attr_accessor :JobId, :Status
1394
+
1395
+ def initialize(jobid=nil, status=nil)
1396
+ @JobId = jobid
1397
+ @Status = status
1398
+ end
1399
+
1400
+ def deserialize(params)
1401
+ @JobId = params['JobId']
1402
+ @Status = params['Status']
1403
+ end
1404
+ end
1405
+
1366
1406
  # 商户信息
1367
1407
  class Merchant < TencentCloud::Common::AbstractModel
1368
1408
  # @param MerchantId: 商户标识码
@@ -1380,10 +1420,15 @@ module TencentCloud
1380
1420
  # @type UpdateTime: String
1381
1421
  # @param CodeRule: 商户码规则
1382
1422
  # @type CodeRule: String
1423
+ # @param CodeType: 码来源类型 0: 安心平台 1: 第三方码
1424
+ # @type CodeType: Integer
1425
+ # @param CodeUrl: 第三方码域名前缀
1426
+ # 注意:此字段可能返回 null,表示取不到有效值。
1427
+ # @type CodeUrl: String
1383
1428
 
1384
- attr_accessor :MerchantId, :CorpId, :Name, :Remark, :CreateTime, :UpdateTime, :CodeRule
1429
+ attr_accessor :MerchantId, :CorpId, :Name, :Remark, :CreateTime, :UpdateTime, :CodeRule, :CodeType, :CodeUrl
1385
1430
 
1386
- def initialize(merchantid=nil, corpid=nil, name=nil, remark=nil, createtime=nil, updatetime=nil, coderule=nil)
1431
+ def initialize(merchantid=nil, corpid=nil, name=nil, remark=nil, createtime=nil, updatetime=nil, coderule=nil, codetype=nil, codeurl=nil)
1387
1432
  @MerchantId = merchantid
1388
1433
  @CorpId = corpid
1389
1434
  @Name = name
@@ -1391,6 +1436,8 @@ module TencentCloud
1391
1436
  @CreateTime = createtime
1392
1437
  @UpdateTime = updatetime
1393
1438
  @CodeRule = coderule
1439
+ @CodeType = codetype
1440
+ @CodeUrl = codeurl
1394
1441
  end
1395
1442
 
1396
1443
  def deserialize(params)
@@ -1401,6 +1448,8 @@ module TencentCloud
1401
1448
  @CreateTime = params['CreateTime']
1402
1449
  @UpdateTime = params['UpdateTime']
1403
1450
  @CodeRule = params['CodeRule']
1451
+ @CodeType = params['CodeType']
1452
+ @CodeUrl = params['CodeUrl']
1404
1453
  end
1405
1454
  end
1406
1455
 
@@ -1474,14 +1523,20 @@ module TencentCloud
1474
1523
  # @type Remark: String
1475
1524
  # @param CorpId: 企业ID
1476
1525
  # @type CorpId: Integer
1526
+ # @param CodeType: 码包来源 0:自建, 1:第三码包,暂不支持修改
1527
+ # @type CodeType: Integer
1528
+ # @param CodeUrl: 码包前缀地址 第三方码包时必填
1529
+ # @type CodeUrl: String
1477
1530
 
1478
- attr_accessor :Name, :MerchantId, :Remark, :CorpId
1531
+ attr_accessor :Name, :MerchantId, :Remark, :CorpId, :CodeType, :CodeUrl
1479
1532
 
1480
- def initialize(name=nil, merchantid=nil, remark=nil, corpid=nil)
1533
+ def initialize(name=nil, merchantid=nil, remark=nil, corpid=nil, codetype=nil, codeurl=nil)
1481
1534
  @Name = name
1482
1535
  @MerchantId = merchantid
1483
1536
  @Remark = remark
1484
1537
  @CorpId = corpid
1538
+ @CodeType = codetype
1539
+ @CodeUrl = codeurl
1485
1540
  end
1486
1541
 
1487
1542
  def deserialize(params)
@@ -1489,6 +1544,8 @@ module TencentCloud
1489
1544
  @MerchantId = params['MerchantId']
1490
1545
  @Remark = params['Remark']
1491
1546
  @CorpId = params['CorpId']
1547
+ @CodeType = params['CodeType']
1548
+ @CodeUrl = params['CodeUrl']
1492
1549
  end
1493
1550
  end
1494
1551
 
@@ -1779,7 +1836,7 @@ module TencentCloud
1779
1836
  end
1780
1837
  end
1781
1838
 
1782
- # 数组
1839
+ # 层级码配置
1783
1840
  class PackSpec < TencentCloud::Common::AbstractModel
1784
1841
  # @param Level: 层级
1785
1842
  # @type Level: Integer
@@ -1787,19 +1844,24 @@ module TencentCloud
1787
1844
  # @type Rate: Integer
1788
1845
  # @param Amount: 数量
1789
1846
  # @type Amount: Integer
1847
+ # @param CustomId: 码规则ID
1848
+ # 注意:此字段可能返回 null,表示取不到有效值。
1849
+ # @type CustomId: String
1790
1850
 
1791
- attr_accessor :Level, :Rate, :Amount
1851
+ attr_accessor :Level, :Rate, :Amount, :CustomId
1792
1852
 
1793
- def initialize(level=nil, rate=nil, amount=nil)
1853
+ def initialize(level=nil, rate=nil, amount=nil, customid=nil)
1794
1854
  @Level = level
1795
1855
  @Rate = rate
1796
1856
  @Amount = amount
1857
+ @CustomId = customid
1797
1858
  end
1798
1859
 
1799
1860
  def deserialize(params)
1800
1861
  @Level = params['Level']
1801
1862
  @Rate = params['Rate']
1802
1863
  @Amount = params['Amount']
1864
+ @CustomId = params['CustomId']
1803
1865
  end
1804
1866
  end
1805
1867
 
@@ -2072,10 +2134,13 @@ module TencentCloud
2072
2134
  # @param Key: 类型标识
2073
2135
  # 注意:此字段可能返回 null,表示取不到有效值。
2074
2136
  # @type Key: String
2137
+ # @param Ext: 扩展字段
2138
+ # 注意:此字段可能返回 null,表示取不到有效值。
2139
+ # @type Ext: String
2075
2140
 
2076
- attr_accessor :Name, :Value, :Type, :ReadOnly, :Hidden, :Values, :Key
2141
+ attr_accessor :Name, :Value, :Type, :ReadOnly, :Hidden, :Values, :Key, :Ext
2077
2142
 
2078
- def initialize(name=nil, value=nil, type=nil, readonly=nil, hidden=nil, values=nil, key=nil)
2143
+ def initialize(name=nil, value=nil, type=nil, readonly=nil, hidden=nil, values=nil, key=nil, ext=nil)
2079
2144
  @Name = name
2080
2145
  @Value = value
2081
2146
  @Type = type
@@ -2083,6 +2148,7 @@ module TencentCloud
2083
2148
  @Hidden = hidden
2084
2149
  @Values = values
2085
2150
  @Key = key
2151
+ @Ext = ext
2086
2152
  end
2087
2153
 
2088
2154
  def deserialize(params)
@@ -2093,6 +2159,7 @@ module TencentCloud
2093
2159
  @Hidden = params['Hidden']
2094
2160
  @Values = params['Values']
2095
2161
  @Key = params['Key']
2162
+ @Ext = params['Ext']
2096
2163
  end
2097
2164
  end
2098
2165
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.426
4
+ version: 3.0.428
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-10-12 00:00:00.000000000 Z
11
+ date: 2022-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common