tencentcloud-sdk-ssl 3.0.441 → 3.0.443
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: dd1f3ae977d0ac02e19ab0dbadda55b5c00b561a
|
4
|
+
data.tar.gz: 52f77e54ceb69b7870d30410dabee1957d728c46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33e71c63996c688d1e1734db3049466a0f03e1fb604fe706cceb1bb3fcd5ea309733eef7dfeeb37080005d5fbc9a83e745dc0ab95f43f36e1d9908177e28344b
|
7
|
+
data.tar.gz: 8876e80e32e87922cc9c26b536a253afde6ac46fe1b35f90d69658283bc181f75f5680181347bf42c19c542cb0ef659dc7578b8cbb2dc23a17d69c975f92f123
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.443
|
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.443
|
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-
|
11
|
+
date: 2022-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|