tencentcloud-sdk-ssl 3.0.440 → 3.0.442
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 +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: 0801a6a3772e8f6a9e9ef2679a39f1e6c104c6e8
|
4
|
+
data.tar.gz: fcb8e8ad2cde1a6570e0f023bcf5dc738d559691
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c29b5ac3fe6a79001ea8907d1403c572664b2d48c5269573cc5159333e3a5b96b7b75f7c9c9bb98b6aa35c696ad93a3d4355fb3ec2dc4189acaf5104f7e3b9b
|
7
|
+
data.tar.gz: 8335be5029901ba9772802e22c51548352ff7922a7354f44bcbd3ae230f60b2a86344bf7f5aa60a56215cebbfc1ca54e68a9f10103875c759e42b23a8f34a5b6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.442
|
data/lib/v20191205/client.rb
CHANGED
@@ -509,6 +509,30 @@ module TencentCloud
|
|
509
509
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
510
|
end
|
511
511
|
|
512
|
+
# 修改忽略证书到期通知。打开或关闭证书到期通知。
|
513
|
+
|
514
|
+
# @param request: Request instance for ModifyCertificatesExpiringNotificationSwitch.
|
515
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::ModifyCertificatesExpiringNotificationSwitchRequest`
|
516
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::ModifyCertificatesExpiringNotificationSwitchResponse`
|
517
|
+
def ModifyCertificatesExpiringNotificationSwitch(request)
|
518
|
+
body = send_request('ModifyCertificatesExpiringNotificationSwitch', request.serialize)
|
519
|
+
response = JSON.parse(body)
|
520
|
+
if response['Response'].key?('Error') == false
|
521
|
+
model = ModifyCertificatesExpiringNotificationSwitchResponse.new
|
522
|
+
model.deserialize(response['Response'])
|
523
|
+
model
|
524
|
+
else
|
525
|
+
code = response['Response']['Error']['Code']
|
526
|
+
message = response['Response']['Error']['Message']
|
527
|
+
reqid = response['Response']['RequestId']
|
528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
529
|
+
end
|
530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
531
|
+
raise e
|
532
|
+
rescue StandardError => e
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
|
+
end
|
535
|
+
|
512
536
|
# 本接口(ReplaceCertificate)用于重颁发证书。已申请的免费证书仅支持 RSA 算法、密钥对参数为2048的证书重颁发,并且目前仅支持1次重颁发。
|
513
537
|
|
514
538
|
# @param request: Request instance for ReplaceCertificate.
|
data/lib/v20191205/models.rb
CHANGED
@@ -1994,6 +1994,46 @@ module TencentCloud
|
|
1994
1994
|
end
|
1995
1995
|
end
|
1996
1996
|
|
1997
|
+
# ModifyCertificatesExpiringNotificationSwitch请求参数结构体
|
1998
|
+
class ModifyCertificatesExpiringNotificationSwitchRequest < TencentCloud::Common::AbstractModel
|
1999
|
+
# @param CertificateIds: 证书ID列表。最多50个
|
2000
|
+
# @type CertificateIds: Array
|
2001
|
+
# @param SwitchStatus: 0:不忽略通知。1:忽略通知
|
2002
|
+
# @type SwitchStatus: Integer
|
2003
|
+
|
2004
|
+
attr_accessor :CertificateIds, :SwitchStatus
|
2005
|
+
|
2006
|
+
def initialize(certificateids=nil, switchstatus=nil)
|
2007
|
+
@CertificateIds = certificateids
|
2008
|
+
@SwitchStatus = switchstatus
|
2009
|
+
end
|
2010
|
+
|
2011
|
+
def deserialize(params)
|
2012
|
+
@CertificateIds = params['CertificateIds']
|
2013
|
+
@SwitchStatus = params['SwitchStatus']
|
2014
|
+
end
|
2015
|
+
end
|
2016
|
+
|
2017
|
+
# ModifyCertificatesExpiringNotificationSwitch返回参数结构体
|
2018
|
+
class ModifyCertificatesExpiringNotificationSwitchResponse < TencentCloud::Common::AbstractModel
|
2019
|
+
# @param CertificateIds: 证书ID列表
|
2020
|
+
# @type CertificateIds: Array
|
2021
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2022
|
+
# @type RequestId: String
|
2023
|
+
|
2024
|
+
attr_accessor :CertificateIds, :RequestId
|
2025
|
+
|
2026
|
+
def initialize(certificateids=nil, requestid=nil)
|
2027
|
+
@CertificateIds = certificateids
|
2028
|
+
@RequestId = requestid
|
2029
|
+
end
|
2030
|
+
|
2031
|
+
def deserialize(params)
|
2032
|
+
@CertificateIds = params['CertificateIds']
|
2033
|
+
@RequestId = params['RequestId']
|
2034
|
+
end
|
2035
|
+
end
|
2036
|
+
|
1997
2037
|
# 证书操作日志。
|
1998
2038
|
class OperationLog < TencentCloud::Common::AbstractModel
|
1999
2039
|
# @param Action: 操作证书动作。
|
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.442
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|