tencentcloud-sdk-teo 3.0.668 → 3.0.670

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20220901/models.rb +90 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b340af92e8e8f6e65d36c9550550f3ec724f8c8e
4
- data.tar.gz: ca902eac20fc20225c85976a698740cc3f10f2aa
3
+ metadata.gz: da56df9e84af2a1643f293b7a21ca285f9c02afc
4
+ data.tar.gz: aa98861c6689e65acca59d1e2090fff0cecc0c6f
5
5
  SHA512:
6
- metadata.gz: 7e34591898645c621f03e5ef1903fe39454fe584b197400e70fd7111189392bb6576b1f363b56301e50b9527bf8694e5150ec987daf34f3eb630319748e3c60c
7
- data.tar.gz: ec1279eb0fdde7f53c3f8629cdd7412f0f1690ebd1b9b6a1b3918824c5c024e10c193b0c26d385ab004180bd67ec4128c87e48643a0c5a12ab2cd1177442a0b6
6
+ metadata.gz: d73f250730f1a4a27cde8871504182fe2bbb38546d695ad86dfe4aaa2852c8f19b0dd597a06a7798d44fed041f53fdfea31970202d7b9182bdac56fd5a765c3b
7
+ data.tar.gz: 94c2768dbe3ae4de3fd02dde017dd5c41dc023c6d4b00c4c97005f1c53672eccc365b4d237157f5803cbb99aa2358e8efc2c83beb77e9a617bb59a9050a25f84
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.668
1
+ 3.0.670
@@ -81,10 +81,13 @@ module TencentCloud
81
81
  # @param OwnershipVerification: 当域名需要进行归属权验证才能继续提供服务时,该对象会携带对应验证方式所需要的信息。
82
82
  # 注意:此字段可能返回 null,表示取不到有效值。
83
83
  # @type OwnershipVerification: :class:`Tencentcloud::Teo.v20220901.models.OwnershipVerification`
84
+ # @param Certificate: 域名证书信息
85
+ # 注意:此字段可能返回 null,表示取不到有效值。
86
+ # @type Certificate: :class:`Tencentcloud::Teo.v20220901.models.AccelerationDomainCertificate`
84
87
 
85
- attr_accessor :ZoneId, :DomainName, :DomainStatus, :OriginDetail, :Cname, :IdentificationStatus, :CreatedOn, :ModifiedOn, :OwnershipVerification
88
+ attr_accessor :ZoneId, :DomainName, :DomainStatus, :OriginDetail, :Cname, :IdentificationStatus, :CreatedOn, :ModifiedOn, :OwnershipVerification, :Certificate
86
89
 
87
- def initialize(zoneid=nil, domainname=nil, domainstatus=nil, origindetail=nil, cname=nil, identificationstatus=nil, createdon=nil, modifiedon=nil, ownershipverification=nil)
90
+ def initialize(zoneid=nil, domainname=nil, domainstatus=nil, origindetail=nil, cname=nil, identificationstatus=nil, createdon=nil, modifiedon=nil, ownershipverification=nil, certificate=nil)
88
91
  @ZoneId = zoneid
89
92
  @DomainName = domainname
90
93
  @DomainStatus = domainstatus
@@ -94,6 +97,7 @@ module TencentCloud
94
97
  @CreatedOn = createdon
95
98
  @ModifiedOn = modifiedon
96
99
  @OwnershipVerification = ownershipverification
100
+ @Certificate = certificate
97
101
  end
98
102
 
99
103
  def deserialize(params)
@@ -112,6 +116,38 @@ module TencentCloud
112
116
  @OwnershipVerification = OwnershipVerification.new
113
117
  @OwnershipVerification.deserialize(params['OwnershipVerification'])
114
118
  end
119
+ unless params['Certificate'].nil?
120
+ @Certificate = AccelerationDomainCertificate.new
121
+ @Certificate.deserialize(params['Certificate'])
122
+ end
123
+ end
124
+ end
125
+
126
+ # 加速域名所对应的证书信息。
127
+ class AccelerationDomainCertificate < TencentCloud::Common::AbstractModel
128
+ # @param Mode: 配置证书的模式,取值有: <li>disable:不配置证书;</li> <li>eofreecert:配置 EdgeOne 免费证书;</li> <li>sslcert:配置 SSL 证书。</li>
129
+ # @type Mode: String
130
+ # @param List: 证书列表。
131
+ # 注意:此字段可能返回 null,表示取不到有效值。
132
+ # @type List: Array
133
+
134
+ attr_accessor :Mode, :List
135
+
136
+ def initialize(mode=nil, list=nil)
137
+ @Mode = mode
138
+ @List = list
139
+ end
140
+
141
+ def deserialize(params)
142
+ @Mode = params['Mode']
143
+ unless params['List'].nil?
144
+ @List = []
145
+ params['List'].each do |i|
146
+ certificateinfo_tmp = CertificateInfo.new
147
+ certificateinfo_tmp.deserialize(i)
148
+ @List << certificateinfo_tmp
149
+ end
150
+ end
115
151
  end
