tencentcloud-sdk-ssl 3.0.441 → 3.0.442

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d620c6f614ef70c04eafd701bb62106525de78f7
4
- data.tar.gz: aea9e23920cab4a8f514d8fd348188102311d100
3
+ metadata.gz: 0801a6a3772e8f6a9e9ef2679a39f1e6c104c6e8
4
+ data.tar.gz: fcb8e8ad2cde1a6570e0f023bcf5dc738d559691
5
5
  SHA512:
6
- metadata.gz: 168fd3011bde10c79238af573bfb00c32432877692358846205df197089c7e74c4508fb6485cc027e4c93129091c108c7d2a1ebb19d44ef27b0ecc0b06488c46
7
- data.tar.gz: 6eb136ce906660222b30e5e195c6df0884ac1264e387d352d098c04d03a49fd2f30a2483febe4628c30b149ca04b3444db6c57276c8eba727db72045aa14fbc7
6
+ metadata.gz: 5c29b5ac3fe6a79001ea8907d1403c572664b2d48c5269573cc5159333e3a5b96b7b75f7c9c9bb98b6aa35c696ad93a3d4355fb3ec2dc4189acaf5104f7e3b9b
7
+ data.tar.gz: 8335be5029901ba9772802e22c51548352ff7922a7354f44bcbd3ae230f60b2a86344bf7f5aa60a56215cebbfc1ca54e68a9f10103875c759e42b23a8f34a5b6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.441
1
+ 3.0.442
@@ -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.
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.441
4
+ version: 3.0.442
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud