tencentcloud-sdk-waf 3.0.720 → 3.0.722
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/v20180125/models.rb +109 -29
- 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: 303fe6daa214dbc6f50362fc7eac0b6f4ed4c792
         | 
| 4 | 
            +
              data.tar.gz: 0aedc3bb0552aa8d89ab111ce7be6928eaafdd7b
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 44c3e668decf272d2e51481c95aeaf622ff66b77016d95e698b078a1e97d3588078d4e57358d460115f0a8fe9a6a1e6597e9e556eba98088c11d097aa1d3d572
         | 
| 7 | 
            +
              data.tar.gz: c3340ab4bb4191aae81ac72790097a30c657b01511394e2700e97055c1a44ec8406fd54b8d6e92a5ceea2a6acaa748dbe825b25670a926f465bd6425ba91745b
         | 
    
        data/lib/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            3.0. | 
| 1 | 
            +
            3.0.722
         | 
    
        data/lib/v20180125/models.rb
    CHANGED
    
    | @@ -56,8 +56,8 @@ module TencentCloud | |
| 56 56 |  | 
| 57 57 | 
             
                    attr_accessor :BTime, :Count, :BeginTime
         | 
| 58 58 | 
             
                    extend Gem::Deprecate
         | 
| 59 | 
            -
                    deprecate :BTime, :none, 2023,  | 
| 60 | 
            -
                    deprecate :BTime=, :none, 2023,  | 
| 59 | 
            +
                    deprecate :BTime, :none, 2023, 12
         | 
| 60 | 
            +
                    deprecate :BTime=, :none, 2023, 12
         | 
| 61 61 |  | 
| 62 62 | 
             
                    def initialize(btime=nil, count=nil, begintime=nil)
         | 
| 63 63 | 
             
                      @BTime = btime
         | 
| @@ -4775,10 +4775,10 @@ module TencentCloud | |
| 4775 4775 |  | 
| 4776 4776 | 
             
                    attr_accessor :Domain, :Count, :ActionType, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :OffSet, :Limit, :Source, :Sort, :Ip, :ValidStatus, :ValidTimeStampMin, :ValidTimeStampMax
         | 
| 4777 4777 | 
             
                    extend Gem::Deprecate
         | 
| 4778 | 
            -
                    deprecate :VtsMin, :none, 2023,  | 
| 4779 | 
            -
                    deprecate :VtsMin=, :none, 2023,  | 
| 4780 | 
            -
                    deprecate :VtsMax, :none, 2023,  | 
| 4781 | 
            -
                    deprecate :VtsMax=, :none, 2023,  | 
| 4778 | 
            +
                    deprecate :VtsMin, :none, 2023, 12
         | 
| 4779 | 
            +
                    deprecate :VtsMin=, :none, 2023, 12
         | 
| 4780 | 
            +
                    deprecate :VtsMax, :none, 2023, 12
         | 
| 4781 | 
            +
                    deprecate :VtsMax=, :none, 2023, 12
         | 
| 4782 4782 |  | 
| 4783 4783 | 
             
                    def initialize(domain=nil, count=nil, actiontype=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, offset=nil, limit=nil, source=nil, sort=nil, ip=nil, validstatus=nil, validtimestampmin=nil, validtimestampmax=nil)
         | 
| 4784 4784 | 
             
                      @Domain = domain
         | 
| @@ -4874,10 +4874,10 @@ module TencentCloud | |
| 4874 4874 |  | 
| 4875 4875 | 
             
                    attr_accessor :Domain, :Count, :Category, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :Skip, :Limit, :Name, :Sort, :Ip, :ValidTimeStampMin, :ValidTimeStampMax
         | 
| 4876 4876 | 
             
                    extend Gem::Deprecate
         | 
| 4877 | 
            -
                    deprecate :VtsMin, :none, 2023,  | 
| 4878 | 
            -
                    deprecate :VtsMin=, :none, 2023,  | 
| 4879 | 
            -
                    deprecate :VtsMax, :none, 2023,  | 
| 4880 | 
            -
                    deprecate :VtsMax=, :none, 2023,  | 
| 4877 | 
            +
                    deprecate :VtsMin, :none, 2023, 12
         | 
