tencentcloud-sdk-domain 3.0.765 → 3.0.767

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: 3ef71774700f70271fff261f3c0510a930bd704b
4
- data.tar.gz: 07be6dc8db363455b827399408d2c7c236cb1185
3
+ metadata.gz: 355340461b14f6ec737ad4bc1ea2ea64af3a9681
4
+ data.tar.gz: e14c3397a544e7519a0f347acdb1800049b4a219
5
5
  SHA512:
6
- metadata.gz: 8f27f7f2da134c4037835f869f26e0bec4c66a5bb69d0ad80f500823c2484b18238448052142195a0cc9e704799c83b1dc083ebb4e692ad135b4ba2c6b864bef
7
- data.tar.gz: f22957b381c69f61175706744cd17368c244bb8c65c41872964832c3ed7147db34024cc67b6c1f62c63b51c6923468a568092f81559617ba5aea06f73f28b5b4
6
+ metadata.gz: d2d84ebeb328563d023a9465b542321e0afbf1f8e3af110758d5f4f76edd0921e4ef83746ceeb899872c6699993fac40e8e693026a31c3d705e3ec782b599154
7
+ data.tar.gz: cc261a11269de580b8c1679fe947b2e82f2ba5331f4440b0c3714b14a824ba4a1382d4d0a5523d733562dc19234ee45d5d05049ecac546fb236cc75595c4ce80
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.765
1
+ 3.0.767
@@ -269,6 +269,30 @@ module TencentCloud
269
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
270
  end
271
271
 
