tencentcloud-sdk-waf 3.0.1043 → 3.0.1045

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180125/models.rb +129 -8
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b09e7402879219786292aa930b0cb3506cf20fe8
4
- data.tar.gz: 1e1befdfc3546929ec96bd890e7ce5bec21f48c1
3
+ metadata.gz: 1ab4c4336279e314e43288ea8c96aa3d966fdc51
4
+ data.tar.gz: c501f7a1bdbac1edd5e7dfebbf900d1e00fbe80d
5
5
  SHA512:
6
- metadata.gz: bd3b82fc9907eb970d6e070454cb89b8964c5c84deb6d9d818ad322917bcb567a6bfef0e4c402bbdbc96ef2f46d50ff7511e16a66d9809e2c503694be015def3
7
- data.tar.gz: 579bad8c66269a6922505b880f8b65da9976291d5fb9fd60576499ccf4b48e000c002ff4521795461229185d3b72ec0acf637c3cfc6ba256807f81b5eeef95fb
6
+ metadata.gz: 6f729ce26f02612cf6b32826d45ab166b6bb7e90930e33f2e83c11b08bc7b92a0d466c080bd0b6a8c48afe9e00d59a510ef1ba65bfe4e2ed860af6503ad1ccd8
7
+ data.tar.gz: 939b3bc0cbe20e77afd8814734c5d4fe4351e2db6192b147b13da6c40f3897d211cce5ce27083051ab57822b63fbd33c2d1f41f98d3f1ad6ca8738bb574adb6e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1043
1
+ 3.0.1045
@@ -3132,10 +3132,18 @@ module TencentCloud
3132
3132
  # @type Topic: String
3133
3133
  # @param KafkaVersion: kafka集群的版本号
3134
3134
  # @type KafkaVersion: String
3135
-
3136
- attr_accessor :CKafkaRegion, :CKafkaID, :Brokers, :Compression, :VipType, :LogType, :Topic, :KafkaVersion
3137
-
3138
- def initialize(ckafkaregion=nil, ckafkaid=nil, brokers=nil, compression=nil, viptype=nil, logtype=nil, topic=nil, kafkaversion=nil)
3135
+ # @param SASLEnable: 是否开启SASL校验,默认不开启,0-关闭,1-开启
3136
+ # @type SASLEnable: Integer
3137
+ # @param SASLUser: SASL用户名
3138
+ # @type SASLUser: String
3139
+ # @param SASLPassword: SASL密码
3140
+ # @type SASLPassword: String
3141
+ # @param WriteConfig: 开启访问日志某些字段是否投递
3142
+ # @type WriteConfig: :class:`Tencentcloud::Waf.v20180125.models.FieldWriteConfig`
3143
+
3144
+ attr_accessor :CKafkaRegion, :CKafkaID, :Brokers, :Compression, :VipType, :LogType, :Topic, :KafkaVersion, :SASLEnable, :SASLUser, :SASLPassword, :WriteConfig
3145
+
3146
+ def initialize(ckafkaregion=nil, ckafkaid=nil, brokers=nil, compression=nil, viptype=nil, logtype=nil, topic=nil, kafkaversion=nil, saslenable=nil, sasluser=nil, saslpassword=nil, writeconfig=nil)
3139
3147
  @CKafkaRegion = ckafkaregion
3140
3148
  @CKafkaID = ckafkaid
3141
3149
  @Brokers = brokers
@@ -3144,6 +3152,10 @@ module TencentCloud
3144
3152
  @LogType = logtype
3145
3153
  @Topic = topic
3146
3154
  @KafkaVersion = kafkaversion
3155
+ @SASLEnable = saslenable
3156
+ @SASLUser = sasluser
3157
+ @SASLPassword = saslpassword
3158
+ @WriteConfig = writeconfig
3147
3159
  end
3148
3160
 
3149
3161
  def deserialize(params)
@@ -3155,6 +3167,13 @@ module TencentCloud
3155
3167
  @LogType = params['LogType']
3156
3168
  @Topic = params['Topic']
3157
3169
  @KafkaVersion = params['KafkaVersion']
3170
+ @SASLEnable = params['SASLEnable']
3171
+ @SASLUser = params['SASLUser']
3172
+ @SASLPassword = params['SASLPassword']
3173
+ unless params['WriteConfig'].nil?
3174
+ @WriteConfig = FieldWriteConfig.new
3175
+ @WriteConfig.deserialize(params['WriteConfig'])
3176
+ end
3158
3177
  end
3159
3178
  end
3160
3179
 
@@ -9133,6 +9152,30 @@ module TencentCloud
9133
9152
  end
9134
9153
  end
9135
9154
 
