tencentcloud-sdk-dnspod 3.0.1023 → 3.0.1024

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7de9e89a7a8cbfa0c0394bc6f253c9f2d34652dc
4
- data.tar.gz: 88d621439392fd9c8343d7ddd0d73dbb90aaaded
3
+ metadata.gz: 19e66ff2b42dab9ebede6977565fe7cf15a95db0
4
+ data.tar.gz: 2157baad54ba41c7279815b484f1d227f17608d9
5
5
  SHA512:
6
- metadata.gz: cdfbcc732dc8642da5b1d894a5924f57fd8451829e4c763f1f183393598402f4ad62e7b9e1e4c9f359a35b381a4eae4232556e9a95060ffaa48c867ca165df52
7
- data.tar.gz: 6d27f2ef134af691354e5c64330b9337c93dc8a8e80a897a3bcce437ef288547205f457124050349b2c327ae08a2382221dc0332e2b2d3ddd4572f603dbd762a
6
+ metadata.gz: 1459b69910410959fde581e865434b8b54c1a333f4d422ee20e0d7e5ea386f9ab5b44a7751e5f92800733a384de5ca6dba1875f03c0e1de4f1d3f2002b38a26c
7
+ data.tar.gz: 99695f0f9291f4de9d34dc22b1ae8072695397f871b782677b3600e1190840ff497fd3a46f0d40757e444e6998e3b6c0532f05fa4bc206cda0a137f2674690df
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1023
1
+ 3.0.1024
@@ -223,6 +223,30 @@ module TencentCloud
223
223
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
224
224
  end
225
225
 
226
+ # 批量导出域名解析量
227
+
228
+ # @param request: Request instance for CreateDomainsAnalyticsFile.
229
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::CreateDomainsAnalyticsFileRequest`
230
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::CreateDomainsAnalyticsFileResponse`
231
+ def CreateDomainsAnalyticsFile(request)
232
+ body = send_request('CreateDomainsAnalyticsFile', request.serialize)
233
+ response = JSON.parse(body)
234
+ if response['Response'].key?('Error') == false
235
+ model = CreateDomainsAnalyticsFileResponse.new
236
+ model.deserialize(response['Response'])
237
+ model
238
+ else
239
+ code = response['Response']['Error']['Code']
240
+ message = response['Response']['Error']['Message']
241
+ reqid = response['Response']['RequestId']
242
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
243
+ end
244
+ rescue TencentCloud::Common::TencentCloudSDKException => e
245
+ raise e
246
+ rescue StandardError => e
247
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
248
+ end
249
+
226
250
  # 创建域名的线路分组
227
251
 
228
252
  # @param request: Request instance for CreateLineGroup.
@@ -368,6 +392,30 @@ module TencentCloud
368
392
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
369
393
  end
370
394
 
395
+ # 批量导出子域名解析量
396
+
397
+ # @param request: Request instance for CreateSubDomainsAnalyticsFile.
398
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::CreateSubDomainsAnalyticsFileRequest`
399
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::CreateSubDomainsAnalyticsFileResponse`
400
+ def CreateSubDomainsAnalyticsFile(request)
401
+ body = send_request('CreateSubDomainsAnalyticsFile', request.serialize)
402
+ response = JSON.parse(body)
403
+ if response['Response'].key?('Error') == false
404
+ model = CreateSubDomainsAnalyticsFileResponse.new
405
+ model.deserialize(response['Response'])
406
+ model
407
+ else
408
+ code = response['Response']['Error']['Code']
409
+ message = response['Response']['Error']['Message']
410
+ reqid = response['Response']['RequestId']
411
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
412
+ end
413
+ rescue TencentCloud::Common::TencentCloudSDKException => e
414
+ raise e
415
+ rescue StandardError => e
416
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
417
+ end
418
+
371
419
  # 创建添加子域名 Zone 域解析时所需要的 TXT 记录值
372
420
 
373
421
  # @param request: Request instance for CreateSubdomainValidateTXTValue.