272
+ # 用于清除多余的预定域名信息
273
+
274
+ # @param request: Request instance for DeleteReservedPreDomainInfo.
275
+ # @type request: :class:`Tencentcloud::domain::V20180808::DeleteReservedPreDomainInfoRequest`
276
+ # @rtype: :class:`Tencentcloud::domain::V20180808::DeleteReservedPreDomainInfoResponse`
277
+ def DeleteReservedPreDomainInfo(request)
278
+ body = send_request('DeleteReservedPreDomainInfo', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DeleteReservedPreDomainInfoResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
272
296
  # 本接口 ( DeleteTemplate ) 用于删除信息模板。
273
297
 
274
298
  # @param request: Request instance for DeleteTemplate.
@@ -485,6 +509,54 @@ module TencentCloud
485
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
510
  end
487
511
 
512
+ # 用户服务商提前获取预释放域名数据,查询数据根据结束时间进行倒序。
513
+
514
+ # @param request: Request instance for DescribePreDomainList.
515
+ # @type request: :class:`Tencentcloud::domain::V20180808::DescribePreDomainListRequest`
516
+ # @rtype: :class:`Tencentcloud::domain::V20180808::DescribePreDomainListResponse`
517
+ def DescribePreDomainList(request)
518
+ body = send_request('DescribePreDomainList', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = DescribePreDomainListResponse.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
+
536
+ # 合作商用于查询预约预释放状态信息内容
537
+
538
+ # @param request: Request instance for DescribeReservedPreDomainInfo.
539
+ # @type request: :class:`Tencentcloud::domain::V20180808::DescribeReservedPreDomainInfoRequest`
540
+ # @rtype: :class:`Tencentcloud::domain::V20180808::DescribeReservedPreDomainInfoResponse`
541
+ def DescribeReservedPreDomainInfo(request)
542
+ body = send_request('DescribeReservedPreDomainInfo', request.serialize)
543
+ response = JSON.parse(body)
544
+ if response['Response'].key?('Error') == false
545
+ model = DescribeReservedPreDomainInfoResponse.new
546
+ model.deserialize(response['Response'])
547
+ model
548
+ else
549
+ code = response['Response']['Error']['Code']
550
+ message = response['Response']['Error']['Message']
551
+ reqid = response['Response']['RequestId']
552
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
553
+ end
554
+ rescue TencentCloud::Common::TencentCloudSDKException => e
555
+ raise e
556
+ rescue StandardError => e
557
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
558
+ end
559
+
488
560
  # 本接口 (DescribeTemplate) 用于获取模板信息。
489
561
 
490
562
  # @param request: Request instance for DescribeTemplate.
@@ -653,6 +725,30 @@ module TencentCloud
653
725
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
726
  end
655
727
 
728
+ # 用于合作商对预释放域名进行预留。
729
+
730
+ # @param request: Request instance for ReservedPreDomains.
731
+ # @type request: :class:`Tencentcloud::domain::V20180808::ReservedPreDomainsRequest`
732
+ # @rtype: :class:`Tencentcloud::domain::V20180808::ReservedPreDomainsResponse`
733
+ def ReservedPreDomains(request)
734
+ body = send_request('ReservedPreDomains', request.serialize)
735
+ response = JSON.parse(body)
736
+ if response['Response'].key?('Error') == false
737
+ model = ReservedPreDomainsResponse.new
738
+ model.deserialize(response['Response'])
739
+ model
740
+ else
741
+ code = response['Response']['Error']['Code']
742
+ message = response['Response']['Error']['Message']
743
+ reqid = response['Response']['RequestId']
744
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
745
+ end
746
+ rescue TencentCloud::Common::TencentCloudSDKException => e
747
+ raise e
748
+ rescue StandardError => e
749
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
+ end
751
+
656
752
  # 此接口用于发送手机邮箱验证码。
657
753
 
658
754
  # @param request: Request instance for SendPhoneEmailCode.
@@ -738,6 +738,38 @@ module TencentCloud
738
738
  end
739
739
  end
740
740
 
741
+ # DeleteReservedPreDomainInfo请求参数结构体
742
+ class DeleteReservedPreDomainInfoRequest < TencentCloud::Common::AbstractModel
743
+ # @param ResourceIdList: 资源ID列表
744
+ # @type ResourceIdList: Array
745
+
746
+ attr_accessor :ResourceIdList
747
+
748
+ def initialize(resourceidlist=nil)
749
+ @ResourceIdList = resourceidlist
750
+ end
751
+
752
+ def deserialize(params)
753
+ @ResourceIdList = params['ResourceIdList']
754
+ end
755
+ end
756
+
757
+ # DeleteReservedPreDomainInfo返回参数结构体
758
+ class DeleteReservedPreDomainInfoResponse < TencentCloud::Common::AbstractModel
759
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
760
+ # @type RequestId: String
761
+
762
+ attr_accessor :RequestId
763
+
764
+ def initialize(requestid=nil)
765
+ @RequestId = requestid
766
+ end
767
+
768
+ def deserialize(params)
769
+ @RequestId = params['RequestId']
770
+ end
771
+ end
772
+
741
773
  # DeleteTemplate请求参数结构体
742
774
  class DeleteTemplateRequest < TencentCloud::Common::AbstractModel
743
775
  # @param TemplateId: 模板ID
@@ -1183,6 +1215,120 @@ module TencentCloud
1183
1215
  end
1184
1216
  end
1185
1217
 
1218
+ # DescribePreDomainList请求参数结构体
1219
+ class DescribePreDomainListRequest < TencentCloud::Common::AbstractModel
1220
+ # @param Page: 页码
1221
+ # @type Page: Integer
1222
+ # @param Size: 条数
1223
+ # @type Size: Integer
1224
+
1225
+ attr_accessor :Page, :Size
1226
+
1227
+ def initialize(page=nil, size=nil)
1228
+ @Page = page
1229
+ @Size = size
1230
+ end
1231
+
1232
+ def deserialize(params)
1233
+ @Page = params['Page']
1234
+ @Size = params['Size']
1235
+ end
1236
+ end
1237
+
1238
+ # DescribePreDomainList返回参数结构体
1239
+ class DescribePreDomainListResponse < TencentCloud::Common::AbstractModel
1240
+ # @param ReservedDomainList: 预释放预约列表数据
1241
+ # @type ReservedDomainList: Array
1242
+ # @param Total: 总数
1243
+ # @type Total: Integer
1244
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1245
+ # @type RequestId: String
1246
+
1247
+ attr_accessor :ReservedDomainList, :Total, :RequestId
1248
+
1249
+ def initialize(reserveddomainlist=nil, total=nil, requestid=nil)
1250
+ @ReservedDomainList = reserveddomainlist
1251
+ @Total = total
1252
+ @RequestId = requestid
1253
+ end
1254
+
1255
+ def deserialize(params)
1256
+ unless params['ReservedDomainList'].nil?
1257
+ @ReservedDomainList = []
1258
+ params['ReservedDomainList'].each do |i|
1259
+ reserveddomaininfo_tmp = ReservedDomainInfo.new
1260
+ reserveddomaininfo_tmp.deserialize(i)
1261
+ @ReservedDomainList << reserveddomaininfo_tmp
1262
+ end
1263
+ end
1264
+ @Total = params['Total']
1265
+ @RequestId = params['RequestId']
1266
+ end
1267
+ end
1268
+
1269
+ # DescribeReservedPreDomainInfo请求参数结构体
1270
+ class DescribeReservedPreDomainInfoRequest < TencentCloud::Common::AbstractModel
1271
+ # @param DomainList: 域名,每次最多支持500条域名查询
1272
+ # @type DomainList: Array
1273
+ # @param ReservedStatus: 状态,用于筛选,可不填写(1. 预定成功 2. 预定失败(预定失败Reason字段将会被赋值)3. 域名交割中 4. 域名交割完成)
1274
+ # @type ReservedStatus: Integer
1275
+ # @param ReservedTimeSort: 根据预约时间排序,仅支持:"desc","asc"。
1276
+ # @type ReservedTimeSort: String
1277
+ # @param Limit: 条数
1278
+ # @type Limit: Integer
1279
+ # @param Offset: 偏移量
1280
+ # @type Offset: Integer
1281
+
1282
+ attr_accessor :DomainList, :ReservedStatus, :ReservedTimeSort, :Limit, :Offset
1283
+
1284
+ def initialize(domainlist=nil, reservedstatus=nil, reservedtimesort=nil, limit=nil, offset=nil)
1285
+ @DomainList = domainlist
1286
+ @ReservedStatus = reservedstatus
1287
+ @ReservedTimeSort = reservedtimesort
1288
+ @Limit = limit
1289
+ @Offset = offset
1290
+ end
1291
+
1292
+ def deserialize(params)
1293
+ @DomainList = params['DomainList']
1294
+ @ReservedStatus = params['ReservedStatus']
1295
+ @ReservedTimeSort = params['ReservedTimeSort']
1296
+ @Limit = params['Limit']
1297
+ @Offset = params['Offset']
1298
+ end
1299
+ end
1300
+
1301
+ # DescribeReservedPreDomainInfo返回参数结构体
1302
+ class DescribeReservedPreDomainInfoResponse < TencentCloud::Common::AbstractModel
1303
+ # @param ReservedPreDomainInfoList: 预释放预约列表
1304
+ # @type ReservedPreDomainInfoList: Array
1305
+ # @param Total: 总数
1306
+ # @type Total: Integer
1307
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1308
+ # @type RequestId: String
1309
+
1310
+ attr_accessor :ReservedPreDomainInfoList, :Total, :RequestId
1311
+
1312
+ def initialize(reservedpredomaininfolist=nil, total=nil, requestid=nil)
1313
+ @ReservedPreDomainInfoList = reservedpredomaininfolist
1314
+ @Total = total
1315
+ @RequestId = requestid
1316
+ end
1317
+
1318
+ def deserialize(params)
1319
+ unless params['ReservedPreDomainInfoList'].nil?
1320
+ @ReservedPreDomainInfoList = []
1321
+ params['ReservedPreDomainInfoList'].each do |i|
1322
+ reservedpredomaininfo_tmp = ReservedPreDomainInfo.new
1323
+ reservedpredomaininfo_tmp.deserialize(i)
1324
+ @ReservedPreDomainInfoList << reservedpredomaininfo_tmp
1325
+ end
1326
+ end
1327
+ @Total = params['Total']
1328
+ @RequestId = params['RequestId']
1329
+ end
1330
+ end
1331
+
1186
1332
  # DescribeTemplateList请求参数结构体
1187
1333
  class DescribeTemplateListRequest < TencentCloud::Common::AbstractModel
1188
1334
  # @param Offset: 偏移量,默认为0。
@@ -1685,6 +1831,28 @@ module TencentCloud
1685
1831
  end
1686
1832
  end
1687
1833
 
1834
+ # 失败预约预释放域名信息
1835
+ class FailReservedDomainInfo < TencentCloud::Common::AbstractModel
1836
+ # @param Domain: 域名
1837
+ # 注意:此字段可能返回 null,表示取不到有效值。
1838
+ # @type Domain: String
1839
+ # @param FailReason: 预约失败原因
1840
+ # 注意:此字段可能返回 null,表示取不到有效值。
1841
+ # @type FailReason: String
1842
+
1843
+ attr_accessor :Domain, :FailReason
1844
+
1845
+ def initialize(domain=nil, failreason=nil)
1846
+ @Domain = domain
1847
+ @FailReason = failreason
1848
+ end
1849
+
1850
+ def deserialize(params)
1851
+ @Domain = params['Domain']
1852
+ @FailReason = params['FailReason']
1853
+ end
1854
+ end
1855
+
1688
1856
  # ModifyCustomDnsHost请求参数结构体
1689
1857
  class ModifyCustomDnsHostRequest < TencentCloud::Common::AbstractModel
1690
1858
  # @param DomainId: 域名实例ID
@@ -1988,6 +2156,138 @@ module TencentCloud
1988
2156
  end
1989
2157
  end
1990
2158
 
2159
+ # 查询预释放预约列表域名详情
2160
+ class ReservedDomainInfo < TencentCloud::Common::AbstractModel
2161
+ # @param Domain: 域名
2162
+ # @type Domain: String
2163
+ # @param RegTime: 注册时间
2164
+ # @type RegTime: String
2165
+ # @param ExpireTime: 到期时间
2166
+ # @type ExpireTime: String
2167
+ # @param RenewEndTime: 续费时间结束
2168
+ # @type RenewEndTime: String
2169
+ # @param RestoreEndTime: 赎回结束时间
2170
+ # @type RestoreEndTime: String
2171
+ # @param ReservedEndTime: 域名预约结束时间
2172
+ # @type ReservedEndTime: String
2173
+
2174
+ attr_accessor :Domain, :RegTime, :ExpireTime, :RenewEndTime, :RestoreEndTime, :ReservedEndTime
2175
+
2176
+ def initialize(domain=nil, regtime=nil, expiretime=nil, renewendtime=nil, restoreendtime=nil, reservedendtime=nil)
2177
+ @Domain = domain
2178
+ @RegTime = regtime
2179
+ @ExpireTime = expiretime
2180
+ @RenewEndTime = renewendtime
2181
+ @RestoreEndTime = restoreendtime
2182
+ @ReservedEndTime = reservedendtime
2183
+ end
2184
+
2185
+ def deserialize(params)
2186
+ @Domain = params['Domain']
2187
+ @RegTime = params['RegTime']
2188
+ @ExpireTime = params['ExpireTime']
2189
+ @RenewEndTime = params['RenewEndTime']
2190
+ @RestoreEndTime = params['RestoreEndTime']
2191
+ @ReservedEndTime = params['ReservedEndTime']
2192
+ end
2193
+ end
2194
+
2195
+ # 预约预释放域名详情信息
2196
+ class ReservedPreDomainInfo < TencentCloud::Common::AbstractModel
2197
+ # @param Domain: 域名
2198
+ # @type Domain: String
2199
+ # @param ReservedStatus: 1. 预定成功 2. 预定失败(预定失败Reason字段将会被赋值)3. 域名交割中 4. 域名交割完成
2200
+ # @type ReservedStatus: Integer
2201
+ # @param FailReason: 域名预定失败原因
2202
+ # 注意:此字段可能返回 null,表示取不到有效值。
2203
+ # @type FailReason: String
2204
+ # @param ChangeOwnerTime: 预计变更所有权时间(仅用于参考,实际时间会存在误差)
2205
+ # 注意:此字段可能返回 null,表示取不到有效值。
2206
+ # @type ChangeOwnerTime: String
2207
+ # @param RegTime: 注册时间
2208
+ # 注意:此字段可能返回 null,表示取不到有效值。
2209
+ # @type RegTime: String
2210
+ # @param ExpireTime: 到期时间
2211
+ # 注意:此字段可能返回 null,表示取不到有效值。
2212
+ # @type ExpireTime: String
2213
+ # @param ResourceId: 资源ID,用于删除资源信息
2214
+ # 注意:此字段可能返回 null,表示取不到有效值。
2215
+ # @type ResourceId: String
2216
+
2217
+ attr_accessor :Domain, :ReservedStatus, :FailReason, :ChangeOwnerTime, :RegTime, :ExpireTime, :ResourceId
2218
+
2219
+ def initialize(domain=nil, reservedstatus=nil, failreason=nil, changeownertime=nil, regtime=nil, expiretime=nil, resourceid=nil)
2220
+ @Domain = domain
2221
+ @ReservedStatus = reservedstatus
2222
+ @FailReason = failreason
2223
+ @ChangeOwnerTime = changeownertime
2224
+ @RegTime = regtime
2225
+ @ExpireTime = expiretime
2226
+ @ResourceId = resourceid
2227
+ end
2228
+
2229
+ def deserialize(params)
2230
+ @Domain = params['Domain']
2231
+ @ReservedStatus = params['ReservedStatus']
2232
+ @FailReason = params['FailReason']
2233
+ @ChangeOwnerTime = params['ChangeOwnerTime']
2234
+ @RegTime = params['RegTime']
2235
+ @ExpireTime = params['ExpireTime']
2236
+ @ResourceId = params['ResourceId']
2237
+ end
2238
+ end
2239
+
2240
+ # ReservedPreDomains请求参数结构体
2241
+ class ReservedPreDomainsRequest < TencentCloud::Common::AbstractModel
2242
+ # @param DomainList: 预约预释放域名列表
2243
+ # @type DomainList: Array
2244
+ # @param TemplateId: 模版ID
2245
+ # @type TemplateId: String
2246
+
2247
+ attr_accessor :DomainList, :TemplateId
2248
+
2249
+ def initialize(domainlist=nil, templateid=nil)
2250
+ @DomainList = domainlist
2251
+ @TemplateId = templateid
2252
+ end
2253
+
2254
+ def deserialize(params)
2255
+ @DomainList = params['DomainList']
2256
+ @TemplateId = params['TemplateId']
2257
+ end
2258
+ end
2259
+
2260
+ # ReservedPreDomains返回参数结构体
2261
+ class ReservedPreDomainsResponse < TencentCloud::Common::AbstractModel
2262
+ # @param SucDomainList: 预定成功域名列表
2263
+ # @type SucDomainList: Array
2264
+ # @param FailDomainList: 预定失败域名列表
2265
+ # @type FailDomainList: Array
2266
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2267
+ # @type RequestId: String
2268
+
2269
+ attr_accessor :SucDomainList, :FailDomainList, :RequestId
2270
+
2271
+ def initialize(sucdomainlist=nil, faildomainlist=nil, requestid=nil)
2272
+ @SucDomainList = sucdomainlist
2273
+ @FailDomainList = faildomainlist
2274
+ @RequestId = requestid
2275
+ end
2276
+
2277
+ def deserialize(params)
2278
+ @SucDomainList = params['SucDomainList']
2279
+ unless params['FailDomainList'].nil?
2280
+ @FailDomainList = []
2281
+ params['FailDomainList'].each do |i|
2282
+ failreserveddomaininfo_tmp = FailReservedDomainInfo.new
2283
+ failreserveddomaininfo_tmp.deserialize(i)
2284
+ @FailDomainList << failreserveddomaininfo_tmp
2285
+ end
2286
+ end
2287
+ @RequestId = params['RequestId']
2288
+ end
2289
+ end
2290
+
1991
2291
  # SendPhoneEmailCode请求参数结构体
1992
2292
  class SendPhoneEmailCodeRequest < TencentCloud::Common::AbstractModel
1993
2293
  # @param Code: 手机或者邮箱号。
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.765
4
+ version: 3.0.767
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-02-20 00:00:00.000000000 Z
11
+ date: 2024-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common