tencentcloud-sdk-cfw 3.0.771 → 3.0.772
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/v20190904/client.rb +72 -0
- data/lib/v20190904/models.rb +206 -1
- 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: 794ab73274ad5a80ea12ddb45950eaf7a5348b45
         | 
| 4 | 
            +
              data.tar.gz: 745899930f7ec31bf36a3bf00add0fae292a68f3
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 818e141ec936fdfde3ff38f8e76970a855cd1eb12480eb98497213f4e8fa5523e59e8495c021093016f0c32a1e507f160186c07b0e9c859066213ee6fd6721b8
         | 
| 7 | 
            +
              data.tar.gz: 98b85e880f762d0bd9013e74e9edced882e4f54741ff13ecfd3ffb1b212442f781b93056822b93d1abbd8d83da91ee39d3f0efc13d0080a92f9d688c3d1d619d
         | 
    
        data/lib/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            3.0. | 
| 1 | 
            +
            3.0.772
         | 
    
        data/lib/v20190904/client.rb
    CHANGED
    
    | @@ -293,6 +293,30 @@ module TencentCloud | |
| 293 293 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 294 294 | 
             
                    end
         | 
| 295 295 |  | 
| 296 | 
            +
                    # 批量添加入侵防御封禁列表、放通列表规则
         | 
| 297 | 
            +
             | 
| 298 | 
            +
                    # @param request: Request instance for CreateBlockIgnoreRuleNew.
         | 
| 299 | 
            +
                    # @type request: :class:`Tencentcloud::cfw::V20190904::CreateBlockIgnoreRuleNewRequest`
         | 
| 300 | 
            +
                    # @rtype: :class:`Tencentcloud::cfw::V20190904::CreateBlockIgnoreRuleNewResponse`
         | 
| 301 | 
            +
                    def CreateBlockIgnoreRuleNew(request)
         | 
| 302 | 
            +
                      body = send_request('CreateBlockIgnoreRuleNew', request.serialize)
         | 
| 303 | 
            +
                      response = JSON.parse(body)
         | 
| 304 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 305 | 
            +
                        model = CreateBlockIgnoreRuleNewResponse.new
         | 
| 306 | 
            +
                        model.deserialize(response['Response'])
         | 
| 307 | 
            +
                        model
         | 
| 308 | 
            +
                      else
         | 
| 309 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 310 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 311 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 312 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 313 | 
            +
                      end
         | 
| 314 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 315 | 
            +
                      raise e
         | 
| 316 | 
            +
                    rescue StandardError => e
         | 
| 317 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 318 | 
            +
                    end
         | 
| 319 | 
            +
             | 
| 296 320 | 
             
                    # 创建、选择vpc
         | 
| 297 321 |  | 
| 298 322 | 
             
                    # @param request: Request instance for CreateChooseVpcs.
         | 
| @@ -557,6 +581,30 @@ module TencentCloud | |
| 557 581 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 558 582 | 
             
                    end
         | 
| 559 583 |  | 
| 584 | 
            +
                    # 批量删除入侵防御封禁列表、放通列表规则(新)
         | 
| 585 | 
            +
             | 
| 586 | 
            +
                    # @param request: Request instance for DeleteBlockIgnoreRuleNew.
         | 
| 587 | 
            +
                    # @type request: :class:`Tencentcloud::cfw::V20190904::DeleteBlockIgnoreRuleNewRequest`
         | 
| 588 | 
            +
                    # @rtype: :class:`Tencentcloud::cfw::V20190904::DeleteBlockIgnoreRuleNewResponse`
         | 
| 589 | 
            +
                    def DeleteBlockIgnoreRuleNew(request)
         | 
| 590 | 
            +
                      body = send_request('DeleteBlockIgnoreRuleNew', request.serialize)
         | 
| 591 | 
            +
                      response = JSON.parse(body)
         | 
| 592 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 593 | 
            +
                        model = DeleteBlockIgnoreRuleNewResponse.new
         | 
