tencentcloud-sdk-tbaas 3.0.595 → 3.0.596

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: 607003ddc79a645d0455d34bfeea07c0fa8f65e7
4
- data.tar.gz: c51e7265359ab2bdfe3f706fa303a605cb004d7a
3
+ metadata.gz: fe5bfa81813acf79230235554cd88d597bd8dcf4
4
+ data.tar.gz: 40570331b6837425b62d067bb005b193495d5587
5
5
  SHA512:
6
- metadata.gz: a06cb1f781faa9b4fccf6423c23406d8ddaa756c2bd3e88022e7542c912dbd678b0802caaf09bf08d412d8768bd43d83ab57a9714efd40a41ad72e83f5447ed6
7
- data.tar.gz: 5497fd10729a7083cfd73b052fb9b43f07c23aab0b174e4a64773f70a73f4c969d11181c4d9f4375f57b21d93afc3f9c37352694ce5e7431dc7f430f12f8e2b7
6
+ metadata.gz: 5c7ab74e01b1834442adca764fdcd561e14e75dbe7b64738a1edefc9b988e56b7325dec9c1d8028bc9f0645b215fb5c4483aebda87c07ed6c827c8a7f70c256c
7
+ data.tar.gz: 7ec42b4f04a4ed399e5685404d9a9ba1d28507fc5b01bb8e80ca5356271c1939e312d89a23e92ee3b821bfdfa9ba996d1faf5bed7ce18bd5be3011a028dfa531
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.595
1
+ 3.0.596
@@ -101,6 +101,8 @@ module TencentCloud
101
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
102
  end
103
103
 
104
+ # Bcos区块链引擎已下线,请选用其他区块链引擎
105
+
104
106
  # 动态部署并发布Bcos合约
105
107
 
106
108
  # @param request: Request instance for DeployDynamicBcosContract.
@@ -149,6 +151,8 @@ module TencentCloud
149
151
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
152
  end
151
153
 
154
+ # Bcos区块链引擎已下线,请选用其他区块链引擎
155
+
152
156
  # 使用块高查询Bcos区块信息
153
157
 
154
158
  # @param request: Request instance for GetBcosBlockByNumber.
@@ -173,6 +177,8 @@ module TencentCloud
173
177
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
178
  end
175
179
 
180
+ # Bcos区块链引擎已下线,请选用其他区块链引擎
181
+
176
182
  # Bcos分页查询当前群组下的区块列表
177
183
 
178
184
  # @param request: Request instance for GetBcosBlockList.
@@ -197,6 +203,8 @@ module TencentCloud
197
203
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
204
  end
199
205
 
206
+ # Bcos区块链引擎已下线,请选用其他区块链引擎
207
+
200
208
  # Bcos根据交易哈希查看交易详细信息
201
209
 
202
210
  # @param request: Request instance for GetBcosTransByHash.
@@ -221,6 +229,8 @@ module TencentCloud
221
229
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
230
  end
223
231
 
232
+ # Bcos区块链引擎已下线,请选用其他区块链引擎
233
+
224
234
  # Bcos分页查询当前群组的交易信息列表
225
235
 
226
236
  # @param request: Request instance for GetBcosTransList.
@@ -461,7 +471,7 @@ module TencentCloud
461
471
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
472
  end
463
473
 
464
- # 获取最新交易列表
474
+ # 获取最新交易列表(已废弃)
465
475
 
466
476
  # @param request: Request instance for GetLatesdTransactionList.
467
477
  # @type request: :class:`Tencentcloud::tbaas::V20180416::GetLatesdTransactionListRequest`
@@ -485,6 +495,30 @@ module TencentCloud
485
495
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
496
  end
487
497
 
498
+ # 获取fabric最新交易列表
499
+
500
+ # @param request: Request instance for GetLatestTransactionList.
501
+ # @type request: :class:`Tencentcloud::tbaas::V20180416::GetLatestTransactionListRequest`
502
+ # @rtype: :class:`Tencentcloud::tbaas::V20180416::GetLatestTransactionListResponse`
503
+ def GetLatestTransactionList(request)
504
+ body = send_request('GetLatestTransactionList', request.serialize)
505
+ response = JSON.parse(body)
506
+ if response['Response'].key?('Error') == false
507
+ model = GetLatestTransactionListResponse.new
508
+ model.deserialize(response['Response'])
509
+ model
510
+ else
511
+ code = response['Response']['Error']['Code']
512
+ message = response['Response']['Error']['Message']
513
+ reqid = response['Response']['RequestId']
514
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
515
+ end
516
+ rescue TencentCloud::Common::TencentCloudSDKException => e
517
+ raise e
518
+ rescue StandardError => e
519
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
520
+ end
521
+
488
522
  # 获取节点日志
489
523
 
490
524
  # @param request: Request instance for GetPeerLogForUser.
