tencentcloud-sdk-ssl 3.0.818 → 3.0.819
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/v20191205/client.rb +24 -0
- data/lib/v20191205/models.rb +44 -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: 18e5ecac636a48ef1557e0c259bd27529fdb437a
|
4
|
+
data.tar.gz: 53d8063729f7dab824521fa86eb6978c99dbd337
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41722a6229940ef98d1c9d0b48118bd1924fca33d3f099daa2e9eac102c7f2cf0ed8f777d2bc1d8846d2b671c9dfe9a3d7cacbe1bc932f2b82624d976b933119
|
7
|
+
data.tar.gz: c008a311e0b3aa2625057d8200a1354bf0c52d0d573926b5c054f595efe08059e9dc64c6860b9dbba823fb405e233e8cefe8b0f9dfe8ae2f36541aefd78e9804
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.819
|
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.819
|
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-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|