@@ -995,6 +1043,30 @@ module TencentCloud
995
1043
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
996
1044
  end
997
1045
 
1046
+ # 根据批量任务ID获取生成文件信息
1047
+
1048
+ # @param request: Request instance for DescribeFileInfoByJobId.
1049
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeFileInfoByJobIdRequest`
1050
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeFileInfoByJobIdResponse`
1051
+ def DescribeFileInfoByJobId(request)
1052
+ body = send_request('DescribeFileInfoByJobId', request.serialize)
1053
+ response = JSON.parse(body)
1054
+ if response['Response'].key?('Error') == false
1055
+ model = DescribeFileInfoByJobIdResponse.new
1056
+ model.deserialize(response['Response'])
1057
+ model
1058
+ else
1059
+ code = response['Response']['Error']['Code']
1060
+ message = response['Response']['Error']['Message']
1061
+ reqid = response['Response']['RequestId']
1062
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1063
+ end
1064
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1065
+ raise e
1066
+ rescue StandardError => e
1067
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1068
+ end
1069
+
998
1070
  # 获取域名的线路分组列表
999
1071
 
1000
1072
  # @param request: Request instance for DescribeLineGroupList.
@@ -715,6 +715,56 @@ module TencentCloud
715
715
  end
716
716
  end
717
717
 
718
+ # CreateDomainsAnalyticsFile请求参数结构体
719
+ class CreateDomainsAnalyticsFileRequest < TencentCloud::Common::AbstractModel
720
+ # @param Domains: 需要查询解析量的域名数组。
721
+ # @type Domains: Array
722
+ # @param StartDate: 查询解析量的时间区间起点。如:2023-01-01。
723
+ # @type StartDate: String
724
+ # @param DNSFormat: 查询解析量的统计维度。默认为 DATE。
725
+ # DATE:按天统计
726
+ # HOUR:按小时统计
727
+ # @type DNSFormat: String
728
+ # @param EndDate: 查询解析量的时间区间终点。如:2023-01-01。默认为当天。
729
+ # @type EndDate: String
730
+
731
+ attr_accessor :Domains, :StartDate, :DNSFormat, :EndDate
732
+
733
+ def initialize(domains=nil, startdate=nil, dnsformat=nil, enddate=nil)
734
+ @Domains = domains
735
+ @StartDate = startdate
736
+ @DNSFormat = dnsformat
737
+ @EndDate = enddate
738
+ end
739
+
740
+ def deserialize(params)
741
+ @Domains = params['Domains']
742
+ @StartDate = params['StartDate']
743
+ @DNSFormat = params['DNSFormat']
744
+ @EndDate = params['EndDate']
745
+ end
746
+ end
747
+
748
+ # CreateDomainsAnalyticsFile返回参数结构体
749
+ class CreateDomainsAnalyticsFileResponse < TencentCloud::Common::AbstractModel
750
+ # @param JobId: 当前批量任务 id。
751
+ # @type JobId: Integer
752
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
753
+ # @type RequestId: String
754
+
755
+ attr_accessor :JobId, :RequestId
756
+
757
+ def initialize(jobid=nil, requestid=nil)
758
+ @JobId = jobid
759
+ @RequestId = requestid
760
+ end
761
+
762
+ def deserialize(params)
763
+ @JobId = params['JobId']
764
+ @RequestId = params['RequestId']
765
+ end
766
+ end
767
+
718
768
  # CreateLineGroupCopy请求参数结构体
719
769
  class CreateLineGroupCopyRequest < TencentCloud::Common::AbstractModel
720
770
  # @param Domain: 域名
@@ -1156,6 +1206,69 @@ module TencentCloud
1156
1206
  end
1157
1207
  end
1158
1208
 
