tencentcloud-sdk-teo 3.0.468 → 3.0.469

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20220901/models.rb +204 -59
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3895c3bc5e8e21b61c1a1ef13d6d8fab0ac8f3ea
4
- data.tar.gz: 2e294315d789cf6778ff0977a49998dd3f317e35
3
+ metadata.gz: 4c64e9f2ab9591e845238fdb498d9f62dd956ad8
4
+ data.tar.gz: c14bfe6fb5def59f70595d537549734de3ec0467
5
5
  SHA512:
6
- metadata.gz: ccefc21b0154c1d3b1b85ec89035b81a305a230e6da0649647e22d5b0ef305fb54c23c29f4bb0b64163a32a31317ef504b3345db08f42fcfafdc395381372489
7
- data.tar.gz: 9d05984c911bcf84ac8aa542fbfbfe3d605051f3d992e129b2b2dbb8d0112449a9e5471b2cf78fb1534d6289ed07a7512c1bf3dc6f7e0fa8d303d3ca66e74a99
6
+ metadata.gz: 811d7f5ed42602ea9103683054820a48cf96ef14993772fdcc537463368e98ee26c36c0cf89faa98ff79bc1bfcedcacc554337e435c20610af1fb6bc33cfd8dd
7
+ data.tar.gz: 629313b3b59f4f3e33e46729f416762169fbd2a2033205f5bcca904cae0aec9f361a2f1f4adcb8ddf4bb053b90d97d773f3a76747ac91a9970c4c1ef5fec7677
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.468
1
+ 3.0.469
@@ -48,6 +48,7 @@ module TencentCloud
48
48
  # <li>accept:请求内容类型;</li>
49
49
  # <li>method:请求方式;</li>
50
50
  # <li>header:请求头部;</li>
51
+ # <li>app_proto:应用层协议;</li>
51
52
  # <li>sip_proto:网络层协议。</li>
52
53
  # @type MatchFrom: String
53
54
  # @param MatchParam: 匹配字符串。当 MatchFrom 为 header 时,可以填入 header 的 key 作为参数。
@@ -689,31 +690,31 @@ module TencentCloud
689
690
  # @type Domain: String
690
691
  # @param RequestUri: URI。
691
692
  # @type RequestUri: String
692
- # @param AttackType: 攻击类型。
693
- # 注意:此字段可能返回 null,表示取不到有效值。
694
- # @type AttackType: String
695
693
  # @param RequestMethod: 请求方法。
696
694
  # @type RequestMethod: String
697
695
  # @param AttackContent: 攻击内容。
698
696
  # @type AttackContent: String
699
- # @param RiskLevel: 攻击等级。
700
- # 注意:此字段可能返回 null,表示取不到有效值。
701
- # @type RiskLevel: String
702
- # @param RuleId: 规则ID。
703
- # 注意:此字段可能返回 null,表示取不到有效值。
704
- # @type RuleId: Integer
705
697
  # @param SipCountryCode: IP所在国家iso-3166中alpha-2编码,编码信息请参考[ISO-3166](https://git.woa.com/edgeone/iso-3166/blob/master/all/all.json)。
706
698
  # @type SipCountryCode: String
707
- # @param EventId: 请求(事件)ID
699
+ # @param Ua: user agent
700
+ # @type Ua: String
701
+ # @param EventId: 攻击事件ID。
708
702
  # @type EventId: String
703
+ # @param RuleId: 规则ID。
704
+ # 注意:此字段可能返回 null,表示取不到有效值。
705
+ # @type RuleId: Integer
706
+ # @param AttackType: 攻击类型。
707
+ # 注意:此字段可能返回 null,表示取不到有效值。
708
+ # @type AttackType: String
709
709
  # @param DisposalMethod: 处置方式。
710
710
  # 注意:此字段可能返回 null,表示取不到有效值。
711
711
  # @type DisposalMethod: String
712
712
  # @param HttpLog: HTTP日志。
713
713
  # 注意:此字段可能返回 null,表示取不到有效值。
714
714
  # @type HttpLog: String
715
- # @param Ua: user agent。
716
- # @type Ua: String
715
+ # @param RiskLevel: 攻击等级。
716
+ # 注意:此字段可能返回 null,表示取不到有效值。
717
+ # @type RiskLevel: String
717
718
  # @param DetectionMethod: 检出方法。