| 4878 | 
            +
                    deprecate :VtsMin=, :none, 2023, 12
         | 
| 4879 | 
            +
                    deprecate :VtsMax, :none, 2023, 12
         | 
| 4880 | 
            +
                    deprecate :VtsMax=, :none, 2023, 12
         | 
| 4881 4881 |  | 
| 4882 4882 | 
             
                    def initialize(domain=nil, count=nil, category=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, skip=nil, limit=nil, name=nil, sort=nil, ip=nil, validtimestampmin=nil, validtimestampmax=nil)
         | 
| 4883 4883 | 
             
                      @Domain = domain
         | 
| @@ -7574,39 +7574,49 @@ module TencentCloud | |
| 7574 7574 |  | 
| 7575 7575 | 
             
                  # 一个实例的详细信息
         | 
| 7576 7576 | 
             
                  class InstanceInfo < TencentCloud::Common::AbstractModel
         | 
| 7577 | 
            -
                    # @param InstanceId:  | 
| 7577 | 
            +
                    # @param InstanceId: 实例唯一ID
         | 
| 7578 7578 | 
             
                    # @type InstanceId: String
         | 
| 7579 | 
            -
                    # @param InstanceName:  | 
| 7579 | 
            +
                    # @param InstanceName: 实例名称
         | 
| 7580 7580 | 
             
                    # @type InstanceName: String
         | 
| 7581 | 
            -
                    # @param ResourceIds:  | 
| 7581 | 
            +
                    # @param ResourceIds: 实例对应资源ID,计费使用
         | 
| 7582 7582 | 
             
                    # @type ResourceIds: String
         | 
| 7583 | 
            -
                    # @param Region:  | 
| 7583 | 
            +
                    # @param Region: 实例所属地域
         | 
| 7584 7584 | 
             
                    # @type Region: String
         | 
| 7585 7585 | 
             
                    # @param PayMode: 付费模式
         | 
| 7586 7586 | 
             
                    # @type PayMode: Integer
         | 
| 7587 | 
            -
                    # @param RenewFlag:  | 
| 7587 | 
            +
                    # @param RenewFlag: 自动续费标识。
         | 
| 7588 | 
            +
                    # 0:关闭
         | 
| 7589 | 
            +
                    # 1:开启
         | 
| 7588 7590 | 
             
                    # @type RenewFlag: Integer
         | 
| 7589 | 
            -
                    # @param Mode:  | 
| 7591 | 
            +
                    # @param Mode: 弹性计费开关。
         | 
| 7592 | 
            +
                    # 0:关闭
         | 
| 7593 | 
            +
                    # 1:开启
         | 
| 7590 7594 | 
             
                    # @type Mode: Integer
         | 
| 7591 | 
            -
                    # @param Level:  | 
| 7595 | 
            +
                    # @param Level: 实例套餐版本。
         | 
| 7596 | 
            +
                    # 101:小微版
         | 
| 7597 | 
            +
                    # 102:超轻版
         | 
| 7598 | 
            +
                    # 2:高级版
         | 
| 7599 | 
            +
                    # 3:企业版
         | 
| 7600 | 
            +
                    # 4:旗舰版
         | 
| 7601 | 
            +
                    # 6:独享版
         | 
| 7592 7602 | 
             
                    # @type Level: Integer
         | 
| 7593 | 
            -
                    # @param ValidTime:  | 
| 7603 | 
            +
                    # @param ValidTime: 实例过期时间
         | 
| 7594 7604 | 
             
                    # @type ValidTime: String
         | 
| 7595 | 
            -
                    # @param BeginTime:  | 
| 7605 | 
            +
                    # @param BeginTime: 实例开始时间
         | 
| 7596 7606 | 
             
                    # @type BeginTime: String
         | 
| 7597 | 
            -
                    # @param DomainCount:  | 
| 7607 | 
            +
                    # @param DomainCount: 已配置域名个数
         | 
| 7598 7608 | 
             
                    # @type DomainCount: Integer
         | 
| 7599 | 
            -
                    # @param SubDomainLimit:  | 
| 7609 | 
            +
                    # @param SubDomainLimit: 域名数量上限
         | 