| 594 | 
            +
                        model.deserialize(response['Response'])
         | 
| 595 | 
            +
                        model
         | 
| 596 | 
            +
                      else
         | 
| 597 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 598 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 599 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 600 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 601 | 
            +
                      end
         | 
| 602 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 603 | 
            +
                      raise e
         | 
| 604 | 
            +
                    rescue StandardError => e
         | 
| 605 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 606 | 
            +
                    end
         | 
| 607 | 
            +
             | 
| 560 608 | 
             
                    # 删除入侵防御规则白名单接口
         | 
| 561 609 |  | 
| 562 610 | 
             
                    # @param request: Request instance for DeleteIdsWhiteRule.
         | 
| @@ -1880,6 +1928,30 @@ module TencentCloud | |
| 1880 1928 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 1881 1929 | 
             
                    end
         | 
| 1882 1930 |  | 
| 1931 | 
            +
                    # 编辑单条入侵防御封禁列表、放通列表规则(新)
         | 
| 1932 | 
            +
             | 
| 1933 | 
            +
                    # @param request: Request instance for ModifyBlockIgnoreRuleNew.
         | 
| 1934 | 
            +
                    # @type request: :class:`Tencentcloud::cfw::V20190904::ModifyBlockIgnoreRuleNewRequest`
         | 
| 1935 | 
            +
                    # @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyBlockIgnoreRuleNewResponse`
         | 
| 1936 | 
            +
                    def ModifyBlockIgnoreRuleNew(request)
         | 
| 1937 | 
            +
                      body = send_request('ModifyBlockIgnoreRuleNew', request.serialize)
         | 
| 1938 | 
            +
                      response = JSON.parse(body)
         | 
| 1939 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 1940 | 
            +
                        model = ModifyBlockIgnoreRuleNewResponse.new
         | 
| 1941 | 
            +
                        model.deserialize(response['Response'])
         | 
| 1942 | 
            +
                        model
         | 
| 1943 | 
            +
                      else
         | 
| 1944 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 1945 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 1946 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 1947 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 1948 | 
            +
                      end
         | 
| 1949 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 1950 | 
            +
                      raise e
         | 
| 1951 | 
            +
                    rescue StandardError => e
         | 
| 1952 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 1953 | 
            +
                    end
         | 
| 1954 | 
            +
             | 
| 1883 1955 | 
             
                    # ModifyBlockTop取消置顶接口
         | 
| 1884 1956 |  | 
| 1885 1957 | 
             
                    # @param request: Request instance for ModifyBlockTop.
         | 
    
        data/lib/v20190904/models.rb
    CHANGED
    
    | @@ -512,6 +512,73 @@ module TencentCloud | |
| 512 512 | 
             
                    end
         | 
| 513 513 | 
             
                  end
         | 
| 514 514 |  | 
| 515 | 
            +
                  # 封禁列表和放通列表结构体
         | 
| 516 | 
            +
                  class BanAndAllowRule < TencentCloud::Common::AbstractModel
         | 
| 517 | 
            +
                    # @param Ioc: 封禁和放通对象
         | 
| 518 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 519 | 
            +
                    # @type Ioc: String
         | 
| 520 | 
            +
                    # @param DirectionList: 0互联网出站 1互联网入站 5内网访问源 6内网访问目的
         | 
| 521 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 522 | 
            +
                    # @type DirectionList: String
         | 
| 523 | 
            +
                    # @param EndTime: 规则截止时间
         | 
| 524 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 525 | 
            +
                    # @type EndTime: String
         | 
| 526 | 
            +
                    # @param Comment: 规则评论
         | 
| 527 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 528 | 
            +
                    # @type Comment: String
         | 
| 529 | 
            +
                    # @param CustomRule: 自定义白名单规则
         | 
| 530 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 531 | 
            +
                    # @type CustomRule: :class:`Tencentcloud::Cfw.v20190904.models.CustomWhiteRule`
         | 
| 532 | 
            +
             | 
| 533 | 
            +
                    attr_accessor :Ioc, :DirectionList, :EndTime, :Comment, :CustomRule
         | 
