tencentcloud-sdk-cdn 3.0.1189 → 3.0.1191

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: 34f25bd4fc3987790160311b5231eac2d4cacf66
4
- data.tar.gz: 1473660a33cf4299761fc8605694b11ddaa4f937
3
+ metadata.gz: 4764b67a819d40a4d776e1789f98e0b41553d744
4
+ data.tar.gz: bf48b0f8b30ece74b58255fb9399b5c2d4da64f8
5
5
  SHA512:
6
- metadata.gz: e1f1fd468369cb24ba820395a97cda297a031305c55725d79663496e69db8592ea5c683c7c1824e3567114a6fe9b0c5b8b649e61f1fc693c2c7c8dffa10bb158
7
- data.tar.gz: 827c2d63bf2b4829896c4e76b7b6023411c5c80676853de8b76fbeaea122e5e3e03738be9b2f228d45316d21b0b77ef03972723a446800e12d7edbd3ce5ef1a8
6
+ metadata.gz: f3e13ec548d5937d5bebabb801c91e54b409651dc458562f23db15dbd94343d457783c6df5cf7bc1f6d7a5961928f8459c851ebe7925ed63c4f2ff2306e8ece7
7
+ data.tar.gz: 83487e3807ada36b7fed650736dff12518402390a3c0a1b646d613c085e3fe7c865a4e928e34a238f5c3575ae1a55f1f73f6f8c1535285ce1cf0748ec70d64be
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1189
1
+ 3.0.1191
@@ -101,33 +101,6 @@ module TencentCloud
101
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
102
  end
103
103
 
104
- # 以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
105
-
106
- # ### <font color=red>**该接口已废弃** </font><br>
107
- # CreateDiagnoseUrl 用于添加域名诊断任务URL。
108
-
109
- # @param request: Request instance for CreateDiagnoseUrl.
110
- # @type request: :class:`Tencentcloud::cdn::V20180606::CreateDiagnoseUrlRequest`
111
- # @rtype: :class:`Tencentcloud::cdn::V20180606::CreateDiagnoseUrlResponse`
112
- def CreateDiagnoseUrl(request)
113
- body = send_request('CreateDiagnoseUrl', request.serialize)
114
- response = JSON.parse(body)
115
- if response['Response'].key?('Error') == false
116
- model = CreateDiagnoseUrlResponse.new
117
- model.deserialize(response['Response'])
118
- model
119
- else
120
- code = response['Response']['Error']['Code']
121
- message = response['Response']['Error']['Message']
122
- reqid = response['Response']['RequestId']
123
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
124
- end
125
- rescue TencentCloud::Common::TencentCloudSDKException => e
126
- raise e
127
- rescue StandardError => e
128
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
129
- end
130
-
131
104
  # 动态打包任务提交接口
132
105
 
133
106
  # @param request: Request instance for CreateEdgePackTask.
@@ -387,33 +360,6 @@ module TencentCloud
387
360
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
388
361
  end
389
362
 
390
- # 以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
391
-
392
- # ### <font color=red>**该接口已废弃** </font><br>
393
- # DescribeDiagnoseReport 用于获取指定报告id的内容。
394
-
395
- # @param request: Request instance for DescribeDiagnoseReport.
396
- # @type request: :class:`Tencentcloud::cdn::V20180606::DescribeDiagnoseReportRequest`
397
- # @rtype: :class:`Tencentcloud::cdn::V20180606::DescribeDiagnoseReportResponse`
398
- def DescribeDiagnoseReport(request)
399
- body = send_request('DescribeDiagnoseReport', request.serialize)
400
- response = JSON.parse(body)
401
- if response['Response'].key?('Error') == false
402
- model = DescribeDiagnoseReportResponse.new
403
- model.deserialize(response['Response'])
404
- model
405
- else
406
- code = response['Response']['Error']['Code']
407
- message = response['Response']['Error']['Message']
408
- reqid = response['Response']['RequestId']
409
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
410
- end
411
- rescue TencentCloud::Common::TencentCloudSDKException => e
412
- raise e
413
- rescue StandardError => e
414
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
415
- end
416
-
417
363
  # 查询指定域名的区域、运营商明细数据
