tencentcloud-sdk-teo 3.0.667 → 3.0.668
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/v20220901/client.rb +26 -0
- data/lib/v20220901/models.rb +43 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b340af92e8e8f6e65d36c9550550f3ec724f8c8e
|
4
|
+
data.tar.gz: ca902eac20fc20225c85976a698740cc3f10f2aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e34591898645c621f03e5ef1903fe39454fe584b197400e70fd7111189392bb6576b1f363b56301e50b9527bf8694e5150ec987daf34f3eb630319748e3c60c
|
7
|
+
data.tar.gz: ec1279eb0fdde7f53c3f8629cdd7412f0f1690ebd1b9b6a1b3918824c5c024e10c193b0c26d385ab004180bd67ec4128c87e48643a0c5a12ab2cd1177442a0b6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.668
|
data/lib/v20220901/client.rb
CHANGED
@@ -1621,6 +1621,32 @@ module TencentCloud
|
|
1621
1621
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1622
1622
|
end
|
1623
1623
|
|
1624
|
+
# 在 CNAME 接入模式下,您需要对站点或者域名的归属权进行验证,可以通过本接口触发验证。若站点通过归属权验证后,后续添加域名无需再验证。详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
|
1625
|
+
|
1626
|
+
# 在 NS 接入模式下,您也可以通过本接口来查询 NS 服务器是否切换成功,详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。
|
1627
|
+
|
1628
|
+
# @param request: Request instance for VerifyOwnership.
|
1629
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::VerifyOwnershipRequest`
|
1630
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::VerifyOwnershipResponse`
|
1631
|
+
def VerifyOwnership(request)
|
1632
|
+
body = send_request('VerifyOwnership', request.serialize)
|
1633
|
+
response = JSON.parse(body)
|
1634
|
+
if response['Response'].key?('Error') == false
|
1635
|
+
model = VerifyOwnershipResponse.new
|
1636
|
+
model.deserialize(response['Response'])
|
1637
|
+
model
|
1638
|
+
else
|
1639
|
+
code = response['Response']['Error']['Code']
|
1640
|
+
message = response['Response']['Error']['Message']
|
1641
|
+
reqid = response['Response']['RequestId']
|
1642
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1643
|
+
end
|
1644
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1645
|
+
raise e
|
1646
|
+
rescue StandardError => e
|
1647
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1648
|
+
end
|
1649
|
+
|
1624
1650
|
|
1625
1651
|
end
|
1626
1652
|
end
|
data/lib/v20220901/models.rb
CHANGED
@@ -2244,7 +2244,7 @@ module TencentCloud
|
|
2244
2244
|
# @type Area: String
|
2245
2245
|
# @param PlanId: 待绑定的目标套餐 ID。当您账号下已存在套餐时,可以填写此参数,直接将站点绑定至该套餐。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。
|
2246
2246
|
# @type PlanId: String
|
2247
|
-
# @param AliasZoneName: 同名站点标识。限制输入数字、英文、- 和 _ 组合,长度 20 个字符以内。详情参考 [同名站点标识](),无此使用场景时,该字段保留为空即可。
|
2247
|
+
# @param AliasZoneName: 同名站点标识。限制输入数字、英文、- 和 _ 组合,长度 20 个字符以内。详情参考 [同名站点标识](https://cloud.tencent.com/document/product/1552/70202),无此使用场景时,该字段保留为空即可。
|
2248
2248
|
# @type AliasZoneName: String
|
2249
2249
|
# @param Tags: 标签。该参数用于对站点进行分权限管控、分账。需要先前往 [标签控制台](https://console.cloud.tencent.com/tag/taglist) 创建对应的标签才可以在此处传入对应的标签键和标签值。
|
2250
2250
|
# @type Tags: Array
|
@@ -9432,6 +9432,48 @@ module TencentCloud
|
|
9432
9432
|
end
|
9433
9433
|
end
|
9434
9434
|
|
9435
|
+
# VerifyOwnership请求参数结构体
|
9436
|
+
class VerifyOwnershipRequest < TencentCloud::Common::AbstractModel
|
9437
|
+
# @param Domain: 站点或者加速域名。
|
9438
|
+
# @type Domain: String
|
9439
|
+
|
9440
|
+
attr_accessor :Domain
|
9441
|
+
|
9442
|
+
def initialize(domain=nil)
|
9443
|
+
@Domain = domain
|
9444
|
+
end
|
9445
|
+
|
9446
|
+
def deserialize(params)
|
9447
|
+
@Domain = params['Domain']
|
9448
|
+
end
|
9449
|
+
end
|
9450
|
+
|
9451
|
+
# VerifyOwnership返回参数结构体
|
9452
|
+
class VerifyOwnershipResponse < TencentCloud::Common::AbstractModel
|
9453
|
+
# @param Status: 归属权验证结果。
|
9454
|
+
# <li>success:验证成功;</li>
|
9455
|
+
# <li>fail:验证失败。</li>
|
9456
|
+
# @type Status: String
|
9457
|
+
# @param Result: 当验证结果为不通过时,该字段会返回原因,协助您排查问题。
|
9458
|
+
# @type Result: String
|
9459
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9460
|
+
# @type RequestId: String
|
9461
|
+
|
9462
|
+
attr_accessor :Status, :Result, :RequestId
|
9463
|
+
|
9464
|
+
def initialize(status=nil, result=nil, requestid=nil)
|
9465
|
+
@Status = status
|
9466
|
+
@Result = result
|
9467
|
+
@RequestId = requestid
|
9468
|
+
end
|
9469
|
+
|
9470
|
+
def deserialize(params)
|
9471
|
+
@Status = params['Status']
|
9472
|
+
@Result = params['Result']
|
9473
|
+
@RequestId = params['RequestId']
|
9474
|
+
end
|
9475
|
+
end
|
9476
|
+
|
9435
9477
|
# 无
|
9436
9478
|
class Waf < TencentCloud::Common::AbstractModel
|
9437
9479
|
# @param Switch: Waf开关,取值为:
|
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.
|
4
|
+
version: 3.0.668
|
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-
|
11
|
+
date: 2023-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,11 +33,11 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20220106/models.rb
|
37
|
-
- lib/v20220106/client.rb
|
38
36
|
- lib/v20220901/models.rb
|
39
37
|
- lib/v20220901/client.rb
|
40
38
|
- lib/tencentcloud-sdk-teo.rb
|
39
|
+
- lib/v20220106/models.rb
|
40
|
+
- lib/v20220106/client.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|