tencentcloud-sdk-teo 3.0.402 → 3.0.404
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220106/models.rb +463 -146
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 3e2386da0593ae945541306f2741ef87cde6dc7e
         | 
| 4 | 
            +
              data.tar.gz: aa18fb2de84b8d0cda956e21f548f34db7be671f
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 1f8b8a840b7fdeec74df1ee267b1e846c4eab7417f3e409f74a783aec2bbfc156349fcc446a11165e49321b9026f646e12bc5cdff538221b91e98d69427c9b8d
         | 
| 7 | 
            +
              data.tar.gz: 7722137f61729f193ddb8f09eea0cc3b044fe6fa4574dc723d4380861d576b4610c68f4b06e8d57bea05f931038a8b8b9aa89bd4a2ea9745e807e620cc9b1698
         | 
    
        data/lib/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            3.0. | 
| 1 | 
            +
            3.0.404
         | 
    
        data/lib/v20220106/models.rb
    CHANGED
    
    | @@ -47,44 +47,56 @@ module TencentCloud | |
| 47 47 |  | 
| 48 48 | 
             
                  # ACL用户规则
         | 
| 49 49 | 
             
                  class ACLUserRule < TencentCloud::Common::AbstractModel
         | 
| 50 | 
            -
                    # @param RuleName:  | 
| 50 | 
            +
                    # @param RuleName: 规则名。
         | 
| 51 51 | 
             
                    # @type RuleName: String
         | 
| 52 | 
            -
                    # @param Action:  | 
| 52 | 
            +
                    # @param Action: 处罚动作。
         | 
| 53 | 
            +
                    # 1. trans 放行
         | 
| 54 | 
            +
                    # 2. drop 拦截
         | 
| 55 | 
            +
                    # 3. monitor 观察
         | 
| 56 | 
            +
                    # 4. ban IP封禁
         | 
| 57 | 
            +
                    # 5. redirect 重定向
         | 
| 58 | 
            +
                    # 6. page 指定页面
         | 
| 59 | 
            +
                    # 7. alg Javascript挑战
         | 
| 53 60 | 
             
                    # @type Action: String
         | 
| 54 | 
            -
                    # @param RuleStatus:  | 
| 61 | 
            +
                    # @param RuleStatus: 规则状态。
         | 
| 62 | 
            +
                    # 1. on 规则生效
         | 
| 63 | 
            +
                    # 2. off 规则失效
         | 
| 55 64 | 
             
                    # @type RuleStatus: String
         | 
| 56 | 
            -
                    # @param Conditions: ACL | 
| 65 | 
            +
                    # @param Conditions: ACL规则。
         | 
| 57 66 | 
             
                    # @type Conditions: Array
         | 
| 58 | 
            -
                    # @param RulePriority:  | 
| 67 | 
            +
                    # @param RulePriority: 规则优先级,0-100。
         | 
| 59 68 | 
             
                    # @type RulePriority: Integer
         | 
| 60 | 
            -
                    # @param RuleID: 规则id
         | 
| 69 | 
            +
                    # @param RuleID: 规则id。
         | 
| 61 70 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 62 71 | 
             
                    # @type RuleID: Integer
         | 
| 63 | 
            -
                    # @param UpdateTime:  | 
| 72 | 
            +
                    # @param UpdateTime: 更新时间。
         | 
| 64 73 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 65 74 | 
             
                    # @type UpdateTime: String
         | 
| 66 | 
            -
                    # @param PunishTime: ip | 
| 75 | 
            +
                    # @param PunishTime: ip封禁的惩罚时间,0-2天
         | 
| 67 76 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 68 77 | 
             
                    # @type PunishTime: Integer
         | 
| 69 | 
            -
                    # @param PunishTimeUnit: ip | 
| 78 | 
            +
                    # @param PunishTimeUnit: ip封禁的惩罚时间单位。
         | 
| 79 | 
            +
                    # 1. second 秒
         | 
| 80 | 
            +
                    # 2. 分钟 minutes
         | 
| 81 | 
            +
                    # 3. hour 小时
         | 
| 70 82 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 71 83 | 
             
                    # @type PunishTimeUnit: String
         | 
| 72 | 
            -
                    # @param  | 
| 73 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 74 | 
            -
                    # @type Name: String
         | 
| 75 | 
            -
                    # @param PageId: 自定义返回页面的实例id
         | 
| 84 | 
            +
                    # @param PageId: 自定义返回页面的实例id。
         | 
| 76 85 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 77 86 | 
             
                    # @type PageId: Integer
         | 
| 78 | 
            -
                    # @param  | 
| 87 | 
            +
                    # @param Name: 自定义返回页面的名称。
         | 
| 88 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 89 | 
            +
                    # @type Name: String
         | 
| 90 | 
            +
                    # @param RedirectUrl: 重定向时候的地址,必须为本用户接入的站点子域名。
         | 
| 79 91 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 80 92 | 
             
                    # @type RedirectUrl: String
         | 
| 81 | 
            -
                    # @param ResponseCode:  | 
| 93 | 
            +
                    # @param ResponseCode: 重定向时候的返回码。
         | 
| 82 94 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 83 95 | 
             
                    # @type ResponseCode: Integer
         | 
| 84 96 |  | 
| 85 | 
            -
                    attr_accessor :RuleName, :Action, :RuleStatus, :Conditions, :RulePriority, :RuleID, :UpdateTime, :PunishTime, :PunishTimeUnit, : | 
| 97 | 
            +
                    attr_accessor :RuleName, :Action, :RuleStatus, :Conditions, :RulePriority, :RuleID, :UpdateTime, :PunishTime, :PunishTimeUnit, :PageId, :Name, :RedirectUrl, :ResponseCode
         | 
