tencentcloud-sdk-tbaas 3.0.616 → 3.0.617

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: d2cda8c812bba8c2d446521eeafc9088182908b3
4
- data.tar.gz: 1b206b1ed1517269d28683f5f13bc07d0971d3db
3
+ metadata.gz: 45f78e460914222e1c469994facd0b986cfa32fa
4
+ data.tar.gz: 70d30bf332aaa8a04ef05219c81bdb1011e73907
5
5
  SHA512:
6
- metadata.gz: 843ebf2c7089aba395c6070ba2885900a832ea06f04b4236156e98cc094b42edb9f0ef4a10dfd22c92a420a3c2931ad7b2a58eb5dcefa2e2ac6f2cd7fb5b1537
7
- data.tar.gz: a5f63720b334db72901ec9c30b6ffec1a67ea0a8427368d6653d5173c1a3e5b8d5fc205ac6e4fff32ef843ae61487b4b6be680c6677ba1e9f58b5c7b793838eb
6
+ metadata.gz: d34ad94757de0d2ddabc8b4d1d925f9d177b76d6e998561fd9e90efe10eb82cce3fe209b58f8c60b1011359e9ac97e09a0a1843bee2e4868e0ff1551df82b710
7
+ data.tar.gz: e26853971953058c82d7a64474cfbcecad8ceabffded16c60a9e8f1b3ee22e75e2adefabbda28d1af15e11d477b0c1669fe6d0eb47c52b5fe2b7b16481ac13e7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.616
1
+ 3.0.617
@@ -77,32 +77,6 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
- # 接口已废弃,请通过控制台查询或操作
81
-
82
- # 创建并安装合约
83
-
84
- # @param request: Request instance for CreateChaincodeAndInstallForUser.
85
- # @type request: :class:`Tencentcloud::tbaas::V20180416::CreateChaincodeAndInstallForUserRequest`
86
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::CreateChaincodeAndInstallForUserResponse`
87
- def CreateChaincodeAndInstallForUser(request)
88
- body = send_request('CreateChaincodeAndInstallForUser', request.serialize)
89
- response = JSON.parse(body)
90
- if response['Response'].key?('Error') == false
91
- model = CreateChaincodeAndInstallForUserResponse.new
92
- model.deserialize(response['Response'])
93
- model
94
- else
95
- code = response['Response']['Error']['Code']
96
- message = response['Response']['Error']['Message']
97
- reqid = response['Response']['RequestId']
98
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
99
- end
100
- rescue TencentCloud::Common::TencentCloudSDKException => e
101
- raise e
102
- rescue StandardError => e
103
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
104
- end
105
-
106
80
  # 下载用户证书
107
81
 
108
82
  # @param request: Request instance for DownloadUserCert.
@@ -175,136 +149,6 @@ module TencentCloud
175
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
176
150
  end
177
151
 
178
- # 接口已废弃,请通过控制台查询或操作
179
-
180
- # 获取合约编译日志
181
-
182
- # @param request: Request instance for GetChaincodeCompileLogForUser.
183
- # @type request: :class:`Tencentcloud::tbaas::V20180416::GetChaincodeCompileLogForUserRequest`
184
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::GetChaincodeCompileLogForUserResponse`
185
- def GetChaincodeCompileLogForUser(request)
186
- body = send_request('GetChaincodeCompileLogForUser', request.serialize)
187
- response = JSON.parse(body)
188
- if response['Response'].key?('Error') == false
189
- model = GetChaincodeCompileLogForUserResponse.new
190
- model.deserialize(response['Response'])
191
- model
192
- else
193
- code = response['Response']['Error']['Code']
194
- message = response['Response']['Error']['Message']
195
- reqid = response['Response']['RequestId']
196
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
197
- end
198
- rescue TencentCloud::Common::TencentCloudSDKException => e
199
- raise e
200
- rescue StandardError => e
201
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
202
- end
203
-
204
- # 接口已废弃,请通过控制台查询或操作
205
-
206
- # 实例化结果查询
207
-
208
- # @param request: Request instance for GetChaincodeInitializeResultForUser.
209
- # @type request: :class:`Tencentcloud::tbaas::V20180416::GetChaincodeInitializeResultForUserRequest`
210
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::GetChaincodeInitializeResultForUserResponse`
211
- def GetChaincodeInitializeResultForUser(request)
212
- body = send_request('GetChaincodeInitializeResultForUser', request.serialize)
213
- response = JSON.parse(body)
214
- if response['Response'].key?('Error') == false
215
- model = GetChaincodeInitializeResultForUserResponse.new
216
- model.deserialize(response['Response'])
217
- model
218
- else
219
- code = response['Response']['Error']['Code']
220
- message = response['Response']['Error']['Message']
221
- reqid = response['Response']['RequestId']
222
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
223
- end
224
- rescue TencentCloud::Common::TencentCloudSDKException => e
225
- raise e
226
- rescue StandardError => e
227
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
228
- end
229
-
230
- # 接口已废弃,请通过控制台查询或操作
231
-
232
- # 获取合约容器日志
233
-
234
- # @param request: Request instance for GetChaincodeLogForUser.
235
- # @type request: :class:`Tencentcloud::tbaas::V20180416::GetChaincodeLogForUserRequest`
236
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::GetChaincodeLogForUserResponse`
237
- def GetChaincodeLogForUser(request)
238
- body = send_request('GetChaincodeLogForUser', request.serialize)
239
- response = JSON.parse(body)
240
- if response['Response'].key?('Error') == false
241
- model = GetChaincodeLogForUserResponse.new
242
- model.deserialize(response['Response'])
243
- model
244
- else
245
- code = response['Response']['Error']['Code']
246
- message = response['Response']['Error']['Message']
247
- reqid = response['Response']['RequestId']
248
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
249
- end
250
- rescue TencentCloud::Common::TencentCloudSDKException => e
251
- raise e
252
- rescue StandardError => e
253
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
254
- end
255
-
256
- # 接口已废弃,请通过控制台查询或操作
257
-
258
- # 获取通道列表
259
-
260
- # @param request: Request instance for GetChannelListForUser.
261
- # @type request: :class:`Tencentcloud::tbaas::V20180416::GetChannelListForUserRequest`
262
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::GetChannelListForUserResponse`
263
- def GetChannelListForUser(request)
264
- body = send_request('GetChannelListForUser', request.serialize)
265
- response = JSON.parse(body)
266
- if response['Response'].key?('Error') == false
267
- model = GetChannelListForUserResponse.new
268
- model.deserialize(response['Response'])
269
- model
270
- else
271
- code = response['Response']['Error']['Code']
272
- message = response['Response']['Error']['Message']
273
- reqid = response['Response']['RequestId']
274
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
275
- end
276
- rescue TencentCloud::Common::TencentCloudSDKException => e
277
- raise e
278
- rescue StandardError => e
279
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
280
- end
281
-
282
- # 接口已废弃,请通过控制台查询或操作
283
-
284
- # 获取该用户的网络列表。网络信息中包含组织信息,但仅包含该用户所在组织的信息。
285
-
286
- # @param request: Request instance for GetClusterListForUser.
287
- # @type request: :class:`Tencentcloud::tbaas::V20180416::GetClusterListForUserRequest`
288
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::GetClusterListForUserResponse`
289
- def GetClusterListForUser(request)
290
- body = send_request('GetClusterListForUser', request.serialize)
291
- response = JSON.parse(body)
292
- if response['Response'].key?('Error') == false
293
- model = GetClusterListForUserResponse.new
294
- model.deserialize(response['Response'])
295
- model
296
- else
297
- code = response['Response']['Error']['Code']
298
- message = response['Response']['Error']['Message']
299
- reqid = response['Response']['RequestId']
300
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
301
- end
302
- rescue TencentCloud::Common::TencentCloudSDKException => e
303
- raise e
304
- rescue StandardError => e
305
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
306
- end
307
-
308
152
  # 获取区块链网络概要