418
364
  # 注意事项:接口尚未全面开放,未在内测名单中的账号不支持调用
419
365
 
@@ -1016,33 +962,6 @@ module TencentCloud
1016
962
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1017
963
  end
1018
964
 
1019
- # 以上诊断报告, 域名版本管理相关接口功能均废弃, 已确认现网0调用, 申请预下线,(预下线不会影响调用, 只会在接口中添加提示信息, 正式下线仍需人工确认)
1020
-
1021
- # ### <font color=red>**该接口已废弃** </font><br>
1022
- # ListDiagnoseReport 用于获取用户诊断URL访问后各个子任务的简要详情。
1023
-
1024
- # @param request: Request instance for ListDiagnoseReport.
1025
- # @type request: :class:`Tencentcloud::cdn::V20180606::ListDiagnoseReportRequest`
1026
- # @rtype: :class:`Tencentcloud::cdn::V20180606::ListDiagnoseReportResponse`
1027
- def ListDiagnoseReport(request)
1028
- body = send_request('ListDiagnoseReport', request.serialize)
1029
- response = JSON.parse(body)
1030
- if response['Response'].key?('Error') == false
1031
- model = ListDiagnoseReportResponse.new
1032
- model.deserialize(response['Response'])
1033
- model
1034
- else
1035
- code = response['Response']['Error']['Code']
1036
- message = response['Response']['Error']['Message']
1037
- reqid = response['Response']['RequestId']
1038
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1039
- end
1040
- rescue TencentCloud::Common::TencentCloudSDKException => e
1041
- raise e
1042
- rescue StandardError => e
1043
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1044
- end
1045
-
1046
965
  # 通过CLS日志计算Top信息。支持近7天的日志数据。
1047
966
 
1048
967
  # @param request: Request instance for ListTopClsLogData.
@@ -1174,15 +1174,27 @@ module TencentCloud
1174
1174
  # @param Switch: 流量防盗刷配置开关,取值有: on:开启 off:关闭
1175
1175
  # 注意:此字段可能返回 null,表示取不到有效值。
1176
1176
  # @type Switch: String
1177
+ # @param FilterRules: 流量防盗刷配置规则
1178
+ # 注意:此字段可能返回 null,表示取不到有效值。
1179
+ # @type FilterRules: Array
1177
1180
 
1178
- attr_accessor :Switch
1181
+ attr_accessor :Switch, :FilterRules
1179
1182
 
1180
- def initialize(switch=nil)
1183
+ def initialize(switch=nil, filterrules=nil)
1181
1184
  @Switch = switch
1185
+ @FilterRules = filterrules
1182
1186
  end
1183
1187
 
1184
1188
  def deserialize(params)
1185
1189
  @Switch = params['Switch']
1190
+ unless params['FilterRules'].nil?
1191
+ @FilterRules = []
1192
+ params['FilterRules'].each do |i|
1193
+ filterrules_tmp = FilterRules.new
1194
+ filterrules_tmp.deserialize(i)
1195
+ @FilterRules << filterrules_tmp
1196
+ end
1197
+ end
1186
1198
  end
1187
1199
  end
1188
1200
 
@@ -1895,38 +1907,6 @@ module TencentCloud
1895
1907
  end
1896
1908
  end
1897
1909
 
1898
- # 客户端信息
1899
- class ClientInfo < TencentCloud::Common::AbstractModel
1900
- # @param ProvName: 省份。
1901
- # 注意:此字段可能返回 null,表示取不到有效值。
1902
- # @type ProvName: String
1903
- # @param Country: 国家。
1904
- # 注意:此字段可能返回 null,表示取不到有效值。
1905
- # @type Country: String
1906
- # @param IspName: 运营商。
1907
- # 注意:此字段可能返回 null,表示取不到有效值。
1908
- # @type IspName: String
1909
- # @param Ip: 客户端IP
1910
- # 注意:此字段可能返回 null,表示取不到有效值。
1911
- # @type Ip: String
1912
-
1913
- attr_accessor :ProvName, :Country, :IspName, :Ip
1914
-
1915
- def initialize(provname=nil, country=nil, ispname=nil, ip=nil)
1916
- @ProvName = provname
1917
- @Country = country
1918
- @IspName = ispname
1919
- @Ip = ip
1920
- end
1921
-
1922
- def deserialize(params)
1923
- @ProvName = params['ProvName']
1924
- @Country = params['Country']
1925
- @IspName = params['IspName']
1926
- @Ip = params['Ip']
1927
- end
1928
- end
1929
-
1930
1910
  # 通过Cls日志,计算出来的IP每秒访问数量
