tencentcloud-sdk-waf 3.0.666 → 3.0.668

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180125/models.rb +319 -59
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d427abba7f0763c3d3d8722459c9ec8bd457bb9
4
- data.tar.gz: 44c74dd3eefa03b0380e8b9980b3f55932b188c5
3
+ metadata.gz: 171dd2473b3019685f5a0718216751c9d7305085
4
+ data.tar.gz: 07c220364efa5db8caabc3eb55c13da0d446e8b3
5
5
  SHA512:
6
- metadata.gz: 3fb367650584b75ac645aa8330eb1a34b31e7a3b60074c7d58198a4899b80f44d13e5194b8885eec125cd4831cbf200ab756d94e0390634360e36b494310d8ad
7
- data.tar.gz: 6ec335ba6e1655414f93b59477ede2125f24252a7aa8a766fabaeafdfb4508c2cfd1afada0c2f7ecbbf5caff3d2fda941dec4798253f99e79c8691be602affbf
6
+ metadata.gz: 7b1890ce910647c862d986990ca5a1a18484e565f3d464fc32af61e0801f4e00bc5440e8ebcff0e9e147deb07c135880e857aba3023ffd27b0e624b193b06f6a
7
+ data.tar.gz: 347313fef58d9397352f4c5d1d37d8369fb4d8a545cd179735aaa2a725175d1545637c64ce57dca4d730e4878ac9c9438e8ec6bc024cc45d936d3ded5602557a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.666
1
+ 3.0.668
@@ -347,18 +347,22 @@ module TencentCloud
347
347
  class AddAntiFakeUrlResponse < TencentCloud::Common::AbstractModel
348
348
  # @param Result: 结果
349
349
  # @type Result: String
350
+ # @param Id: 规则ID
351
+ # @type Id: String
350
352
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
351
353
  # @type RequestId: String
352
354
 
353
- attr_accessor :Result, :RequestId
355
+ attr_accessor :Result, :Id, :RequestId
354
356
 
355
- def initialize(result=nil, requestid=nil)
357
+ def initialize(result=nil, id=nil, requestid=nil)
356
358
  @Result = result
359
+ @Id = id
357
360
  @RequestId = requestid
358
361
  end
359
362
 
360
363
  def deserialize(params)
361
364
  @Result = params['Result']
365
+ @Id = params['Id']
362
366
  @RequestId = params['RequestId']
363
367
  end
364
368
  end
@@ -367,9 +371,9 @@ module TencentCloud
367
371
  class AddAntiInfoLeakRulesRequest < TencentCloud::Common::AbstractModel
368
372
  # @param Domain: 域名
369
373
  # @type Domain: String
370
- # @param Name: 名称
374
+ # @param Name: 规则名称
371
375
  # @type Name: String
372
- # @param ActionType: 动作
376
+ # @param ActionType: 动作,0(告警)、1(替换)、2(仅显示前四位)、3(仅显示后四位)、4(阻断)
373
377
  # @type ActionType: Integer
374
378
  # @param Strategies: 策略详情
375
379
  # @type Strategies: Array
@@ -404,16 +408,20 @@ module TencentCloud
404
408
 
405
409
  # AddAntiInfoLeakRules返回参数结构体
406
410
  class AddAntiInfoLeakRulesResponse < TencentCloud::Common::AbstractModel
411
+ # @param RuleId: 规则ID
412
+ # @type RuleId: Integer
407
413
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
408
414
  # @type RequestId: String
409
415
 
410
- attr_accessor :RequestId
416
+ attr_accessor :RuleId, :RequestId
411
417
 
412
- def initialize(requestid=nil)
418
+ def initialize(ruleid=nil, requestid=nil)
419
+ @RuleId = ruleid
413
420
  @RequestId = requestid
414
421
  end
415
422
 
416
423
  def deserialize(params)
424
+ @RuleId = params['RuleId']
417
425
  @RequestId = params['RequestId']
418
426
  end
419
427
  end
@@ -934,6 +942,9 @@ module TencentCloud
934
942
 
935
943
  # 多域名黑白名单列表Ip
936
944
  class BatchIpAccessControlItem < TencentCloud::Common::AbstractModel
945
+ # @param Id: mongo表自增Id
946
+ # 注意:此字段可能返回 null,表示取不到有效值。
947
+ # @type Id: String
937
948
  # @param ActionType: 黑名单42或白名单40
938
949
  # @type ActionType: Integer
939
950
  # @param Ip: 黑白名单的IP
@@ -949,9 +960,10 @@ module TencentCloud
949
960
  # @param Hosts: 域名列表
950
961
  # @type Hosts: Array
951
962
 
952
- attr_accessor :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :Hosts
963
+ attr_accessor :Id, :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :Hosts
953
964
 
954
- def initialize(actiontype=nil, ip=nil, note=nil, source=nil, tsversion=nil, validts=nil, hosts=nil)
965
+ def initialize(id=nil, actiontype=nil, ip=nil, note=nil, source=nil, tsversion=nil, validts=nil, hosts=nil)
966
+ @Id = id
955
967
  @ActionType = actiontype
956
968
  @Ip = ip
957
969
  @Note = note
@@ -962,6 +974,7 @@ module TencentCloud
962
974
  end
963
975
 
964
976
  def deserialize(params)
977
+ @Id = params['Id']
965
978
  @ActionType = params['ActionType']
966
979
  @Ip = params['Ip']
967
980
  @Note = params['Note']
@@ -1001,10 +1014,16 @@ module TencentCloud
1001
1014
  # @param RenewFlag: 续费标志
1002
1015
  # 注意:此字段可能返回 null,表示取不到有效值。
1003
1016
  # @type RenewFlag: Integer
1017
+ # @param BotCPWaf: 购买页bot6折
1018
+ # 注意:此字段可能返回 null,表示取不到有效值。
1019
+ # @type BotCPWaf: Integer
1020
+ # @param BotNPWaf: 控制台买bot5折
1021
+ # 注意:此字段可能返回 null,表示取不到有效值。
1022
+ # @type BotNPWaf: Integer
1004
1023
 
