tencentcloud-sdk-trp 3.0.425 → 3.0.427

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: 3d2d909d84c2f45c047ee89c07c6a13e502753f1
4
- data.tar.gz: ef6bcb79c4133ad30c1b6b94045c0602bee3d587
3
+ metadata.gz: 93865859c1a4af76b4788677a12a891ee0b560c5
4
+ data.tar.gz: 6df7a683d43b1f6e25d08f61b50447667f155022
5
5
  SHA512:
6
- metadata.gz: 90420a31516eeef3959a63ddee45423b5c460c83c50a82afaa81c6248c7cae8d4dce4a1f4ad32a61d832ca4c049146e92820675fa49c8e2904f8bf590a78af83
7
- data.tar.gz: 1855cc84cb79e2eb2397e89cc1558be88027d4b9b800239741b02868346ca55cd1e628b26e507915d226ee9ad3c13dd56ffdcf90400f3386c8dd0e423b2105ab
6
+ metadata.gz: d48c9f55d8fdada6f8d84d77b31082c459b6da4dc11adb116fb292b781ceb470757f411c074c33cc961bea604add92eddcf56dbafc8c34210510ccbda5a49760
7
+ data.tar.gz: 5e059c799561e9366c27f6d26aa54f9e05d3876322058087a472058e8106f3ff811cb262bea68fee5ab240e4edbd73a75194368681b23c77cb3f8054948f9345
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.425
1
+ 3.0.427
@@ -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.425
4
+ version: 3.0.427
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-11 00:00:00.000000000 Z
11
+ date: 2022-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common