tencentcloud-sdk-tbaas 3.0.595 → 3.0.597
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/v20180416/client.rb +37 -1
- data/lib/v20180416/models.rb +83 -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: c0c0fd2717913947d18446d1e92df61b654af649
|
4
|
+
data.tar.gz: e9fe545eac6abf12ccc8b1f8b797e10fee799f83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 997c4b69c72f1cdfffdf435ac40a743daf57fdf222bb32789e33cbb4aa317021aba1dc27f0afd9af5bde8059763337a3a08c4d6e5cdf7b5d7ff0ca9c480060ec
|
7
|
+
data.tar.gz: 688e54511058e309fc7461380c7de8511068a224a143887d8b23dd60fc5bf1d4fdafc0f780e267da6e073a8f7a1bef24d1ffa0a34b11d2e06067bcd76e2bc14b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.597
|
data/lib/v20180416/client.rb
CHANGED
@@ -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.
|
data/lib/v20180416/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.597
|
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-
|
11
|
+
date: 2023-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|