1005
- attr_accessor :ResourceIds, :Status, :Region, :BeginTime, :EndTime, :InquireNum, :UsedNum, :Type, :RenewFlag
1024
+ attr_accessor :ResourceIds, :Status, :Region, :BeginTime, :EndTime, :InquireNum, :UsedNum, :Type, :RenewFlag, :BotCPWaf, :BotNPWaf
1006
1025
 
1007
- def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, inquirenum=nil, usednum=nil, type=nil, renewflag=nil)
1026
+ def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, inquirenum=nil, usednum=nil, type=nil, renewflag=nil, botcpwaf=nil, botnpwaf=nil)
1008
1027
  @ResourceIds = resourceids
1009
1028
  @Status = status
1010
1029
  @Region = region
@@ -1014,6 +1033,8 @@ module TencentCloud
1014
1033
  @UsedNum = usednum
1015
1034
  @Type = type
1016
1035
  @RenewFlag = renewflag
1036
+ @BotCPWaf = botcpwaf
1037
+ @BotNPWaf = botnpwaf
1017
1038
  end
1018
1039
 
1019
1040
  def deserialize(params)
@@ -1026,6 +1047,8 @@ module TencentCloud
1026
1047
  @UsedNum = params['UsedNum']
1027
1048
  @Type = params['Type']
1028
1049
  @RenewFlag = params['RenewFlag']
1050
+ @BotCPWaf = params['BotCPWaf']
1051
+ @BotNPWaf = params['BotNPWaf']
1029
1052
  end
1030
1053
  end
1031
1054
 
@@ -1709,19 +1732,23 @@ module TencentCloud
1709
1732
  # @type Name: String
1710
1733
  # @param Edition: clb-waf或者sparta-waf
1711
1734
  # @type Edition: String
1735
+ # @param RuleId: 规则Id
1736
+ # @type RuleId: Integer
1712
1737
 
1713
- attr_accessor :Domain, :Name, :Edition
1738
+ attr_accessor :Domain, :Name, :Edition, :RuleId
1714
1739
 
1715
- def initialize(domain=nil, name=nil, edition=nil)
1740
+ def initialize(domain=nil, name=nil, edition=nil, ruleid=nil)
1716
1741
  @Domain = domain
1717
1742
  @Name = name
1718
1743
  @Edition = edition
1744
+ @RuleId = ruleid
1719
1745
  end
1720
1746
 
1721
1747
  def deserialize(params)
1722
1748
  @Domain = params['Domain']
1723
1749
  @Name = params['Name']
1724
1750
  @Edition = params['Edition']
1751
+ @RuleId = params['RuleId']
1725
1752
  end
1726
1753
  end
1727
1754
 
@@ -1730,18 +1757,22 @@ module TencentCloud
1730
1757
  # @param Data: 一般为null
1731
1758
  # 注意:此字段可能返回 null,表示取不到有效值。
1732
1759
  # @type Data: String
1760
+ # @param RuleId: 操作的规则Id
1761
+ # @type RuleId: Integer
1733
1762
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1734
1763
  # @type RequestId: String
1735
1764
 
1736
- attr_accessor :Data, :RequestId
1765
+ attr_accessor :Data, :RuleId, :RequestId
1737
1766
 
1738
- def initialize(data=nil, requestid=nil)
1767
+ def initialize(data=nil, ruleid=nil, requestid=nil)
1739
1768
  @Data = data
1769
+ @RuleId = ruleid
1740
1770
  @RequestId = requestid
1741
1771
  end
1742
1772
 
1743
1773
  def deserialize(params)
1744
1774
  @Data = params['Data']
1775
+ @RuleId = params['RuleId']
1745
1776
  @RequestId = params['RequestId']
1746
1777
  end
1747
1778
  end
@@ -1954,16 +1985,19 @@ module TencentCloud
1954
1985
  # @type Domain: String
1955
1986
  # @param Items: 删除的ip数组
1956
1987
  # @type Items: Array
1988
+ # @param IsId: 若IsId字段为True,则Items列表元素需为Id,否则为IP
1989
+ # @type IsId: Boolean
1957
1990
  # @param DeleteAll: 是否删除对应的域名下的所有黑/白IP名单,true表示全部删除,false表示只删除指定ip名单
1958
1991
  # @type DeleteAll: Boolean
1959
1992
  # @param SourceType: 是否为多域名黑白名单
1960
1993
  # @type SourceType: String
1961
1994
 
1962
- attr_accessor :Domain, :Items, :DeleteAll, :SourceType
1995
+ attr_accessor :Domain, :Items, :IsId, :DeleteAll, :SourceType
1963
1996
 
1964
- def initialize(domain=nil, items=nil, deleteall=nil, sourcetype=nil)
1997
+ def initialize(domain=nil, items=nil, isid=nil, deleteall=nil, sourcetype=nil)
1965
1998
  @Domain = domain
1966
1999
  @Items = items
2000
+ @IsId = isid
1967
2001
  @DeleteAll = deleteall
1968
2002
  @SourceType = sourcetype
1969
2003
  end
@@ -1971,6 +2005,7 @@ module TencentCloud
1971
2005
  def deserialize(params)
1972
2006
  @Domain = params['Domain']
1973
2007
  @Items = params['Items']
2008
+ @IsId = params['IsId']
1974
2009
  @DeleteAll = params['DeleteAll']
1975
2010
  @SourceType = params['SourceType']
1976
2011
  end
@@ -2008,17 +2043,21 @@ module TencentCloud
2008
2043
  # @type Domain: String
2009
2044
  # @param Edition: clb-waf 或者 sprta-waf
2010
2045
  # @type Edition: String
2046
+ # @param SessionID: 要删除的SessionID
2047
+ # @type SessionID: Integer
2011
2048
 
2012
- attr_accessor :Domain, :Edition
2049
+ attr_accessor :Domain, :Edition, :SessionID
2013
2050
 
2014
- def initialize(domain=nil, edition=nil)
2051
+ def initialize(domain=nil, edition=nil, sessionid=nil)
2015
2052
  @Domain = domain
2016
2053
  @Edition = edition
2054
+ @SessionID = sessionid
2017
2055
  end
2018
2056
 
2019
2057
  def deserialize(params)
2020
2058
  @Domain = params['Domain']
2021
2059
  @Edition = params['Edition']