1931
1911
  class ClsLogIpData < TencentCloud::Common::AbstractModel
1932
1912
  # @param ClientIp: IP
@@ -2214,46 +2194,6 @@ module TencentCloud
2214
2194
  end
2215
2195
  end
2216
2196
 
2217
- # CreateDiagnoseUrl请求参数结构体
2218
- class CreateDiagnoseUrlRequest < TencentCloud::Common::AbstractModel
2219
- # @param Url: 需诊断的url,形如:http://www.test.com/test.txt。
2220
- # @type Url: String
2221
- # @param Origin: 请求源带协议头,形如:https://console.cloud.tencent.com
2222
- # @type Origin: String
2223
-
2224
- attr_accessor :Url, :Origin
2225
-
2226
- def initialize(url=nil, origin=nil)
2227
- @Url = url
2228
- @Origin = origin
2229
- end
2230
-
2231
- def deserialize(params)
2232
- @Url = params['Url']
2233
- @Origin = params['Origin']
2234
- end
2235
- end
2236
-
2237
- # CreateDiagnoseUrl返回参数结构体
2238
- class CreateDiagnoseUrlResponse < TencentCloud::Common::AbstractModel
2239
- # @param DiagnoseLink: 系统生成的诊断链接,一个诊断链接最多可访问10次,有效期为24h。
2240
- # @type DiagnoseLink: String
2241
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2242
- # @type RequestId: String
2243
-
2244
- attr_accessor :DiagnoseLink, :RequestId
2245
-
2246
- def initialize(diagnoselink=nil, requestid=nil)
2247
- @DiagnoseLink = diagnoselink
2248
- @RequestId = requestid
2249
- end
2250
-
2251
- def deserialize(params)
2252
- @DiagnoseLink = params['DiagnoseLink']
2253
- @RequestId = params['RequestId']
2254
- end
2255
- end
2256
-
2257
2197
  # CreateEdgePackTask请求参数结构体
2258
2198
  class CreateEdgePackTaskRequest < TencentCloud::Common::AbstractModel
2259
2199
  # @param CosBucket: apk 所在的 cos 存储桶, 如 edgepack-xxxxxxxx
@@ -2902,101 +2842,6 @@ module TencentCloud
2902
2842
  end
2903
2843
  end
2904
2844
 
