tencentcloud-sdk-domain 3.0.794 → 3.0.796
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/v20180808/client.rb +24 -0
- data/lib/v20180808/models.rb +31 -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: e98ce018101520364ed0d6c8b608c5d7b12b7912
|
4
|
+
data.tar.gz: d6cb1d4d9d6a4b31b6c90477652312e30b2939f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0e3e14483374672746c3f89f928b80fe59f2fe18196740f26c23dfabf68ef0098e0bd4176cb74bc0dc3d1cbcb925e3d161a5159ace5d9807bbb2974923ad24e
|
7
|
+
data.tar.gz: ad3fb524a2539ee7c7992fc70a5f3b3b4c962ec742b92e2daabeea7470dc07b78dd582170652f625a4e78e212550eacfc983fdb77efec1b972e198491d5b43e7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.796
|
data/lib/v20180808/client.rb
CHANGED
@@ -605,6 +605,30 @@ module TencentCloud
|
|
605
605
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
606
606
|
end
|
607
607
|
|
608
|
+
# 用于获取域名注册当前支持注册的后缀
|
609
|
+
|
610
|
+
# @param request: Request instance for DescribeTldList.
|
611
|
+
# @type request: :class:`Tencentcloud::domain::V20180808::DescribeTldListRequest`
|
612
|
+
# @rtype: :class:`Tencentcloud::domain::V20180808::DescribeTldListResponse`
|
613
|
+
def DescribeTldList(request)
|
614
|
+
body = send_request('DescribeTldList', request.serialize)
|
615
|
+
response = JSON.parse(body)
|
616
|
+
if response['Response'].key?('Error') == false
|
617
|
+
model = DescribeTldListResponse.new
|
618
|
+
model.deserialize(response['Response'])
|
619
|
+
model
|
620
|
+
else
|
621
|
+
code = response['Response']['Error']['Code']
|
622
|
+
message = response['Response']['Error']['Message']
|
623
|
+
reqid = response['Response']['RequestId']
|
624
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
625
|
+
end
|
626
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
627
|
+
raise e
|
628
|
+
rescue StandardError => e
|
629
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
|
+
end
|
631
|
+
|
608
632
|
# 修改自定义DNS Host
|
609
633
|
|
610
634
|
# @param request: Request instance for ModifyCustomDnsHost.
|
data/lib/v20180808/models.rb
CHANGED
@@ -1439,6 +1439,37 @@ module TencentCloud
|
|
1439
1439
|
end
|
1440
1440
|
end
|
1441
1441
|
|
1442
|
+
# DescribeTldList请求参数结构体
|
1443
|
+
class DescribeTldListRequest < TencentCloud::Common::AbstractModel
|
1444
|
+
|
1445
|
+
|
1446
|
+
def initialize()
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
def deserialize(params)
|
1450
|
+
end
|
1451
|
+
end
|
1452
|
+
|
1453
|
+
# DescribeTldList返回参数结构体
|
1454
|
+
class DescribeTldListResponse < TencentCloud::Common::AbstractModel
|
1455
|
+
# @param List: 支持的后缀列表
|
1456
|
+
# @type List: Array
|
1457
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1458
|
+
# @type RequestId: String
|
1459
|
+
|
1460
|
+
attr_accessor :List, :RequestId
|
1461
|
+
|
1462
|
+
def initialize(list=nil, requestid=nil)
|
1463
|
+
@List = list
|
1464
|
+
@RequestId = requestid
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
def deserialize(params)
|
1468
|
+
@List = params['List']
|
1469
|
+
@RequestId = params['RequestId']
|
1470
|
+
end
|
1471
|
+
end
|
1472
|
+
|
1442
1473
|
# 获取域名基础信息
|
1443
1474
|
class DomainBaseInfo < TencentCloud::Common::AbstractModel
|
1444
1475
|
# @param DomainId: 域名资源ID。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-domain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.796
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03
|
11
|
+
date: 2024-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|