| 534 | 
            +
             | 
| 535 | 
            +
                    def initialize(ioc=nil, directionlist=nil, endtime=nil, comment=nil, customrule=nil)
         | 
| 536 | 
            +
                      @Ioc = ioc
         | 
| 537 | 
            +
                      @DirectionList = directionlist
         | 
| 538 | 
            +
                      @EndTime = endtime
         | 
| 539 | 
            +
                      @Comment = comment
         | 
| 540 | 
            +
                      @CustomRule = customrule
         | 
| 541 | 
            +
                    end
         | 
| 542 | 
            +
             | 
| 543 | 
            +
                    def deserialize(params)
         | 
| 544 | 
            +
                      @Ioc = params['Ioc']
         | 
| 545 | 
            +
                      @DirectionList = params['DirectionList']
         | 
| 546 | 
            +
                      @EndTime = params['EndTime']
         | 
| 547 | 
            +
                      @Comment = params['Comment']
         | 
| 548 | 
            +
                      unless params['CustomRule'].nil?
         | 
| 549 | 
            +
                        @CustomRule = CustomWhiteRule.new
         | 
| 550 | 
            +
                        @CustomRule.deserialize(params['CustomRule'])
         | 
| 551 | 
            +
                      end
         | 
| 552 | 
            +
                    end
         | 
| 553 | 
            +
                  end
         | 
| 554 | 
            +
             | 
| 555 | 
            +
                  # 封禁列表和放通列表结构体
         | 
| 556 | 
            +
                  class BanAndAllowRuleDel < TencentCloud::Common::AbstractModel
         | 
| 557 | 
            +
                    # @param Ioc: 封禁和放通对象
         | 
| 558 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 559 | 
            +
                    # @type Ioc: String
         | 
| 560 | 
            +
                    # @param DirectionList: 0互联网出站 1互联网入站 5内网访问源 6内网访问目的
         | 
| 561 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 562 | 
            +
                    # @type DirectionList: String
         | 
| 563 | 
            +
                    # @param RuleType: 规则类型
         | 
| 564 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 565 | 
            +
                    # @type RuleType: Integer
         | 
| 566 | 
            +
             | 
| 567 | 
            +
                    attr_accessor :Ioc, :DirectionList, :RuleType
         | 
| 568 | 
            +
             | 
| 569 | 
            +
                    def initialize(ioc=nil, directionlist=nil, ruletype=nil)
         | 
| 570 | 
            +
                      @Ioc = ioc
         | 
| 571 | 
            +
                      @DirectionList = directionlist
         | 
| 572 | 
            +
                      @RuleType = ruletype
         | 
| 573 | 
            +
                    end
         | 
| 574 | 
            +
             | 
| 575 | 
            +
                    def deserialize(params)
         | 
| 576 | 
            +
                      @Ioc = params['Ioc']
         | 
| 577 | 
            +
                      @DirectionList = params['DirectionList']
         | 
| 578 | 
            +
                      @RuleType = params['RuleType']
         | 
| 579 | 
            +
                    end
         | 
| 580 | 
            +
                  end
         | 
| 581 | 
            +
             | 
| 515 582 | 
             
                  # 规则关联的beta任务
         | 
| 516 583 | 
             
                  class BetaInfoByACL < TencentCloud::Common::AbstractModel
         | 
| 517 584 | 
             
                    # @param TaskId: 任务id
         | 
| @@ -898,7 +965,7 @@ module TencentCloud | |
| 898 965 | 
             
                    # 2 互联网出站
         | 
| 899 966 | 
             
                    # 4 内网访问
         | 
| 900 967 | 
             
                    # @type IsolateType: Array
         | 
| 901 | 
            -
                    # @param OmMode: 运维模式 1 IP白名单 2 身份认证
         | 
| 968 | 
            +
                    # @param OmMode: 运维模式 1 IP白名单 2 身份认证  0 非运维模式
         | 
