tencentcloud-sdk-gaap 3.0.560 → 3.0.561

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: 651d461654456ae3b7f4270f6bd1bfb23f59833e
4
- data.tar.gz: 21d3f3e0eee554dcf13e622d4caca07f197dd136
3
+ metadata.gz: 78f595b36cb615e8d2229aefe8a76b217e3d1fda
4
+ data.tar.gz: 73860b28e43b6ae66faaa982cf2a6a8cbf9de304
5
5
  SHA512:
6
- metadata.gz: e7c4de98fc07bdb4ef6991f6a2886e2c6eab9b2637a17fb067fdf58600a82364bda189ab207fb385112fdf30f38b5af10cc2f05827599ae1c0765891e7196f20
7
- data.tar.gz: 90216e119d3c169118cf04ac5a8a5eee6ed886cfae33ccb11cb027a625bed5f36962d10cf944b5dbb5c5d02d5f6cad0efe2e2f2d279d0c91ad2e3b89745665ca
6
+ metadata.gz: 2c5d4cb0d790f66f7f5e030e93d16f9dc3e1cb507b4e59fe4a1627a9b09c5b8f17e2e585ec008806ecb6982af5a1258c01ebb7f8f27811c4f443e42c434d2d42
7
+ data.tar.gz: 91cdc754a52a9ea57135471da0c2261b788f1379a02abf401a9fb6b507c3bdb482dde791339653df6acd7aa6f0bf7b9e6b93df80b6e6426387deab89c0bbcb22
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.560
1
+ 3.0.561
@@ -943,6 +943,30 @@ module TencentCloud
943
943
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
944
944
  end
945
945
 
946
+ # 为了防止在下单、询价、后付费开通等过程中确保来源合法以及订单参数没有被篡改过,各个业务方使用下单、询价等场景需调用计费签名接口获取签名,获取签名的请求需带上签名以验证身份,本接口可以获取计费签名。
947
+
948
+ # @param request: Request instance for DescribeAuthSignature.
949
+ # @type request: :class:`Tencentcloud::gaap::V20180529::DescribeAuthSignatureRequest`
950
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::DescribeAuthSignatureResponse`
951
+ def DescribeAuthSignature(request)
952
+ body = send_request('DescribeAuthSignature', request.serialize)
953
+ response = JSON.parse(body)
954
+ if response['Response'].key?('Error') == false
955
+ model = DescribeAuthSignatureResponse.new
956
+ model.deserialize(response['Response'])
957
+ model
958
+ else
959
+ code = response['Response']['Error']['Code']
960
+ message = response['Response']['Error']['Message']
961
+ reqid = response['Response']['RequestId']
962
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
963
+ end
964
+ rescue TencentCloud::Common::TencentCloudSDKException => e
965
+ raise e
966
+ rescue StandardError => e
967
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
968
+ end
969
+
946
970
  # 本接口(DescribeBlackHeader)用于查询禁用的自定义header 名称
947
971
 
948
972
  # @param request: Request instance for DescribeBlackHeader.
@@ -2394,6 +2394,33 @@ module TencentCloud
2394
2394
  end
2395
2395
  end
2396
2396
 
2397
+ # DescribeAuthSignature请求参数结构体
2398
+ class DescribeAuthSignatureRequest < TencentCloud::Common::AbstractModel
2399
+
2400
+
2401
+ def initialize()
2402
+ end
2403
+
2404
+ def deserialize(params)
2405
+ end
2406
+ end
2407
+
2408
+ # DescribeAuthSignature返回参数结构体
2409
+ class DescribeAuthSignatureResponse < TencentCloud::Common::AbstractModel
2410
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2411
+ # @type RequestId: String
2412
+
2413
+ attr_accessor :RequestId
2414
+
2415
+ def initialize(requestid=nil)
2416
+ @RequestId = requestid
2417
+ end
2418
+
2419
+ def deserialize(params)
2420
+ @RequestId = params['RequestId']
2421
+ end
2422
+ end
2423
+
2397
2424
  # DescribeBlackHeader请求参数结构体
2398
2425
  class DescribeBlackHeaderRequest < TencentCloud::Common::AbstractModel
2399
2426
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-gaap
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.560
4
+ version: 3.0.561
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-04-26 00:00:00.000000000 Z
11
+ date: 2023-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common