718
719
  # 注意:此字段可能返回 null,表示取不到有效值。
719
720
  # @type DetectionMethod: String
@@ -729,29 +730,33 @@ module TencentCloud
729
730
  # @param Label: Bot标签。
730
731
  # 注意:此字段可能返回 null,表示取不到有效值。
731
732
  # @type Label: String
733
+ # @param Area: 日志所属的区域。
734
+ # 注意:此字段可能返回 null,表示取不到有效值。
735
+ # @type Area: String
732
736
 
733
- attr_accessor :AttackTime, :AttackIp, :Domain, :RequestUri, :AttackType, :RequestMethod, :AttackContent, :RiskLevel, :RuleId, :SipCountryCode, :EventId, :DisposalMethod, :HttpLog, :Ua, :DetectionMethod, :Confidence, :Maliciousness, :RuleDetailList, :Label
737
+ attr_accessor :AttackTime, :AttackIp, :Domain, :RequestUri, :RequestMethod, :AttackContent, :SipCountryCode, :Ua, :EventId, :RuleId, :AttackType, :DisposalMethod, :HttpLog, :RiskLevel, :DetectionMethod, :Confidence, :Maliciousness, :RuleDetailList, :Label, :Area
734
738
 
735
- def initialize(attacktime=nil, attackip=nil, domain=nil, requesturi=nil, attacktype=nil, requestmethod=nil, attackcontent=nil, risklevel=nil, ruleid=nil, sipcountrycode=nil, eventid=nil, disposalmethod=nil, httplog=nil, ua=nil, detectionmethod=nil, confidence=nil, maliciousness=nil, ruledetaillist=nil, label=nil)
739
+ def initialize(attacktime=nil, attackip=nil, domain=nil, requesturi=nil, requestmethod=nil, attackcontent=nil, sipcountrycode=nil, ua=nil, eventid=nil, ruleid=nil, attacktype=nil, disposalmethod=nil, httplog=nil, risklevel=nil, detectionmethod=nil, confidence=nil, maliciousness=nil, ruledetaillist=nil, label=nil, area=nil)
736
740
  @AttackTime = attacktime
737
741
  @AttackIp = attackip
738
742
  @Domain = domain
739
743
  @RequestUri = requesturi
740
- @AttackType = attacktype
741
744
  @RequestMethod = requestmethod
742
745
  @AttackContent = attackcontent
743
- @RiskLevel = risklevel
744
- @RuleId = ruleid
745
746
  @SipCountryCode = sipcountrycode
747
+ @Ua = ua
746
748
  @EventId = eventid
749
+ @RuleId = ruleid
750
+ @AttackType = attacktype
747
751
  @DisposalMethod = disposalmethod
748
752
  @HttpLog = httplog
749
- @Ua = ua
753
+ @RiskLevel = risklevel
750
754
  @DetectionMethod = detectionmethod
751
755
  @Confidence = confidence
752
756
  @Maliciousness = maliciousness
753
757
  @RuleDetailList = ruledetaillist
754
758
  @Label = label
759
+ @Area = area
755
760
  end
756
761
 
757
762
  def deserialize(params)
@@ -759,16 +764,16 @@ module TencentCloud
759
764
  @AttackIp = params['AttackIp']
760
765
  @Domain = params['Domain']
761
766
  @RequestUri = params['RequestUri']
762
- @AttackType = params['AttackType']
763
767
  @RequestMethod = params['RequestMethod']
764
768
  @AttackContent = params['AttackContent']
765
- @RiskLevel = params['RiskLevel']
766
- @RuleId = params['RuleId']
767
769
  @SipCountryCode = params['SipCountryCode']
770
+ @Ua = params['Ua']
768
771
  @EventId = params['EventId']
772
+ @RuleId = params['RuleId']
773
+ @AttackType = params['AttackType']
769
774
  @DisposalMethod = params['DisposalMethod']
770
775
  @HttpLog = params['HttpLog']
771
- @Ua = params['Ua']
776
+ @RiskLevel = params['RiskLevel']
772
777
  @DetectionMethod = params['DetectionMethod']
773
778
  @Confidence = params['Confidence']
774
779
  @Maliciousness = params['Maliciousness']
@@ -781,6 +786,7 @@ module TencentCloud
781
786
  end
782
787
  end
783
788
  @Label = params['Label']
789
+ @Area = params['Area']
784
790
  end