| 7600 7610 | 
             
                    # @type SubDomainLimit: Integer
         | 
| 7601 | 
            -
                    # @param MainDomainCount:  | 
| 7611 | 
            +
                    # @param MainDomainCount: 已配置主域名个数
         | 
| 7602 7612 | 
             
                    # @type MainDomainCount: Integer
         | 
| 7603 | 
            -
                    # @param MainDomainLimit:  | 
| 7613 | 
            +
                    # @param MainDomainLimit: 主域名数量上限
         | 
| 7604 7614 | 
             
                    # @type MainDomainLimit: Integer
         | 
| 7605 | 
            -
                    # @param MaxQPS: 峰值
         | 
| 7615 | 
            +
                    # @param MaxQPS: 实例30天内QPS峰值
         | 
| 7606 7616 | 
             
                    # @type MaxQPS: Integer
         | 
| 7607 | 
            -
                    # @param QPS: qps | 
| 7617 | 
            +
                    # @param QPS: qps扩展包信息
         | 
| 7608 7618 | 
             
                    # @type QPS: :class:`Tencentcloud::Waf.v20180125.models.QPSPackageNew`
         | 
| 7609 | 
            -
                    # @param DomainPkg:  | 
| 7619 | 
            +
                    # @param DomainPkg: 域名扩展包信息
         | 
| 7610 7620 | 
             
                    # @type DomainPkg: :class:`Tencentcloud::Waf.v20180125.models.DomainPackageNew`
         | 
| 7611 7621 | 
             
                    # @param AppId: 用户appid
         | 
| 7612 7622 | 
             
                    # @type AppId: Integer
         | 
| @@ -7641,7 +7651,7 @@ module TencentCloud | |
| 7641 7651 | 
             
                    # @param Status: 实例状态
         | 
| 7642 7652 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7643 7653 | 
             
                    # @type Status: Integer
         | 
| 7644 | 
            -
                    # @param SandboxQps:  | 
| 7654 | 
            +
                    # @param SandboxQps: 实例沙箱qps值
         | 
| 7645 7655 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7646 7656 | 
             
                    # @type SandboxQps: Integer
         | 
| 7647 7657 | 
             
                    # @param IsAPISecurityTrial: 是否api 安全试用
         | 
| @@ -7656,10 +7666,19 @@ module TencentCloud | |
| 7656 7666 | 
             
                    # @param ApiPkg: API安全资源包
         | 
| 7657 7667 | 
             
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7658 7668 | 
             
                    # @type ApiPkg: :class:`Tencentcloud::Waf.v20180125.models.ApiPkg`
         | 
| 7669 | 
            +
                    # @param MiniPkg: 小程序安全加速包
         | 
| 7670 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7671 | 
            +
                    # @type MiniPkg: :class:`Tencentcloud::Waf.v20180125.models.MiniPkg`
         | 
| 7672 | 
            +
                    # @param MiniQpsStandard: 小程序qps规格
         | 
| 7673 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7674 | 
            +
                    # @type MiniQpsStandard: Integer
         | 
| 7675 | 
            +
                    # @param MiniMaxQPS: 小程序qps峰值
         | 
| 7676 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 7677 | 
            +
                    # @type MiniMaxQPS: Integer
         | 
| 7659 7678 |  | 
| 7660 | 
            -
                    attr_accessor :InstanceId, :InstanceName, :ResourceIds, :Region, :PayMode, :RenewFlag, :Mode, :Level, :ValidTime, :BeginTime, :DomainCount, :SubDomainLimit, :MainDomainCount, :MainDomainLimit, :MaxQPS, :QPS, :DomainPkg, :AppId, :Edition, :FraudPkg, :BotPkg, :BotQPS, :ElasticBilling, :AttackLogPost, :MaxBandwidth, :APISecurity, :QpsStandard, :BandwidthStandard, :Status, :SandboxQps, :IsAPISecurityTrial, :MajorEventsPkg, :HybridPkg, :ApiPkg
         | 