| 902 969 | 
             
                    # @type OmMode: Integer
         | 
| 903 970 |  | 
| 904 971 | 
             
                    attr_accessor :HandleAssetList, :HandleTime, :AlertDirection, :IsolateType, :OmMode
         | 
| @@ -1161,6 +1228,53 @@ module TencentCloud | |
| 1161 1228 | 
             
                    end
         | 
| 1162 1229 | 
             
                  end
         | 
| 1163 1230 |  | 
| 1231 | 
            +
                  # CreateBlockIgnoreRuleNew请求参数结构体
         | 
| 1232 | 
            +
                  class CreateBlockIgnoreRuleNewRequest < TencentCloud::Common::AbstractModel
         | 
| 1233 | 
            +
                    # @param Rules: 非自定义类型规则列表
         | 
| 1234 | 
            +
                    # @type Rules: Array
         | 
| 1235 | 
            +
                    # @param RuleType: RuleType: 1黑名单 2外部IP 3域名 4情报 5资产 6自定义规则  7入侵防御规则
         | 
| 1236 | 
            +
                    # @type RuleType: Integer
         | 
| 1237 | 
            +
                    # @param CoverDuplicate: 是否覆盖重复数据,1覆盖,非1不覆盖,跳过重复数据
         | 
| 1238 | 
            +
                    # @type CoverDuplicate: Integer
         | 
| 1239 | 
            +
             | 
| 1240 | 
            +
                    attr_accessor :Rules, :RuleType, :CoverDuplicate
         | 
| 1241 | 
            +
             | 
| 1242 | 
            +
                    def initialize(rules=nil, ruletype=nil, coverduplicate=nil)
         | 
| 1243 | 
            +
                      @Rules = rules
         | 
| 1244 | 
            +
                      @RuleType = ruletype
         | 
| 1245 | 
            +
                      @CoverDuplicate = coverduplicate
         | 
| 1246 | 
            +
                    end
         | 
| 1247 | 
            +
             | 
| 1248 | 
            +
                    def deserialize(params)
         | 
| 1249 | 
            +
                      unless params['Rules'].nil?
         | 
| 1250 | 
            +
                        @Rules = []
         | 
| 1251 | 
            +
                        params['Rules'].each do |i|
         | 
| 1252 | 
            +
                          banandallowrule_tmp = BanAndAllowRule.new
         | 
| 1253 | 
            +
                          banandallowrule_tmp.deserialize(i)
         | 
| 1254 | 
            +
                          @Rules << banandallowrule_tmp
         | 
| 1255 | 
            +
                        end
         | 
| 1256 | 
            +
                      end
         | 
| 1257 | 
            +
                      @RuleType = params['RuleType']
         | 
| 1258 | 
            +
                      @CoverDuplicate = params['CoverDuplicate']
         | 
| 1259 | 
            +
                    end
         | 
| 1260 | 
            +
                  end
         | 
| 1261 | 
            +
             | 
| 1262 | 
            +
                  # CreateBlockIgnoreRuleNew返回参数结构体
         | 
| 1263 | 
            +
                  class CreateBlockIgnoreRuleNewResponse < TencentCloud::Common::AbstractModel
         | 
| 1264 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 1265 | 
            +
                    # @type RequestId: String
         | 
| 1266 | 
            +
             | 
| 1267 | 
            +
                    attr_accessor :RequestId
         | 
| 1268 | 
            +
             | 
| 1269 | 
            +
                    def initialize(requestid=nil)
         | 
| 1270 | 
            +
                      @RequestId = requestid
         | 
| 1271 | 
            +
                    end
         | 
| 1272 | 
            +
             | 
| 1273 | 
            +
                    def deserialize(params)
         | 
| 1274 | 
            +
                      @RequestId = params['RequestId']
         | 
| 1275 | 
            +
                    end
         | 
| 1276 | 
            +
                  end
         | 
| 1277 | 
            +
             | 
| 1164 1278 | 
             
                  # CreateChooseVpcs请求参数结构体
         | 