785
791
  end
786
792
 
@@ -6452,8 +6458,6 @@ module TencentCloud
6452
6458
 
6453
6459
  # DescribeSecurityRuleId请求参数结构体
6454
6460
  class DescribeSecurityRuleIdRequest < TencentCloud::Common::AbstractModel
6455
- # @param RuleIdList: 规则Id数组。
6456
- # @type RuleIdList: Array
6457
6461
  # @param RuleType: 规则类型,取值有:
6458
6462
  # <li>waf:web托管规则;</li>
6459
6463
  # <li>acl:自定义规则;</li>
@@ -6462,33 +6466,44 @@ module TencentCloud
6462
6466
  # @type RuleType: String
6463
6467
  # @param Entity: 子域名/应用名。
6464
6468
  # @type Entity: String
6469
+ # @param RuleIdList: 规则Id数组。 当为空时查询 子域名或者应用名下所有规则
6470
+ # @type RuleIdList: Array
6471
+ # @param Domains: 子域名数组。
6472
+ # @type Domains: Array
6465
6473
 
6466
- attr_accessor :RuleIdList, :RuleType, :Entity
6474
+ attr_accessor :RuleType, :Entity, :RuleIdList, :Domains
6467
6475
 
6468
- def initialize(ruleidlist=nil, ruletype=nil, entity=nil)
6469
- @RuleIdList = ruleidlist
6476
+ def initialize(ruletype=nil, entity=nil, ruleidlist=nil, domains=nil)
6470
6477
  @RuleType = ruletype
6471
6478
  @Entity = entity
6479
+ @RuleIdList = ruleidlist
6480
+ @Domains = domains
6472
6481
  end
6473
6482
 
6474
6483
  def deserialize(params)
6475
- @RuleIdList = params['RuleIdList']
6476
6484
  @RuleType = params['RuleType']
6477
6485
  @Entity = params['Entity']
6486
+ @RuleIdList = params['RuleIdList']
6487
+ @Domains = params['Domains']
6478
6488
  end
6479
6489
  end
6480
6490
 
6481
6491
  # DescribeSecurityRuleId返回参数结构体
6482
6492
  class DescribeSecurityRuleIdResponse < TencentCloud::Common::AbstractModel
6483
- # @param WafGroupRules: 规则列表。
6493
+ # @param WafGroupRules: 托管规则类型的规则列表。
6494
+ # 注意:此字段可能返回 null,表示取不到有效值。
6484
6495
  # @type WafGroupRules: Array
6496
+ # @param SecurityRules: 自定义规则、速率限制、Bot规则的规则列表。
6497
+ # 注意:此字段可能返回 null,表示取不到有效值。
6498
+ # @type SecurityRules: Array
6485
6499
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6486
6500
  # @type RequestId: String
6487
6501
 
6488
- attr_accessor :WafGroupRules, :RequestId
6502
+ attr_accessor :WafGroupRules, :SecurityRules, :RequestId
6489
6503
 
6490
- def initialize(wafgrouprules=nil, requestid=nil)
6504
+ def initialize(wafgrouprules=nil, securityrules=nil, requestid=nil)
6491
6505
  @WafGroupRules = wafgrouprules
6506
+ @SecurityRules = securityrules
6492
6507
  @RequestId = requestid
6493
6508
  end
6494
6509
 
@@ -6501,6 +6516,14 @@ module TencentCloud
6501
6516
  @WafGroupRules << wafgrouprule_tmp
6502
6517
  end
6503
6518
  end
6519
+ unless params['SecurityRules'].nil?
6520
+ @SecurityRules = []
6521
+ params['SecurityRules'].each do |i|
6522
+ securityrule_tmp = SecurityRule.new
6523
+ securityrule_tmp.deserialize(i)
6524
+ @SecurityRules << securityrule_tmp
6525
+ end
6526
+ end
6504
6527
  @RequestId = params['RequestId']
6505
6528
  end
6506
6529
  end
@@ -9309,8 +9332,16 @@ module TencentCloud
9309
9332
  # <li>ip:对ip进行匹配;</li>
9310
9333
  # <li>area:对ip所属地区匹配。</li>
9311
9334
  # @type MatchFrom: String