9155
+ # 设置哪些字段是否存储或转发
9156
+ class FieldWriteConfig < TencentCloud::Common::AbstractModel
9157
+ # @param EnableHeaders: 1:开启 0:不开启
9158
+ # @type EnableHeaders: Integer
9159
+ # @param EnableBody: 1:开启 0:不开启
9160
+ # @type EnableBody: Integer
9161
+ # @param EnableBot: 1:开启 0:不开启
9162
+ # @type EnableBot: Integer
9163
+
9164
+ attr_accessor :EnableHeaders, :EnableBody, :EnableBot
9165
+
9166
+ def initialize(enableheaders=nil, enablebody=nil, enablebot=nil)
9167
+ @EnableHeaders = enableheaders
9168
+ @EnableBody = enablebody
9169
+ @EnableBot = enablebot
9170
+ end
9171
+
9172
+ def deserialize(params)
9173
+ @EnableHeaders = params['EnableHeaders']
9174
+ @EnableBody = params['EnableBody']
9175
+ @EnableBot = params['EnableBot']
9176
+ end
9177
+ end
9178
+
9136
9179
  # 过滤数组
9137
9180
  class FiltersItemNew < TencentCloud::Common::AbstractModel
9138
9181
  # @param Name: 字段名; 过滤
@@ -10391,10 +10434,12 @@ module TencentCloud
10391
10434
  # @type Last3MaxQPS: Integer
10392
10435
  # @param Last3MaxBandwidth: 最近3天最大带宽
10393
10436
  # @type Last3MaxBandwidth: Integer
10437
+ # @param MajorEventsProPkg: 重保增强包
10438
+ # @type MajorEventsProPkg: :class:`Tencentcloud::Waf.v20180125.models.MajorEventsProPkg`
10394
10439
 
10395
- 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, :LastQpsExceedTime, :MiniExtendPkg, :BillingItem, :FreeDelayFlag, :Last3MaxQPS, :Last3MaxBandwidth
10440
+ 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, :LastQpsExceedTime, :MiniExtendPkg, :BillingItem, :FreeDelayFlag, :Last3MaxQPS, :Last3MaxBandwidth, :MajorEventsProPkg
10396
10441
 
10397
- 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, lastqpsexceedtime=nil, miniextendpkg=nil, billingitem=nil, freedelayflag=nil, last3maxqps=nil, last3maxbandwidth=nil)
10442
+ 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, lastqpsexceedtime=nil, miniextendpkg=nil, billingitem=nil, freedelayflag=nil, last3maxqps=nil, last3maxbandwidth=nil, majoreventspropkg=nil)
10398
10443
  @InstanceId = instanceid
10399
10444
  @InstanceName = instancename
10400
10445
  @ResourceIds = resourceids
@@ -10438,6 +10483,7 @@ module TencentCloud
10438
10483
  @FreeDelayFlag = freedelayflag
10439
10484
  @Last3MaxQPS = last3maxqps
10440
10485
  @Last3MaxBandwidth = last3maxbandwidth
10486
+ @MajorEventsProPkg = majoreventspropkg
10441
10487
  end
10442
10488
 
10443
10489
  def deserialize(params)
@@ -10514,6 +10560,10 @@ module TencentCloud
10514
10560
  @FreeDelayFlag = params['FreeDelayFlag']
10515
10561
  @Last3MaxQPS = params['Last3MaxQPS']
10516
10562
  @Last3MaxBandwidth = params['Last3MaxBandwidth']
10563
+ unless params['MajorEventsProPkg'].nil?
10564
+ @MajorEventsProPkg = MajorEventsProPkg.new
10565
+ @MajorEventsProPkg.deserialize(params['MajorEventsProPkg'])
10566
+ end
10517
10567
  end
10518
10568
  end
10519
10569
 
@@ -10984,6 +11034,54 @@ module TencentCloud
10984
11034
  end
10985
11035
  end
10986
11036
 
11037
+ # 重保防护资源信息
11038
+ class MajorEventsProPkg < TencentCloud::Common::AbstractModel
11039
+ # @param ResourceIds: 资源id
11040
+ # @type ResourceIds: String
11041
+ # @param Status: 状态
11042
+ # @type Status: Integer
11043
+ # @param Region: 地域
11044
+ # @type Region: Integer
11045
+ # @param BeginTime: 开始时间
11046
+ # @type BeginTime: String
11047
+ # @param EndTime: 结束时间
11048
+ # @type EndTime: String
11049
+ # @param InquireNum: 申请数量
11050
+ # @type InquireNum: Integer
11051
+ # @param UsedNum: 使用数量
11052
+ # @type UsedNum: Integer
11053
+ # @param RenewFlag: 续费标志
11054
+ # @type RenewFlag: Integer
11055
+ # @param BillingItem: 计费项
11056
+ # @type BillingItem: String
11057
+
11058
+ attr_accessor :ResourceIds, :Status, :Region, :BeginTime, :EndTime, :InquireNum, :UsedNum, :RenewFlag, :BillingItem
11059
+
11060
+ def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, inquirenum=nil, usednum=nil, renewflag=nil, billingitem=nil)
11061
+ @ResourceIds = resourceids
11062
+ @Status = status
11063
+ @Region = region
11064
+ @BeginTime = begintime
11065
+ @EndTime = endtime
11066
+ @InquireNum = inquirenum
11067
+ @UsedNum = usednum
11068
+ @RenewFlag = renewflag
11069
+ @BillingItem = billingitem
11070
+ end
11071
+
11072
+ def deserialize(params)
11073
+ @ResourceIds = params['ResourceIds']
11074
+ @Status = params['Status']
11075
+ @Region = params['Region']
11076
+ @BeginTime = params['BeginTime']
11077
+ @EndTime = params['EndTime']
11078
+ @InquireNum = params['InquireNum']
11079
+ @UsedNum = params['UsedNum']
11080
+ @RenewFlag = params['RenewFlag']
11081
+ @BillingItem = params['BillingItem']
11082
+ end
11083
+ end
11084
+
10987
11085
  # 小程序安全接入ID扩展资源信息