1209
+ # CreateSubDomainsAnalyticsFile请求参数结构体
1210
+ class CreateSubDomainsAnalyticsFileRequest < TencentCloud::Common::AbstractModel
1211
+ # @param Domains: 需要查询解析量的域名数组。
1212
+ # @type Domains: Array
1213
+ # @param StartDate: 查询解析量的时间区间起点。如:2023-01-01。
1214
+ # @type StartDate: String
1215
+ # @param SubDomainType: 查询解析量子域名类型。
1216
+ # 1:子域名
1217
+ # 2:无解析量子域名
1218
+ # @type SubDomainType: Integer
1219
+ # @param DNSFormat: 查询解析量的统计维度。默认为 DATE。
1220
+ # DATE:按天统计
1221
+ # HOUR:按小时统计
1222
+ # @type DNSFormat: String
1223
+ # @param EndDate: 查询解析量的时间区间终点。如:2023-01-01。默认为当天。
1224
+ # @type EndDate: String
1225
+
1226
+ attr_accessor :Domains, :StartDate, :SubDomainType, :DNSFormat, :EndDate
1227
+
1228
+ def initialize(domains=nil, startdate=nil, subdomaintype=nil, dnsformat=nil, enddate=nil)
1229
+ @Domains = domains
1230
+ @StartDate = startdate
1231
+ @SubDomainType = subdomaintype
1232
+ @DNSFormat = dnsformat
1233
+ @EndDate = enddate
1234
+ end
1235
+
1236
+ def deserialize(params)
1237
+ unless params['Domains'].nil?
1238
+ @Domains = []
1239
+ params['Domains'].each do |i|
1240
+ subdomainsanalyticsparamsitem_tmp = SubDomainsAnalyticsParamsItem.new
1241
+ subdomainsanalyticsparamsitem_tmp.deserialize(i)
1242
+ @Domains << subdomainsanalyticsparamsitem_tmp
1243
+ end
1244
+ end
1245
+ @StartDate = params['StartDate']
1246
+ @SubDomainType = params['SubDomainType']
1247
+ @DNSFormat = params['DNSFormat']
1248
+ @EndDate = params['EndDate']
1249
+ end
1250
+ end
1251
+
1252
+ # CreateSubDomainsAnalyticsFile返回参数结构体
1253
+ class CreateSubDomainsAnalyticsFileResponse < TencentCloud::Common::AbstractModel
1254
+ # @param JobId: 当前批量任务 id。
1255
+ # @type JobId: Integer
1256
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1257
+ # @type RequestId: String
1258
+
1259
+ attr_accessor :JobId, :RequestId
1260
+
1261
+ def initialize(jobid=nil, requestid=nil)
1262
+ @JobId = jobid
1263
+ @RequestId = requestid
1264
+ end
1265
+
1266
+ def deserialize(params)
1267
+ @JobId = params['JobId']
1268
+ @RequestId = params['RequestId']
1269
+ end
1270
+ end
1271
+
1159
1272
  # CreateSubdomainValidateTXTValue请求参数结构体
1160
1273
  class CreateSubdomainValidateTXTValueRequest < TencentCloud::Common::AbstractModel
1161
1274
  # @param DomainZone: 要添加的子域名 Zone 域。
@@ -2676,6 +2789,45 @@ module TencentCloud
2676
2789
  end
2677
2790
  end
2678
2791
 
2792
+ # DescribeFileInfoByJobId请求参数结构体
2793
+ class DescribeFileInfoByJobIdRequest < TencentCloud::Common::AbstractModel
2794
+ # @param JobId: 任务ID
2795
+ # @type JobId: Integer
2796
+
2797
+ attr_accessor :JobId
2798
+
2799
+ def initialize(jobid=nil)
2800
+ @JobId = jobid
2801
+ end
2802
+
2803
+ def deserialize(params)
2804
+ @JobId = params['JobId']
2805
+ end
2806
+ end
2807
+
2808
+ # DescribeFileInfoByJobId返回参数结构体
2809
+ class DescribeFileInfoByJobIdResponse < TencentCloud::Common::AbstractModel
2810
+ # @param FileInfo: 生成文件相关信息
2811
+ # @type FileInfo: :class:`Tencentcloud::Dnspod.v20210323.models.FileInfo`
2812
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2813
+ # @type RequestId: String
2814
+
2815
+ attr_accessor :FileInfo, :RequestId
2816
+
2817
+ def initialize(fileinfo=nil, requestid=nil)
2818
+ @FileInfo = fileinfo
2819
+ @RequestId = requestid
2820
+ end
2821
+
2822
+ def deserialize(params)
2823
+ unless params['FileInfo'].nil?
2824
+ @FileInfo = FileInfo.new
2825
+ @FileInfo.deserialize(params['FileInfo'])
2826
+ end
2827
+ @RequestId = params['RequestId']
2828
+ end
2829
+ end
2830
+
2679
2831
  # DescribeLineGroupList请求参数结构体