| 86 98 |  | 
| 87 | 
            -
                    def initialize(rulename=nil, action=nil, rulestatus=nil, conditions=nil, rulepriority=nil, ruleid=nil, updatetime=nil, punishtime=nil, punishtimeunit=nil,  | 
| 99 | 
            +
                    def initialize(rulename=nil, action=nil, rulestatus=nil, conditions=nil, rulepriority=nil, ruleid=nil, updatetime=nil, punishtime=nil, punishtimeunit=nil, pageid=nil, name=nil, redirecturl=nil, responsecode=nil)
         | 
| 88 100 | 
             
                      @RuleName = rulename
         | 
| 89 101 | 
             
                      @Action = action
         | 
| 90 102 | 
             
                      @RuleStatus = rulestatus
         | 
| @@ -94,8 +106,8 @@ module TencentCloud | |
| 94 106 | 
             
                      @UpdateTime = updatetime
         | 
| 95 107 | 
             
                      @PunishTime = punishtime
         | 
| 96 108 | 
             
                      @PunishTimeUnit = punishtimeunit
         | 
| 97 | 
            -
                      @Name = name
         | 
| 98 109 | 
             
                      @PageId = pageid
         | 
| 110 | 
            +
                      @Name = name
         | 
| 99 111 | 
             
                      @RedirectUrl = redirecturl
         | 
| 100 112 | 
             
                      @ResponseCode = responsecode
         | 
| 101 113 | 
             
                    end
         | 
| @@ -117,8 +129,8 @@ module TencentCloud | |
| 117 129 | 
             
                      @UpdateTime = params['UpdateTime']
         | 
| 118 130 | 
             
                      @PunishTime = params['PunishTime']
         | 
| 119 131 | 
             
                      @PunishTimeUnit = params['PunishTimeUnit']
         | 
| 120 | 
            -
                      @Name = params['Name']
         | 
| 121 132 | 
             
                      @PageId = params['PageId']
         | 
| 133 | 
            +
                      @Name = params['Name']
         | 
| 122 134 | 
             
                      @RedirectUrl = params['RedirectUrl']
         | 
| 123 135 | 
             
                      @ResponseCode = params['ResponseCode']
         | 
| 124 136 | 
             
                    end
         | 
| @@ -126,9 +138,11 @@ module TencentCloud | |
| 126 138 |  | 
| 127 139 | 
             
                  # ACL配置
         | 
| 128 140 | 
             
                  class AclConfig < TencentCloud::Common::AbstractModel
         | 
| 129 | 
            -
                    # @param Switch:  | 
| 141 | 
            +
                    # @param Switch: 开关。
         | 
| 142 | 
            +
                    # 1. on 开启
         | 
| 143 | 
            +
                    # 2. off 关闭
         | 
| 130 144 | 
             
                    # @type Switch: String
         | 
| 131 | 
            -
                    # @param UserRules:  | 
| 145 | 
            +
                    # @param UserRules: 自定义-用户规则。
         | 
| 132 146 | 
             
                    # @type UserRules: Array
         | 
| 133 147 |  | 
| 134 148 | 
             
                    attr_accessor :Switch, :UserRules
         | 
| @@ -153,8 +167,10 @@ module TencentCloud | |
| 153 167 |  | 
| 154 168 | 
             
                  # AI规则引擎防护
         | 
| 155 169 | 
             
                  class AiRule < TencentCloud::Common::AbstractModel
         | 
| 156 | 
            -
                    # @param Mode:  | 
| 157 | 
            -
                    #  | 
| 170 | 
            +
                    # @param Mode: AI规则引擎状态,取值有:
         | 
| 171 | 
            +
                    # <li> smart_status_close:关闭;</li>
         | 
| 172 | 
            +
                    # <li> smart_status_open:拦截处置;</li>
         | 
| 173 | 
            +
                    # <li> smart_status_observe:观察处置。</li>
         | 
| 158 174 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 159 175 | 
             
                    # @type Mode: String
         | 
| 160 176 |  | 
| @@ -358,17 +374,19 @@ module TencentCloud | |
| 358 374 |  | 
| 359 375 | 
             
                  # 安全Bot配置
         | 
| 360 376 | 
             
                  class BotConfig < TencentCloud::Common::AbstractModel
         | 
| 361 | 
            -
                    # @param Switch:  | 
| 377 | 
            +
                    # @param Switch: 开关。
         | 
| 378 | 
            +
                    # 1. on 开启
         | 
| 379 | 
            +
                    # 2. off 关闭
         | 
| 362 380 | 
             
                    # @type Switch: String
         | 
| 363 | 
            -
                    # @param ManagedRule:  | 
| 381 | 
            +
                    # @param ManagedRule: 通用详细基础规则。
         | 
| 364 382 | 
             
                    # @type ManagedRule: :class:`Tencentcloud::Teo.v20220106.models.BotManagedRule`
         | 
| 365 | 
            -
                    # @param UaBotRule:  | 
| 383 | 
            +
                    # @param UaBotRule: ua基础规则。
         | 
| 366 384 | 
             
                    # @type UaBotRule: :class:`Tencentcloud::Teo.v20220106.models.BotManagedRule`
         | 
| 367 | 
            -
                    # @param IspBotRule:  | 
| 385 | 
            +
                    # @param IspBotRule: isp基础规则。
         | 
| 368 386 | 
             
                    # @type IspBotRule: :class:`Tencentcloud::Teo.v20220106.models.BotManagedRule`
         | 
| 369 | 
            -
                    # @param PortraitRule:  | 
| 387 | 
            +
                    # @param PortraitRule: 用户画像规则。
         | 
| 370 388 | 
             
                    # @type PortraitRule: :class:`Tencentcloud::Teo.v20220106.models.BotPortraitRule`
         | 
| 371 | 
            -
                    # @param IntelligenceRule: Bot | 
| 389 | 
            +
                    # @param IntelligenceRule: Bot智能分析。
         | 
| 372 390 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 373 391 | 
             
                    # @type IntelligenceRule: :class:`Tencentcloud::Teo.v20220106.models.IntelligenceRule`
         | 
| 374 392 |  | 
| @@ -559,81 +577,85 @@ module TencentCloud | |
| 559 577 |  | 
| 560 578 | 
             
                  # Bot 规则,下列规则ID可参考接口 DescribeBotManagedRules返回的ID信息
         | 
| 561 579 | 
             
                  class BotManagedRule < TencentCloud::Common::AbstractModel
         | 
| 562 | 
            -
                    # @param  | 
| 580 | 
            +
                    # @param RuleID: 本规则的ID。
         | 
| 581 | 
            +
                    # @type RuleID: Integer
         | 
| 582 | 
            +
                    # @param ManagedIds: 老版本的通用规则ID。
         | 
| 563 583 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 564 584 | 
             
                    # @type ManagedIds: Array
         | 
| 565 | 
            -
                    # @param  | 
| 566 | 
            -
                    #  | 
| 567 | 
            -
                    #  | 
| 585 | 
            +
                    # @param Action: 触发规则后的处置方式。
         | 
| 586 | 
            +
                    # 1. drop 拦截
         | 
| 587 | 
            +
                    # 2. trans 放行
         | 
| 588 | 
            +
                    # 3. monitor 观察
         | 
| 589 | 
            +
                    # 4. alg Javascript挑战
         | 
| 568 590 | 
             
                    # @type Action: String
         | 
| 569 | 
            -
                    # @param PunishTime:  | 
| 591 | 
            +
                    # @param PunishTime: 封禁的惩罚时间。
         | 
| 570 592 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 571 593 | 
             
                    # @type PunishTime: Integer
         | 
| 572 | 
            -
                    # @param PunishTimeUnit:  | 
| 594 | 
            +
                    # @param PunishTimeUnit: 封禁的惩罚时间单位。
         | 
| 573 595 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 574 596 | 
             
                    # @type PunishTimeUnit: String
         | 
| 575 | 
            -
                    # @param  | 
| 576 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 577 | 
            -
                    # @type Name: String
         | 
| 578 | 
            -
                    # @param PageId: 自定义返回页面的实例id
         | 
| 579 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 580 | 
            -
                    # @type PageId: Integer
         | 
| 581 | 
            -
                    # @param RedirectUrl: 重定向时候的地址,必须为本用户接入的站点子域名,使用URLENCODE
         | 
| 582 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 583 | 
            -
                    # @type RedirectUrl: String
         | 
| 584 | 
            -
                    # @param ResponseCode: 重定向时候的返回码
         | 
| 585 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 586 | 
            -
                    # @type ResponseCode: Integer
         | 
| 587 | 
            -
                    # @param TransManagedIds: 放行的规则ID
         | 
| 597 | 
            +
                    # @param TransManagedIds: 放行的规则ID。
         | 
| 588 598 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 589 599 | 
             
                    # @type TransManagedIds: Array
         | 
| 590 | 
            -
                    # @param AlgManagedIds: JS挑战的规则ID
         | 
| 600 | 
            +
                    # @param AlgManagedIds: JS挑战的规则ID。
         | 
| 591 601 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 592 602 | 
             
                    # @type AlgManagedIds: Array
         | 
| 593 | 
            -
                    # @param CapManagedIds: 数字验证码的规则ID
         | 
| 603 | 
            +
                    # @param CapManagedIds: 数字验证码的规则ID。
         | 
| 594 604 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 595 605 | 
             
                    # @type CapManagedIds: Array
         | 
| 596 | 
            -
                    # @param MonManagedIds: 观察的规则ID
         | 
| 606 | 
            +
                    # @param MonManagedIds: 观察的规则ID。
         | 
| 597 607 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 598 608 | 
             
                    # @type MonManagedIds: Array
         | 
| 599 | 
            -
                    # @param DropManagedIds: 拦截的规则ID
         | 
| 609 | 
            +
                    # @param DropManagedIds: 拦截的规则ID。
         | 
| 600 610 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 601 611 | 
             
                    # @type DropManagedIds: Array
         | 
| 612 | 
            +
                    # @param PageId: 自定义返回页面的实例id。
         | 
| 613 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 614 | 
            +
                    # @type PageId: Integer
         | 
| 615 | 
            +
                    # @param Name: 自定义返回页面的名称。
         | 
| 616 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 617 | 
            +
                    # @type Name: String
         | 
| 618 | 
            +
                    # @param RedirectUrl: 重定向时候的地址,必须为本用户接入的站点子域名,使用URLENCODE。
         | 
| 619 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 620 | 
            +
                    # @type RedirectUrl: String
         | 
| 621 | 
            +
                    # @param ResponseCode: 重定向时候的返回码。
         | 
| 622 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 623 | 
            +
                    # @type ResponseCode: Integer
         | 
| 602 624 |  | 
| 603 | 
            -
                    attr_accessor : | 
| 625 | 
            +
                    attr_accessor :RuleID, :ManagedIds, :Action, :PunishTime, :PunishTimeUnit, :TransManagedIds, :AlgManagedIds, :CapManagedIds, :MonManagedIds, :DropManagedIds, :PageId, :Name, :RedirectUrl, :ResponseCode
         | 
| 604 626 |  | 
| 605 | 
            -
                    def initialize( | 
| 606 | 
            -
                      @ManagedIds = managedids
         | 
| 627 | 
            +
                    def initialize(ruleid=nil, managedids=nil, action=nil, punishtime=nil, punishtimeunit=nil, transmanagedids=nil, algmanagedids=nil, capmanagedids=nil, monmanagedids=nil, dropmanagedids=nil, pageid=nil, name=nil, redirecturl=nil, responsecode=nil)
         | 
| 607 628 | 
             
                      @RuleID = ruleid
         | 
| 629 | 
            +
                      @ManagedIds = managedids
         | 
| 608 630 | 
             
                      @Action = action
         | 
| 609 631 | 
             
                      @PunishTime = punishtime
         | 
| 610 632 | 
             
                      @PunishTimeUnit = punishtimeunit
         | 
| 611 | 
            -
                      @Name = name
         | 
| 612 | 
            -
                      @PageId = pageid
         | 
| 613 | 
            -
                      @RedirectUrl = redirecturl
         | 
| 614 | 
            -
                      @ResponseCode = responsecode
         | 
| 615 633 | 
             
                      @TransManagedIds = transmanagedids
         | 
| 616 634 | 
             
                      @AlgManagedIds = algmanagedids
         | 
| 617 635 | 
             
                      @CapManagedIds = capmanagedids
         | 
| 618 636 | 
             
                      @MonManagedIds = monmanagedids
         | 
| 619 637 | 
             
                      @DropManagedIds = dropmanagedids
         | 
| 638 | 
            +
                      @PageId = pageid
         | 
| 639 | 
            +
                      @Name = name
         | 
| 640 | 
            +
                      @RedirectUrl = redirecturl
         | 
| 641 | 
            +
                      @ResponseCode = responsecode
         | 
| 620 642 | 
             
                    end
         | 
| 621 643 |  | 
| 622 644 | 
             
                    def deserialize(params)
         | 
| 623 | 
            -
                      @ManagedIds = params['ManagedIds']
         | 
| 624 645 | 
             
                      @RuleID = params['RuleID']
         | 
| 646 | 
            +
                      @ManagedIds = params['ManagedIds']
         | 
| 625 647 | 
             
                      @Action = params['Action']
         | 
| 626 648 | 
             
                      @PunishTime = params['PunishTime']
         | 
| 627 649 | 
             
                      @PunishTimeUnit = params['PunishTimeUnit']
         | 
| 628 | 
            -
                      @Name = params['Name']
         | 
| 629 | 
            -
                      @PageId = params['PageId']
         | 
| 630 | 
            -
                      @RedirectUrl = params['RedirectUrl']
         | 
| 631 | 
            -
                      @ResponseCode = params['ResponseCode']
         | 
| 632 650 | 
             
                      @TransManagedIds = params['TransManagedIds']
         | 
| 633 651 | 
             
                      @AlgManagedIds = params['AlgManagedIds']
         | 
| 634 652 | 
             
                      @CapManagedIds = params['CapManagedIds']
         | 
| 635 653 | 
             
                      @MonManagedIds = params['MonManagedIds']
         | 
| 636 654 | 
             
                      @DropManagedIds = params['DropManagedIds']
         | 
| 655 | 
            +
                      @PageId = params['PageId']
         | 
| 656 | 
            +
                      @Name = params['Name']
         | 
| 657 | 
            +
                      @RedirectUrl = params['RedirectUrl']
         | 
| 658 | 
            +
                      @ResponseCode = params['ResponseCode']
         | 
| 637 659 | 
             
                    end
         | 
| 638 660 | 
             
                  end
         | 
| 639 661 |  | 
| @@ -667,43 +689,55 @@ module TencentCloud | |
| 667 689 |  | 
| 668 690 | 
             
                  # bot 用户画像规则
         | 
| 669 691 | 
             
                  class BotPortraitRule < TencentCloud::Common::AbstractModel
         | 
| 670 | 
            -
                    # @param  | 
| 692 | 
            +
                    # @param Switch: 本功能的开关。
         | 
| 693 | 
            +
                    # 1. on 开启
         | 
| 694 | 
            +
                    # 2. off 关闭
         | 
| 695 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 696 | 
            +
                    # @type Switch: String
         | 
| 697 | 
            +
                    # @param RuleID: 本规则的ID。
         | 
| 671 698 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 672 699 | 
             
                    # @type RuleID: Integer
         | 
| 673 | 
            -
                    # @param AlgManagedIds: JS挑战的规则ID
         | 
| 700 | 
            +
                    # @param AlgManagedIds: JS挑战的规则ID。
         | 
| 674 701 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 675 702 | 
             
                    # @type AlgManagedIds: Array
         | 
| 676 | 
            -
                    # @param CapManagedIds: 数字验证码的规则ID
         | 
| 703 | 
            +
                    # @param CapManagedIds: 数字验证码的规则ID。
         | 
| 677 704 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 678 705 | 
             
                    # @type CapManagedIds: Array
         | 
| 679 | 
            -
                    # @param MonManagedIds: 观察的规则ID
         | 
| 706 | 
            +
                    # @param MonManagedIds: 观察的规则ID。
         | 
| 680 707 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 681 708 | 
             
                    # @type MonManagedIds: Array
         | 
| 682 | 
            -
                    # @param DropManagedIds: 拦截的规则ID
         | 
| 709 | 
            +
                    # @param DropManagedIds: 拦截的规则ID。
         | 
| 683 710 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 684 711 | 
             
                    # @type DropManagedIds: Array
         | 
| 685 | 
            -
                    # @param  | 
| 712 | 
            +
                    # @param ManagedIds: 保留。
         | 
| 686 713 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 687 | 
            -
                    # @type  | 
| 714 | 
            +
                    # @type ManagedIds: Array
         | 
| 715 | 
            +
                    # @param TransManagedIds: 保留。
         | 
| 716 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 717 | 
            +
                    # @type TransManagedIds: Array
         | 
| 688 718 |  | 
| 689 | 
            -
                    attr_accessor :RuleID, :AlgManagedIds, :CapManagedIds, :MonManagedIds, :DropManagedIds, : | 
| 719 | 
            +
                    attr_accessor :Switch, :RuleID, :AlgManagedIds, :CapManagedIds, :MonManagedIds, :DropManagedIds, :ManagedIds, :TransManagedIds
         | 
| 690 720 |  | 
| 691 | 
            -
                    def initialize(ruleid=nil, algmanagedids=nil, capmanagedids=nil, monmanagedids=nil, dropmanagedids=nil,  | 
| 721 | 
            +
                    def initialize(switch=nil, ruleid=nil, algmanagedids=nil, capmanagedids=nil, monmanagedids=nil, dropmanagedids=nil, managedids=nil, transmanagedids=nil)
         | 
| 722 | 
            +
                      @Switch = switch
         | 
| 692 723 | 
             
                      @RuleID = ruleid
         | 
| 693 724 | 
             
                      @AlgManagedIds = algmanagedids
         | 
| 694 725 | 
             
                      @CapManagedIds = capmanagedids
         | 
| 695 726 | 
             
                      @MonManagedIds = monmanagedids
         | 
| 696 727 | 
             
                      @DropManagedIds = dropmanagedids
         | 
| 697 | 
            -
                      @ | 
| 728 | 
            +
                      @ManagedIds = managedids
         | 
| 729 | 
            +
                      @TransManagedIds = transmanagedids
         | 
| 698 730 | 
             
                    end
         | 
| 699 731 |  | 
| 700 732 | 
             
                    def deserialize(params)
         | 
| 733 | 
            +
                      @Switch = params['Switch']
         | 
| 701 734 | 
             
                      @RuleID = params['RuleID']
         | 
| 702 735 | 
             
                      @AlgManagedIds = params['AlgManagedIds']
         | 
| 703 736 | 
             
                      @CapManagedIds = params['CapManagedIds']
         | 
| 704 737 | 
             
                      @MonManagedIds = params['MonManagedIds']
         | 
| 705 738 | 
             
                      @DropManagedIds = params['DropManagedIds']
         | 
| 706 | 
            -
                      @ | 
| 739 | 
            +
                      @ManagedIds = params['ManagedIds']
         | 
| 740 | 
            +
                      @TransManagedIds = params['TransManagedIds']
         | 
| 707 741 | 
             
                    end
         | 
| 708 742 | 
             
                  end
         | 
| 709 743 |  | 
| @@ -7642,6 +7676,216 @@ module TencentCloud | |
| 7642 7676 | 
             
                    end
         | 
| 7643 7677 | 
             
                  end
         | 
| 7644 7678 |  | 
| 7679 | 
            +
                  # 拦截页面的总体配置,用于配置各个模块的拦截后行为。
         | 
| 7680 | 
            +
                  class DropPageConfig < TencentCloud::Common::AbstractModel
         | 
| 7681 | 
            +
                    # @param Switch: 配置开关。
         | 
| 7682 | 
            +
                    # 1. on 开启
         | 
| 7683 | 
            +
                    # 2. off 关闭
         | 
| 7684 | 
            +
                    # @type Switch: String
         | 
| 7685 | 
            +
                    # @param Waf: Waf(托管规则)模块的拦截页面配置。
         | 
| 7686 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7687 | 
            +
                    # @type Waf: :class:`Tencentcloud::Teo.v20220106.models.DropPageDetail`
         | 
| 7688 | 
            +
                    # @param Acl: 自定义页面的拦截页面配置。
         | 
| 7689 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7690 | 
            +
                    # @type Acl: :class:`Tencentcloud::Teo.v20220106.models.DropPageDetail`
         | 
| 7691 | 
            +
             | 
| 7692 | 
            +
                    attr_accessor :Switch, :Waf, :Acl
         | 
| 7693 | 
            +
                    
         | 
| 7694 | 
            +
                    def initialize(switch=nil, waf=nil, acl=nil)
         | 
| 7695 | 
            +
                      @Switch = switch
         | 
| 7696 | 
            +
                      @Waf = waf
         | 
| 7697 | 
            +
                      @Acl = acl
         | 
| 7698 | 
            +
                    end
         | 
| 7699 | 
            +
             | 
| 7700 | 
            +
                    def deserialize(params)
         | 
| 7701 | 
            +
                      @Switch = params['Switch']
         | 
| 7702 | 
            +
                      unless params['Waf'].nil?
         | 
| 7703 | 
            +
                        @Waf = DropPageDetail.new
         | 
| 7704 | 
            +
                        @Waf.deserialize(params['Waf'])
         | 
| 7705 | 
            +
                      end
         | 
| 7706 | 
            +
                      unless params['Acl'].nil?
         | 
| 7707 | 
            +
                        @Acl = DropPageDetail.new
         | 
| 7708 | 
            +
                        @Acl.deserialize(params['Acl'])
         | 
| 7709 | 
            +
                      end
         | 
| 7710 | 
            +
                    end
         | 
| 7711 | 
            +
                  end
         | 
| 7712 | 
            +
             | 
| 7713 | 
            +
                  # 拦截页面的配置信息
         | 
| 7714 | 
            +
                  class DropPageDetail < TencentCloud::Common::AbstractModel
         | 
| 7715 | 
            +
                    # @param PageId: 拦截页面的唯一Id。系统默认包含一个自带拦截页面,Id值为0。
         | 
| 7716 | 
            +
                    # 该Id可通过创建拦截页面接口进行上传获取。如传入0,代表使用系统默认拦截页面
         | 
| 7717 | 
            +
                    # @type PageId: Integer
         | 
| 7718 | 
            +
                    # @param StatusCode: 拦截页面的HTTP状态码。状态码范围是 100 - 600。
         | 
| 7719 | 
            +
                    # @type StatusCode: Integer
         | 
| 7720 | 
            +
                    # @param Name: 页面的元信息,文件名或url。
         | 
| 7721 | 
            +
                    # @type Name: String
         | 
| 7722 | 
            +
                    # @param Type: 页面的类型。
         | 
| 7723 | 
            +
                    # @type Type: String
         | 
| 7724 | 
            +
             | 
| 7725 | 
            +
                    attr_accessor :PageId, :StatusCode, :Name, :Type
         | 
| 7726 | 
            +
                    
         | 
| 7727 | 
            +
                    def initialize(pageid=nil, statuscode=nil, name=nil, type=nil)
         | 
| 7728 | 
            +
                      @PageId = pageid
         | 
| 7729 | 
            +
                      @StatusCode = statuscode
         | 
| 7730 | 
            +
                      @Name = name
         | 
| 7731 | 
            +
                      @Type = type
         | 
| 7732 | 
            +
                    end
         | 
| 7733 | 
            +
             | 
| 7734 | 
            +
                    def deserialize(params)
         | 
| 7735 | 
            +
                      @PageId = params['PageId']
         | 
| 7736 | 
            +
                      @StatusCode = params['StatusCode']
         | 
| 7737 | 
            +
                      @Name = params['Name']
         | 
| 7738 | 
            +
                      @Type = params['Type']
         | 
| 7739 | 
            +
                    end
         | 
| 7740 | 
            +
                  end
         | 
| 7741 | 
            +
             | 
| 7742 | 
            +
                  # 例外规则,用于配置需要跳过特定场景的规则
         | 
| 7743 | 
            +
                  class ExceptConfig < TencentCloud::Common::AbstractModel
         | 
| 7744 | 
            +
                    # @param Switch: 开关。
         | 
| 7745 | 
            +
                    # 1. on 开启
         | 
| 7746 | 
            +
                    # 2. off 关闭
         | 
| 7747 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7748 | 
            +
                    # @type Switch: String
         | 
| 7749 | 
            +
                    # @param UserRules: 例外规则详情。
         | 
| 7750 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7751 | 
            +
                    # @type UserRules: Array
         | 
| 7752 | 
            +
             | 
| 7753 | 
            +
                    attr_accessor :Switch, :UserRules
         | 
| 7754 | 
            +
                    
         | 
| 7755 | 
            +
                    def initialize(switch=nil, userrules=nil)
         | 
| 7756 | 
            +
                      @Switch = switch
         | 
| 7757 | 
            +
                      @UserRules = userrules
         | 
| 7758 | 
            +
                    end
         | 
| 7759 | 
            +
             | 
| 7760 | 
            +
                    def deserialize(params)
         | 
| 7761 | 
            +
                      @Switch = params['Switch']
         | 
| 7762 | 
            +
                      unless params['UserRules'].nil?
         | 
| 7763 | 
            +
                        @UserRules = []
         | 
| 7764 | 
            +
                        params['UserRules'].each do |i|
         | 
| 7765 | 
            +
                          exceptuserrule_tmp = ExceptUserRule.new
         | 
| 7766 | 
            +
                          exceptuserrule_tmp.deserialize(i)
         | 
| 7767 | 
            +
                          @UserRules << exceptuserrule_tmp
         | 
| 7768 | 
            +
                        end
         | 
| 7769 | 
            +
                      end
         | 
| 7770 | 
            +
                    end
         | 
| 7771 | 
            +
                  end
         | 
| 7772 | 
            +
             | 
| 7773 | 
            +
                  # 例外规则的配置,包含生效的条件,生效的范围
         | 
| 7774 | 
            +
                  class ExceptUserRule < TencentCloud::Common::AbstractModel
         | 
| 7775 | 
            +
                    # @param RuleID: 规则ID。
         | 
| 7776 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7777 | 
            +
                    # @type RuleID: Integer
         | 
| 7778 | 
            +
                    # @param RuleName: 规则名称。
         | 
| 7779 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7780 | 
            +
                    # @type RuleName: String
         | 
| 7781 | 
            +
                    # @param Action: 规则的处置方式。
         | 
| 7782 | 
            +
                    # 1. skip 跳过
         | 
| 7783 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7784 | 
            +
                    # @type Action: String
         | 
| 7785 | 
            +
                    # @param RuleStatus: 规则生效状态。
         | 
| 7786 | 
            +
                    # 1. on 生效
         | 
| 7787 | 
            +
                    # 2. off 失效
         | 
| 7788 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7789 | 
            +
                    # @type RuleStatus: String
         | 
| 7790 | 
            +
                    # @param UpdateTime: 更新时间。
         | 
| 7791 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7792 | 
            +
                    # @type UpdateTime: String
         | 
| 7793 | 
            +
                    # @param Conditions: 匹配条件。
         | 
| 7794 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7795 | 
            +
                    # @type Conditions: Array
         | 
| 7796 | 
            +
                    # @param Scope: 规则生效的范围。
         | 
| 7797 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7798 | 
            +
                    # @type Scope: :class:`Tencentcloud::Teo.v20220106.models.ExceptUserRuleScope`
         | 
| 7799 | 
            +
                    # @param RulePriority: 优先级。
         | 
| 7800 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7801 | 
            +
                    # @type RulePriority: Integer
         | 
| 7802 | 
            +
             | 
| 7803 | 
            +
                    attr_accessor :RuleID, :RuleName, :Action, :RuleStatus, :UpdateTime, :Conditions, :Scope, :RulePriority
         | 
| 7804 | 
            +
                    
         | 
| 7805 | 
            +
                    def initialize(ruleid=nil, rulename=nil, action=nil, rulestatus=nil, updatetime=nil, conditions=nil, scope=nil, rulepriority=nil)
         | 
| 7806 | 
            +
                      @RuleID = ruleid
         | 
| 7807 | 
            +
                      @RuleName = rulename
         | 
| 7808 | 
            +
                      @Action = action
         | 
| 7809 | 
            +
                      @RuleStatus = rulestatus
         | 
| 7810 | 
            +
                      @UpdateTime = updatetime
         | 
| 7811 | 
            +
                      @Conditions = conditions
         | 
| 7812 | 
            +
                      @Scope = scope
         | 
| 7813 | 
            +
                      @RulePriority = rulepriority
         | 
| 7814 | 
            +
                    end
         | 
| 7815 | 
            +
             | 
| 7816 | 
            +
                    def deserialize(params)
         | 
| 7817 | 
            +
                      @RuleID = params['RuleID']
         | 
| 7818 | 
            +
                      @RuleName = params['RuleName']
         | 
| 7819 | 
            +
                      @Action = params['Action']
         | 
| 7820 | 
            +
                      @RuleStatus = params['RuleStatus']
         | 
| 7821 | 
            +
                      @UpdateTime = params['UpdateTime']
         | 
| 7822 | 
            +
                      unless params['Conditions'].nil?
         | 
| 7823 | 
            +
                        @Conditions = []
         | 
| 7824 | 
            +
                        params['Conditions'].each do |i|
         | 
| 7825 | 
            +
                          exceptuserrulecondition_tmp = ExceptUserRuleCondition.new
         | 
| 7826 | 
            +
                          exceptuserrulecondition_tmp.deserialize(i)
         | 
| 7827 | 
            +
                          @Conditions << exceptuserrulecondition_tmp
         | 
| 7828 | 
            +
                        end
         | 
| 7829 | 
            +
                      end
         | 
| 7830 | 
            +
                      unless params['Scope'].nil?
         | 
| 7831 | 
            +
                        @Scope = ExceptUserRuleScope.new
         | 
| 7832 | 
            +
                        @Scope.deserialize(params['Scope'])
         | 
| 7833 | 
            +
                      end
         | 
| 7834 | 
            +
                      @RulePriority = params['RulePriority']
         | 
| 7835 | 
            +
                    end
         | 
| 7836 | 
            +
                  end
         | 
| 7837 | 
            +
             | 
| 7838 | 
            +
                  # 例外规则生效的具体条件
         | 
| 7839 | 
            +
                  class ExceptUserRuleCondition < TencentCloud::Common::AbstractModel
         | 
| 7840 | 
            +
                    # @param MatchFrom: 匹配项。
         | 
| 7841 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7842 | 
            +
                    # @type MatchFrom: String
         | 
| 7843 | 
            +
                    # @param MatchParam: 匹配项的参数。当 MatchFrom 为 header 时,可以填入 header 的 key 作为参数。
         | 
| 7844 | 
            +
                    # @type MatchParam: String
         | 
| 7845 | 
            +
                    # @param Operator: 匹配操作符。
         | 
| 7846 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7847 | 
            +
                    # @type Operator: String
         | 
| 7848 | 
            +
                    # @param MatchContent: 匹配值。
         | 
| 7849 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7850 | 
            +
                    # @type MatchContent: String
         | 
| 7851 | 
            +
             | 
| 7852 | 
            +
                    attr_accessor :MatchFrom, :MatchParam, :Operator, :MatchContent
         | 
| 7853 | 
            +
                    
         | 
| 7854 | 
            +
                    def initialize(matchfrom=nil, matchparam=nil, operator=nil, matchcontent=nil)
         | 
| 7855 | 
            +
                      @MatchFrom = matchfrom
         | 
| 7856 | 
            +
                      @MatchParam = matchparam
         | 
| 7857 | 
            +
                      @Operator = operator
         | 
| 7858 | 
            +
                      @MatchContent = matchcontent
         | 
| 7859 | 
            +
                    end
         | 
| 7860 | 
            +
             | 
| 7861 | 
            +
                    def deserialize(params)
         | 
| 7862 | 
            +
                      @MatchFrom = params['MatchFrom']
         | 
| 7863 | 
            +
                      @MatchParam = params['MatchParam']
         | 
| 7864 | 
            +
                      @Operator = params['Operator']
         | 
| 7865 | 
            +
                      @MatchContent = params['MatchContent']
         | 
| 7866 | 
            +
                    end
         | 
| 7867 | 
            +
                  end
         | 
| 7868 | 
            +
             | 
| 7869 | 
            +
                  # 例外规则的生效范围
         | 
| 7870 | 
            +
                  class ExceptUserRuleScope < TencentCloud::Common::AbstractModel
         | 
| 7871 | 
            +
                    # @param Modules: 生效的模块
         | 
| 7872 | 
            +
             | 
| 7873 | 
            +
                    # 1. waf Waf防护
         | 
| 7874 | 
            +
                    # 2. bot Bot防护
         | 
| 7875 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7876 | 
            +
                    # @type Modules: Array
         | 
| 7877 | 
            +
             | 
| 7878 | 
            +
                    attr_accessor :Modules
         | 
| 7879 | 
            +
                    
         | 
| 7880 | 
            +
                    def initialize(modules=nil)
         | 
| 7881 | 
            +
                      @Modules = modules
         | 
| 7882 | 
            +
                    end
         | 
| 7883 | 
            +
             | 
| 7884 | 
            +
                    def deserialize(params)
         | 
| 7885 | 
            +
                      @Modules = params['Modules']
         | 
| 7886 | 
            +
                    end
         | 
| 7887 | 
            +
                  end
         | 
| 7888 | 
            +
             | 
| 7645 7889 | 
             
                  # 失败原因
         | 
| 7646 7890 | 
             
                  class FailReason < TencentCloud::Common::AbstractModel
         | 
| 7647 7891 | 
             
                    # @param Reason: 失败原因
         | 
| @@ -7963,10 +8207,12 @@ module TencentCloud | |
| 7963 8207 |  | 
| 7964 8208 | 
             
                  # 智能分析规则
         | 
| 7965 8209 | 
             
                  class IntelligenceRule < TencentCloud::Common::AbstractModel
         | 
| 7966 | 
            -
                    # @param Switch:  | 
| 8210 | 
            +
                    # @param Switch: 开关。
         | 
| 8211 | 
            +
                    # 1. on 开启
         | 
| 8212 | 
            +
                    # 2. off 关闭
         | 
| 7967 8213 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7968 8214 | 
             
                    # @type Switch: String
         | 
| 7969 | 
            -
                    # @param Items:  | 
| 8215 | 
            +
                    # @param Items: 规则详情。
         | 
| 7970 8216 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7971 8217 | 
             
                    # @type Items: Array
         | 
| 7972 8218 |  | 
| @@ -7992,10 +8238,19 @@ module TencentCloud | |
| 7992 8238 |  | 
| 7993 8239 | 
             
                  # Bot智能分析规则详情
         | 
| 7994 8240 | 
             
                  class IntelligenceRuleItem < TencentCloud::Common::AbstractModel
         | 
| 7995 | 
            -
                    # @param Label:  | 
| 8241 | 
            +
                    # @param Label: 智能分析标签。
         | 
| 8242 | 
            +
                    # 1. evil_bot 恶意
         | 
| 8243 | 
            +
                    # 2. suspect_bot 疑似恶意
         | 
| 8244 | 
            +
                    # 3. good_bot 好的
         | 
| 8245 | 
            +
                    # 4. normal 正常
         | 
| 7996 8246 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7997 8247 | 
             
                    # @type Label: String
         | 
| 7998 | 
            -
                    # @param Action:  | 
| 8248 | 
            +
                    # @param Action: 触发智能分析标签对应的处置方式。
         | 
| 8249 | 
            +
                    # 1. drop 拦截
         | 
| 8250 | 
            +
                    # 2. trans 放行
         | 
| 8251 | 
            +
                    # 3. monitor 监控
         | 
| 8252 | 
            +
                    # 4. alg Javascript挑战
         | 
| 8253 | 
            +
                    # 5. captcha 数字验证码
         | 
| 7999 8254 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8000 8255 | 
             
                    # @type Action: String
         | 
| 8001 8256 |  | 
| @@ -8012,12 +8267,14 @@ module TencentCloud | |
| 8012 8267 | 
             
                    end
         | 
| 8013 8268 | 
             
                  end
         | 
| 8014 8269 |  | 
| 8015 | 
            -
                  #  | 
| 8270 | 
            +
                  # 基础管控规则配置。
         | 
| 8016 8271 | 
             
                  class IpTableConfig < TencentCloud::Common::AbstractModel
         | 
| 8017 | 
            -
                    # @param Switch:  | 
| 8272 | 
            +
                    # @param Switch: 开关。
         | 
| 8273 | 
            +
                    # 1. on 开启
         | 
| 8274 | 
            +
                    # 2. off 关闭
         | 
| 8018 8275 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8019 8276 | 
             
                    # @type Switch: String
         | 
| 8020 | 
            -
                    # @param Rules:  | 
| 8277 | 
            +
                    # @param Rules: 基础管控规则。
         | 
| 8021 8278 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8022 8279 | 
             
                    # @type Rules: Array
         | 
| 8023 8280 |  | 
| @@ -8041,39 +8298,46 @@ module TencentCloud | |
| 8041 8298 | 
             
                    end
         | 
| 8042 8299 | 
             
                  end
         | 
| 8043 8300 |  | 
| 8044 | 
            -
                  #  | 
| 8301 | 
            +
                  # 详细规则。
         | 
| 8045 8302 | 
             
                  class IpTableRule < TencentCloud::Common::AbstractModel
         | 
| 8046 | 
            -
                    # @param  | 
| 8303 | 
            +
                    # @param RuleID: 规则ID。
         | 
| 8304 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8305 | 
            +
                    # @type RuleID: Integer
         | 
| 8306 | 
            +
                    # @param Action: 处置动作。
         | 
| 8307 | 
            +
                    # 1. drop 拦截
         | 
| 8308 | 
            +
                    # 2. trans放行
         | 
| 8309 | 
            +
                    # 3. monitor观察
         | 
| 8047 8310 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8048 8311 | 
             
                    # @type Action: String
         | 
| 8049 | 
            -
                    # @param MatchFrom:  | 
| 8312 | 
            +
                    # @param MatchFrom: 类型匹配。
         | 
| 8313 | 
            +
                    # 1. ip 根据ip
         | 
| 8314 | 
            +
                    # 2. area 根据区域
         | 
| 8315 | 
            +
                    # 3. ua 根据User-Agent
         | 
| 8316 | 
            +
                    # 4. referer 根据Referer
         | 
| 8050 8317 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8051 8318 | 
             
                    # @type MatchFrom: String
         | 
| 8052 | 
            -
                    # @param MatchContent:  | 
| 8319 | 
            +
                    # @param MatchContent: 匹配内容。
         | 
| 8053 8320 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8054 8321 | 
             
                    # @type MatchContent: String
         | 
| 8055 | 
            -
                    # @param  | 
| 8056 | 
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8057 | 
            -
                    # @type RuleID: Integer
         | 
| 8058 | 
            -
                    # @param UpdateTime: 更新时间
         | 
| 8322 | 
            +
                    # @param UpdateTime: 更新时间。
         | 
| 8059 8323 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8060 8324 | 
             
                    # @type UpdateTime: String
         | 
| 8061 8325 |  | 
| 8062 | 
            -
                    attr_accessor :Action, :MatchFrom, :MatchContent, : | 
| 8326 | 
            +
                    attr_accessor :RuleID, :Action, :MatchFrom, :MatchContent, :UpdateTime
         | 
| 8063 8327 |  | 
| 8064 | 
            -
                    def initialize( | 
| 8328 | 
            +
                    def initialize(ruleid=nil, action=nil, matchfrom=nil, matchcontent=nil, updatetime=nil)
         | 
| 8329 | 
            +
                      @RuleID = ruleid
         | 
| 8065 8330 | 
             
                      @Action = action
         | 
| 8066 8331 | 
             
                      @MatchFrom = matchfrom
         | 
| 8067 8332 | 
             
                      @MatchContent = matchcontent
         | 
| 8068 | 
            -
                      @RuleID = ruleid
         | 
| 8069 8333 | 
             
                      @UpdateTime = updatetime
         | 
| 8070 8334 | 
             
                    end
         | 
| 8071 8335 |  | 
| 8072 8336 | 
             
                    def deserialize(params)
         | 
| 8337 | 
            +
                      @RuleID = params['RuleID']
         | 
| 8073 8338 | 
             
                      @Action = params['Action']
         | 
| 8074 8339 | 
             
                      @MatchFrom = params['MatchFrom']
         | 
| 8075 8340 | 
             
                      @MatchContent = params['MatchContent']
         | 
| 8076 | 
            -
                      @RuleID = params['RuleID']
         | 
| 8077 8341 | 
             
                      @UpdateTime = params['UpdateTime']
         | 
| 8078 8342 | 
             
                    end
         | 
| 8079 8343 | 
             
                  end
         | 
| @@ -10018,14 +10282,16 @@ module TencentCloud | |
| 10018 10282 |  | 
| 10019 10283 | 
             
                  # RateLimit配置
         | 
| 10020 10284 | 
             
                  class RateLimitConfig < TencentCloud::Common::AbstractModel
         | 
| 10021 | 
            -
                    # @param Switch:  | 
| 10285 | 
            +
                    # @param Switch: 开关。
         | 
| 10286 | 
            +
                    # 1. on 开启RateLimit;
         | 
| 10287 | 
            +
                    # 2. off 关闭RateLimit
         | 
| 10022 10288 | 
             
                    # @type Switch: String
         | 
| 10023 | 
            -
                    # @param UserRules:  | 
| 10289 | 
            +
                    # @param UserRules: 速率限制-用户规则列表。
         | 
| 10024 10290 | 
             
                    # @type UserRules: Array
         | 
| 10025 | 
            -
                    # @param Template:  | 
| 10291 | 
            +
                    # @param Template: 速率限制模板功能。
         | 
| 10026 10292 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10027 10293 | 
             
                    # @type Template: :class:`Tencentcloud::Teo.v20220106.models.RateLimitTemplate`
         | 
| 10028 | 
            -
                    # @param Intelligence:  | 
| 10294 | 
            +
                    # @param Intelligence: 智能客户端过滤。
         | 
| 10029 10295 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10030 10296 | 
             
                    # @type Intelligence: :class:`Tencentcloud::Teo.v20220106.models.RateLimitIntelligence`
         | 
| 10031 10297 |  | 
| @@ -10061,10 +10327,14 @@ module TencentCloud | |
| 10061 10327 |  | 
| 10062 10328 | 
             
                  # 智能客户端过滤
         | 
| 10063 10329 | 
             
                  class RateLimitIntelligence < TencentCloud::Common::AbstractModel
         | 
| 10064 | 
            -
                    # @param Switch:  | 
| 10330 | 
            +
                    # @param Switch: 功能开关。
         | 
| 10331 | 
            +
                    # 1. on 开启
         | 
| 10332 | 
            +
                    # 2. off 关闭
         | 
| 10065 10333 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10066 10334 | 
             
                    # @type Switch: String
         | 
| 10067 | 
            -
                    # @param Action: 执行动作 | 
| 10335 | 
            +
                    # @param Action: 执行动作
         | 
| 10336 | 
            +
                    # 1. monitor(观察)
         | 
| 10337 | 
            +
                    # 2. alg(挑战)
         | 
| 10068 10338 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10069 10339 | 
             
                    # @type Action: String
         | 
| 10070 10340 |  | 
| @@ -10083,10 +10353,16 @@ module TencentCloud | |
| 10083 10353 |  | 
| 10084 10354 | 
             
                  # 速率限制模板
         | 
| 10085 10355 | 
             
                  class RateLimitTemplate < TencentCloud::Common::AbstractModel
         | 
| 10086 | 
            -
                    # @param Mode:  | 
| 10356 | 
            +
                    # @param Mode: 模板等级名称。
         | 
| 10357 | 
            +
                    # 1. sup_loose 自适应 - 超级宽松
         | 
| 10358 | 
            +
                    # 2. loose     自适应 - 宽松
         | 
| 10359 | 
            +
                    # 3. emergency 自适应 - 紧急
         | 
| 10360 | 
            +
                    # 4. normal    自适应 - 适中
         | 
| 10361 | 
            +
                    # 5. strict    固定阈值 - 严格
         | 
| 10362 | 
            +
                    # 6. close     关闭 - 仅精准速率限制生效
         | 
| 10087 10363 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10088 10364 | 
             
                    # @type Mode: String
         | 
| 10089 | 
            -
                    # @param Detail:  | 
| 10365 | 
            +
                    # @param Detail: 模板值详情。
         | 
| 10090 10366 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10091 10367 | 
             
                    # @type Detail: :class:`Tencentcloud::Teo.v20220106.models.RateLimitTemplateDetail`
         | 
| 10092 10368 |  | 
| @@ -10106,24 +10382,30 @@ module TencentCloud | |
| 10106 10382 | 
             
                    end
         | 
| 10107 10383 | 
             
                  end
         | 
| 10108 10384 |  | 
| 10109 | 
            -
                  #  | 
| 10385 | 
            +
                  # 模板当前详细配置。
         | 
| 10110 10386 | 
             
                  class RateLimitTemplateDetail < TencentCloud::Common::AbstractModel
         | 
| 10111 | 
            -
                    # @param Mode:  | 
| 10387 | 
            +
                    # @param Mode: 模板等级名称。
         | 
| 10388 | 
            +
                    # 1. sup_loose 自适应 - 超级宽松
         | 
| 10389 | 
            +
                    # 2. loose     自适应 - 宽松
         | 
| 10390 | 
            +
                    # 3. emergency 自适应 - 紧急
         | 
| 10391 | 
            +
                    # 4. normal    自适应 - 适中
         | 
| 10392 | 
            +
                    # 5. strict    固定阈值 - 严格
         | 
| 10393 | 
            +
                    # 6. close     关闭 - 仅精准速率限制生效
         | 
| 10112 10394 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10113 10395 | 
             
                    # @type Mode: String
         | 
| 10114 | 
            -
                    # @param ID: 唯一id
         | 
| 10396 | 
            +
                    # @param ID: 唯一id。
         | 
| 10115 10397 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10116 10398 | 
             
                    # @type ID: Integer
         | 
| 10117 | 
            -
                    # @param Action:  | 
| 10399 | 
            +
                    # @param Action: 处置动作。模板阀值触发后的处罚行为。
         | 
| 10118 10400 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10119 10401 | 
             
                    # @type Action: String
         | 
| 10120 | 
            -
                    # @param PunishTime:  | 
| 10402 | 
            +
                    # @param PunishTime: 惩罚时间,单位是秒。
         | 
| 10121 10403 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10122 10404 | 
             
                    # @type PunishTime: Integer
         | 
| 10123 | 
            -
                    # @param Threshold:  | 
| 10405 | 
            +
                    # @param Threshold: 阈值。
         | 
| 10124 10406 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10125 10407 | 
             
                    # @type Threshold: Integer
         | 
| 10126 | 
            -
                    # @param Period:  | 
| 10408 | 
            +
                    # @param Period: 统计周期。
         | 
| 10127 10409 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10128 10410 | 
             
                    # @type Period: Integer
         | 
| 10129 10411 |  | 
| @@ -10150,31 +10432,39 @@ module TencentCloud | |
| 10150 10432 |  | 
| 10151 10433 | 
             
                  # RateLimit规则
         | 
| 10152 10434 | 
             
                  class RateLimitUserRule < TencentCloud::Common::AbstractModel
         | 
| 10153 | 
            -
                    # @param Threshold: RateLimit | 
| 10435 | 
            +
                    # @param Threshold: RateLimit统计阈值,单位是次,取值范围0-4294967294。
         | 
| 10154 10436 | 
             
                    # @type Threshold: Integer
         | 
| 10155 | 
            -
                    # @param Period: RateLimit | 
| 10437 | 
            +
                    # @param Period: RateLimit统计时间,取值范围 10/20/30/40/50/60 单位是秒。
         | 
| 10156 10438 | 
             
                    # @type Period: Integer
         | 
| 10157 | 
            -
                    # @param RuleName:  | 
| 10439 | 
            +
                    # @param RuleName: 规则名,只能以英文字符,数字,下划线组合,且不能以下划线开头。
         | 
| 10158 10440 | 
             
                    # @type RuleName: String
         | 
| 10159 | 
            -
                    # @param Action:  | 
| 10441 | 
            +
                    # @param Action: 处置动作。
         | 
| 10442 | 
            +
                    # 1. monitor(观察);
         | 
| 10443 | 
            +
                    # 2. drop(拦截);
         | 
| 10444 | 
            +
                    # 3. alg(Javascript挑战)
         | 
| 10160 10445 | 
             
                    # @type Action: String
         | 
| 10161 | 
            -
                    # @param PunishTime:  | 
| 10446 | 
            +
                    # @param PunishTime: 惩罚时长,0-100。
         | 
| 10162 10447 | 
             
                    # @type PunishTime: Integer
         | 
| 10163 | 
            -
                    # @param PunishTimeUnit:  | 
| 10448 | 
            +
                    # @param PunishTimeUnit: 处罚时长单位。
         | 
| 10449 | 
            +
                    # 1. second 秒;
         | 
| 10450 | 
            +
                    # 2. minutes 分钟
         | 
| 10451 | 
            +
                    # 3. hour 小时
         | 
| 10164 10452 | 
             
                    # @type PunishTimeUnit: String
         | 
| 10165 | 
            -
                    # @param RuleStatus:  | 
| 10453 | 
            +
                    # @param RuleStatus: 规则状态。
         | 
| 10454 | 
            +
                    # 1. on 生效
         | 
| 10455 | 
            +
                    # 2. off 不生效
         | 
| 10166 10456 | 
             
                    # @type RuleStatus: String
         | 
| 10167 | 
            -
                    # @param Conditions:  | 
| 10457 | 
            +
                    # @param Conditions: 规则。
         | 
| 10168 10458 | 
             
                    # @type Conditions: Array
         | 
| 10169 | 
            -
                    # @param RulePriority:  | 
| 10459 | 
            +
                    # @param RulePriority: 规则权重,取值范围0-100。
         | 
| 10170 10460 | 
             
                    # @type RulePriority: Integer
         | 
| 10171 | 
            -
                    # @param RuleID: 规则id
         | 
| 10461 | 
            +
                    # @param RuleID: 规则id。
         | 
| 10172 10462 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10173 10463 | 
             
                    # @type RuleID: Integer
         | 
| 10174 | 
            -
                    # @param FreqFields:  | 
| 10464 | 
            +
                    # @param FreqFields: 过滤词。
         | 
| 10175 10465 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10176 10466 | 
             
                    # @type FreqFields: Array
         | 
| 10177 | 
            -
                    # @param UpdateTime:  | 
| 10467 | 
            +
                    # @param UpdateTime: 更新时间.
         | 
| 10178 10468 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 10179 10469 | 
             
                    # @type UpdateTime: String
         | 
| 10180 10470 |  | 
| @@ -11063,33 +11353,39 @@ module TencentCloud | |
| 11063 11353 | 
             
                    end
         | 
| 11064 11354 | 
             
                  end
         | 
| 11065 11355 |  | 
| 11066 | 
            -
                  #  | 
| 11356 | 
            +
                  # 安全配置。
         | 
| 11067 11357 | 
             
                  class SecurityConfig < TencentCloud::Common::AbstractModel
         | 
| 11068 | 
            -
                    # @param WafConfig:  | 
| 11358 | 
            +
                    # @param WafConfig: 托管规则。如果为null,默认使用历史配置。
         | 
| 11069 11359 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11070 11360 | 
             
                    # @type WafConfig: :class:`Tencentcloud::Teo.v20220106.models.WafConfig`
         | 
| 11071 | 
            -
                    # @param RateLimitConfig:  | 
| 11361 | 
            +
                    # @param RateLimitConfig: 速率限制。如果为null,默认使用历史配置。
         | 
| 11072 11362 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11073 11363 | 
             
                    # @type RateLimitConfig: :class:`Tencentcloud::Teo.v20220106.models.RateLimitConfig`
         | 
| 11074 | 
            -
                    # @param DdosConfig: DDoS | 
| 11364 | 
            +
                    # @param DdosConfig: DDoS配置。如果为null,默认使用历史配置。
         | 
| 11075 11365 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11076 11366 | 
             
                    # @type DdosConfig: :class:`Tencentcloud::Teo.v20220106.models.DDoSConfig`
         | 
| 11077 | 
            -
                    # @param AclConfig:  | 
| 11367 | 
            +
                    # @param AclConfig: 自定义规则。如果为null,默认使用历史配置。
         | 
| 11078 11368 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11079 11369 | 
             
                    # @type AclConfig: :class:`Tencentcloud::Teo.v20220106.models.AclConfig`
         | 
| 11080 | 
            -
                    # @param BotConfig: Bot | 
| 11370 | 
            +
                    # @param BotConfig: Bot配置。如果为null,默认使用历史配置。
         | 
| 11081 11371 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11082 11372 | 
             
                    # @type BotConfig: :class:`Tencentcloud::Teo.v20220106.models.BotConfig`
         | 
| 11083 | 
            -
                    # @param SwitchConfig:  | 
| 11373 | 
            +
                    # @param SwitchConfig: 七层防护总开关。如果为null,默认使用历史配置。
         | 
| 11084 11374 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11085 11375 | 
             
                    # @type SwitchConfig: :class:`Tencentcloud::Teo.v20220106.models.SwitchConfig`
         | 
| 11086 | 
            -
                    # @param IpTableConfig:  | 
| 11376 | 
            +
                    # @param IpTableConfig: 基础访问管控。如果为null,默认使用历史配置。
         | 
| 11087 11377 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11088 11378 | 
             
                    # @type IpTableConfig: :class:`Tencentcloud::Teo.v20220106.models.IpTableConfig`
         | 
| 11379 | 
            +
                    # @param ExceptConfig: 例外规则配置。如果为null,默认使用历史配置。
         | 
| 11380 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11381 | 
            +
                    # @type ExceptConfig: :class:`Tencentcloud::Teo.v20220106.models.ExceptConfig`
         | 
| 11382 | 
            +
                    # @param DropPageConfig: 自定义拦截页面配置。如果为null,默认使用历史配置。
         | 
| 11383 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11384 | 
            +
                    # @type DropPageConfig: :class:`Tencentcloud::Teo.v20220106.models.DropPageConfig`
         | 
| 11089 11385 |  | 
| 11090 | 
            -
                    attr_accessor :WafConfig, :RateLimitConfig, :DdosConfig, :AclConfig, :BotConfig, :SwitchConfig, :IpTableConfig
         | 
| 11386 | 
            +
                    attr_accessor :WafConfig, :RateLimitConfig, :DdosConfig, :AclConfig, :BotConfig, :SwitchConfig, :IpTableConfig, :ExceptConfig, :DropPageConfig
         | 
| 11091 11387 |  | 
| 11092 | 
            -
                    def initialize(wafconfig=nil, ratelimitconfig=nil, ddosconfig=nil, aclconfig=nil, botconfig=nil, switchconfig=nil, iptableconfig=nil)
         | 
| 11388 | 
            +
                    def initialize(wafconfig=nil, ratelimitconfig=nil, ddosconfig=nil, aclconfig=nil, botconfig=nil, switchconfig=nil, iptableconfig=nil, exceptconfig=nil, droppageconfig=nil)
         | 
| 11093 11389 | 
             
                      @WafConfig = wafconfig
         | 
| 11094 11390 | 
             
                      @RateLimitConfig = ratelimitconfig
         | 
| 11095 11391 | 
             
                      @DdosConfig = ddosconfig
         | 
| @@ -11097,6 +11393,8 @@ module TencentCloud | |
| 11097 11393 | 
             
                      @BotConfig = botconfig
         | 
| 11098 11394 | 
             
                      @SwitchConfig = switchconfig
         | 
| 11099 11395 | 
             
                      @IpTableConfig = iptableconfig
         | 
| 11396 | 
            +
                      @ExceptConfig = exceptconfig
         | 
| 11397 | 
            +
                      @DropPageConfig = droppageconfig
         | 
| 11100 11398 | 
             
                    end
         | 
| 11101 11399 |  | 
| 11102 11400 | 
             
                    def deserialize(params)
         | 
| @@ -11128,6 +11426,14 @@ module TencentCloud | |
| 11128 11426 | 
             
                        @IpTableConfig = IpTableConfig.new
         | 
| 11129 11427 | 
             
                        @IpTableConfig.deserialize(params['IpTableConfig'])
         | 
| 11130 11428 | 
             
                      end
         | 
| 11429 | 
            +
                      unless params['ExceptConfig'].nil?
         | 
| 11430 | 
            +
                        @ExceptConfig = ExceptConfig.new
         | 
| 11431 | 
            +
                        @ExceptConfig.deserialize(params['ExceptConfig'])
         | 
| 11432 | 
            +
                      end
         | 
| 11433 | 
            +
                      unless params['DropPageConfig'].nil?
         | 
| 11434 | 
            +
                        @DropPageConfig = DropPageConfig.new
         | 
| 11435 | 
            +
                        @DropPageConfig.deserialize(params['DropPageConfig'])
         | 
| 11436 | 
            +
                      end
         | 
| 11131 11437 | 
             
                    end
         | 
| 11132 11438 | 
             
                  end
         | 
| 11133 11439 |  | 
| @@ -11307,7 +11613,9 @@ module TencentCloud | |
| 11307 11613 |  | 
| 11308 11614 | 
             
                  # 功能总开关
         | 
| 11309 11615 | 
             
                  class SwitchConfig < TencentCloud::Common::AbstractModel
         | 
| 11310 | 
            -
                    # @param WebSwitch: Web | 
| 11616 | 
            +
                    # @param WebSwitch: Web类型的安全总开关生效范围,Waf,自定义规则,速率限制。
         | 
| 11617 | 
            +
                    # 1. on 开启
         | 
| 11618 | 
            +
                    # 2. off 关闭
         | 
| 11311 11619 | 
             
                    # @type WebSwitch: String
         | 
| 11312 11620 |  | 
| 11313 11621 | 
             
                    attr_accessor :WebSwitch
         | 
| @@ -11632,17 +11940,26 @@ module TencentCloud | |
| 11632 11940 | 
             
                    end
         | 
| 11633 11941 | 
             
                  end
         | 
| 11634 11942 |  | 
| 11635 | 
            -
                  #  | 
| 11943 | 
            +
                  # Waf配置。
         | 
| 11636 11944 | 
             
                  class WafConfig < TencentCloud::Common::AbstractModel
         | 
| 11637 | 
            -
                    # @param Switch:  | 
| 11945 | 
            +
                    # @param Switch: WafConfig开关,取值有:
         | 
| 11946 | 
            +
                    # <li> on:开启;</li>
         | 
| 11947 | 
            +
                    # <li> off:关闭。</li>开关仅与配置是否生效有关,即使为off(关闭),也可以正常修改配置的内容。
         | 
| 11638 11948 | 
             
                    # @type Switch: String
         | 
| 11639 | 
            -
                    # @param Level:  | 
| 11949 | 
            +
                    # @param Level: 防护级别,取值有:
         | 
| 11950 | 
            +
                    # <li> loose:宽松;</li>
         | 
| 11951 | 
            +
                    # <li> normal:正常;</li>
         | 
| 11952 | 
            +
                    # <li> strict:严格;</li>
         | 
| 11953 | 
            +
                    # <li> stricter:超严格;</li>
         | 
| 11954 | 
            +
                    # <li> custom:自定义。</li>
         | 
| 11640 11955 | 
             
                    # @type Level: String
         | 
| 11641 | 
            -
                    # @param Mode:  | 
| 11956 | 
            +
                    # @param Mode: 全局WAF模式,取值有:
         | 
| 11957 | 
            +
                    # <li> block:阻断(全局阻断,但可对详细规则配置观察);</li>
         | 
| 11958 | 
            +
                    # <li> observe:观察(无论详细规则配置什么,都为观察)。</li>
         | 
| 11642 11959 | 
             
                    # @type Mode: String
         | 
| 11643 | 
            -
                    # @param WafRules:  | 
| 11960 | 
            +
                    # @param WafRules: 托管规则详细配置。
         | 
| 11644 11961 | 
             
                    # @type WafRules: :class:`Tencentcloud::Teo.v20220106.models.WafRule`
         | 
| 11645 | 
            -
                    # @param AiRule: AI | 
| 11962 | 
            +
                    # @param AiRule: AI规则引擎防护配置。
         | 
| 11646 11963 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11647 11964 | 
             
                    # @type AiRule: :class:`Tencentcloud::Teo.v20220106.models.AiRule`
         | 
| 11648 11965 |  | 
| @@ -11673,25 +11990,25 @@ module TencentCloud | |
| 11673 11990 |  | 
| 11674 11991 | 
             
                  # Waf规则
         | 
| 11675 11992 | 
             
                  class WafRule < TencentCloud::Common::AbstractModel
         | 
| 11676 | 
            -
                    # @param  | 
| 11677 | 
            -
                    # @type BlockRuleIDs: Array
         | 
| 11678 | 
            -
                    # @param Switch: 托管规则 开关
         | 
| 11993 | 
            +
                    # @param Switch: 托管规则开关。 on为开启
         | 
| 11679 11994 | 
             
                    # @type Switch: String
         | 
| 11680 | 
            -
                    # @param  | 
| 11995 | 
            +
                    # @param BlockRuleIDs: 黑名单ID列表,将规则ID加入本参数列表中代表该ID关闭,即该规则ID不再生效。ID参考接口 [DescribeSecurityPolicyManagedRules](https://tcloud4api.woa.com/document/product/1657/76030?!preview&!document=1)。
         | 
| 11996 | 
            +
                    # @type BlockRuleIDs: Array
         | 
| 11997 | 
            +
                    # @param ObserveRuleIDs: 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。ID参考接口 [DescribeSecurityPolicyManagedRules](https://tcloud4api.woa.com/document/product/1657/76030?!preview&!document=1)。
         | 
| 11681 11998 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 11682 11999 | 
             
                    # @type ObserveRuleIDs: Array
         | 
| 11683 12000 |  | 
| 11684 | 
            -
                    attr_accessor : | 
| 12001 | 
            +
                    attr_accessor :Switch, :BlockRuleIDs, :ObserveRuleIDs
         | 
| 11685 12002 |  | 
| 11686 | 
            -
                    def initialize( | 
| 11687 | 
            -
                      @BlockRuleIDs = blockruleids
         | 
| 12003 | 
            +
                    def initialize(switch=nil, blockruleids=nil, observeruleids=nil)
         | 
| 11688 12004 | 
             
                      @Switch = switch
         | 
| 12005 | 
            +
                      @BlockRuleIDs = blockruleids
         | 
| 11689 12006 | 
             
                      @ObserveRuleIDs = observeruleids
         | 
| 11690 12007 | 
             
                    end
         | 
| 11691 12008 |  | 
| 11692 12009 | 
             
                    def deserialize(params)
         | 
| 11693 | 
            -
                      @BlockRuleIDs = params['BlockRuleIDs']
         | 
| 11694 12010 | 
             
                      @Switch = params['Switch']
         | 
| 12011 | 
            +
                      @BlockRuleIDs = params['BlockRuleIDs']
         | 
| 11695 12012 | 
             
                      @ObserveRuleIDs = params['ObserveRuleIDs']
         | 
| 11696 12013 | 
             
                    end
         | 
| 11697 12014 | 
             
                  end
         | 
    
        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. | 
| 4 | 
            +
              version: 3.0.404
         | 
| 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-09- | 
| 11 | 
            +
            date: 2022-09-05 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: tencentcloud-sdk-common
         |