2060
+ @SessionID = params['SessionID']
2022
2061
  end
2023
2062
  end
2024
2063
 
@@ -2151,15 +2190,21 @@ module TencentCloud
2151
2190
  # @type Query: String
2152
2191
  # @param FieldName: 需要分析统计的字段名
2153
2192
  # @type FieldName: String
2193
+ # @param Sort: 排序字段,升序asc,降序desc,默认降序desc
2194
+ # @type Sort: String
2195
+ # @param Count: 返回的top数,默认返回top5
2196
+ # @type Count: Integer
2154
2197
 
2155
- attr_accessor :TopicId, :From, :To, :Query, :FieldName
2198
+ attr_accessor :TopicId, :From, :To, :Query, :FieldName, :Sort, :Count
2156
2199
 
2157
- def initialize(topicid=nil, from=nil, to=nil, query=nil, fieldname=nil)
2200
+ def initialize(topicid=nil, from=nil, to=nil, query=nil, fieldname=nil, sort=nil, count=nil)
2158
2201
  @TopicId = topicid
2159
2202
  @From = from
2160
2203
  @To = to
2161
2204
  @Query = query
2162
2205
  @FieldName = fieldname
2206
+ @Sort = sort
2207
+ @Count = count
2163
2208
  end
2164
2209
 
2165
2210
  def deserialize(params)
@@ -2168,6 +2213,8 @@ module TencentCloud
2168
2213
  @To = params['To']
2169
2214
  @Query = params['Query']
2170
2215
  @FieldName = params['FieldName']
2216
+ @Sort = params['Sort']
2217
+ @Count = params['Count']
2171
2218
  end
2172
2219
  end
2173
2220
 
@@ -2698,12 +2745,21 @@ module TencentCloud
2698
2745
  # @param ApiRiskEventCount: api风险事件数量
2699
2746
  # 注意:此字段可能返回 null,表示取不到有效值。
2700
2747
  # @type ApiRiskEventCount: Integer
2748
+ # @param IPBlackCount: 黑名单总数
2749
+ # 注意:此字段可能返回 null,表示取不到有效值。
2750
+ # @type IPBlackCount: Integer
2751
+ # @param TamperCount: 防篡改总数
2752
+ # 注意:此字段可能返回 null,表示取不到有效值。
2753
+ # @type TamperCount: Integer
2754
+ # @param LeakCount: 信息泄露总数
2755
+ # 注意:此字段可能返回 null,表示取不到有效值。
2756
+ # @type LeakCount: Integer
2701
2757
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2702
2758
  # @type RequestId: String
2703
2759
 
2704
- attr_accessor :AccessCount, :AttackCount, :ACLCount, :CCCount, :BotCount, :ApiAssetsCount, :ApiRiskEventCount, :RequestId
2760
+ attr_accessor :AccessCount, :AttackCount, :ACLCount, :CCCount, :BotCount, :ApiAssetsCount, :ApiRiskEventCount, :IPBlackCount, :TamperCount, :LeakCount, :RequestId
2705
2761
 
2706
- def initialize(accesscount=nil, attackcount=nil, aclcount=nil, cccount=nil, botcount=nil, apiassetscount=nil, apiriskeventcount=nil, requestid=nil)
2762
+ def initialize(accesscount=nil, attackcount=nil, aclcount=nil, cccount=nil, botcount=nil, apiassetscount=nil, apiriskeventcount=nil, ipblackcount=nil, tampercount=nil, leakcount=nil, requestid=nil)
2707
2763
  @AccessCount = accesscount
2708
2764
  @AttackCount = attackcount
2709
2765
  @ACLCount = aclcount
@@ -2711,6 +2767,9 @@ module TencentCloud
2711
2767
  @BotCount = botcount
2712
2768
  @ApiAssetsCount = apiassetscount
2713
2769
  @ApiRiskEventCount = apiriskeventcount
2770
+ @IPBlackCount = ipblackcount
2771
+ @TamperCount = tampercount
2772
+ @LeakCount = leakcount
2714
2773
  @RequestId = requestid
2715
2774
  end
2716
2775
 
@@ -2722,6 +2781,9 @@ module TencentCloud
2722
2781
  @BotCount = params['BotCount']
2723
2782
  @ApiAssetsCount = params['ApiAssetsCount']
2724
2783
  @ApiRiskEventCount = params['ApiRiskEventCount']
2784
+ @IPBlackCount = params['IPBlackCount']
2785
+ @TamperCount = params['TamperCount']
2786
+ @LeakCount = params['LeakCount']
2725
2787
  @RequestId = params['RequestId']
2726
2788
  end
2727
2789
  end
@@ -3889,10 +3951,12 @@ module TencentCloud
3889
3951
  # @type Sort: String
3890
3952
  # @param Ip: ip
3891
3953
  # @type Ip: String
3954
+ # @param ValidStatus: 生效状态
3955
+ # @type ValidStatus: Integer
3892
3956
 
3893
- attr_accessor :Domain, :Count, :ActionType, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :OffSet, :Limit, :Source, :Sort, :Ip
3957
+ attr_accessor :Domain, :Count, :ActionType, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :OffSet, :Limit, :Source, :Sort, :Ip, :ValidStatus
3894
3958
 
3895
- def initialize(domain=nil, count=nil, actiontype=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, offset=nil, limit=nil, source=nil, sort=nil, ip=nil)
3959
+ def initialize(domain=nil, count=nil, actiontype=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, offset=nil, limit=nil, source=nil, sort=nil, ip=nil, validstatus=nil)
3896
3960
  @Domain = domain
3897
3961
  @Count = count
3898
3962
  @ActionType = actiontype
@@ -3905,6 +3969,7 @@ module TencentCloud
3905
3969
  @Source = source
3906
3970
  @Sort = sort
3907
3971
  @Ip = ip
3972
+ @ValidStatus = validstatus
3908
3973
  end
3909
3974
 
3910
3975
  def deserialize(params)
@@ -3920,6 +3985,7 @@ module TencentCloud
3920
3985
  @Source = params['Source']
3921
3986
  @Sort = params['Sort']
3922
3987
  @Ip = params['Ip']
3988
+ @ValidStatus = params['ValidStatus']
3923
3989
  end