116
152
  end
117
153
 
@@ -1347,6 +1383,54 @@ module TencentCloud
1347
1383
  end
1348
1384
  end
1349
1385
 
1386
+ # https 服务端证书配置
1387
+ class CertificateInfo < TencentCloud::Common::AbstractModel
1388
+ # @param CertId: 服务器证书 ID。
1389
+ # @type CertId: String
1390
+ # @param Alias: 证书备注名。
1391
+ # @type Alias: String
1392
+ # @param Type: 证书类型,取值有:
1393
+ # <li>default:默认证书;</li>
1394
+ # <li>upload:用户上传;</li>
1395
+ # <li>managed:腾讯云托管。</li>
1396
+ # @type Type: String
1397
+ # @param ExpireTime: 证书过期时间。
1398
+ # @type ExpireTime: String
1399
+ # @param DeployTime: 证书部署时间。
1400
+ # @type DeployTime: String
1401
+ # @param SignAlgo: 签名算法。
1402
+ # @type SignAlgo: String
1403
+ # @param Status: 证书状态,取值有:
1404
+ # <li>deployed:已部署;</li>
1405
+ # <li>processing:部署中;</li>
1406
+ # <li>applying:申请中;</li>
1407
+ # <li>failed:申请失败;</li>
1408
+ # <li>issued:绑定失败。</li>
1409
+ # @type Status: String
1410
+
1411
+ attr_accessor :CertId, :Alias, :Type, :ExpireTime, :DeployTime, :SignAlgo, :Status
1412
+
1413
+ def initialize(certid=nil, _alias=nil, type=nil, expiretime=nil, deploytime=nil, signalgo=nil, status=nil)
1414
+ @CertId = certid
1415
+ @Alias = _alias
1416
+ @Type = type
1417
+ @ExpireTime = expiretime
1418
+ @DeployTime = deploytime
1419
+ @SignAlgo = signalgo
1420
+ @Status = status
1421
+ end
1422
+
1423
+ def deserialize(params)
1424
+ @CertId = params['CertId']
1425
+ @Alias = params['Alias']
1426
+ @Type = params['Type']
1427
+ @ExpireTime = params['ExpireTime']
1428
+ @DeployTime = params['DeployTime']
1429
+ @SignAlgo = params['SignAlgo']
1430
+ @Status = params['Status']
1431
+ end
1432
+ end
1433
+
1350
1434
  # CheckCnameStatus请求参数结构体
1351
1435
  class CheckCnameStatusRequest < TencentCloud::Common::AbstractModel
1352
1436
  # @param ZoneId: 站点 ID。
@@ -8301,14 +8385,7 @@ module TencentCloud
8301
8385
  # <li> exist: 存在; </li>
8302
8386
  # <li> notexist: 不存在。</li>
8303
8387
  # @type Operator: String
8304
- # @param Target: 匹配类型,取值有:
8305
- # <li> filename:文件名; </li>
8306
- # <li> extension:文件后缀; </li>
8307
- # <li> host:HOST; </li>
8308
- # <li> full_url:URL Full,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li>
8309
- # <li> url:URL Path,当前站点下 URL 路径的请求; </li><li>client_country:客户端国家/地区;</li>
8310
- # <li> query_string:查询字符串,当前站点下请求URL的查询字符串; </li>
8311
- # <li> request_header:HTTP请求头部。 </li>
8388
+ # @param Target: 匹配类型,取值有: <li> filename:文件名; </li> <li> extension:文件后缀; </li> <li> host:HOST; </li> <li> full_url:URL Full,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li> <li> url:URL Path,当前站点下 URL 路径的请求; </li><li>client_country:客户端国家/地区;</li> <li> query_string:查询字符串,当前站点下请求URL的查询字符串; </li> <li> request_header:HTTP请求头部。 </li>
8312
8389
  # @type Target: String
8313
8390
  # @param Values: 对应匹配类型的参数值,仅在匹配类型为查询字符串或HTTP请求头并且运算符取值为存在或不存在时允许传空数组,对应匹配类型有:
8314
8391
  # <li> 文件后缀:jpg、txt等文件后缀;</li>
@@ -8332,6 +8409,9 @@ module TencentCloud
8332
8409
  # @type IgnoreNameCase: Boolean
8333
8410
 
8334
8411
  attr_accessor :Operator, :Target, :Values, :IgnoreCase, :Name, :IgnoreNameCase
8412
+ extend Gem::Deprecate
8413
+ deprecate :IgnoreNameCase, :none, 2023, 9
8414
+ deprecate :IgnoreNameCase=, :none, 2023, 9
8335
8415
 
8336
8416
  def initialize(operator=nil, target=nil, values=nil, ignorecase=nil, name=nil, ignorenamecase=nil)
8337
8417
  @Operator = operator
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.668
4
+ version: 3.0.670
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-09-27 00:00:00.000000000 Z
11
+ date: 2023-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common