| 1165 1279 | 
             
                  class CreateChooseVpcsRequest < TencentCloud::Common::AbstractModel
         | 
| 1166 1280 | 
             
                    # @param VpcList: vpc列表
         | 
| @@ -2033,6 +2147,58 @@ module TencentCloud | |
| 2033 2147 | 
             
                    end
         | 
| 2034 2148 | 
             
                  end
         | 
| 2035 2149 |  | 
| 2150 | 
            +
                  # DeleteBlockIgnoreRuleNew请求参数结构体
         | 
| 2151 | 
            +
                  class DeleteBlockIgnoreRuleNewRequest < TencentCloud::Common::AbstractModel
         | 
| 2152 | 
            +
                    # @param DeleteAll: 是否删除全部
         | 
| 2153 | 
            +
                    # @type DeleteAll: Integer
         | 
| 2154 | 
            +
                    # @param Rules: 规则列表
         | 
| 2155 | 
            +
                    # @type Rules: Array
         | 
| 2156 | 
            +
                    # @param RuleType: 封禁:1,放通:100,
         | 
| 2157 | 
            +
                    # 主要用于全部删除时区分列表类型
         | 
| 2158 | 
            +
                    # @type RuleType: Integer
         | 
| 2159 | 
            +
                    # @param ShowType: blocklist 封禁列表 whitelist 白名单列表
         | 
| 2160 | 
            +
                    # @type ShowType: String
         | 
| 2161 | 
            +
             | 
| 2162 | 
            +
                    attr_accessor :DeleteAll, :Rules, :RuleType, :ShowType
         | 
| 2163 | 
            +
             | 
| 2164 | 
            +
                    def initialize(deleteall=nil, rules=nil, ruletype=nil, showtype=nil)
         | 
| 2165 | 
            +
                      @DeleteAll = deleteall
         | 
| 2166 | 
            +
                      @Rules = rules
         | 
| 2167 | 
            +
                      @RuleType = ruletype
         | 
| 2168 | 
            +
                      @ShowType = showtype
         | 
| 2169 | 
            +
                    end
         | 
| 2170 | 
            +
             | 
| 2171 | 
            +
                    def deserialize(params)
         | 
| 2172 | 
            +
                      @DeleteAll = params['DeleteAll']
         | 
| 2173 | 
            +
                      unless params['Rules'].nil?
         | 
| 2174 | 
            +
                        @Rules = []
         | 
| 2175 | 
            +
                        params['Rules'].each do |i|
         | 
| 2176 | 
            +
                          banandallowruledel_tmp = BanAndAllowRuleDel.new
         | 
| 2177 | 
            +
                          banandallowruledel_tmp.deserialize(i)
         | 
| 2178 | 
            +
                          @Rules << banandallowruledel_tmp
         | 
| 2179 | 
            +
                        end
         | 
| 2180 | 
            +
                      end
         | 
| 2181 | 
            +
                      @RuleType = params['RuleType']
         | 
| 2182 | 
            +
                      @ShowType = params['ShowType']
         | 
| 2183 | 
            +
                    end
         | 
| 2184 | 
            +
                  end
         | 
| 2185 | 
            +
             | 
| 2186 | 
            +
                  # DeleteBlockIgnoreRuleNew返回参数结构体
         | 
| 2187 | 
            +
                  class DeleteBlockIgnoreRuleNewResponse < TencentCloud::Common::AbstractModel
         | 
| 2188 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 2189 | 
            +
                    # @type RequestId: String
         | 
| 2190 | 
            +
             | 
| 2191 | 
            +
                    attr_accessor :RequestId
         | 
| 2192 | 
            +
             | 
| 2193 | 
            +
                    def initialize(requestid=nil)
         | 
| 2194 | 
            +
                      @RequestId = requestid
         | 
| 2195 | 
            +
                    end
         | 
| 2196 | 
            +
             | 
| 2197 | 
            +
                    def deserialize(params)
         | 
| 2198 | 
            +
                      @RequestId = params['RequestId']
         | 