3924
3990
  end
3925
3991
 
@@ -4043,20 +4109,18 @@ module TencentCloud
4043
4109
  # @type Edition: String
4044
4110
  # @param InstanceID: WAF实例ID,不传则不过滤
4045
4111
  # @type InstanceID: String
4046
- # @param MetricName: 十三个值可选:
4112
+ # @param MetricName: 十一个值可选:
4047
4113
  # access-峰值qps趋势图
4048
4114
  # botAccess- bot峰值qps趋势图
4049
4115
  # down-下行峰值带宽趋势图
4050
4116
  # up-上行峰值带宽趋势图
4051
4117
  # attack-Web攻击总数趋势图
4052
4118
  # cc-CC攻击总数趋势图
4053
- # StatusServerError-WAF返回给客户端状态码次数趋势图
4054
- # StatusClientError-WAF返回给客户端状态码次数趋势图
4055
- # StatusRedirect-WAF返回给客户端状态码次数趋势图
4056
- # StatusOk-WAF返回给客户端状态码次数趋势图
4057
- # UpstreamServerError-源站返回给WAF状态码次数趋势图
4058
- # UpstreamClientError-源站返回给WAF状态码次数趋势图
4059
- # UpstreamRedirect-源站返回给WAF状态码次数趋势图
4119
+ # bw-黑IP攻击总数趋势图
4120
+ # tamper-防篡改攻击总数趋势图
4121
+ # leak-防泄露攻击总数趋势图
4122
+ # acl-访问控制攻击总数趋势图
4123
+ # http_status-状态码各次数趋势图
4060
4124
  # @type MetricName: String
4061
4125
 
4062
4126
  attr_accessor :FromTime, :ToTime, :Domain, :Edition, :InstanceID, :MetricName
@@ -4276,15 +4340,19 @@ module TencentCloud
4276
4340
  class DescribeRuleLimitRequest < TencentCloud::Common::AbstractModel
4277
4341
  # @param Domain: 域名
4278
4342
  # @type Domain: String
4343
+ # @param InstanceId: 实例Id
4344
+ # @type InstanceId: String
4279
4345
 
4280
- attr_accessor :Domain
4346
+ attr_accessor :Domain, :InstanceId
4281
4347
 
4282
- def initialize(domain=nil)
4348
+ def initialize(domain=nil, instanceid=nil)
4283
4349
  @Domain = domain
4350
+ @InstanceId = instanceid
4284
4351
  end
4285
4352
 
4286
4353
  def deserialize(params)
4287
4354
  @Domain = params['Domain']
4355
+ @InstanceId = params['InstanceId']
4288
4356
  end
4289
4357
  end
4290
4358
 
@@ -4549,15 +4617,19 @@ module TencentCloud
4549
4617
  class DescribeWafAutoDenyRulesRequest < TencentCloud::Common::AbstractModel
4550
4618
  # @param Domain: 域名
4551
4619
  # @type Domain: String
4620
+ # @param InstanceId: 实例Id
4621
+ # @type InstanceId: String
4552
4622
 
4553
- attr_accessor :Domain
4623
+ attr_accessor :Domain, :InstanceId
4554
4624
 
4555
- def initialize(domain=nil)
4625
+ def initialize(domain=nil, instanceid=nil)
4556
4626
  @Domain = domain
4627
+ @InstanceId = instanceid
4557
4628
  end
4558
4629
 
4559
4630
  def deserialize(params)
4560
4631
  @Domain = params['Domain']
4632
+ @InstanceId = params['InstanceId']
4561
4633
  end
4562
4634
  end
4563
4635
 
@@ -4571,16 +4643,19 @@ module TencentCloud
4571
4643
  # @type DenyTimeThreshold: Integer
4572
4644
  # @param DefenseStatus: 自动封禁状态
4573
4645
  # @type DefenseStatus: Integer
4646
+ # @param HWState: 重保护网域名状态
4647
+ # @type HWState: Integer
4574
4648
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4575
4649
  # @type RequestId: String
4576
4650
 
4577
- attr_accessor :AttackThreshold, :TimeThreshold, :DenyTimeThreshold, :DefenseStatus, :RequestId
4651
+ attr_accessor :AttackThreshold, :TimeThreshold, :DenyTimeThreshold, :DefenseStatus, :HWState, :RequestId
4578
4652
 
4579
- def initialize(attackthreshold=nil, timethreshold=nil, denytimethreshold=nil, defensestatus=nil, requestid=nil)
4653
+ def initialize(attackthreshold=nil, timethreshold=nil, denytimethreshold=nil, defensestatus=nil, hwstate=nil, requestid=nil)
4580
4654
  @AttackThreshold = attackthreshold
4581
4655
  @TimeThreshold = timethreshold
4582
4656
  @DenyTimeThreshold = denytimethreshold
4583
4657
  @DefenseStatus = defensestatus
4658
+ @HWState = hwstate
4584
4659
  @RequestId = requestid
4585
4660
  end
4586
4661
 
@@ -4589,6 +4664,7 @@ module TencentCloud
4589
4664
  @TimeThreshold = params['TimeThreshold']
4590
4665
  @DenyTimeThreshold = params['DenyTimeThreshold']
4591
4666
  @DefenseStatus = params['DefenseStatus']
4667
+ @HWState = params['HWState']
4592
4668
  @RequestId = params['RequestId']
4593
4669
  end
4594
4670
  end
@@ -5950,6 +6026,58 @@ module TencentCloud
5950
6026
  end
5951
6027
  end
5952
6028
 