@@ -581,6 +615,8 @@ module TencentCloud
581
615
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
616
  end
583
617
 
618
+ # Bcos区块链引擎已下线,请选用其他区块链引擎
619
+
584
620
  # 执行Bcos交易,支持动态部署的合约
585
621
 
586
622
  # @param request: Request instance for InvokeBcosTrans.
@@ -1598,6 +1598,89 @@ module TencentCloud
1598
1598
  end
1599
1599
  end
1600
1600
 
1601
+ # GetLatestTransactionList请求参数结构体
1602
+ class GetLatestTransactionListRequest < TencentCloud::Common::AbstractModel
1603
+ # @param Module: 模块名称,固定字段:transaction
1604
+ # @type Module: String
1605
+ # @param Operation: 操作名称,固定字段:latest_transaction_list
1606
+ # @type Operation: String
1607
+ # @param GroupId: 组织ID,固定字段:0
1608
+ # @type GroupId: Integer
1609
+ # @param ChannelId: 通道ID,固定字段:0
1610
+ # @type ChannelId: Integer
1611
+ # @param LatestBlockNumber: 获取的最新交易的区块数量,取值范围1~5
1612
+ # @type LatestBlockNumber: Integer
1613
+ # @param GroupName: 调用接口的组织名称,可以在组织管理列表中获取当前组织的名称
1614
+ # @type GroupName: String
1615
+ # @param ChannelName: 需要查询的通道名称,可在通道详情或列表中获取
1616
+ # @type ChannelName: String
1617
+ # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
1618
+ # @type ClusterId: String
1619
+ # @param Offset: 需要获取的起始交易偏移
1620
+ # @type Offset: Integer
1621
+ # @param Limit: 需要获取的交易数量
1622
+ # @type Limit: Integer
1623
+
1624
+ attr_accessor :Module, :Operation, :GroupId, :ChannelId, :LatestBlockNumber, :GroupName, :ChannelName, :ClusterId, :Offset, :Limit
1625
+
1626
+ def initialize(_module=nil, operation=nil, groupid=nil, channelid=nil, latestblocknumber=nil, groupname=nil, channelname=nil, clusterid=nil, offset=nil, limit=nil)
1627
+ @Module = _module
1628
+ @Operation = operation
1629
+ @GroupId = groupid
1630
+ @ChannelId = channelid
1631
+ @LatestBlockNumber = latestblocknumber
1632
+ @GroupName = groupname
1633
+ @ChannelName = channelname
1634
+ @ClusterId = clusterid
1635
+ @Offset = offset
1636
+ @Limit = limit
1637
+ end
1638
+
1639
+ def deserialize(params)
1640
+ @Module = params['Module']
1641
+ @Operation = params['Operation']
1642
+ @GroupId = params['GroupId']
1643
+ @ChannelId = params['ChannelId']
1644
+ @LatestBlockNumber = params['LatestBlockNumber']
1645
+ @GroupName = params['GroupName']
1646
+ @ChannelName = params['ChannelName']
1647
+ @ClusterId = params['ClusterId']
1648
+ @Offset = params['Offset']
1649
+ @Limit = params['Limit']
1650
+ end
1651
+ end
1652
+
1653
+ # GetLatestTransactionList返回参数结构体
1654
+ class GetLatestTransactionListResponse < TencentCloud::Common::AbstractModel
1655
+ # @param TotalCount: 交易总数量
1656
+ # @type TotalCount: Integer
1657
+ # @param TransactionList: 交易列表
1658
+ # @type TransactionList: Array
1659
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1660
+ # @type RequestId: String
1661
+
1662
+ attr_accessor :TotalCount, :TransactionList, :RequestId
1663
+
1664
+ def initialize(totalcount=nil, transactionlist=nil, requestid=nil)
1665
+ @TotalCount = totalcount
1666
+ @TransactionList = transactionlist
1667
+ @RequestId = requestid
1668
+ end
1669
+
1670
+ def deserialize(params)
1671
+ @TotalCount = params['TotalCount']
1672
+ unless params['TransactionList'].nil?
1673
+ @TransactionList = []
1674
+ params['TransactionList'].each do |i|
1675
+ transactionitem_tmp = TransactionItem.new
1676
+ transactionitem_tmp.deserialize(i)
1677
+ @TransactionList << transactionitem_tmp
1678
+ end
1679
+ end
1680
+ @RequestId = params['RequestId']
1681
+ end
1682
+ end
1683
+
1601
1684
  # GetPeerLogForUser请求参数结构体
1602
1685
  class GetPeerLogForUserRequest < TencentCloud::Common::AbstractModel
1603
1686
  # @param Module: 模块名,本接口取值:peer_mng
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tbaas
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.595
4
+ version: 3.0.596
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-06-19 00:00:00.000000000 Z
11
+ date: 2023-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common