tencentcloud-sdk-tbaas 3.0.457 → 3.0.458

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: 4f3d8272c9057770a546baa4615caab8a538868d
4
- data.tar.gz: 89033821475bcc4232445b4275d8577bc7882ec9
3
+ metadata.gz: 70ac6681a3e8bbd0970a0c3badf20681bc9615f0
4
+ data.tar.gz: d013e401ea1ad2784e1e36221b92a941447394c4
5
5
  SHA512:
6
- metadata.gz: 5ecb2563da5d255ce857ac0e78e552923327eafb22368fee656402ba131668126a41c2ecd02527fd3ee4baa5f84d8e2a267369f5201a6f64b4ef08d6f30ebc56
7
- data.tar.gz: e7a212fcb3376e65861688668dd2329a588ccfda07194af6f2771e35e342371b0c4a2b5a5742714d76732801db732b828e34fe68c7d7c9cb53c0598f7e959bf1
6
+ metadata.gz: 0d9c89f3085d8691841a72092c515fcade8157c7fa3ce3b51d34128c49b0eba4bbe88db9d6332d7a3e0fa4df72b5694a3e4fe1ccb9edac287ee378e140bff85b
7
+ data.tar.gz: 829523c138160db3e1f3cbe473a8b88b0406a767715bcf748ff86795076abb2ec2b5e762b7b79ce3e08fd607366ecfd100a4afb7805e67836a436d47d2a2a1bd
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.457
1
+ 3.0.458
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 批量申请长安链用户签名证书
33
+
34
+ # @param request: Request instance for ApplyChainMakerBatchUserCert.
35
+ # @type request: :class:`Tencentcloud::tbaas::V20180416::ApplyChainMakerBatchUserCertRequest`
36
+ # @rtype: :class:`Tencentcloud::tbaas::V20180416::ApplyChainMakerBatchUserCertResponse`
37
+ def ApplyChainMakerBatchUserCert(request)
38
+ body = send_request('ApplyChainMakerBatchUserCert', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = ApplyChainMakerBatchUserCertResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 申请用户证书
33
57
 
34
58
  # @param request: Request instance for ApplyUserCert.
@@ -17,6 +17,54 @@
17
17
  module TencentCloud
18
18
  module Tbaas
19
19
  module V20180416
20
+ # ApplyChainMakerBatchUserCert请求参数结构体
21
+ class ApplyChainMakerBatchUserCertRequest < TencentCloud::Common::AbstractModel
22
+ # @param ClusterId: 网络ID,可在区块链网络详情或列表中获取
23
+ # @type ClusterId: String
24
+ # @param SignUserCsrList: 证书标识和证书请求文件,可参考TBaaS证书生成相关文档生成证书请求文件
25
+ # @type SignUserCsrList: Array
26
+
27
+ attr_accessor :ClusterId, :SignUserCsrList
28
+
29
+ def initialize(clusterid=nil, signusercsrlist=nil)
30
+ @ClusterId = clusterid
31
+ @SignUserCsrList = signusercsrlist
32
+ end
33
+
34
+ def deserialize(params)
35
+ @ClusterId = params['ClusterId']
36
+ unless params['SignUserCsrList'].nil?
37
+ @SignUserCsrList = []
38
+ params['SignUserCsrList'].each do |i|
39
+ signcertcsr_tmp = SignCertCsr.new
40
+ signcertcsr_tmp.deserialize(i)
41
+ @SignUserCsrList << signcertcsr_tmp
42
+ end
43
+ end
44
+ end
45
+ end
46
+
47
+ # ApplyChainMakerBatchUserCert返回参数结构体
48
+ class ApplyChainMakerBatchUserCertResponse < TencentCloud::Common::AbstractModel
49
+ # @param SignUserCrtList: 成功生成的用户证书的base64编码字符串列表,与SignUserCsrList一一对应
50
+ # 注意:此字段可能返回 null,表示取不到有效值。
51
+ # @type SignUserCrtList: Array
52
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
53
+ # @type RequestId: String
54
+
55
+ attr_accessor :SignUserCrtList, :RequestId
56
+
57
+ def initialize(signusercrtlist=nil, requestid=nil)
58
+ @SignUserCrtList = signusercrtlist
59
+ @RequestId = requestid
60
+ end
61
+
62
+ def deserialize(params)
63
+ @SignUserCrtList = params['SignUserCrtList']
64
+ @RequestId = params['RequestId']
65
+ end
66
+ end
67
+
20
68
  # ApplyUserCert请求参数结构体
21
69
  class ApplyUserCertRequest < TencentCloud::Common::AbstractModel
22
70
  # @param Module: 模块名,固定字段:cert_mng
@@ -2556,6 +2604,26 @@ module TencentCloud
2556
2604
  end
2557
2605
  end
2558
2606
 
2607
+ # 用于申请用户签名证书的结构体
2608
+ class SignCertCsr < TencentCloud::Common::AbstractModel
2609
+ # @param CertMark: 用户签名证书的标识,会存在于用户申请的证书中
2610
+ # @type CertMark: String
2611
+ # @param SignCsrContent: 用户申请签名证书所需要的证书请求文件的base64编码
2612
+ # @type SignCsrContent: String
2613
+
2614
+ attr_accessor :CertMark, :SignCsrContent
2615
+
2616
+ def initialize(certmark=nil, signcsrcontent=nil)
2617
+ @CertMark = certmark
2618
+ @SignCsrContent = signcsrcontent
2619
+ end
2620
+
2621
+ def deserialize(params)
2622
+ @CertMark = params['CertMark']
2623
+ @SignCsrContent = params['SignCsrContent']
2624
+ end
2625
+ end
2626
+
2559
2627
  # SrvInvoke请求参数结构体
2560
2628
  class SrvInvokeRequest < TencentCloud::Common::AbstractModel
2561
2629
  # @param Service: 服务类型,iss或者dam
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.457
4
+ version: 3.0.458
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-11-23 00:00:00.000000000 Z
11
+ date: 2022-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common