tencentcloud-sdk-gaap 3.0.854 → 3.0.856
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 +40 -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: 844f971d97cbeb77f2ed349da71d3027dbd871e9
|
4
|
+
data.tar.gz: 1452888533f08169159d7ebbacf25ed4e2943e68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb1be397216b863f03f958fa149b0e4ea1e03c7318e8f684ae26ee27765ee663f3445b24472f85926a506a50553a6d42b6231db7d36e43c0ff2ac395b9dcc856
|
7
|
+
data.tar.gz: f0568e1034f68f559a5058080d916623d7370c8230b0ae776f302e9320bbea2b02abbccbecb2e1e4aea6e72accee45f3bec5143dae2dc10fd1ac735391e2f09a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.856
|
data/lib/v20180529/client.rb
CHANGED
@@ -2504,6 +2504,30 @@ module TencentCloud
|
|
2504
2504
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2505
2505
|
end
|
2506
2506
|
|
2507
|
+
# 设置监听器TLS配置
|
2508
|
+
|
2509
|
+
# @param request: Request instance for SetTlsVersion.
|
2510
|
+
# @type request: :class:`Tencentcloud::gaap::V20180529::SetTlsVersionRequest`
|
2511
|
+
# @rtype: :class:`Tencentcloud::gaap::V20180529::SetTlsVersionResponse`
|
2512
|
+
def SetTlsVersion(request)
|
2513
|
+
body = send_request('SetTlsVersion', request.serialize)
|
2514
|
+
response = JSON.parse(body)
|
2515
|
+
if response['Response'].key?('Error') == false
|
2516
|
+
model = SetTlsVersionResponse.new
|
2517
|
+
model.deserialize(response['Response'])
|
2518
|
+
model
|
2519
|
+
else
|
2520
|
+
code = response['Response']['Error']['Code']
|
2521
|
+
message = response['Response']['Error']['Message']
|
2522
|
+
reqid = response['Response']['RequestId']
|
2523
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2524
|
+
end
|
2525
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2526
|
+
raise e
|
2527
|
+
rescue StandardError => e
|
2528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2529
|
+
end
|
2530
|
+
|
2507
2531
|
|
2508
2532
|
end
|
2509
2533
|
end
|
data/lib/v20180529/models.rb
CHANGED
@@ -7784,6 +7784,46 @@ module TencentCloud
|
|
7784
7784
|
end
|
7785
7785
|
end
|
7786
7786
|
|
7787
|
+
# SetTlsVersion请求参数结构体
|
7788
|
+
class SetTlsVersionRequest < TencentCloud::Common::AbstractModel
|
7789
|
+
# @param ListenerId: 监听器ID
|
7790
|
+
# @type ListenerId: String
|
7791
|
+
# @param TLSSupportVersion: TLS版本
|
7792
|
+
# @type TLSSupportVersion: Array
|
7793
|
+
# @param TLSCiphers: 密码套件包
|
7794
|
+
# @type TLSCiphers: String
|
7795
|
+
|
7796
|
+
attr_accessor :ListenerId, :TLSSupportVersion, :TLSCiphers
|
7797
|
+
|
7798
|
+
def initialize(listenerid=nil, tlssupportversion=nil, tlsciphers=nil)
|
7799
|
+
@ListenerId = listenerid
|
7800
|
+
@TLSSupportVersion = tlssupportversion
|
7801
|
+
@TLSCiphers = tlsciphers
|
7802
|
+
end
|
7803
|
+
|
7804
|
+
def deserialize(params)
|
7805
|
+
@ListenerId = params['ListenerId']
|
7806
|
+
@TLSSupportVersion = params['TLSSupportVersion']
|
7807
|
+
@TLSCiphers = params['TLSCiphers']
|
7808
|
+
end
|
7809
|
+
end
|
7810
|
+
|
7811
|
+
# SetTlsVersion返回参数结构体
|
7812
|
+
class SetTlsVersionResponse < TencentCloud::Common::AbstractModel
|
7813
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7814
|
+
# @type RequestId: String
|
7815
|
+
|
7816
|
+
attr_accessor :RequestId
|
7817
|
+
|
7818
|
+
def initialize(requestid=nil)
|
7819
|
+
@RequestId = requestid
|
7820
|
+
end
|
7821
|
+
|
7822
|
+
def deserialize(params)
|
7823
|
+
@RequestId = params['RequestId']
|
7824
|
+
end
|
7825
|
+
end
|
7826
|
+
|
7787
7827
|
# 网络加速的原地址信息
|
7788
7828
|
class SrcAddressInfo < TencentCloud::Common::AbstractModel
|
7789
7829
|
# @param SrcIpv4: 内网Ip4地址
|
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.856
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|