6029
+ # 混合云节点资源信息
6030
+ class HybridPkg < TencentCloud::Common::AbstractModel
6031
+ # @param ResourceIds: 资源id
6032
+ # 注意:此字段可能返回 null,表示取不到有效值。
6033
+ # @type ResourceIds: String
6034
+ # @param Status: 状态
6035
+ # 注意:此字段可能返回 null,表示取不到有效值。
6036
+ # @type Status: Integer
6037
+ # @param Region: 地域
6038
+ # 注意:此字段可能返回 null,表示取不到有效值。
6039
+ # @type Region: Integer
6040
+ # @param BeginTime: 开始时间
6041
+ # 注意:此字段可能返回 null,表示取不到有效值。
6042
+ # @type BeginTime: String
6043
+ # @param EndTime: 结束时间
6044
+ # 注意:此字段可能返回 null,表示取不到有效值。
6045
+ # @type EndTime: String
6046
+ # @param InquireNum: 申请数量
6047
+ # 注意:此字段可能返回 null,表示取不到有效值。
6048
+ # @type InquireNum: Integer
6049
+ # @param UsedNum: 使用数量
6050
+ # 注意:此字段可能返回 null,表示取不到有效值。
6051
+ # @type UsedNum: Integer
6052
+ # @param RenewFlag: 续费标志
6053
+ # 注意:此字段可能返回 null,表示取不到有效值。
6054
+ # @type RenewFlag: Integer
6055
+
6056
+ attr_accessor :ResourceIds, :Status, :Region, :BeginTime, :EndTime, :InquireNum, :UsedNum, :RenewFlag
6057
+
6058
+ def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, inquirenum=nil, usednum=nil, renewflag=nil)
6059
+ @ResourceIds = resourceids
6060
+ @Status = status
6061
+ @Region = region
6062
+ @BeginTime = begintime
6063
+ @EndTime = endtime
6064
+ @InquireNum = inquirenum
6065
+ @UsedNum = usednum
6066
+ @RenewFlag = renewflag
6067
+ end
6068
+
6069
+ def deserialize(params)
6070
+ @ResourceIds = params['ResourceIds']
6071
+ @Status = params['Status']
6072
+ @Region = params['Region']
6073
+ @BeginTime = params['BeginTime']
6074
+ @EndTime = params['EndTime']
6075
+ @InquireNum = params['InquireNum']
6076
+ @UsedNum = params['UsedNum']
6077
+ @RenewFlag = params['RenewFlag']
6078
+ end
6079
+ end
6080
+
5953
6081
  # 一个实例的详细信息
5954
6082
  class InstanceInfo < TencentCloud::Common::AbstractModel
5955
6083
  # @param InstanceId: id
@@ -6025,10 +6153,16 @@ module TencentCloud
6025
6153
  # @param IsAPISecurityTrial: 是否api 安全试用
6026
6154
  # 注意:此字段可能返回 null,表示取不到有效值。
6027
6155
  # @type IsAPISecurityTrial: Integer
6156
+ # @param MajorEventsPkg: 重保包
6157
+ # 注意:此字段可能返回 null,表示取不到有效值。
6158
+ # @type MajorEventsPkg: :class:`Tencentcloud::Waf.v20180125.models.MajorEventsPkg`
6159
+ # @param HybridPkg: 混合云子节点包
6160
+ # 注意:此字段可能返回 null,表示取不到有效值。
6161
+ # @type HybridPkg: :class:`Tencentcloud::Waf.v20180125.models.HybridPkg`
6028
6162
 
6029
- attr_accessor :InstanceId, :InstanceName, :ResourceIds, :Region, :PayMode, :RenewFlag, :Mode, :Level, :ValidTime, :BeginTime, :DomainCount, :SubDomainLimit, :MainDomainCount, :MainDomainLimit, :MaxQPS, :QPS, :DomainPkg, :AppId, :Edition, :FraudPkg, :BotPkg, :BotQPS, :ElasticBilling, :AttackLogPost, :MaxBandwidth, :APISecurity, :QpsStandard, :BandwidthStandard, :Status, :SandboxQps, :IsAPISecurityTrial
6163
+ attr_accessor :InstanceId, :InstanceName, :ResourceIds, :Region, :PayMode, :RenewFlag, :Mode, :Level, :ValidTime, :BeginTime, :DomainCount, :SubDomainLimit, :MainDomainCount, :MainDomainLimit, :MaxQPS, :QPS, :DomainPkg, :AppId, :Edition, :FraudPkg, :BotPkg, :BotQPS, :ElasticBilling, :AttackLogPost, :MaxBandwidth, :APISecurity, :QpsStandard, :BandwidthStandard, :Status, :SandboxQps, :IsAPISecurityTrial, :MajorEventsPkg, :HybridPkg
6030
6164
 
6031
- def initialize(instanceid=nil, instancename=nil, resourceids=nil, region=nil, paymode=nil, renewflag=nil, mode=nil, level=nil, validtime=nil, begintime=nil, domaincount=nil, subdomainlimit=nil, maindomaincount=nil, maindomainlimit=nil, maxqps=nil, qps=nil, domainpkg=nil, appid=nil, edition=nil, fraudpkg=nil, botpkg=nil, botqps=nil, elasticbilling=nil, attacklogpost=nil, maxbandwidth=nil, apisecurity=nil, qpsstandard=nil, bandwidthstandard=nil, status=nil, sandboxqps=nil, isapisecuritytrial=nil)
6165
+ def initialize(instanceid=nil, instancename=nil, resourceids=nil, region=nil, paymode=nil, renewflag=nil, mode=nil, level=nil, validtime=nil, begintime=nil, domaincount=nil, subdomainlimit=nil, maindomaincount=nil, maindomainlimit=nil, maxqps=nil, qps=nil, domainpkg=nil, appid=nil, edition=nil, fraudpkg=nil, botpkg=nil, botqps=nil, elasticbilling=nil, attacklogpost=nil, maxbandwidth=nil, apisecurity=nil, qpsstandard=nil, bandwidthstandard=nil, status=nil, sandboxqps=nil, isapisecuritytrial=nil, majoreventspkg=nil, hybridpkg=nil)
6032
6166
  @InstanceId = instanceid
6033
6167
  @InstanceName = instancename
6034
6168
  @ResourceIds = resourceids
@@ -6060,6 +6194,8 @@ module TencentCloud
6060
6194
  @Status = status
6061
6195
  @SandboxQps = sandboxqps
6062
6196
  @IsAPISecurityTrial = isapisecuritytrial
6197
+ @MajorEventsPkg = majoreventspkg
6198
+ @HybridPkg = hybridpkg
6063
6199
  end
6064
6200
 
6065
6201
  def deserialize(params)
@@ -6109,6 +6245,14 @@ module TencentCloud
6109
6245
  @Status = params['Status']
