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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180529/client.rb +24 -0
- data/lib/v20180529/models.rb +27 -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: 78f595b36cb615e8d2229aefe8a76b217e3d1fda
|
4
|
+
data.tar.gz: 73860b28e43b6ae66faaa982cf2a6a8cbf9de304
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c5d4cb0d790f66f7f5e030e93d16f9dc3e1cb507b4e59fe4a1627a9b09c5b8f17e2e585ec008806ecb6982af5a1258c01ebb7f8f27811c4f443e42c434d2d42
|
7
|
+
data.tar.gz: 91cdc754a52a9ea57135471da0c2261b788f1379a02abf401a9fb6b507c3bdb482dde791339653df6acd7aa6f0bf7b9e6b93df80b6e6426387deab89c0bbcb22
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.561
|
data/lib/v20180529/client.rb
CHANGED
@@ -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.
|
data/lib/v20180529/models.rb
CHANGED
@@ -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.
|
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-
|
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
|