9312
- # @param MatchContent: 匹配内容。
9313
- # @type MatchContent: String
9335
+ # @param Operator: 规则的匹配方式,默认为空代表等于。
9336
+ # 取值有:
9337
+ # <li> is_emty:配置为空;</li>
9338
+ # <li> not_exists:配置为不存在;</li>
9339
+ # <li> include:包含;</li>
9340
+ # <li> not_include:不包含;</li>
9341
+ # <li> equal:等于;</li>
9342
+ # <li> not_equal:不等于。</li>
9343
+ # 注意:此字段可能返回 null,表示取不到有效值。
9344
+ # @type Operator: String
9314
9345
  # @param RuleID: 规则id。仅出参使用。
9315
9346
  # @type RuleID: Integer
9316
9347
  # @param UpdateTime: 更新时间。仅出参使用。
@@ -9320,25 +9351,34 @@ module TencentCloud
9320
9351
  # <li> off:未启用。</li>
9321
9352
  # 注意:此字段可能返回 null,表示取不到有效值。
9322
9353
  # @type Status: String
9354
+ # @param RuleName: 规则名。
9355
+ # 注意:此字段可能返回 null,表示取不到有效值。
9356
+ # @type RuleName: String
9357
+ # @param MatchContent: 匹配内容。当 Operator为is_emty 或not_exists时,此值允许为空。
9358
+ # @type MatchContent: String
9323
9359
 
9324
- attr_accessor :Action, :MatchFrom, :MatchContent, :RuleID, :UpdateTime, :Status
9360
+ attr_accessor :Action, :MatchFrom, :Operator, :RuleID, :UpdateTime, :Status, :RuleName, :MatchContent
9325
9361
 
9326
- def initialize(action=nil, matchfrom=nil, matchcontent=nil, ruleid=nil, updatetime=nil, status=nil)
9362
+ def initialize(action=nil, matchfrom=nil, operator=nil, ruleid=nil, updatetime=nil, status=nil, rulename=nil, matchcontent=nil)
9327
9363
  @Action = action
9328
9364
  @MatchFrom = matchfrom
9329
- @MatchContent = matchcontent
9365
+ @Operator = operator
9330
9366
  @RuleID = ruleid
9331
9367
  @UpdateTime = updatetime
9332
9368
  @Status = status
9369
+ @RuleName = rulename
9370
+ @MatchContent = matchcontent
9333
9371
  end
9334
9372
 
9335
9373
  def deserialize(params)
9336
9374
  @Action = params['Action']
9337
9375
  @MatchFrom = params['MatchFrom']
9338
- @MatchContent = params['MatchContent']
9376
+ @Operator = params['Operator']
9339
9377
  @RuleID = params['RuleID']
9340
9378
  @UpdateTime = params['UpdateTime']
9341
9379
  @Status = params['Status']
9380
+ @RuleName = params['RuleName']
9381
+ @MatchContent = params['MatchContent']
9342
9382
  end
9343
9383
  end
9344
9384
 
@@ -11774,17 +11814,21 @@ module TencentCloud
11774
11814
  # <li>monitor:观察;</li>
11775
11815
  # <li>alg:挑战。</li>
11776
11816
  # @type Action: String
11817
+ # @param RuleId: 规则id,仅出参使用。
11818
+ # @type RuleId: Integer
11777
11819
 
11778
- attr_accessor :Switch, :Action
11820
+ attr_accessor :Switch, :Action, :RuleId
11779
11821
 
11780
- def initialize(switch=nil, action=nil)
11822
+ def initialize(switch=nil, action=nil, ruleid=nil)
11781
11823
  @Switch = switch
11782
11824
  @Action = action
11825
+ @RuleId = ruleid
11783
11826
  end
11784
11827
 
11785
11828
  def deserialize(params)
11786
11829
  @Switch = params['Switch']
11787
11830
  @Action = params['Action']
11831
+ @RuleId = params['RuleId']
11788
11832
  end
11789
11833
  end
11790
11834
 
@@ -12696,10 +12740,20 @@ module TencentCloud
12696
12740
 
12697
12741
  # 命中规则信息
12698
12742
  class SecHitRuleInfo < TencentCloud::Common::AbstractModel
12743
+ # @param ZoneId: 站点ID。
12744
+ # @type ZoneId: String
12699
12745
  # @param RuleId: 规则ID。
12700
12746
  # @type RuleId: Integer
12701
12747
  # @param RuleTypeName: 规则类型名称。
