tencentcloud-sdk-ssl 3.0.672 → 3.0.673

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20191205/models.rb +41 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a4ef4ccf047dd866645ec62af7d070c744f17d5
4
- data.tar.gz: a5a3e786f403eede42f21e89589496da2218a06b
3
+ metadata.gz: 52cecfb3886555f68a4dd2a9b8e67a010db8e091
4
+ data.tar.gz: 3d8048a9042c8e4141c37f0aef3e0fa2bed2efea
5
5
  SHA512:
6
- metadata.gz: 36721ff1b5cfa572f4397505b4ed535d41d8a7cd16e06c1923e08ff6c8279231e5ce732cd947b558d1b282400b08a86431bbee34e730d07d206bbb87cdd5a706
7
- data.tar.gz: c7956f234600a95544f7f0402915bb5bb0ded79767950c83f42ffa0f13a0477c63e4fe74b18f97dfe96a4dcc9264a52516e6634e11fbed8615307a25381d533c
6
+ metadata.gz: 9c154708e40a72d64fec0fee37027874f4b2135456f6164018b308f289805aafa0ebed354b6c049ac1e3f512a521d3759ad9ac5262e34d5d7c566b2980ad45f5
7
+ data.tar.gz: 55c8e66ae0063796d48686cf948baca4bb0646936aa4826a6a6da49fee4ce4b3232f5f92f8d8a478818255beab873d096c8a214767b24173116a29ff94486224
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.672
1
+ 3.0.673
@@ -5896,34 +5896,55 @@ module TencentCloud
5896
5896
 
5897
5897
  # UpdateCertificateInstance请求参数结构体
5898
5898
  class UpdateCertificateInstanceRequest < TencentCloud::Common::AbstractModel
5899
- # @param CertificateId: 一键更新新证书ID
5900
- # @type CertificateId: String
5901
5899
  # @param OldCertificateId: 一键更新原证书ID
5902
5900
  # @type OldCertificateId: String
5903
5901
  # @param ResourceTypes: 需要部署的资源类型,参数值可选:clb、cdn、waf、live、ddos、teo、apigateway、vod、tke、tcb
5904
5902
  # @type ResourceTypes: Array
5903
+ # @param CertificateId: 一键更新新证书ID
5904
+ # @type CertificateId: String
5905
5905
  # @param Regions: 需要部署的地域列表(废弃)
5906
5906
  # @type Regions: Array
5907
5907
  # @param ResourceTypesRegions: 云资源需要部署的地域列表
5908
5908
  # @type ResourceTypesRegions: Array
5909
+ # @param CertificatePublicKey: 证书公钥, 若上传证书公钥, 则CertificateId不用传
5910
+ # @type CertificatePublicKey: String
5911
+ # @param CertificatePrivateKey: 证书私钥,若上传证书公钥, 则证书私钥必填
5912
+ # @type CertificatePrivateKey: String
5913
+ # @param ExpiringNotificationSwitch: 旧证书是否忽略到期提醒 0:不忽略通知。1:忽略通知
5914
+ # @type ExpiringNotificationSwitch: Integer
5915
+ # @param Repeatable: 相同的证书是否允许重复上传,若上传证书公钥, 则可以配置该参数
5916
+ # @type Repeatable: Boolean
5917
+ # @param AllowDownload: 是否允许下载,若上传证书公钥, 则可以配置该参数
5918
+ # @type AllowDownload: Boolean
5919
+ # @param Tags: 标签列表,若上传证书公钥, 则可以配置该参数
5920
+ # @type Tags: Array
5921
+ # @param ProjectId: 项目 ID,若上传证书公钥, 则可以配置该参数
5922
+ # @type ProjectId: Integer
5909
5923
 
5910
- attr_accessor :CertificateId, :OldCertificateId, :ResourceTypes, :Regions, :ResourceTypesRegions
5924
+ attr_accessor :OldCertificateId, :ResourceTypes, :CertificateId, :Regions, :ResourceTypesRegions, :CertificatePublicKey, :CertificatePrivateKey, :ExpiringNotificationSwitch, :Repeatable, :AllowDownload, :Tags, :ProjectId
5911
5925
  extend Gem::Deprecate
5912
5926
  deprecate :Regions, :none, 2023, 10
5913
5927
  deprecate :Regions=, :none, 2023, 10
5914
5928
 
5915
- def initialize(certificateid=nil, oldcertificateid=nil, resourcetypes=nil, regions=nil, resourcetypesregions=nil)
5916
- @CertificateId = certificateid
5929
+ def initialize(oldcertificateid=nil, resourcetypes=nil, certificateid=nil, regions=nil, resourcetypesregions=nil, certificatepublickey=nil, certificateprivatekey=nil, expiringnotificationswitch=nil, repeatable=nil, allowdownload=nil, tags=nil, projectid=nil)
5917
5930
  @OldCertificateId = oldcertificateid
5918
5931
  @ResourceTypes = resourcetypes
5932
+ @CertificateId = certificateid
5919
5933
  @Regions = regions
5920
5934
  @ResourceTypesRegions = resourcetypesregions
5935
+ @CertificatePublicKey = certificatepublickey
5936
+ @CertificatePrivateKey = certificateprivatekey
5937
+ @ExpiringNotificationSwitch = expiringnotificationswitch
5938
+ @Repeatable = repeatable
5939
+ @AllowDownload = allowdownload
5940
+ @Tags = tags
5941
+ @ProjectId = projectid
5921
5942
  end
5922
5943
 
5923
5944
  def deserialize(params)
5924
- @CertificateId = params['CertificateId']
5925
5945
  @OldCertificateId = params['OldCertificateId']
5926
5946
  @ResourceTypes = params['ResourceTypes']
5947
+ @CertificateId = params['CertificateId']
5927
5948
  @Regions = params['Regions']
5928
5949
  unless params['ResourceTypesRegions'].nil?
5929
5950
  @ResourceTypesRegions = []
@@ -5933,6 +5954,20 @@ module TencentCloud
5933
5954
  @ResourceTypesRegions << resourcetyperegions_tmp
5934
5955
  end
5935
5956
  end
5957
+ @CertificatePublicKey = params['CertificatePublicKey']
5958
+ @CertificatePrivateKey = params['CertificatePrivateKey']
5959
+ @ExpiringNotificationSwitch = params['ExpiringNotificationSwitch']
5960
+ @Repeatable = params['Repeatable']
5961
+ @AllowDownload = params['AllowDownload']
5962
+ unless params['Tags'].nil?
5963
+ @Tags = []
5964
+ params['Tags'].each do |i|
5965
+ tags_tmp = Tags.new
5966
+ tags_tmp.deserialize(i)
5967
+ @Tags << tags_tmp
5968
+ end
5969
+ end
5970
+ @ProjectId = params['ProjectId']
5936
5971
  end
5937
5972
  end
5938
5973
 
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.672
4
+ version: 3.0.673
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-09 00:00:00.000000000 Z
11
+ date: 2023-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common