2905
- # DescribeDiagnoseReport请求参数结构体
2906
- class DescribeDiagnoseReportRequest < TencentCloud::Common::AbstractModel
2907
- # @param ReportId: 报告ID
2908
- # @type ReportId: String
2909
-
2910
- attr_accessor :ReportId
2911
-
2912
- def initialize(reportid=nil)
2913
- @ReportId = reportid
2914
- end
2915
-
2916
- def deserialize(params)
2917
- @ReportId = params['ReportId']
2918
- end
2919
- end
2920
-
2921
- # DescribeDiagnoseReport返回参数结构体
2922
- class DescribeDiagnoseReportResponse < TencentCloud::Common::AbstractModel
2923
- # @param BaskInfo: 诊断报告基础信息
2924
- # @type BaskInfo: :class:`Tencentcloud::Cdn.v20180606.models.DiagnoseData`
2925
- # @param CnameInfo: CNAME检测信息
2926
- # @type CnameInfo: :class:`Tencentcloud::Cdn.v20180606.models.DiagnoseData`
2927
- # @param ClientInfo: 客户端检测信息
2928
- # @type ClientInfo: :class:`Tencentcloud::Cdn.v20180606.models.DiagnoseData`
2929
- # @param DnsInfo: DNS检测信息
2930
- # @type DnsInfo: :class:`Tencentcloud::Cdn.v20180606.models.DiagnoseData`
2931
- # @param NetworkInfo: 网络检测信息
2932
- # @type NetworkInfo: :class:`Tencentcloud::Cdn.v20180606.models.DiagnoseData`
2933
- # @param OcNodeInfo: 边缘节点检测信息
2934
- # @type OcNodeInfo: :class:`Tencentcloud::Cdn.v20180606.models.DiagnoseData`
2935
- # @param MidNodeInfo: 中间源节点检测信息
2936
- # @type MidNodeInfo: :class:`Tencentcloud::Cdn.v20180606.models.DiagnoseData`
2937
- # @param OriginInfo: 源站检测信息
2938
- # @type OriginInfo: :class:`Tencentcloud::Cdn.v20180606.models.DiagnoseData`
2939
- # @param PurgeInfo: 刷新检测信息
2940
- # @type PurgeInfo: :class:`Tencentcloud::Cdn.v20180606.models.DiagnoseData`
2941
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2942
- # @type RequestId: String
2943
-
2944
- attr_accessor :BaskInfo, :CnameInfo, :ClientInfo, :DnsInfo, :NetworkInfo, :OcNodeInfo, :MidNodeInfo, :OriginInfo, :PurgeInfo, :RequestId
2945
-
2946
- def initialize(baskinfo=nil, cnameinfo=nil, clientinfo=nil, dnsinfo=nil, networkinfo=nil, ocnodeinfo=nil, midnodeinfo=nil, origininfo=nil, purgeinfo=nil, requestid=nil)
2947
- @BaskInfo = baskinfo
2948
- @CnameInfo = cnameinfo
2949
- @ClientInfo = clientinfo
2950
- @DnsInfo = dnsinfo
2951
- @NetworkInfo = networkinfo
2952
- @OcNodeInfo = ocnodeinfo
2953
- @MidNodeInfo = midnodeinfo
2954
- @OriginInfo = origininfo
2955
- @PurgeInfo = purgeinfo
2956
- @RequestId = requestid
2957
- end
2958
-
2959
- def deserialize(params)
2960
- unless params['BaskInfo'].nil?
2961
- @BaskInfo = DiagnoseData.new
2962
- @BaskInfo.deserialize(params['BaskInfo'])
2963
- end
2964
- unless params['CnameInfo'].nil?
2965
- @CnameInfo = DiagnoseData.new
2966
- @CnameInfo.deserialize(params['CnameInfo'])
2967
- end
2968
- unless params['ClientInfo'].nil?
2969
- @ClientInfo = DiagnoseData.new
2970
- @ClientInfo.deserialize(params['ClientInfo'])
2971
- end
2972
- unless params['DnsInfo'].nil?
2973
- @DnsInfo = DiagnoseData.new
2974
- @DnsInfo.deserialize(params['DnsInfo'])
2975
- end
2976
- unless params['NetworkInfo'].nil?
2977
- @NetworkInfo = DiagnoseData.new
2978
- @NetworkInfo.deserialize(params['NetworkInfo'])
2979
- end
2980
- unless params['OcNodeInfo'].nil?
2981
- @OcNodeInfo = DiagnoseData.new
2982
- @OcNodeInfo.deserialize(params['OcNodeInfo'])
2983
- end
2984
- unless params['MidNodeInfo'].nil?
2985
- @MidNodeInfo = DiagnoseData.new
2986
- @MidNodeInfo.deserialize(params['MidNodeInfo'])
2987
- end
2988
- unless params['OriginInfo'].nil?
2989
- @OriginInfo = DiagnoseData.new
2990
- @OriginInfo.deserialize(params['OriginInfo'])
2991
- end
2992
- unless params['PurgeInfo'].nil?
2993
- @PurgeInfo = DiagnoseData.new
2994
- @PurgeInfo.deserialize(params['PurgeInfo'])
2995
- end
2996
- @RequestId = params['RequestId']
2997
- end
2998
- end
2999
-
3000
2845
  # DescribeDistrictIspData请求参数结构体
3001
2846
  class DescribeDistrictIspDataRequest < TencentCloud::Common::AbstractModel