12702
12748
  # @type RuleTypeName: String
12749
+ # @param HitTime: 命中时间,采用unix秒级时间戳。
12750
+ # @type HitTime: Integer
12751
+ # @param RequestNum: 请求数。
12752
+ # @type RequestNum: Integer
12753
+ # @param Description: 规则描述。
12754
+ # @type Description: String
12755
+ # @param Domain: 子域名。
12756
+ # @type Domain: String
12703
12757
  # @param Action: 执行动作(处置方式),取值有:
12704
12758
  # <li>trans :通过 ;</li>
12705
12759
  # <li>alg :算法挑战 ;</li>
@@ -12709,14 +12763,6 @@ module TencentCloud
12709
12763
  # <li>page :返回指定页面 ;</li>
12710
12764
  # <li>monitor :观察 。</li>
12711
12765
  # @type Action: String
12712
- # @param HitTime: 命中时间,采用unix秒级时间戳。
12713
- # @type HitTime: Integer
12714
- # @param RequestNum: 请求数。
12715
- # @type RequestNum: Integer
12716
- # @param Description: 规则描述。
12717
- # @type Description: String
12718
- # @param Domain: 子域名。
12719
- # @type Domain: String
12720
12766
  # @param BotLabel: Bot标签,取值有:
12721
12767
  # <li>evil_bot:恶意Bot;</li>
12722
12768
  # <li>suspect_bot:疑似Bot;</li>
@@ -12724,29 +12770,45 @@ module TencentCloud
12724
12770
  # <li>normal:正常请求;</li>
12725
12771
  # <li>none:未分类。</li>
12726
12772
  # @type BotLabel: String
12727
-
12728
- attr_accessor :RuleId, :RuleTypeName, :Action, :HitTime, :RequestNum, :Description, :Domain, :BotLabel
12729
-
12730
- def initialize(ruleid=nil, ruletypename=nil, action=nil, hittime=nil, requestnum=nil, description=nil, domain=nil, botlabel=nil)
12773
+ # @param RuleEnabled: 规则是否启用。
12774
+ # @type RuleEnabled: Boolean
12775
+ # @param AlarmEnabled: 规则是否启用监控告警。
12776
+ # @type AlarmEnabled: Boolean
12777
+ # @param RuleDeleted: 规则是否存在,取值有:
12778
+ # <li>true: 规则不存在;</li>
12779
+ # <li>false: 规则存在。</li>
12780
+ # @type RuleDeleted: Boolean
12781
+
12782
+ attr_accessor :ZoneId, :RuleId, :RuleTypeName, :HitTime, :RequestNum, :Description, :Domain, :Action, :BotLabel, :RuleEnabled, :AlarmEnabled, :RuleDeleted
12783
+
12784
+ def initialize(zoneid=nil, ruleid=nil, ruletypename=nil, hittime=nil, requestnum=nil, description=nil, domain=nil, action=nil, botlabel=nil, ruleenabled=nil, alarmenabled=nil, ruledeleted=nil)
12785
+ @ZoneId = zoneid
12731
12786
  @RuleId = ruleid
12732
12787
  @RuleTypeName = ruletypename
12733
- @Action = action
12734
12788
  @HitTime = hittime
12735
12789
  @RequestNum = requestnum
12736
12790
  @Description = description
12737
12791
  @Domain = domain
12792
+ @Action = action
12738
12793
  @BotLabel = botlabel
12794
+ @RuleEnabled = ruleenabled
12795
+ @AlarmEnabled = alarmenabled
12796
+ @RuleDeleted = ruledeleted
12739
12797
  end
12740
12798
 
12741
12799
  def deserialize(params)
12800
+ @ZoneId = params['ZoneId']
12742
12801
  @RuleId = params['RuleId']
12743
12802
  @RuleTypeName = params['RuleTypeName']
12744
- @Action = params['Action']
12745
12803
  @HitTime = params['HitTime']
12746
12804
  @RequestNum = params['RequestNum']
12747
12805
  @Description = params['Description']
12748
12806
  @Domain = params['Domain']
12807
+ @Action = params['Action']
12749
12808
  @BotLabel = params['BotLabel']
12809
+ @RuleEnabled = params['RuleEnabled']
12810
+ @AlarmEnabled = params['AlarmEnabled']
12811
+ @RuleDeleted = params['RuleDeleted']
12750
12812
  end