2680
2832
  class DescribeLineGroupListRequest < TencentCloud::Common::AbstractModel
2681
2833
  # @param Domain: 域名
@@ -4439,6 +4591,76 @@ module TencentCloud
4439
4591
  end
4440
4592
  end
4441
4593
 
4594
+ # 生成的文件信息
4595
+ class FileInfo < TencentCloud::Common::AbstractModel
4596
+ # @param FileId: 文件 id。
4597
+ # @type FileId: Integer
4598
+ # @param CreatedOn: 文件生成时间。
4599
+ # @type CreatedOn: String
4600
+ # @param UpdatedOn: 文件最后更新时间。
4601
+ # @type UpdatedOn: String
4602
+ # @param Domains: 文件涉及到的域名。
4603
+ # @type Domains: Array
4604
+ # @param Name: 文件名称。
4605
+ # @type Name: String
4606
+ # @param FileUrl: 文件下载链接。
4607
+ # 注意:此字段可能返回 null,表示取不到有效值。
4608
+ # @type FileUrl: String
4609
+ # @param JobId: 生成文件的任务 id。
4610
+ # @type JobId: Integer
4611
+ # @param Progress: 生成文件的进度。100 表示 完成度为100%。
4612
+ # @type Progress: Integer
4613
+ # @param Status: 文件状态。
4614
+ # OK:已完成
4615
+ # RUNNING:正在生成中
4616
+ # ERROR:生成失败
4617
+ # CANCELED:文件已取消生成
4618
+ # CANCELING:文件正在取消生成
4619
+ # EXPIRED:文件已过期
4620
+ # @type Status: String
4621
+ # @param Type: 生成文件的任务类型。
4622
+ # RECORD_LOG:解析量数据
4623
+ # RECORD_EXPORT:导出解析记录
4624
+ # DOMAIN_EXPORT:导出域名列表
4625
+ # @type Type: String
4626
+ # @param LeftTime: 剩余时间
4627
+ # 注意:此字段可能返回 null,表示取不到有效值。
4628
+ # @type LeftTime: :class:`Tencentcloud::Dnspod.v20210323.models.LeftTime`
4629
+
4630
+ attr_accessor :FileId, :CreatedOn, :UpdatedOn, :Domains, :Name, :FileUrl, :JobId, :Progress, :Status, :Type, :LeftTime
4631
+
4632
+ def initialize(fileid=nil, createdon=nil, updatedon=nil, domains=nil, name=nil, fileurl=nil, jobid=nil, progress=nil, status=nil, type=nil, lefttime=nil)
4633
+ @FileId = fileid
4634
+ @CreatedOn = createdon
4635
+ @UpdatedOn = updatedon
4636
+ @Domains = domains
4637
+ @Name = name
4638
+ @FileUrl = fileurl
4639
+ @JobId = jobid
4640
+ @Progress = progress
4641
+ @Status = status
4642
+ @Type = type
4643
+ @LeftTime = lefttime
4644
+ end
4645
+
4646
+ def deserialize(params)
4647
+ @FileId = params['FileId']
4648
+ @CreatedOn = params['CreatedOn']
4649
+ @UpdatedOn = params['UpdatedOn']
4650
+ @Domains = params['Domains']
4651
+ @Name = params['Name']
4652
+ @FileUrl = params['FileUrl']
4653
+ @JobId = params['JobId']
4654
+ @Progress = params['Progress']
4655
+ @Status = params['Status']
4656
+ @Type = params['Type']
4657
+ unless params['LeftTime'].nil?
4658
+ @LeftTime = LeftTime.new
4659
+ @LeftTime.deserialize(params['LeftTime'])
4660
+ end
4661
+ end
4662
+ end
4663
+
4442
4664
  # 域名分组列表