309
153
 
310
154
  # @param request: Request instance for GetClusterSummary.
@@ -401,32 +245,6 @@ module TencentCloud
401
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
402
246
  end
403
247
 
404
- # 接口已废弃,请通过控制台查询或操作
405
-
406
- # 获取节点日志
407
-
408
- # @param request: Request instance for GetPeerLogForUser.
409
- # @type request: :class:`Tencentcloud::tbaas::V20180416::GetPeerLogForUserRequest`
410
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::GetPeerLogForUserResponse`
411
- def GetPeerLogForUser(request)
412
- body = send_request('GetPeerLogForUser', request.serialize)
413
- response = JSON.parse(body)
414
- if response['Response'].key?('Error') == false
415
- model = GetPeerLogForUserResponse.new
416
- model.deserialize(response['Response'])
417
- model
418
- else
419
- code = response['Response']['Error']['Code']
420
- message = response['Response']['Error']['Message']
421
- reqid = response['Response']['RequestId']
422
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
423
- end
424
- rescue TencentCloud::Common::TencentCloudSDKException => e
425
- raise e
426
- rescue StandardError => e
427
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
428
- end
429
-
430
248
  # 获取交易详情
431
249
 
432
250
  # @param request: Request instance for GetTransactionDetailForUser.
@@ -451,32 +269,6 @@ module TencentCloud
451
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
452
270
  end
453
271
 
454
- # 接口已废弃,请通过控制台查询或操作
455
-
456
- # 实例化合约
457
-
458
- # @param request: Request instance for InitializeChaincodeForUser.
459
- # @type request: :class:`Tencentcloud::tbaas::V20180416::InitializeChaincodeForUserRequest`
460
- # @rtype: :class:`Tencentcloud::tbaas::V20180416::InitializeChaincodeForUserResponse`
461
- def InitializeChaincodeForUser(request)
462
- body = send_request('InitializeChaincodeForUser', request.serialize)
463
- response = JSON.parse(body)
464
- if response['Response'].key?('Error') == false
465
- model = InitializeChaincodeForUserResponse.new
466
- model.deserialize(response['Response'])
467
- model
468
- else
469
- code = response['Response']['Error']['Code']
470
- message = response['Response']['Error']['Message']
471
- reqid = response['Response']['RequestId']
472
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
473
- end
474
- rescue TencentCloud::Common::TencentCloudSDKException => e
475
- raise e
476
- rescue StandardError => e
477
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
478
- end
479
-
480
272
  # 新增交易
481
273
 
482
274
  # @param request: Request instance for Invoke.
@@ -261,132 +261,6 @@ module TencentCloud
261
261
  end
262
262
  end
263
263
 
264
- # 通道详情信息
265
- class ChannelDetailForUser < TencentCloud::Common::AbstractModel
266
- # @param ChannelName: 通道名称
267
- # @type ChannelName: String
268
- # @param PeerList: 当前组织加入通道的节点列表
269
- # @type PeerList: Array
270
-
271
- attr_accessor :ChannelName, :PeerList
272
-
273
- def initialize(channelname=nil, peerlist=nil)
274
- @ChannelName = channelname
275
- @PeerList = peerlist
276
- end
277
-
278
- def deserialize(params)
279
- @ChannelName = params['ChannelName']
280
- unless params['PeerList'].nil?
281
- @PeerList = []
282
- params['PeerList'].each do |i|
283
- peerdetailforuser_tmp = PeerDetailForUser.new
284
- peerdetailforuser_tmp.deserialize(i)
285
- @PeerList << peerdetailforuser_tmp
286
- end
287
- end
288
- end
289
- end
290
-
291
- # 网络详情信息
292
- class ClusterDetailForUser < TencentCloud::Common::AbstractModel
293
- # @param ClusterId: 网络ID
294
- # @type ClusterId: String
295
- # @param GroupList: 组织列表
296
- # @type GroupList: Array
297
- # @param ClusterName: 网络名称
298
- # @type ClusterName: String
299
-
300
- attr_accessor :ClusterId, :GroupList, :ClusterName
301
-
302
- def initialize(clusterid=nil, grouplist=nil, clustername=nil)
303
- @ClusterId = clusterid
304
- @GroupList = grouplist
305
- @ClusterName = clustername
306
- end
307
-
308
- def deserialize(params)
309
- @ClusterId = params['ClusterId']
310
- unless params['GroupList'].nil?
311
- @GroupList = []
312
- params['GroupList'].each do |i|
313
- groupdetailforuser_tmp = GroupDetailForUser.new
314
- groupdetailforuser_tmp.deserialize(i)
315
- @GroupList << groupdetailforuser_tmp
316
- end
317
- end
318
- @ClusterName = params['ClusterName']
319
- end
320
- end
321
-
322
- # CreateChaincodeAndInstallForUser请求参数结构体
323
- class CreateChaincodeAndInstallForUserRequest < TencentCloud::Common::AbstractModel
324
- # @param Module: 模块名,本接口取值:chaincode_mng
325
- # @type Module: String
326
- # @param Operation: 操作名,本接口取值:chaincode_create_and_install_for_user
327
- # @type Operation: String
328
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
329
- # @type ClusterId: String
330
- # @param GroupName: 调用合约的组织名称,可以在组织管理列表中获取当前组织的名称
331
- # @type GroupName: String
332
- # @param PeerName: 合约安装节点名称,可以在通道详情中获取该通道上的节点名称
333
- # @type PeerName: String
334
- # @param ChaincodeName: 智能合约名称,格式说明:以小写字母开头,由2-12位数字或小写字母组成
335
- # @type ChaincodeName: String
336
- # @param ChaincodeVersion: 智能合约版本,格式说明:由1-12位数字、小写字母、特殊符号(“.”)组成,如v1.0
337
- # @type ChaincodeVersion: String
338
- # @param ChaincodeFileType: 智能合约代码文件类型,支持类型:
339
- # 1. "go":.go合约文件
340
- # 2. "gozip":go合约工程zip包,要求压缩目录为代码根目录
341
- # 3. "javazip":java合约工程zip包,要求压缩目录为代码根目录
342
- # 4. "nodezip":nodejs合约工程zip包,要求压缩目录为代码根目录
343
- # @type ChaincodeFileType: String
344
- # @param Chaincode: 合约内容,合约文件或压缩包内容的base64编码,大小要求小于等于5M
345
- # @type Chaincode: String
346
-
347
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :PeerName, :ChaincodeName, :ChaincodeVersion, :ChaincodeFileType, :Chaincode
348
-
349
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, peername=nil, chaincodename=nil, chaincodeversion=nil, chaincodefiletype=nil, chaincode=nil)
350
- @Module = _module
351
- @Operation = operation
352
- @ClusterId = clusterid
353
- @GroupName = groupname
354
- @PeerName = peername
355
- @ChaincodeName = chaincodename
356
- @ChaincodeVersion = chaincodeversion
357
- @ChaincodeFileType = chaincodefiletype
358
- @Chaincode = chaincode
359
- end
360
-
361
- def deserialize(params)
362
- @Module = params['Module']
363
- @Operation = params['Operation']
364
- @ClusterId = params['ClusterId']
365
- @GroupName = params['GroupName']
366
- @PeerName = params['PeerName']
367
- @ChaincodeName = params['ChaincodeName']
368
- @ChaincodeVersion = params['ChaincodeVersion']
369
- @ChaincodeFileType = params['ChaincodeFileType']
370
- @Chaincode = params['Chaincode']
371
- end
372
- end
373
-
374
- # CreateChaincodeAndInstallForUser返回参数结构体
375
- class CreateChaincodeAndInstallForUserResponse < TencentCloud::Common::AbstractModel
376
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
377
- # @type RequestId: String
378
-
379
- attr_accessor :RequestId
380
-
381
- def initialize(requestid=nil)
382
- @RequestId = requestid
383
- end
384
-
385
- def deserialize(params)
386
- @RequestId = params['RequestId']
387
- end
388
- end
389
-
390
264
  # DownloadUserCert请求参数结构体
391
265
  class DownloadUserCertRequest < TencentCloud::Common::AbstractModel
392
266
  # @param Module: 模块名,固定字段:cert_mng
@@ -621,358 +495,6 @@ module TencentCloud
621
495
  end
622
496
  end
623
497
 
624
- # GetChaincodeCompileLogForUser请求参数结构体
625
- class GetChaincodeCompileLogForUserRequest < TencentCloud::Common::AbstractModel
626
- # @param Module: 模块名,本接口取值:chaincode_mng
627
- # @type Module: String
628
- # @param Operation: 操作名,本接口取值:chaincode_compile_log_for_user
629
- # @type Operation: String
630
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
631
- # @type ClusterId: String
632
- # @param GroupName: 调用合约的组织名称
633
- # @type GroupName: String
634
- # @param ChaincodeName: 业务所属智能合约名称
635
- # @type ChaincodeName: String
636
- # @param ChaincodeVersion: 业务所属智能合约版本
637
- # @type ChaincodeVersion: String
638
- # @param PeerName: 合约安装节点名称,可以在通道详情中获取该通道上的节点名称
639
- # @type PeerName: String
640
- # @param Limit: 返回数据项数,本接口默认取值:10
641
- # @type Limit: Integer
642
- # @param Offset: 返回数据起始偏移,本接口默认取值:0
643
- # @type Offset: Integer
644
-
645
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :ChaincodeName, :ChaincodeVersion, :PeerName, :Limit, :Offset
646
-
647
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, chaincodename=nil, chaincodeversion=nil, peername=nil, limit=nil, offset=nil)
648
- @Module = _module
649
- @Operation = operation
650
- @ClusterId = clusterid
651
- @GroupName = groupname
652
- @ChaincodeName = chaincodename
653
- @ChaincodeVersion = chaincodeversion
654
- @PeerName = peername
655
- @Limit = limit
656
- @Offset = offset
657
- end
658
-
659
- def deserialize(params)
660
- @Module = params['Module']
661
- @Operation = params['Operation']
662
- @ClusterId = params['ClusterId']
663
- @GroupName = params['GroupName']
664
- @ChaincodeName = params['ChaincodeName']
665
- @ChaincodeVersion = params['ChaincodeVersion']
666
- @PeerName = params['PeerName']
667
- @Limit = params['Limit']
668
- @Offset = params['Offset']
669
- end
670
- end
671
-
672
- # GetChaincodeCompileLogForUser返回参数结构体
673
- class GetChaincodeCompileLogForUserResponse < TencentCloud::Common::AbstractModel
674
- # @param TotalCount: 日志总行数,上限2000条日志
675
- # @type TotalCount: Integer
676
- # @param CompileLogList: 日志列表
677
- # @type CompileLogList: Array
678
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
679
- # @type RequestId: String
680
-
681
- attr_accessor :TotalCount, :CompileLogList, :RequestId
682
-
683
- def initialize(totalcount=nil, compileloglist=nil, requestid=nil)
684
- @TotalCount = totalcount
685
- @CompileLogList = compileloglist
686
- @RequestId = requestid
687
- end
688
-
689
- def deserialize(params)
690
- @TotalCount = params['TotalCount']
691
- unless params['CompileLogList'].nil?
692
- @CompileLogList = []
693
- params['CompileLogList'].each do |i|
694
- logdetailforuser_tmp = LogDetailForUser.new
695
- logdetailforuser_tmp.deserialize(i)
696
- @CompileLogList << logdetailforuser_tmp
697
- end
698
- end
699
- @RequestId = params['RequestId']
700
- end
701
- end
702
-
703
- # GetChaincodeInitializeResultForUser请求参数结构体
704
- class GetChaincodeInitializeResultForUserRequest < TencentCloud::Common::AbstractModel
705
- # @param Module: 模块名,本接口取值:chaincode_mng
706
- # @type Module: String
707
- # @param Operation: 操作名,本接口取值:chaincode_init_result_for_user
708
- # @type Operation: String
709
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
710
- # @type ClusterId: String
711
- # @param GroupName: 调用合约的组织名称
712
- # @type GroupName: String
713
- # @param ChannelName: 业务所属通道名称
714
- # @type ChannelName: String
715
- # @param ChaincodeName: 业务所属合约名称
716
- # @type ChaincodeName: String
717
- # @param ChaincodeVersion: 业务所属智能合约版本
718
- # @type ChaincodeVersion: String
719
- # @param TaskId: 实例化任务ID
720
- # @type TaskId: Integer
721
-
722
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :ChannelName, :ChaincodeName, :ChaincodeVersion, :TaskId
723
-
724
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, channelname=nil, chaincodename=nil, chaincodeversion=nil, taskid=nil)
725
- @Module = _module
726
- @Operation = operation
727
- @ClusterId = clusterid
728
- @GroupName = groupname
729
- @ChannelName = channelname
730
- @ChaincodeName = chaincodename
731
- @ChaincodeVersion = chaincodeversion
732
- @TaskId = taskid
733
- end
734
-
735
- def deserialize(params)
736
- @Module = params['Module']
737
- @Operation = params['Operation']
738
- @ClusterId = params['ClusterId']
739
- @GroupName = params['GroupName']
740
- @ChannelName = params['ChannelName']
741
- @ChaincodeName = params['ChaincodeName']
742
- @ChaincodeVersion = params['ChaincodeVersion']
743
- @TaskId = params['TaskId']
744
- end
745
- end
746
-
747
- # GetChaincodeInitializeResultForUser返回参数结构体
748
- class GetChaincodeInitializeResultForUserResponse < TencentCloud::Common::AbstractModel
749
- # @param InitResult: 实例化结果:0,实例化中;1,实例化成功;2,实例化失败
750
- # @type InitResult: Integer
751
- # @param InitMessage: 实例化信息
752
- # @type InitMessage: String
753
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
754
- # @type RequestId: String
755
-
756
- attr_accessor :InitResult, :InitMessage, :RequestId
757
-
758
- def initialize(initresult=nil, initmessage=nil, requestid=nil)
759
- @InitResult = initresult
760
- @InitMessage = initmessage
761
- @RequestId = requestid
762
- end
763
-
764
- def deserialize(params)
765
- @InitResult = params['InitResult']
766
- @InitMessage = params['InitMessage']
767
- @RequestId = params['RequestId']
768
- end
769
- end
770
-
771
- # GetChaincodeLogForUser请求参数结构体
772
- class GetChaincodeLogForUserRequest < TencentCloud::Common::AbstractModel
773
- # @param Module: 模块名,本接口取值:chaincode_mng
774
- # @type Module: String
775
- # @param Operation: 操作名,本接口取值:chaincode_log_for_user
776
- # @type Operation: String
777
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
778
- # @type ClusterId: String
779
- # @param GroupName: 调用合约的组织名称
780
- # @type GroupName: String
781
- # @param ChaincodeName: 业务所属智能合约名称
782
- # @type ChaincodeName: String
783
- # @param ChaincodeVersion: 业务所属智能合约版本
784
- # @type ChaincodeVersion: String
785
- # @param PeerName: 合约安装节点名称,可以在通道详情中获取该通道上的节点名称
786
- # @type PeerName: String
787
- # @param BeginTime: 日志开始时间,如"2020-11-24 19:49:25"
788
- # @type BeginTime: String
789
- # @param RowNum: 返回日志行数的最大值,系统设定该参数最大为1000,且一行日志的最大字节数是500,即最大返回50万个字节数的日志数据
790
- # @type RowNum: Integer
791
-
792
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :ChaincodeName, :ChaincodeVersion, :PeerName, :BeginTime, :RowNum
793
-
794
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, chaincodename=nil, chaincodeversion=nil, peername=nil, begintime=nil, rownum=nil)
795
- @Module = _module
796
- @Operation = operation
797
- @ClusterId = clusterid
798
- @GroupName = groupname
799
- @ChaincodeName = chaincodename
800
- @ChaincodeVersion = chaincodeversion
801
- @PeerName = peername
802
- @BeginTime = begintime
803
- @RowNum = rownum
804
- end
805
-
806
- def deserialize(params)
807
- @Module = params['Module']
808
- @Operation = params['Operation']
809
- @ClusterId = params['ClusterId']
810
- @GroupName = params['GroupName']
811
- @ChaincodeName = params['ChaincodeName']
812
- @ChaincodeVersion = params['ChaincodeVersion']
813
- @PeerName = params['PeerName']
814
- @BeginTime = params['BeginTime']
815
- @RowNum = params['RowNum']
816
- end
817
- end
818
-
819
- # GetChaincodeLogForUser返回参数结构体
820
- class GetChaincodeLogForUserResponse < TencentCloud::Common::AbstractModel
821
- # @param TotalCount: 返回日志总行数,不会超过入参的RowNum
822
- # @type TotalCount: Integer
823
- # @param ChaincodeLogList: 日志列表
824
- # @type ChaincodeLogList: Array
825
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
826
- # @type RequestId: String
827
-
828
- attr_accessor :TotalCount, :ChaincodeLogList, :RequestId
829
-
830
- def initialize(totalcount=nil, chaincodeloglist=nil, requestid=nil)
831
- @TotalCount = totalcount
832
- @ChaincodeLogList = chaincodeloglist
833
- @RequestId = requestid
834
- end
835
-
836
- def deserialize(params)
837
- @TotalCount = params['TotalCount']
838
- unless params['ChaincodeLogList'].nil?
839
- @ChaincodeLogList = []
840
- params['ChaincodeLogList'].each do |i|
841
- logdetailforuser_tmp = LogDetailForUser.new
842
- logdetailforuser_tmp.deserialize(i)
843
- @ChaincodeLogList << logdetailforuser_tmp
844
- end
845
- end
846
- @RequestId = params['RequestId']
847
- end
848
- end
849
-
850
- # GetChannelListForUser请求参数结构体
851
- class GetChannelListForUserRequest < TencentCloud::Common::AbstractModel
852
- # @param Module: 模块名,本接口取值:channel_mng
853
- # @type Module: String
854
- # @param Operation: 操作名,本接口取值:channel_list_for_user
855
- # @type Operation: String
856
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
857
- # @type ClusterId: String
858
- # @param GroupName: 组织名称
859
- # @type GroupName: String
860
- # @param Limit: 返回数据项数,本接口默认取值:10,上限取值:20
861
- # @type Limit: Integer
862
- # @param Offset: 返回数据起始偏移,本接口默认取值:0
863
- # @type Offset: Integer
864
-
865
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :Limit, :Offset
866
-
867
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, limit=nil, offset=nil)
868
- @Module = _module
869
- @Operation = operation
870
- @ClusterId = clusterid
871
- @GroupName = groupname
872
- @Limit = limit
873
- @Offset = offset
874
- end
875
-
876
- def deserialize(params)
877
- @Module = params['Module']
878
- @Operation = params['Operation']
879
- @ClusterId = params['ClusterId']
880
- @GroupName = params['GroupName']
881
- @Limit = params['Limit']
882
- @Offset = params['Offset']
883
- end
884
- end
885
-
886
- # GetChannelListForUser返回参数结构体
887
- class GetChannelListForUserResponse < TencentCloud::Common::AbstractModel
888
- # @param TotalCount: 通道总数量
889
- # @type TotalCount: Integer
890
- # @param ChannelList: 通道列表
891
- # @type ChannelList: Array
892
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
893
- # @type RequestId: String
894
-
895
- attr_accessor :TotalCount, :ChannelList, :RequestId
896
-
897
- def initialize(totalcount=nil, channellist=nil, requestid=nil)
898
- @TotalCount = totalcount
899
- @ChannelList = channellist
900
- @RequestId = requestid
901
- end
902
-
903
- def deserialize(params)
904
- @TotalCount = params['TotalCount']
905
- unless params['ChannelList'].nil?
906
- @ChannelList = []
907
- params['ChannelList'].each do |i|
908
- channeldetailforuser_tmp = ChannelDetailForUser.new
909
- channeldetailforuser_tmp.deserialize(i)
910
- @ChannelList << channeldetailforuser_tmp
911
- end
912
- end
913
- @RequestId = params['RequestId']
914
- end
915
- end
916
-
917
- # GetClusterListForUser请求参数结构体
918
- class GetClusterListForUserRequest < TencentCloud::Common::AbstractModel
919
- # @param Module: 模块名,本接口取值:cluster_mng
920
- # @type Module: String
921
- # @param Operation: 操作名,本接口取值:cluster_list_for_user
922
- # @type Operation: String
923
- # @param Limit: 返回数据项数,本接口默认取值:10,上限取值:20
924
- # @type Limit: Integer
925
- # @param Offset: 返回数据起始偏移,本接口默认取值:0
926
- # @type Offset: Integer
927
-
928
- attr_accessor :Module, :Operation, :Limit, :Offset
929
-
930
- def initialize(_module=nil, operation=nil, limit=nil, offset=nil)
931
- @Module = _module
932
- @Operation = operation
933
- @Limit = limit
934
- @Offset = offset
935
- end
936
-
937
- def deserialize(params)
938
- @Module = params['Module']
939
- @Operation = params['Operation']
940
- @Limit = params['Limit']
941
- @Offset = params['Offset']
942
- end
943
- end
944
-
945
- # GetClusterListForUser返回参数结构体
946
- class GetClusterListForUserResponse < TencentCloud::Common::AbstractModel
947
- # @param TotalCount: 网络总数量
948
- # @type TotalCount: Integer
949
- # @param ClusterList: 网络列表
950
- # @type ClusterList: Array
951
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
952
- # @type RequestId: String
953
-
954
- attr_accessor :TotalCount, :ClusterList, :RequestId
955
-
956
- def initialize(totalcount=nil, clusterlist=nil, requestid=nil)
957
- @TotalCount = totalcount
958
- @ClusterList = clusterlist
959
- @RequestId = requestid
960
- end
961
-
962
- def deserialize(params)
963
- @TotalCount = params['TotalCount']
964
- unless params['ClusterList'].nil?
965
- @ClusterList = []
966
- params['ClusterList'].each do |i|
967
- clusterdetailforuser_tmp = ClusterDetailForUser.new
968
- clusterdetailforuser_tmp.deserialize(i)
969
- @ClusterList << clusterdetailforuser_tmp
970
- end
971
- end
972
- @RequestId = params['RequestId']
973
- end
974
- end
975
-
976
498
  # GetClusterSummary请求参数结构体
977
499
  class GetClusterSummaryRequest < TencentCloud::Common::AbstractModel
978
500
  # @param Module: 模块名称,固定字段:cluster_mng
@@ -1319,77 +841,6 @@ module TencentCloud
1319
841
  end
1320
842
  end
1321
843
 
1322
- # GetPeerLogForUser请求参数结构体
1323
- class GetPeerLogForUserRequest < TencentCloud::Common::AbstractModel
1324
- # @param Module: 模块名,本接口取值:peer_mng
1325
- # @type Module: String
1326
- # @param Operation: 操作名,本接口取值:peer_log_for_user
1327
- # @type Operation: String
1328
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
1329
- # @type ClusterId: String
1330
- # @param GroupName: 调用合约的组织名称
1331
- # @type GroupName: String
1332
- # @param PeerName: 节点名称
1333
- # @type PeerName: String
1334
- # @param BeginTime: 日志开始时间,如"2020-11-24 19:49:25"
1335
- # @type BeginTime: String
1336
- # @param RowNum: 返回日志行数的最大值,系统设定该参数最大为1000,且一行日志的最大字节数是500,即最大返回50万个字节数的日志数据
1337
- # @type RowNum: Integer
1338
-
1339
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :PeerName, :BeginTime, :RowNum
1340
-
1341
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, peername=nil, begintime=nil, rownum=nil)
1342
- @Module = _module
1343
- @Operation = operation
1344
- @ClusterId = clusterid
1345
- @GroupName = groupname
1346
- @PeerName = peername
1347
- @BeginTime = begintime
1348
- @RowNum = rownum
1349
- end
1350
-
1351
- def deserialize(params)
1352
- @Module = params['Module']
1353
- @Operation = params['Operation']
1354
- @ClusterId = params['ClusterId']
1355
- @GroupName = params['GroupName']
1356
- @PeerName = params['PeerName']
1357
- @BeginTime = params['BeginTime']
1358
- @RowNum = params['RowNum']
1359
- end
1360
- end
1361
-
1362
- # GetPeerLogForUser返回参数结构体
1363
- class GetPeerLogForUserResponse < TencentCloud::Common::AbstractModel
1364
- # @param TotalCount: 返回日志总行数,不会超过入参的RowNum
1365
- # @type TotalCount: Integer
1366
- # @param PeerLogList: 日志列表
1367
- # @type PeerLogList: Array
1368
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1369
- # @type RequestId: String
1370
-
1371
- attr_accessor :TotalCount, :PeerLogList, :RequestId
1372
-
1373
- def initialize(totalcount=nil, peerloglist=nil, requestid=nil)
1374
- @TotalCount = totalcount
1375
- @PeerLogList = peerloglist
1376
- @RequestId = requestid
1377
- end
1378
-
1379
- def deserialize(params)
1380
- @TotalCount = params['TotalCount']
1381
- unless params['PeerLogList'].nil?
1382
- @PeerLogList = []
1383
- params['PeerLogList'].each do |i|
1384
- logdetailforuser_tmp = LogDetailForUser.new
1385
- logdetailforuser_tmp.deserialize(i)
1386
- @PeerLogList << logdetailforuser_tmp
1387
- end
1388
- end
1389
- @RequestId = params['RequestId']
1390
- end
1391
- end
1392
-
1393
844
  # GetTransactionDetailForUser请求参数结构体
1394
845
  class GetTransactionDetailForUserRequest < TencentCloud::Common::AbstractModel
1395
846
  # @param Module: 模块名,固定字段:transaction
@@ -1505,94 +956,6 @@ module TencentCloud
1505
956
  end
1506
957
  end
1507
958
 
1508
- # 组织详情信息
1509
- class GroupDetailForUser < TencentCloud::Common::AbstractModel
1510
- # @param GroupName: 组织名称
1511
- # @type GroupName: String
1512
- # @param GroupMSPId: 组织MSP Identity
1513
- # @type GroupMSPId: String
1514
-
1515
- attr_accessor :GroupName, :GroupMSPId
1516
-
1517
- def initialize(groupname=nil, groupmspid=nil)
1518
- @GroupName = groupname
1519
- @GroupMSPId = groupmspid
1520
- end
1521
-
1522
- def deserialize(params)
1523
- @GroupName = params['GroupName']
1524
- @GroupMSPId = params['GroupMSPId']
1525
- end
1526
- end
1527
-
1528
- # InitializeChaincodeForUser请求参数结构体
1529
- class InitializeChaincodeForUserRequest < TencentCloud::Common::AbstractModel
1530
- # @param Module: 模块名,本接口取值:chaincode_mng
1531
- # @type Module: String
1532
- # @param Operation: 操作名,本接口取值:chaincode_init_for_user
1533
- # @type Operation: String
1534
- # @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
1535
- # @type ClusterId: String
1536
- # @param GroupName: 调用合约的组织名称
1537
- # @type GroupName: String
1538
- # @param ChaincodeName: 业务所属智能合约名称
1539
- # @type ChaincodeName: String
1540
- # @param ChaincodeVersion: 业务所属智能合约版本
1541
- # @type ChaincodeVersion: String
1542
- # @param ChannelName: 业务所属通道名称
1543
- # @type ChannelName: String
1544
- # @param PeerName: 合约实例化节点名称,可以在通道详情中获取该通道上的节点名称
1545
- # @type PeerName: String
1546
- # @param Args: 实例化的函数参数列表
1547
- # @type Args: Array
1548
-
1549
- attr_accessor :Module, :Operation, :ClusterId, :GroupName, :ChaincodeName, :ChaincodeVersion, :ChannelName, :PeerName, :Args
1550
-
1551
- def initialize(_module=nil, operation=nil, clusterid=nil, groupname=nil, chaincodename=nil, chaincodeversion=nil, channelname=nil, peername=nil, args=nil)
1552
- @Module = _module
1553
- @Operation = operation
1554
- @ClusterId = clusterid
1555
- @GroupName = groupname
1556
- @ChaincodeName = chaincodename
1557
- @ChaincodeVersion = chaincodeversion
1558
- @ChannelName = channelname
1559
- @PeerName = peername
1560
- @Args = args
1561
- end
1562
-
1563
- def deserialize(params)
1564
- @Module = params['Module']
1565
- @Operation = params['Operation']
1566
- @ClusterId = params['ClusterId']
1567
- @GroupName = params['GroupName']
1568
- @ChaincodeName = params['ChaincodeName']
1569
- @ChaincodeVersion = params['ChaincodeVersion']
1570
- @ChannelName = params['ChannelName']
1571
- @PeerName = params['PeerName']
1572
- @Args = params['Args']
1573
- end
1574
- end
1575
-
1576
- # InitializeChaincodeForUser返回参数结构体
1577
- class InitializeChaincodeForUserResponse < TencentCloud::Common::AbstractModel
1578
- # @param TaskId: 实例化任务ID,用于查询实例化结果
1579
- # @type TaskId: Integer
1580
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1581
- # @type RequestId: String
1582
-
1583
- attr_accessor :TaskId, :RequestId
1584
-
1585
- def initialize(taskid=nil, requestid=nil)
1586
- @TaskId = taskid
1587
- @RequestId = requestid
1588
- end
1589
-
1590
- def deserialize(params)
1591
- @TaskId = params['TaskId']
1592
- @RequestId = params['RequestId']
1593
- end
1594
- end
1595
-
1596
959
  # InvokeChainMakerContract请求参数结构体
1597
960
  class InvokeChainMakerContractRequest < TencentCloud::Common::AbstractModel
1598
961
  # @param ClusterId: 网络ID,可在区块链网络详情或列表中获取
@@ -1796,42 +1159,6 @@ module TencentCloud
1796
1159
  end
1797
1160
  end
1798
1161
 
1799
- # 日志详情信息
1800
- class LogDetailForUser < TencentCloud::Common::AbstractModel
1801
- # @param LineNumber: 日志行号
1802
- # @type LineNumber: Integer
1803
- # @param LogMessage: 日志详情
1804
- # @type LogMessage: String
1805
-
1806
- attr_accessor :LineNumber, :LogMessage
1807
-
1808
- def initialize(linenumber=nil, logmessage=nil)
1809
- @LineNumber = linenumber
1810
- @LogMessage = logmessage
1811
- end
1812
-
1813
- def deserialize(params)
1814
- @LineNumber = params['LineNumber']
1815
- @LogMessage = params['LogMessage']
1816
- end
1817
- end
1818
-
1819
- # 节点详情信息
1820
- class PeerDetailForUser < TencentCloud::Common::AbstractModel
1821
- # @param PeerName: 节点名称
1822
- # @type PeerName: String
1823
-
1824
- attr_accessor :PeerName
1825
-
1826
- def initialize(peername=nil)
1827
- @PeerName = peername
1828
- end
1829
-
1830
- def deserialize(params)
1831
- @PeerName = params['PeerName']
1832
- end
1833
- end
1834
-
1835
1162
  # PeerSet
1836
1163
  class PeerSet < TencentCloud::Common::AbstractModel
1837
1164
  # @param PeerName: 节点名称
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.616
4
+ version: 3.0.617
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-07-19 00:00:00.000000000 Z
11
+ date: 2023-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common