12751
12813
  end
12752
12814
 
@@ -12779,10 +12841,24 @@ module TencentCloud
12779
12841
  # @param AttackContent: 攻击内容。
12780
12842
  # 注意:此字段可能返回 null,表示取不到有效值。
12781
12843
  # @type AttackContent: String
12782
-
12783
- attr_accessor :RuleId, :Action, :RiskLevel, :RuleLevel, :Description, :RuleTypeName, :AttackContent
12784
-
12785
- def initialize(ruleid=nil, action=nil, risklevel=nil, rulelevel=nil, description=nil, ruletypename=nil, attackcontent=nil)
12844
+ # @param RuleType: 规则类型,取值有:
12845
+ # <li>waf: 托管规则;</li>
12846
+ # <li>acl:自定义规则;</li>
12847
+ # <li>rate:速率限制规则;</li>
12848
+ # <li>bot:bot防护规则。</li>
12849
+ # @type RuleType: String
12850
+ # @param RuleEnabled: 规则是否开启。
12851
+ # @type RuleEnabled: Boolean
12852
+ # @param RuleDeleted: 规则是否存在,取值有:
12853
+ # <li>true: 规则不存在;</li>
12854
+ # <li>false: 规则存在。</li>
12855
+ # @type RuleDeleted: Boolean
12856
+ # @param AlarmEnabled: 规则是否启用监控告警。
12857
+ # @type AlarmEnabled: Boolean
12858
+
12859
+ attr_accessor :RuleId, :Action, :RiskLevel, :RuleLevel, :Description, :RuleTypeName, :AttackContent, :RuleType, :RuleEnabled, :RuleDeleted, :AlarmEnabled
12860
+
12861
+ def initialize(ruleid=nil, action=nil, risklevel=nil, rulelevel=nil, description=nil, ruletypename=nil, attackcontent=nil, ruletype=nil, ruleenabled=nil, ruledeleted=nil, alarmenabled=nil)
12786
12862
  @RuleId = ruleid
12787
12863
  @Action = action
12788
12864
  @RiskLevel = risklevel
@@ -12790,6 +12866,10 @@ module TencentCloud
12790
12866
  @Description = description
12791
12867
  @RuleTypeName = ruletypename
12792
12868
  @AttackContent = attackcontent
12869
+ @RuleType = ruletype
12870
+ @RuleEnabled = ruleenabled
12871
+ @RuleDeleted = ruledeleted
12872
+ @AlarmEnabled = alarmenabled
12793
12873
  end
12794
12874
 
12795
12875
  def deserialize(params)
@@ -12800,6 +12880,10 @@ module TencentCloud
12800
12880
  @Description = params['Description']
12801
12881
  @RuleTypeName = params['RuleTypeName']
12802
12882
  @AttackContent = params['AttackContent']
12883
+ @RuleType = params['RuleType']
12884
+ @RuleEnabled = params['RuleEnabled']
12885
+ @RuleDeleted = params['RuleDeleted']
12886
+ @AlarmEnabled = params['AlarmEnabled']
12803
12887
  end
12804
12888
  end
12805
12889
 
@@ -12913,6 +12997,62 @@ module TencentCloud
12913
12997
  end
12914
12998
  end
12915
12999
 