| 7679 | 
            +
                    attr_accessor :InstanceId, :InstanceName, :ResourceIds, :Region, :PayMode, :RenewFlag, :Mode, :Level, :ValidTime, :BeginTime, :DomainCount, :SubDomainLimit, :MainDomainCount, :MainDomainLimit, :MaxQPS, :QPS, :DomainPkg, :AppId, :Edition, :FraudPkg, :BotPkg, :BotQPS, :ElasticBilling, :AttackLogPost, :MaxBandwidth, :APISecurity, :QpsStandard, :BandwidthStandard, :Status, :SandboxQps, :IsAPISecurityTrial, :MajorEventsPkg, :HybridPkg, :ApiPkg, :MiniPkg, :MiniQpsStandard, :MiniMaxQPS
         | 
| 7661 7680 |  | 
| 7662 | 
            -
                    def initialize(instanceid=nil, instancename=nil, resourceids=nil, region=nil, paymode=nil, renewflag=nil, mode=nil, level=nil, validtime=nil, begintime=nil, domaincount=nil, subdomainlimit=nil, maindomaincount=nil, maindomainlimit=nil, maxqps=nil, qps=nil, domainpkg=nil, appid=nil, edition=nil, fraudpkg=nil, botpkg=nil, botqps=nil, elasticbilling=nil, attacklogpost=nil, maxbandwidth=nil, apisecurity=nil, qpsstandard=nil, bandwidthstandard=nil, status=nil, sandboxqps=nil, isapisecuritytrial=nil, majoreventspkg=nil, hybridpkg=nil, apipkg=nil)
         | 
| 7681 | 
            +
                    def initialize(instanceid=nil, instancename=nil, resourceids=nil, region=nil, paymode=nil, renewflag=nil, mode=nil, level=nil, validtime=nil, begintime=nil, domaincount=nil, subdomainlimit=nil, maindomaincount=nil, maindomainlimit=nil, maxqps=nil, qps=nil, domainpkg=nil, appid=nil, edition=nil, fraudpkg=nil, botpkg=nil, botqps=nil, elasticbilling=nil, attacklogpost=nil, maxbandwidth=nil, apisecurity=nil, qpsstandard=nil, bandwidthstandard=nil, status=nil, sandboxqps=nil, isapisecuritytrial=nil, majoreventspkg=nil, hybridpkg=nil, apipkg=nil, minipkg=nil, miniqpsstandard=nil, minimaxqps=nil)
         | 
| 7663 7682 | 
             
                      @InstanceId = instanceid
         | 
| 7664 7683 | 
             
                      @InstanceName = instancename
         | 
| 7665 7684 | 
             
                      @ResourceIds = resourceids
         | 
| @@ -7694,6 +7713,9 @@ module TencentCloud | |
| 7694 7713 | 
             
                      @MajorEventsPkg = majoreventspkg
         | 
| 7695 7714 | 
             
                      @HybridPkg = hybridpkg
         | 
| 7696 7715 | 
             
                      @ApiPkg = apipkg
         | 
| 7716 | 
            +
                      @MiniPkg = minipkg
         | 
| 7717 | 
            +
                      @MiniQpsStandard = miniqpsstandard
         | 
| 7718 | 
            +
                      @MiniMaxQPS = minimaxqps
         | 
| 7697 7719 | 
             
                    end
         | 
| 7698 7720 |  | 
| 7699 7721 | 
             
                    def deserialize(params)
         | 
| @@ -7755,6 +7777,12 @@ module TencentCloud | |
| 7755 7777 | 
             
                        @ApiPkg = ApiPkg.new
         | 
| 7756 7778 | 
             
                        @ApiPkg.deserialize(params['ApiPkg'])
         | 
| 7757 7779 | 
             
                      end
         | 
| 7780 | 
            +
                      unless params['MiniPkg'].nil?
         | 
| 7781 | 
            +
                        @MiniPkg = MiniPkg.new
         | 
| 7782 | 
            +
                        @MiniPkg.deserialize(params['MiniPkg'])
         | 
| 7783 | 
            +
                      end
         | 
| 7784 | 
            +
                      @MiniQpsStandard = params['MiniQpsStandard']
         | 
| 7785 | 
            +
                      @MiniMaxQPS = params['MiniMaxQPS']
         | 