3002
2847
  # @param Domains: 域名列表,最多支持20个域名
@@ -4924,173 +4769,6 @@ module TencentCloud
4924
4769
  end
4925
4770
  end
4926
4771
 
4927
- # 诊断报告内容数据
4928
- class DiagnoseData < TencentCloud::Common::AbstractModel
4929
- # @param Data: 诊断报告内容
4930
- # 注意:此字段可能返回 null,表示取不到有效值。
4931
- # @type Data: Array
4932
- # @param Status: 当前诊断项是否正常。
4933
- # "ok":正常
4934
- # "error":异常
4935
- # "warning":"警告"
4936
- # 注意:此字段可能返回 null,表示取不到有效值。
4937
- # @type Status: String
4938
-
4939
- attr_accessor :Data, :Status
4940
-
4941
- def initialize(data=nil, status=nil)
4942
- @Data = data
4943
- @Status = status
4944
- end
4945
-
4946
- def deserialize(params)
4947
- unless params['Data'].nil?
4948
- @Data = []
4949
- params['Data'].each do |i|
4950
- diagnoseunit_tmp = DiagnoseUnit.new
4951
- diagnoseunit_tmp.deserialize(i)
4952
- @Data << diagnoseunit_tmp
4953
- end
4954
- end
4955
- @Status = params['Status']
4956
- end
4957
- end
4958
-
4959
- # 诊断信息
4960
- class DiagnoseInfo < TencentCloud::Common::AbstractModel
4961
- # @param DiagnoseUrl: 待诊断的URL。
4962
- # 注意:此字段可能返回 null,表示取不到有效值。
4963
- # @type DiagnoseUrl: String
4964
- # @param DiagnoseLink: 由系统生成的诊断链接。
4965
- # 注意:此字段可能返回 null,表示取不到有效值。
4966
- # @type DiagnoseLink: String
4967
- # @param CreateTime: 诊断创建时间。
4968
- # 注意:此字段可能返回 null,表示取不到有效值。
4969
- # @type CreateTime: String
4970
- # @param ExpireDate: 诊断链接过期时间。
4971
- # 注意:此字段可能返回 null,表示取不到有效值。
4972
- # @type ExpireDate: String
4973
- # @param VisitCount: 诊断链接当前访问次数,一个诊断链接最多可访问10次。
4974
- # 注意:此字段可能返回 null,表示取不到有效值。
4975
- # @type VisitCount: Integer
4976
- # @param ClientList: 访问诊断链接的客户端简易信息
4977
- # 注意:此字段可能返回 null,表示取不到有效值。
4978
- # @type ClientList: Array
4979
- # @param Area: 域名加速区域
4980
- # 注意:此字段可能返回 null,表示取不到有效值。
4981
- # @type Area: String
4982
-
4983
- attr_accessor :DiagnoseUrl, :DiagnoseLink, :CreateTime, :ExpireDate, :VisitCount, :ClientList, :Area
4984
-
4985
- def initialize(diagnoseurl=nil, diagnoselink=nil, createtime=nil, expiredate=nil, visitcount=nil, clientlist=nil, area=nil)
4986
- @DiagnoseUrl = diagnoseurl
4987
- @DiagnoseLink = diagnoselink
4988
- @CreateTime = createtime
4989
- @ExpireDate = expiredate
4990
- @VisitCount = visitcount
4991
- @ClientList = clientlist
4992
- @Area = area
4993
- end
4994
-
4995
- def deserialize(params)
4996
- @DiagnoseUrl = params['DiagnoseUrl']
4997
- @DiagnoseLink = params['DiagnoseLink']
4998
- @CreateTime = params['CreateTime']
4999
- @ExpireDate = params['ExpireDate']
5000
- @VisitCount = params['VisitCount']
5001
- unless params['ClientList'].nil?
5002
- @ClientList = []
5003
- params['ClientList'].each do |i|
5004
- diagnoselist_tmp = DiagnoseList.new
5005
- diagnoselist_tmp.deserialize(i)
5006
- @ClientList << diagnoselist_tmp
5007
- end
5008
- end
5009
- @Area = params['Area']
5010
- end
5011
- end
5012
-
5013
- # 客户端访问诊断URL信息列表
5014
- class DiagnoseList < TencentCloud::Common::AbstractModel
5015
- # @param DiagnoseTag: 诊断任务标签。
5016
- # 注意:此字段可能返回 null,表示取不到有效值。
5017
- # @type DiagnoseTag: String
5018
- # @param ReportId: 报告ID,用于获取详细诊断报告。
5019
- # 注意:此字段可能返回 null,表示取不到有效值。
5020
- # @type ReportId: String
5021
- # @param ClientInfo: 客户端信息。
5022
- # 注意:此字段可能返回 null,表示取不到有效值。
5023
- # @type ClientInfo: Array
5024
- # @param FinalDiagnose: 最终诊断结果。
5025
- # -1:已提交
5026
- # 0 :检测中
5027
- # 1 :检测正常
5028
- # 2 : 检测异常
5029
- # 3 : 诊断页面异常关闭
5030
- # 注意:此字段可能返回 null,表示取不到有效值。
5031
- # @type FinalDiagnose: Integer
5032
- # @param CreateTime: 诊断任务创建时间。
5033
- # 注意:此字段可能返回 null,表示取不到有效值。
5034
- # @type CreateTime: String
5035
-
5036
- attr_accessor :DiagnoseTag, :ReportId, :ClientInfo, :FinalDiagnose, :CreateTime
5037
-
5038
- def initialize(diagnosetag=nil, reportid=nil, clientinfo=nil, finaldiagnose=nil, createtime=nil)
5039
- @DiagnoseTag = diagnosetag
5040
- @ReportId = reportid
5041
- @ClientInfo = clientinfo
5042
- @FinalDiagnose = finaldiagnose
5043
- @CreateTime = createtime
5044
- end
5045
-
5046
- def deserialize(params)
5047
- @DiagnoseTag = params['DiagnoseTag']
5048
- @ReportId = params['ReportId']
5049
- unless params['ClientInfo'].nil?
5050
- @ClientInfo = []
5051
- params['ClientInfo'].each do |i|
5052
- clientinfo_tmp = ClientInfo.new
5053
- clientinfo_tmp.deserialize(i)
5054
- @ClientInfo << clientinfo_tmp
5055
- end
5056
- end
5057
- @FinalDiagnose = params['FinalDiagnose']
5058
- @CreateTime = params['CreateTime']
5059
- end
5060
- end
5061
-
5062
- # 诊断报告单元信息
5063
- class DiagnoseUnit < TencentCloud::Common::AbstractModel
5064
- # @param Key: 内容单元英文名称。
5065
- # 注意:此字段可能返回 null,表示取不到有效值。
5066
- # @type Key: String
5067
- # @param KeyText: 内容单元中文名称。
5068
- # 注意:此字段可能返回 null,表示取不到有效值。
5069
- # @type KeyText: String
5070
- # @param Value: 报告内容。
5071
- # 注意:此字段可能返回 null,表示取不到有效值。
5072
- # @type Value: String
5073
- # @param ValueText: 报告内容。
5074
- # 注意:此字段可能返回 null,表示取不到有效值。
5075
- # @type ValueText: String
5076
-
5077
- attr_accessor :Key, :KeyText, :Value, :ValueText
5078
-
5079
- def initialize(key=nil, keytext=nil, value=nil, valuetext=nil)
5080
- @Key = key
5081
- @KeyText = keytext
5082
- @Value = value
5083
- @ValueText = valuetext
5084
- end
5085
-
5086
- def deserialize(params)
5087
- @Key = params['Key']
5088
- @KeyText = params['KeyText']
5089
- @Value = params['Value']
5090
- @ValueText = params['ValueText']
5091
- end
5092
- end
5093
-
5094
4772
  # DisableClsLogTopic请求参数结构体