| 2199 | 
            +
                    end
         | 
| 2200 | 
            +
                  end
         | 
| 2201 | 
            +
             | 
| 2036 2202 | 
             
                  # DeleteIdsWhiteRule请求参数结构体
         | 
| 2037 2203 | 
             
                  class DeleteIdsWhiteRuleRequest < TencentCloud::Common::AbstractModel
         | 
| 2038 2204 | 
             
                    # @param Id: 入侵防御白名单id
         | 
| @@ -6156,6 +6322,45 @@ module TencentCloud | |
| 6156 6322 | 
             
                    end
         | 
| 6157 6323 | 
             
                  end
         | 
| 6158 6324 |  | 
| 6325 | 
            +
                  # ModifyBlockIgnoreRuleNew请求参数结构体
         | 
| 6326 | 
            +
                  class ModifyBlockIgnoreRuleNewRequest < TencentCloud::Common::AbstractModel
         | 
| 6327 | 
            +
                    # @param Rule: 规则
         | 
| 6328 | 
            +
                    # @type Rule: :class:`Tencentcloud::Cfw.v20190904.models.BanAndAllowRule`
         | 
| 6329 | 
            +
                    # @param RuleType: RuleType: 1放通列表 2外部IP 3域名 4情报 5资产 6自定义规则  7入侵防御规则
         | 
| 6330 | 
            +
                    # @type RuleType: Integer
         | 
| 6331 | 
            +
             | 
| 6332 | 
            +
                    attr_accessor :Rule, :RuleType
         | 
| 6333 | 
            +
             | 
| 6334 | 
            +
                    def initialize(rule=nil, ruletype=nil)
         | 
| 6335 | 
            +
                      @Rule = rule
         | 
| 6336 | 
            +
                      @RuleType = ruletype
         | 
| 6337 | 
            +
                    end
         | 
| 6338 | 
            +
             | 
| 6339 | 
            +
                    def deserialize(params)
         | 
| 6340 | 
            +
                      unless params['Rule'].nil?
         | 
| 6341 | 
            +
                        @Rule = BanAndAllowRule.new
         | 
| 6342 | 
            +
                        @Rule.deserialize(params['Rule'])
         | 
| 6343 | 
            +
                      end
         | 
| 6344 | 
            +
                      @RuleType = params['RuleType']
         | 
| 6345 | 
            +
                    end
         | 
| 6346 | 
            +
                  end
         | 
| 6347 | 
            +
             | 
| 6348 | 
            +
                  # ModifyBlockIgnoreRuleNew返回参数结构体
         | 
| 6349 | 
            +
                  class ModifyBlockIgnoreRuleNewResponse < TencentCloud::Common::AbstractModel
         | 
| 6350 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 6351 | 
            +
                    # @type RequestId: String
         | 
| 6352 | 
            +
             | 
| 6353 | 
            +
                    attr_accessor :RequestId
         | 
| 6354 | 
            +
             | 
| 6355 | 
            +
                    def initialize(requestid=nil)
         | 
| 6356 | 
            +
                      @RequestId = requestid
         | 
| 6357 | 
            +
                    end
         | 
| 6358 | 
            +
             | 
| 6359 | 
            +
                    def deserialize(params)
         | 
| 6360 | 
            +
                      @RequestId = params['RequestId']
         | 
| 6361 | 
            +
                    end
         | 
| 6362 | 
            +
                  end
         | 
| 6363 | 
            +
             | 
| 6159 6364 | 
             
                  # ModifyBlockIgnoreRule请求参数结构体
         | 
| 6160 6365 | 
             
                  class ModifyBlockIgnoreRuleRequest < TencentCloud::Common::AbstractModel
         | 
| 6161 6366 | 
             
                    # @param Rule: 规则
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: tencentcloud-sdk-cfw
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3.0. | 
| 4 | 
            +
              version: 3.0.772
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Tencent Cloud
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2024-02- | 
| 11 | 
            +
            date: 2024-02-29 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: tencentcloud-sdk-common
         |