tencentcloud-sdk-gaap 3.0.855 → 3.0.857
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: 57b243f6bcaa2cca262d6f0e229637492e69072e
|
4
|
+
data.tar.gz: f23cfefb96a3265c25a186e9e2d4f17de8aad1d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cf93585b0dbb11c5d0d938d8128b7968b32042dc2aa8d79d3138a9c749e8e40df982b4d23ceb23c58d7b28f93ef683e896b7f0c805c54ef4bdcf506c335817b
|
7
|
+
data.tar.gz: 562aa41ba8b2a406e253821e3e92038b4e052a7ddc23a9fd5606310ea431ea6ebcfc4feef931992c0c4c0d69ec4c5327036d48e0a44b2afc63c9a4a28820a615
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.857
|
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.857
|
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-07-
|
11
|
+
date: 2024-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|