10988
11086
  class MiniExtendPkg < TencentCloud::Common::AbstractModel
10989
11087
  # @param ResourceIds: 资源id
@@ -13766,12 +13864,22 @@ module TencentCloud
13766
13864
  # @type Topic: String
13767
13865
  # @param Compression: 压缩算法,支持gzip 和 lz4
13768
13866
  # @type Compression: String
13867
+ # @param SASLEnable: 是否支持SASL,0-关闭,1-开启
13868
+ # @type SASLEnable: Integer
13869
+ # @param SASLUser: SASL用户名
13870
+ # @type SASLUser: String
13871
+ # @param SASLPassword: SALS密码
13872
+ # @type SASLPassword: String
13769
13873
  # @param Content: 描述信息
13770
13874
  # @type Content: String
13875
+ # @param VipType: 1-外网TGW,2-支撑环境,默认为支撑环境
13876
+ # @type VipType: Integer
13877
+ # @param WriteConfig: 配置状态
13878
+ # @type WriteConfig: :class:`Tencentcloud::Waf.v20180125.models.FieldWriteConfig`
13771
13879
 
13772
- attr_accessor :FlowId, :LogType, :Status, :CKafkaRegion, :CKafkaID, :Brokers, :Version, :Topic, :Compression, :Content
13880
+ attr_accessor :FlowId, :LogType, :Status, :CKafkaRegion, :CKafkaID, :Brokers, :Version, :Topic, :Compression, :SASLEnable, :SASLUser, :SASLPassword, :Content, :VipType, :WriteConfig
13773
13881
 
13774
- def initialize(flowid=nil, logtype=nil, status=nil, ckafkaregion=nil, ckafkaid=nil, brokers=nil, version=nil, topic=nil, compression=nil, content=nil)
13882
+ def initialize(flowid=nil, logtype=nil, status=nil, ckafkaregion=nil, ckafkaid=nil, brokers=nil, version=nil, topic=nil, compression=nil, saslenable=nil, sasluser=nil, saslpassword=nil, content=nil, viptype=nil, writeconfig=nil)
13775
13883
  @FlowId = flowid
13776
13884
  @LogType = logtype
13777
13885
  @Status = status
@@ -13781,7 +13889,12 @@ module TencentCloud
13781
13889
  @Version = version
13782
13890
  @Topic = topic
13783
13891
  @Compression = compression
13892
+ @SASLEnable = saslenable
13893
+ @SASLUser = sasluser
13894
+ @SASLPassword = saslpassword
13784
13895
  @Content = content
13896
+ @VipType = viptype
13897
+ @WriteConfig = writeconfig
13785
13898
  end
13786
13899
 
13787
13900
  def deserialize(params)
@@ -13794,7 +13907,15 @@ module TencentCloud
13794
13907
  @Version = params['Version']
13795
13908
  @Topic = params['Topic']
13796
13909
  @Compression = params['Compression']
13910
+ @SASLEnable = params['SASLEnable']
13911
+ @SASLUser = params['SASLUser']
13912
+ @SASLPassword = params['SASLPassword']
13797
13913
  @Content = params['Content']
13914
+ @VipType = params['VipType']
13915
+ unless params['WriteConfig'].nil?
13916
+ @WriteConfig = FieldWriteConfig.new
13917
+ @WriteConfig.deserialize(params['WriteConfig'])
13918
+ end
13798
13919
  end
13799
13920
  end
13800
13921
 
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.1043
4
+ version: 3.0.1045
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-21 00:00:00.000000000 Z
11
+ date: 2025-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - lib/tencentcloud-sdk-waf.rb
36
37
  - lib/v20180125/client.rb
37
38
  - lib/v20180125/models.rb
38
- - lib/tencentcloud-sdk-waf.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: