tencentcloud-sdk-waf 3.0.1043 → 3.0.1044
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 +72 -6
- 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: 74367c097cbe58046815f9f5cb7bf5ab9243e4fd
|
4
|
+
data.tar.gz: 41944c4f35bf35ac96492feb6ce3574a62221f99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 826f220af3a88d6be9e11bfc3e923b6a26c88b4f3ed1fcb73c1612460bfd36eb103f4d467899949e22cf8dee326e4c765620e0cb442faa127235b2e52aee9a20
|
7
|
+
data.tar.gz: e4afb4fb175615071d3e961377aaf30213190c4a9ae816318d290fcf15a2388da18a3d0ffb0601ef30e9b4fc64a5f911ac083a26cb5cf3d2ab7f6dc5d4ac9cfc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1044
|
data/lib/v20180125/models.rb
CHANGED
@@ -3132,10 +3132,18 @@ module TencentCloud
|
|
3132
3132
|
# @type Topic: String
|
3133
3133
|
# @param KafkaVersion: kafka集群的版本号
|
3134
3134
|
# @type KafkaVersion: String
|
3135
|
-
|
3136
|
-
|
3137
|
-
|
3138
|
-
|
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: 字段名; 过滤
|
@@ -13766,12 +13809,22 @@ module TencentCloud
|
|
13766
13809
|
# @type Topic: String
|
13767
13810
|
# @param Compression: 压缩算法,支持gzip 和 lz4
|
13768
13811
|
# @type Compression: String
|
13812
|
+
# @param SASLEnable: 是否支持SASL,0-关闭,1-开启
|
13813
|
+
# @type SASLEnable: Integer
|
13814
|
+
# @param SASLUser: SASL用户名
|
13815
|
+
# @type SASLUser: String
|
13816
|
+
# @param SASLPassword: SALS密码
|
13817
|
+
# @type SASLPassword: String
|
13769
13818
|
# @param Content: 描述信息
|
13770
13819
|
# @type Content: String
|
13820
|
+
# @param VipType: 1-外网TGW,2-支撑环境,默认为支撑环境
|
13821
|
+
# @type VipType: Integer
|
13822
|
+
# @param WriteConfig: 配置状态
|
13823
|
+
# @type WriteConfig: :class:`Tencentcloud::Waf.v20180125.models.FieldWriteConfig`
|
13771
13824
|
|
13772
|
-
attr_accessor :FlowId, :LogType, :Status, :CKafkaRegion, :CKafkaID, :Brokers, :Version, :Topic, :Compression, :Content
|
13825
|
+
attr_accessor :FlowId, :LogType, :Status, :CKafkaRegion, :CKafkaID, :Brokers, :Version, :Topic, :Compression, :SASLEnable, :SASLUser, :SASLPassword, :Content, :VipType, :WriteConfig
|
13773
13826
|
|
13774
|
-
def initialize(flowid=nil, logtype=nil, status=nil, ckafkaregion=nil, ckafkaid=nil, brokers=nil, version=nil, topic=nil, compression=nil, content=nil)
|
13827
|
+
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
13828
|
@FlowId = flowid
|
13776
13829
|
@LogType = logtype
|
13777
13830
|
@Status = status
|
@@ -13781,7 +13834,12 @@ module TencentCloud
|
|
13781
13834
|
@Version = version
|
13782
13835
|
@Topic = topic
|
13783
13836
|
@Compression = compression
|
13837
|
+
@SASLEnable = saslenable
|
13838
|
+
@SASLUser = sasluser
|
13839
|
+
@SASLPassword = saslpassword
|
13784
13840
|
@Content = content
|
13841
|
+
@VipType = viptype
|
13842
|
+
@WriteConfig = writeconfig
|
13785
13843
|
end
|
13786
13844
|
|
13787
13845
|
def deserialize(params)
|
@@ -13794,7 +13852,15 @@ module TencentCloud
|
|
13794
13852
|
@Version = params['Version']
|
13795
13853
|
@Topic = params['Topic']
|
13796
13854
|
@Compression = params['Compression']
|
13855
|
+
@SASLEnable = params['SASLEnable']
|
13856
|
+
@SASLUser = params['SASLUser']
|
13857
|
+
@SASLPassword = params['SASLPassword']
|
13797
13858
|
@Content = params['Content']
|
13859
|
+
@VipType = params['VipType']
|
13860
|
+
unless params['WriteConfig'].nil?
|
13861
|
+
@WriteConfig = FieldWriteConfig.new
|
13862
|
+
@WriteConfig.deserialize(params['WriteConfig'])
|
13863
|
+
end
|
13798
13864
|
end
|
13799
13865
|
end
|
13800
13866
|
|
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.1044
|
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-
|
11
|
+
date: 2025-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|