4443
4665
  class GroupInfo < TencentCloud::Common::AbstractModel
4444
4666
  # @param GroupId: 分组ID
@@ -4488,6 +4710,33 @@ module TencentCloud
4488
4710
  end
4489
4711
  end
4490
4712
 
4713
+ # 批量生成文件剩余时间
4714
+ class LeftTime < TencentCloud::Common::AbstractModel
4715
+ # @param Days: 剩余天数
4716
+ # 注意:此字段可能返回 null,表示取不到有效值。
4717
+ # @type Days: Integer
4718
+ # @param Hours: 剩余小时数
4719
+ # 注意:此字段可能返回 null,表示取不到有效值。
4720
+ # @type Hours: Integer
4721
+ # @param Mins: 剩余分钟数
4722
+ # 注意:此字段可能返回 null,表示取不到有效值。
4723
+ # @type Mins: Integer
4724
+
4725
+ attr_accessor :Days, :Hours, :Mins
4726
+
4727
+ def initialize(days=nil, hours=nil, mins=nil)
4728
+ @Days = days
4729
+ @Hours = hours
4730
+ @Mins = mins
4731
+ end
4732
+
4733
+ def deserialize(params)
4734
+ @Days = params['Days']
4735
+ @Hours = params['Hours']
4736
+ @Mins = params['Mins']
4737
+ end
4738
+ end
4739
+
4491
4740
  # 自定义线路分组详细信息
4492
4741
  class LineGroupDetail < TencentCloud::Common::AbstractModel
4493
4742
  # @param Id: 自定义线路分组ID
@@ -6407,6 +6656,34 @@ module TencentCloud
6407
6656
  end
6408
6657
  end
6409
6658
 
6659
+ # 批量导出子域名解析量查询条件
6660
+ class SubDomainsAnalyticsParamsItem < TencentCloud::Common::AbstractModel
6661
+ # @param Domain: 要查询解析量的主域名。
6662
+ # @type Domain: String
6663
+ # @param SubDomain: 要查询解析量的子域名主机头。
6664
+ # @type SubDomain: String
6665
+ # @param Offset: 查询子域名列表的偏移量。没有指定查询的 Subdomain 参数时,根据分页参数返回每页子域名解析量。
6666
+ # @type Offset: Integer
6667
+ # @param Limit: 查询子域名列表的每页条数。没有指定查询的 Subdomain 参数时,根据分页参数返回每页子域名解析量。
6668
+ # @type Limit: Integer
6669
+
6670
+ attr_accessor :Domain, :SubDomain, :Offset, :Limit
6671
+
6672
+ def initialize(domain=nil, subdomain=nil, offset=nil, limit=nil)
6673
+ @Domain = domain
6674
+ @SubDomain = subdomain
6675
+ @Offset = offset
6676
+ @Limit = limit
6677
+ end
6678
+
6679
+ def deserialize(params)
6680
+ @Domain = params['Domain']
6681
+ @SubDomain = params['SubDomain']
6682
+ @Offset = params['Offset']
6683
+ @Limit = params['Limit']
6684
+ end
6685
+ end
6686
+
6410
6687
  # 子域名别名解析量统计信息
6411
6688
  class SubdomainAliasAnalyticsItem < TencentCloud::Common::AbstractModel
6412
6689
  # @param Info: 子域名解析量统计查询信息
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dnspod
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1023
4
+ version: 3.0.1024
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-19 00:00:00.000000000 Z
11
+ date: 2025-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common