13000
+ # 托管规则详情
13001
+ class SecurityRule < TencentCloud::Common::AbstractModel
13002
+ # @param RuleId: 规则id。
13003
+ # @type RuleId: Integer
13004
+ # @param Description: 规则描述。
13005
+ # @type Description: String
13006
+ # @param RuleTypeName: 规则类型名。
13007
+ # @type RuleTypeName: String
13008
+ # @param RuleLevelDesc: 等级描述。
13009
+ # 注意:此字段可能返回 null,表示取不到有效值。
13010
+ # @type RuleLevelDesc: String
13011
+ # @param RuleTypeId: 规则类型id。
13012
+ # 注意:此字段可能返回 null,表示取不到有效值。
13013
+ # @type RuleTypeId: Integer
13014
+ # @param RuleTypeDesc: 规则类型描述。
13015
+ # 注意:此字段可能返回 null,表示取不到有效值。
13016
+ # @type RuleTypeDesc: String
13017
+ # @param RuleTags: 规则标签。部分类型的规则不存在该参数。
13018
+ # 注意:此字段可能返回 null,表示取不到有效值。
13019
+ # @type RuleTags: Array
13020
+ # @param Status: 状态,取值有:
13021
+ # <li>on:开启;</li>
13022
+ # <li>off:关闭。</li>为空时对应接口Status无意义,例如仅查询规则详情时。
13023
+ # 注意:此字段可能返回 null,表示取不到有效值。
13024
+ # @type Status: String
13025
+ # @param Entity: 子域名/应用名
13026
+ # 注意:此字段可能返回 null,表示取不到有效值。
13027
+ # @type Entity: String
13028
+
13029
+ attr_accessor :RuleId, :Description, :RuleTypeName, :RuleLevelDesc, :RuleTypeId, :RuleTypeDesc, :RuleTags, :Status, :Entity
13030
+
13031
+ def initialize(ruleid=nil, description=nil, ruletypename=nil, ruleleveldesc=nil, ruletypeid=nil, ruletypedesc=nil, ruletags=nil, status=nil, entity=nil)
13032
+ @RuleId = ruleid
13033
+ @Description = description
13034
+ @RuleTypeName = ruletypename
13035
+ @RuleLevelDesc = ruleleveldesc
13036
+ @RuleTypeId = ruletypeid
13037
+ @RuleTypeDesc = ruletypedesc
13038
+ @RuleTags = ruletags
13039
+ @Status = status
13040
+ @Entity = entity
13041
+ end
13042
+
13043
+ def deserialize(params)
13044
+ @RuleId = params['RuleId']
13045
+ @Description = params['Description']
13046
+ @RuleTypeName = params['RuleTypeName']
13047
+ @RuleLevelDesc = params['RuleLevelDesc']
13048
+ @RuleTypeId = params['RuleTypeId']
13049
+ @RuleTypeDesc = params['RuleTypeDesc']
13050
+ @RuleTags = params['RuleTags']
13051
+ @Status = params['Status']
13052
+ @Entity = params['Entity']
13053
+ end
13054
+ end
13055
+
12916
13056
  # 安全类型配置项。
12917
13057
  class SecurityType < TencentCloud::Common::AbstractModel
12918
13058
  # @param Switch: 安全类型开关,取值为:
@@ -14214,10 +14354,13 @@ module TencentCloud
14214
14354
  # @param ReqMethod: 请求类型。
14215
14355
  # 注意:此字段可能返回 null,表示取不到有效值。
14216
14356
  # @type ReqMethod: String
14357
+ # @param Area: 日志所属区域。
14358
+ # 注意:此字段可能返回 null,表示取不到有效值。
14359
+ # @type Area: String
14217
14360
 
14218
- attr_accessor :EventId, :AttackIp, :Domain, :HttpLog, :SipCountryCode, :AttackTime, :RequestUri, :AttackContent, :RuleDetailList, :ReqMethod
14361
+ attr_accessor :EventId, :AttackIp, :Domain, :HttpLog, :SipCountryCode, :AttackTime, :RequestUri, :AttackContent, :RuleDetailList, :ReqMethod, :Area
14219
14362
 
14220
- def initialize(eventid=nil, attackip=nil, domain=nil, httplog=nil, sipcountrycode=nil, attacktime=nil, requesturi=nil, attackcontent=nil, ruledetaillist=nil, reqmethod=nil)
14363
+ def initialize(eventid=nil, attackip=nil, domain=nil, httplog=nil, sipcountrycode=nil, attacktime=nil, requesturi=nil, attackcontent=nil, ruledetaillist=nil, reqmethod=nil, area=nil)
14221
14364
  @EventId = eventid
14222
14365
  @AttackIp = attackip
14223
14366
  @Domain = domain
@@ -14228,6 +14371,7 @@ module TencentCloud
14228
14371
  @AttackContent = attackcontent
14229
14372
  @RuleDetailList = ruledetaillist
14230
14373
  @ReqMethod = reqmethod
14374
+ @Area = area
14231
14375
  end
14232
14376
 
14233
14377
  def deserialize(params)
@@ -14248,6 +14392,7 @@ module TencentCloud
14248
14392
  end
14249
14393
  end
14250
14394
  @ReqMethod = params['ReqMethod']
14395
+ @Area = params['Area']
14251
14396
  end
14252
14397
  end
14253
14398
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.468
4
+ version: 3.0.469
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-08 00:00:00.000000000 Z
11
+ date: 2022-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common