5095
4773
  class DisableClsLogTopicRequest < TencentCloud::Common::AbstractModel
5096
4774
  # @param LogsetId: 日志集ID
@@ -5549,6 +5227,33 @@ module TencentCloud
5549
5227
  end
5550
5228
  end
5551
5229
 
5230
+ # 防盗刷配置规则
5231
+ class FilterRules < TencentCloud::Common::AbstractModel
5232
+ # @param FilterType: 封禁类型
5233
+ # 注意:此字段可能返回 null,表示取不到有效值。
5234
+ # @type FilterType: String
5235
+ # @param RuleType: 封禁规则类型
5236
+ # 注意:此字段可能返回 null,表示取不到有效值。
5237
+ # @type RuleType: String
5238
+ # @param RulePaths: 封禁规则路径
5239
+ # 注意:此字段可能返回 null,表示取不到有效值。
5240
+ # @type RulePaths: Array
5241
+
5242
+ attr_accessor :FilterType, :RuleType, :RulePaths
5243
+
5244
+ def initialize(filtertype=nil, ruletype=nil, rulepaths=nil)
5245
+ @FilterType = filtertype
5246
+ @RuleType = ruletype
5247
+ @RulePaths = rulepaths
5248
+ end
5249
+
5250
+ def deserialize(params)
5251
+ @FilterType = params['FilterType']
5252
+ @RuleType = params['RuleType']
5253
+ @RulePaths = params['RulePaths']
5254
+ end
5255
+ end
5256
+
5552
5257
  # 回源 301/302 状态码自动跟随配置,默认为关闭状态