6110
6246
  @SandboxQps = params['SandboxQps']
6111
6247
  @IsAPISecurityTrial = params['IsAPISecurityTrial']
6248
+ unless params['MajorEventsPkg'].nil?
6249
+ @MajorEventsPkg = MajorEventsPkg.new
6250
+ @MajorEventsPkg.deserialize(params['MajorEventsPkg'])
6251
+ end
6252
+ unless params['HybridPkg'].nil?
6253
+ @HybridPkg = HybridPkg.new
6254
+ @HybridPkg.deserialize(params['HybridPkg'])
6255
+ end
6112
6256
  end
6113
6257
  end
6114
6258
 
@@ -6142,6 +6286,9 @@ module TencentCloud
6142
6286
 
6143
6287
  # ip黑白名单
6144
6288
  class IpAccessControlItem < TencentCloud::Common::AbstractModel
6289
+ # @param Id: mongo表自增Id
6290
+ # 注意:此字段可能返回 null,表示取不到有效值。
6291
+ # @type Id: String
6145
6292
  # @param ActionType: 动作
6146
6293
  # @type ActionType: Integer
6147
6294
  # @param Ip: ip
@@ -6155,25 +6302,32 @@ module TencentCloud
6155
6302
  # @type TsVersion: Integer
6156
6303
  # @param ValidTs: 有效截止时间戳
6157
6304
  # @type ValidTs: Integer
6305
+ # @param ValidStatus: 生效状态
6306
+ # 注意:此字段可能返回 null,表示取不到有效值。
6307
+ # @type ValidStatus: Integer
6158
6308
 
6159
- attr_accessor :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs
6309
+ attr_accessor :Id, :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :ValidStatus
6160
6310
 
6161
- def initialize(actiontype=nil, ip=nil, note=nil, source=nil, tsversion=nil, validts=nil)
6311
+ def initialize(id=nil, actiontype=nil, ip=nil, note=nil, source=nil, tsversion=nil, validts=nil, validstatus=nil)
6312
+ @Id = id
6162
6313
  @ActionType = actiontype
6163
6314
  @Ip = ip
6164
6315
  @Note = note
6165
6316
  @Source = source
6166
6317
  @TsVersion = tsversion
6167
6318
  @ValidTs = validts
6319
+ @ValidStatus = validstatus
6168
6320
  end
6169
6321
 
6170
6322
  def deserialize(params)
6323
+ @Id = params['Id']
6171
6324
  @ActionType = params['ActionType']
6172
6325
  @Ip = params['Ip']
6173
6326
  @Note = params['Note']
6174
6327
  @Source = params['Source']
6175
6328
  @TsVersion = params['TsVersion']
6176
6329
  @ValidTs = params['ValidTs']
6330
+ @ValidStatus = params['ValidStatus']
6177
6331
  end
6178
6332
  end
6179
6333
 
@@ -6395,6 +6549,68 @@ module TencentCloud
6395
6549
  end
6396
6550
  end
6397
6551
 
6552
+ # 重保防护资源信息
6553
+ class MajorEventsPkg < TencentCloud::Common::AbstractModel
6554
+ # @param ResourceIds: 资源id
6555
+ # 注意:此字段可能返回 null,表示取不到有效值。
6556
+ # @type ResourceIds: String
6557
+ # @param Status: 状态
6558
+ # 注意:此字段可能返回 null,表示取不到有效值。
6559
+ # @type Status: Integer
6560
+ # @param Region: 地域
6561
+ # 注意:此字段可能返回 null,表示取不到有效值。
6562
+ # @type Region: Integer
6563
+ # @param BeginTime: 开始时间
6564
+ # 注意:此字段可能返回 null,表示取不到有效值。
6565
+ # @type BeginTime: String
6566
+ # @param EndTime: 结束时间
6567
+ # 注意:此字段可能返回 null,表示取不到有效值。
6568
+ # @type EndTime: String
6569
+ # @param InquireNum: 申请数量
6570
+ # 注意:此字段可能返回 null,表示取不到有效值。
6571
+ # @type InquireNum: Integer
6572
+ # @param UsedNum: 使用数量
6573
+ # 注意:此字段可能返回 null,表示取不到有效值。
6574
+ # @type UsedNum: Integer
6575
+ # @param RenewFlag: 续费标志
6576
+ # 注意:此字段可能返回 null,表示取不到有效值。
6577
+ # @type RenewFlag: Integer
6578
+ # @param BillingItem: 计费项
6579
+ # 注意:此字段可能返回 null,表示取不到有效值。
6580
+ # @type BillingItem: String
6581
+ # @param HWState: 护网包状态
6582
+ # 注意:此字段可能返回 null,表示取不到有效值。
6583
+ # @type HWState: Integer
6584
+
6585
+ attr_accessor :ResourceIds, :Status, :Region, :BeginTime, :EndTime, :InquireNum, :UsedNum, :RenewFlag, :BillingItem, :HWState
6586
+
6587
+ def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, inquirenum=nil, usednum=nil, renewflag=nil, billingitem=nil, hwstate=nil)
6588
+ @ResourceIds = resourceids
6589
+ @Status = status
6590
+ @Region = region
6591
+ @BeginTime = begintime
6592
+ @EndTime = endtime
6593
+ @InquireNum = inquirenum
6594
+ @UsedNum = usednum
6595
+ @RenewFlag = renewflag
6596
+ @BillingItem = billingitem
6597
+ @HWState = hwstate
6598
+ end
6599
+
6600
+ def deserialize(params)
6601
+ @ResourceIds = params['ResourceIds']
6602
+ @Status = params['Status']
6603
+ @Region = params['Region']
6604
+ @BeginTime = params['BeginTime']
6605
+ @EndTime = params['EndTime']
6606
+ @InquireNum = params['InquireNum']
6607
+ @UsedNum = params['UsedNum']
6608
+ @RenewFlag = params['RenewFlag']
6609
+ @BillingItem = params['BillingItem']
6610
+ @HWState = params['HWState']
6611
+ end
6612
+ end
6613
+
6398
6614
  # ModifyAccessPeriod请求参数结构体
6399
6615
  class ModifyAccessPeriodRequest < TencentCloud::Common::AbstractModel