| 7758 7786 | 
             
                    end
         | 
| 7759 7787 | 
             
                  end
         | 
| 7760 7788 |  | 
| @@ -8133,6 +8161,58 @@ module TencentCloud | |
| 8133 8161 | 
             
                    end
         | 
| 8134 8162 | 
             
                  end
         | 
| 8135 8163 |  | 
| 8164 | 
            +
                  # API安全资源信息
         | 
| 8165 | 
            +
                  class MiniPkg < TencentCloud::Common::AbstractModel
         | 
| 8166 | 
            +
                    # @param ResourceIds: 资源id
         | 
| 8167 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8168 | 
            +
                    # @type ResourceIds: String
         | 
| 8169 | 
            +
                    # @param Status: 状态
         | 
| 8170 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8171 | 
            +
                    # @type Status: Integer
         | 
| 8172 | 
            +
                    # @param Region: 地域
         | 
| 8173 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8174 | 
            +
                    # @type Region: Integer
         | 
| 8175 | 
            +
                    # @param BeginTime: 开始时间
         | 
| 8176 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8177 | 
            +
                    # @type BeginTime: String
         | 
| 8178 | 
            +
                    # @param EndTime: 结束时间
         | 
| 8179 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8180 | 
            +
                    # @type EndTime: String
         | 
| 8181 | 
            +
                    # @param Count: 购买数量
         | 
| 8182 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8183 | 
            +
                    # @type Count: Integer
         | 
| 8184 | 
            +
                    # @param RenewFlag: 续费标志
         | 
| 8185 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8186 | 
            +
                    # @type RenewFlag: Integer
         | 
| 8187 | 
            +
                    # @param BillingItem: 计费项
         | 
| 8188 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 8189 | 
            +
                    # @type BillingItem: String
         | 
| 8190 | 
            +
             | 
| 8191 | 
            +
                    attr_accessor :ResourceIds, :Status, :Region, :BeginTime, :EndTime, :Count, :RenewFlag, :BillingItem
         | 
| 8192 | 
            +
             | 
| 8193 | 
            +
                    def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, count=nil, renewflag=nil, billingitem=nil)
         | 
| 8194 | 
            +
                      @ResourceIds = resourceids
         | 
| 8195 | 
            +
                      @Status = status
         | 
| 8196 | 
            +
                      @Region = region
         | 
| 8197 | 
            +
                      @BeginTime = begintime
         | 
| 8198 | 
            +
                      @EndTime = endtime
         | 
| 8199 | 
            +
                      @Count = count
         | 
| 8200 | 
            +
                      @RenewFlag = renewflag
         | 
| 8201 | 
            +
                      @BillingItem = billingitem
         | 
| 8202 | 
            +
                    end
         | 
| 8203 | 
            +
             | 
| 8204 | 
            +
                    def deserialize(params)
         | 
| 8205 | 
            +
                      @ResourceIds = params['ResourceIds']
         | 
| 8206 | 
            +
                      @Status = params['Status']
         | 
| 8207 | 
            +
                      @Region = params['Region']
         | 
| 8208 | 
            +
                      @BeginTime = params['BeginTime']
         | 
| 8209 | 
            +
                      @EndTime = params['EndTime']
         | 
| 8210 | 
            +
                      @Count = params['Count']
         | 
| 8211 | 
            +
                      @RenewFlag = params['RenewFlag']
         | 
| 8212 | 
            +
                      @BillingItem = params['BillingItem']
         | 
| 8213 | 
            +
                    end
         | 
| 8214 | 
            +
                  end
         | 
| 8215 | 
            +
             | 
| 8136 8216 | 
             
                  # ModifyAccessPeriod请求参数结构体
         | 
| 8137 8217 | 
             
                  class ModifyAccessPeriodRequest < TencentCloud::Common::AbstractModel
         | 
| 8138 8218 | 
             
                    # @param Period: 访问日志保存期限,范围为[1, 180]
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: tencentcloud-sdk-waf
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3.0. | 
| 4 | 
            +
              version: 3.0.722
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Tencent Cloud
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2023-12- | 
| 11 | 
            +
            date: 2023-12-06 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: tencentcloud-sdk-common
         |