5553
5258
  class FollowRedirect < TencentCloud::Common::AbstractModel
5554
5259
  # @param Switch: 回源跟随配置开关,取值有:
@@ -6558,57 +6263,6 @@ module TencentCloud
6558
6263
  end
6559
6264
  end
6560
6265
 
6561
- # ListDiagnoseReport请求参数结构体
6562
- class ListDiagnoseReportRequest < TencentCloud::Common::AbstractModel
6563
- # @param KeyWords: 用于搜索诊断URL的关键字,不填时返回用户所有的诊断任务。
6564
- # @type KeyWords: String
6565
- # @param DiagnoseLink: 用于搜索诊断系统返回的诊断链接,形如:http://cdn.cloud.tencent.com/self_diagnose/xxxxx
6566
- # @type DiagnoseLink: String
6567
- # @param Origin: 请求源带协议头,形如:https://console.cloud.tencent.com
6568
- # @type Origin: String
6569
-
6570
- attr_accessor :KeyWords, :DiagnoseLink, :Origin
6571
-
6572
- def initialize(keywords=nil, diagnoselink=nil, origin=nil)
6573
- @KeyWords = keywords
6574
- @DiagnoseLink = diagnoselink
6575
- @Origin = origin
6576
- end
6577
-
6578
- def deserialize(params)
6579
- @KeyWords = params['KeyWords']
6580
- @DiagnoseLink = params['DiagnoseLink']
6581
- @Origin = params['Origin']
6582
- end
6583
- end
6584
-
6585
- # ListDiagnoseReport返回参数结构体
6586
- class ListDiagnoseReportResponse < TencentCloud::Common::AbstractModel
6587
- # @param Data: 诊断信息。
6588
- # @type Data: Array
6589
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6590
- # @type RequestId: String
6591
-
6592
- attr_accessor :Data, :RequestId
6593
-
6594
- def initialize(data=nil, requestid=nil)
6595
- @Data = data
6596
- @RequestId = requestid
6597
- end
6598
-
6599
- def deserialize(params)
6600
- unless params['Data'].nil?
6601
- @Data = []
6602
- params['Data'].each do |i|
6603
- diagnoseinfo_tmp = DiagnoseInfo.new
6604
- diagnoseinfo_tmp.deserialize(i)
6605
- @Data << diagnoseinfo_tmp
6606
- end
6607
- end
6608
- @RequestId = params['RequestId']
6609
- end
6610
- end
6611
-
6612
6266
  # ListTopClsLogData请求参数结构体
6613
6267
  class ListTopClsLogDataRequest < TencentCloud::Common::AbstractModel
6614
6268
  # @param LogsetId: 需要查询的日志集ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdn
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1189
4
+ version: 3.0.1191
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-12-24 00:00:00.000000000 Z
11
+ date: 2025-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common