6400
6616
  # @param Period: 访问日志保存期限,范围为[1, 30]
@@ -7944,31 +8160,43 @@ module TencentCloud
7944
8160
  # @type Cc: Integer
7945
8161
  # @param BotAccess: Bot qps
7946
8162
  # @type BotAccess: Integer
7947
- # @param StatusServerError: WAF返回给客户端状态码次数
8163
+ # @param StatusServerError: WAF返回给客户端状态码5xx次数
7948
8164
  # 注意:此字段可能返回 null,表示取不到有效值。
7949
8165
  # @type StatusServerError: Integer
7950
- # @param StatusClientError: WAF返回给客户端状态码次数
8166
+ # @param StatusClientError: WAF返回给客户端状态码4xx次数
7951
8167
  # 注意:此字段可能返回 null,表示取不到有效值。
7952
8168
  # @type StatusClientError: Integer
7953
- # @param StatusRedirect: WAF返回给客户端状态码次数
8169
+ # @param StatusRedirect: WAF返回给客户端状态码302次数
7954
8170
  # 注意:此字段可能返回 null,表示取不到有效值。
7955
8171
  # @type StatusRedirect: Integer
7956
- # @param StatusOk: WAF返回给客户端状态码次数
8172
+ # @param StatusOk: WAF返回给客户端状态码202次数
7957
8173
  # 注意:此字段可能返回 null,表示取不到有效值。
7958
8174
  # @type StatusOk: Integer
7959
- # @param UpstreamServerError: 源站返回给WAF状态码次数
8175
+ # @param UpstreamServerError: 源站返回给WAF状态码5xx次数
7960
8176
  # 注意:此字段可能返回 null,表示取不到有效值。
7961
8177
  # @type UpstreamServerError: Integer
7962
- # @param UpstreamClientError: 源站返回给WAF状态码次数
8178
+ # @param UpstreamClientError: 源站返回给WAF状态码4xx次数
7963
8179
  # 注意:此字段可能返回 null,表示取不到有效值。
7964
8180
  # @type UpstreamClientError: Integer
7965
- # @param UpstreamRedirect: 源站返回给WAF状态码次数
8181
+ # @param UpstreamRedirect: 源站返回给WAF状态码302次数
7966
8182
  # 注意:此字段可能返回 null,表示取不到有效值。
7967
8183
  # @type UpstreamRedirect: Integer
8184
+ # @param BlackIP: 黑名单次数
8185
+ # 注意:此字段可能返回 null,表示取不到有效值。
8186
+ # @type BlackIP: Integer
8187
+ # @param Tamper: 防篡改次数
8188
+ # 注意:此字段可能返回 null,表示取不到有效值。
8189
+ # @type Tamper: Integer
8190
+ # @param Leak: 信息防泄露次数
8191
+ # 注意:此字段可能返回 null,表示取不到有效值。
8192
+ # @type Leak: Integer
8193
+ # @param ACL: 访问控制
8194
+ # 注意:此字段可能返回 null,表示取不到有效值。
8195
+ # @type ACL: Integer
7968
8196
 
7969
- attr_accessor :Time, :Access, :Up, :Down, :Attack, :Cc, :BotAccess, :StatusServerError, :StatusClientError, :StatusRedirect, :StatusOk, :UpstreamServerError, :UpstreamClientError, :UpstreamRedirect
8197
+ attr_accessor :Time, :Access, :Up, :Down, :Attack, :Cc, :BotAccess, :StatusServerError, :StatusClientError, :StatusRedirect, :StatusOk, :UpstreamServerError, :UpstreamClientError, :UpstreamRedirect, :BlackIP, :Tamper, :Leak, :ACL
7970
8198
 
7971
- def initialize(time=nil, access=nil, up=nil, down=nil, attack=nil, cc=nil, botaccess=nil, statusservererror=nil, statusclienterror=nil, statusredirect=nil, statusok=nil, upstreamservererror=nil, upstreamclienterror=nil, upstreamredirect=nil)
8199
+ def initialize(time=nil, access=nil, up=nil, down=nil, attack=nil, cc=nil, botaccess=nil, statusservererror=nil, statusclienterror=nil, statusredirect=nil, statusok=nil, upstreamservererror=nil, upstreamclienterror=nil, upstreamredirect=nil, blackip=nil, tamper=nil, leak=nil, acl=nil)
7972
8200
  @Time = time
7973
8201
  @Access = access
7974
8202
  @Up = up
@@ -7983,6 +8211,10 @@ module TencentCloud
7983
8211
  @UpstreamServerError = upstreamservererror
7984
8212
  @UpstreamClientError = upstreamclienterror
7985
8213
  @UpstreamRedirect = upstreamredirect
8214
+ @BlackIP = blackip
8215
+ @Tamper = tamper
8216
+ @Leak = leak
8217
+ @ACL = acl
7986
8218
  end
7987
8219
 
7988
8220
  def deserialize(params)
@@ -8000,6 +8232,10 @@ module TencentCloud
8000
8232
  @UpstreamServerError = params['UpstreamServerError']
8001
8233
  @UpstreamClientError = params['UpstreamClientError']
8002
8234
  @UpstreamRedirect = params['UpstreamRedirect']
8235
+ @BlackIP = params['BlackIP']
8236
+ @Tamper = params['Tamper']
8237
+ @Leak = params['Leak']
8238
+ @ACL = params['ACL']
8003
8239
  end
8004
8240
  end
8005
8241
 
@@ -8887,10 +9123,14 @@ module TencentCloud
8887
9123
  # @type Type: Integer
8888
9124
  # @param EventId: 添加规则的来源事件id
8889
9125
  # @type EventId: String
9126
+ # @param SessionApplied: 规则需要启用的SessionID
9127
+ # @type SessionApplied: Array
9128
+ # @param RuleId: 规则ID,新增时填0
9129
+ # @type RuleId: Integer
8890
9130
 
8891
- attr_accessor :Domain, :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :OptionsArr, :Edition, :Type, :EventId
9131
+ attr_accessor :Domain, :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :OptionsArr, :Edition, :Type, :EventId, :SessionApplied, :RuleId
8892
9132
 
