tencentcloud-sdk-ssl 3.0.818 → 3.0.820
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20191205/client.rb +24 -0
- data/lib/v20191205/models.rb +44 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1abce59605bd693cc8b1214740ce60b28d2f05c7
|
4
|
+
data.tar.gz: 591193d62208682b88001beee63fc694754885b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5728a6059b3b9603fe6bef1135da0072e36ead49b1fe733f2f5e1764a1b3367e0b25d23dd97aba7a238a59c730ac555d352af19b35ee280c2a689ac40abd71bc
|
7
|
+
data.tar.gz: 49a23767103de04b277534c5188beb40372705a8f556d93fb319f7e8603dc4f246a7765d9b91094fc190dc11d34444f0f0b201aeb219a055fa0e3c1623e2147c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.820
|
data/lib/v20191205/client.rb
CHANGED
@@ -581,6 +581,30 @@ module TencentCloud
|
|
581
581
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
582
|
end
|
583
583
|
|
584
|
+
# 获取下载证书链接
|
585
|
+
|
586
|
+
# @param request: Request instance for DescribeDownloadCertificateUrl.
|
587
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeDownloadCertificateUrlRequest`
|
588
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeDownloadCertificateUrlResponse`
|
589
|
+
def DescribeDownloadCertificateUrl(request)
|
590
|
+
body = send_request('DescribeDownloadCertificateUrl', request.serialize)
|
591
|
+
response = JSON.parse(body)
|
592
|
+
if response['Response'].key?('Error') == false
|
593
|
+
model = DescribeDownloadCertificateUrlResponse.new
|
594
|
+
model.deserialize(response['Response'])
|
595
|
+
model
|
596
|
+
else
|
597
|
+
code = response['Response']['Error']['Code']
|
598
|
+
message = response['Response']['Error']['Message']
|
599
|
+
reqid = response['Response']['RequestId']
|
600
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
601
|
+
end
|
602
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
603
|
+
raise e
|
604
|
+
rescue StandardError => e
|
605
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
606
|
+
end
|
607
|
+
|
584
608
|
# 查询证书apiGateway云资源部署实例列表
|
585
609
|
|
586
610
|
# @param request: Request instance for DescribeHostApiGatewayInstanceList.
|
data/lib/v20191205/models.rb
CHANGED
@@ -2865,6 +2865,50 @@ module TencentCloud
|
|
2865
2865
|
end
|
2866
2866
|
end
|
2867
2867
|
|
2868
|
+
# DescribeDownloadCertificateUrl请求参数结构体
|
2869
|
+
class DescribeDownloadCertificateUrlRequest < TencentCloud::Common::AbstractModel
|
2870
|
+
# @param CertificateId: 证书ID
|
2871
|
+
# @type CertificateId: String
|
2872
|
+
# @param ServiceType: 下载的服务类型: nginx tomcat apache iis jks other root
|
2873
|
+
# @type ServiceType: String
|
2874
|
+
|
2875
|
+
attr_accessor :CertificateId, :ServiceType
|
2876
|
+
|
2877
|
+
def initialize(certificateid=nil, servicetype=nil)
|
2878
|
+
@CertificateId = certificateid
|
2879
|
+
@ServiceType = servicetype
|
2880
|
+
end
|
2881
|
+
|
2882
|
+
def deserialize(params)
|
2883
|
+
@CertificateId = params['CertificateId']
|
2884
|
+
@ServiceType = params['ServiceType']
|
2885
|
+
end
|
2886
|
+
end
|
2887
|
+
|
2888
|
+
# DescribeDownloadCertificateUrl返回参数结构体
|
2889
|
+
class DescribeDownloadCertificateUrlResponse < TencentCloud::Common::AbstractModel
|
2890
|
+
# @param DownloadCertificateUrl: 下载链接
|
2891
|
+
# @type DownloadCertificateUrl: String
|
2892
|
+
# @param DownloadFilename: 下载文件的名称
|
2893
|
+
# @type DownloadFilename: String
|
2894
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2895
|
+
# @type RequestId: String
|
2896
|
+
|
2897
|
+
attr_accessor :DownloadCertificateUrl, :DownloadFilename, :RequestId
|
2898
|
+
|
2899
|
+
def initialize(downloadcertificateurl=nil, downloadfilename=nil, requestid=nil)
|
2900
|
+
@DownloadCertificateUrl = downloadcertificateurl
|
2901
|
+
@DownloadFilename = downloadfilename
|
2902
|
+
@RequestId = requestid
|
2903
|
+
end
|
2904
|
+
|
2905
|
+
def deserialize(params)
|
2906
|
+
@DownloadCertificateUrl = params['DownloadCertificateUrl']
|
2907
|
+
@DownloadFilename = params['DownloadFilename']
|
2908
|
+
@RequestId = params['RequestId']
|
2909
|
+
end
|
2910
|
+
end
|
2911
|
+
|
2868
2912
|
# DescribeHostApiGatewayInstanceList请求参数结构体
|
2869
2913
|
class DescribeHostApiGatewayInstanceListRequest < TencentCloud::Common::AbstractModel
|
2870
2914
|
# @param CertificateId: 待部署的证书ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ssl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.820
|
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-05-
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
+
- lib/tencentcloud-sdk-ssl.rb
|
36
37
|
- lib/v20191205/client.rb
|
37
38
|
- lib/v20191205/models.rb
|
38
|
-
- lib/tencentcloud-sdk-ssl.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|