8893
- def initialize(domain=nil, name=nil, status=nil, advance=nil, limit=nil, interval=nil, url=nil, matchfunc=nil, actiontype=nil, priority=nil, validtime=nil, optionsarr=nil, edition=nil, type=nil, eventid=nil)
9133
+ def initialize(domain=nil, name=nil, status=nil, advance=nil, limit=nil, interval=nil, url=nil, matchfunc=nil, actiontype=nil, priority=nil, validtime=nil, optionsarr=nil, edition=nil, type=nil, eventid=nil, sessionapplied=nil, ruleid=nil)
8894
9134
  @Domain = domain
8895
9135
  @Name = name
8896
9136
  @Status = status
@@ -8906,6 +9146,8 @@ module TencentCloud
8906
9146
  @Edition = edition
8907
9147
  @Type = type
8908
9148
  @EventId = eventid
9149
+ @SessionApplied = sessionapplied
9150
+ @RuleId = ruleid
8909
9151
  end
8910
9152
 
8911
9153
  def deserialize(params)
@@ -8924,6 +9166,8 @@ module TencentCloud
8924
9166
  @Edition = params['Edition']
8925
9167
  @Type = params['Type']
8926
9168
  @EventId = params['EventId']
9169
+ @SessionApplied = params['SessionApplied']
9170
+ @RuleId = params['RuleId']
8927
9171
  end
8928
9172
  end
8929
9173
 
@@ -8932,18 +9176,22 @@ module TencentCloud
8932
9176
  # @param Data: 一般为null
8933
9177
  # 注意:此字段可能返回 null,表示取不到有效值。
8934
9178
  # @type Data: String
9179
+ # @param RuleId: 操作的RuleId
9180
+ # @type RuleId: Integer
8935
9181
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8936
9182
  # @type RequestId: String
8937
9183
 
8938
- attr_accessor :Data, :RequestId
9184
+ attr_accessor :Data, :RuleId, :RequestId
8939
9185
 
8940
- def initialize(data=nil, requestid=nil)
9186
+ def initialize(data=nil, ruleid=nil, requestid=nil)
8941
9187
  @Data = data
9188
+ @RuleId = ruleid
8942
9189
  @RequestId = requestid
8943
9190
  end
8944
9191
 
8945
9192
  def deserialize(params)
8946
9193
  @Data = params['Data']
9194
+ @RuleId = params['RuleId']
8947
9195
  @RequestId = params['RequestId']
8948
9196
  end
8949
9197
  end
@@ -8954,16 +9202,19 @@ module TencentCloud
8954
9202
  # @type Domain: String
8955
9203
  # @param Items: ip 参数列表,json数组由ip,source,note,action,valid_ts组成。ip对应配置的ip地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))
8956
9204
  # @type Items: Array
9205
+ # @param InstanceId: 实例Id
9206
+ # @type InstanceId: String
8957
9207
  # @param Edition: WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
8958
9208
  # @type Edition: String
8959
9209
  # @param SourceType: 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空
8960
9210
  # @type SourceType: String
8961
9211
 
8962
- attr_accessor :Domain, :Items, :Edition, :SourceType
9212
+ attr_accessor :Domain, :Items, :InstanceId, :Edition, :SourceType
8963
9213
 
8964
- def initialize(domain=nil, items=nil, edition=nil, sourcetype=nil)
9214
+ def initialize(domain=nil, items=nil, instanceid=nil, edition=nil, sourcetype=nil)
8965
9215
  @Domain = domain
8966
9216
  @Items = items
9217
+ @InstanceId = instanceid
8967
9218
  @Edition = edition
8968
9219
  @SourceType = sourcetype
8969
9220
  end
@@ -8971,6 +9222,7 @@ module TencentCloud
8971
9222
  def deserialize(params)
8972
9223
  @Domain = params['Domain']
8973
9224
  @Items = params['Items']
9225
+ @InstanceId = params['InstanceId']
8974
9226
  @Edition = params['Edition']
8975
9227
  @SourceType = params['SourceType']
8976
9228
  end
@@ -9020,10 +9272,14 @@ module TencentCloud
9020
9272
  # @type EndOffset: String
9021
9273
  # @param Edition: 版本
9022
9274
  # @type Edition: String
9275
+ # @param SessionName: Session名
9276
+ # @type SessionName: String
9277
+ # @param SessionID: Session对应ID
9278
+ # @type SessionID: Integer
9023
9279
 
9024
- attr_accessor :Domain, :Source, :Category, :KeyOrStartMat, :EndMat, :StartOffset, :EndOffset, :Edition
9280
+ attr_accessor :Domain, :Source, :Category, :KeyOrStartMat, :EndMat, :StartOffset, :EndOffset, :Edition, :SessionName, :SessionID
9025
9281
 
9026
- def initialize(domain=nil, source=nil, category=nil, keyorstartmat=nil, endmat=nil, startoffset=nil, endoffset=nil, edition=nil)
9282
+ def initialize(domain=nil, source=nil, category=nil, keyorstartmat=nil, endmat=nil, startoffset=nil, endoffset=nil, edition=nil, sessionname=nil, sessionid=nil)
9027
9283
  @Domain = domain
9028
9284
  @Source = source
9029
9285
  @Category = category
@@ -9032,6 +9288,8 @@ module TencentCloud
9032
9288
  @StartOffset = startoffset
9033
9289
  @EndOffset = endoffset
9034
9290
  @Edition = edition
9291
+ @SessionName = sessionname
9292
+ @SessionID = sessionid
9035
9293
  end
9036
9294
 
9037
9295
  def deserialize(params)
@@ -9043,6 +9301,8 @@ module TencentCloud
9043
9301
  @StartOffset = params['StartOffset']
9044
9302
  @EndOffset = params['EndOffset']
9045
9303
  @Edition = params['Edition']
9304
+ @SessionName = params['SessionName']
9305
+ @SessionID = params['SessionID']
9046
9306
  end
9047
9307
  end
9048
9308
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-waf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.666
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-25 00:00:00.000000000 Z
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,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - lib/tencentcloud-sdk-waf.rb
36
37
  - lib/v20180125/models.rb
37
38
  - lib/v20180125/client.rb
38
- - lib/tencentcloud-sdk-waf.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: