tencentcloud-sdk-teo 3.0.673 → 3.0.674

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/v20220901/models.rb +97 -68
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7da0892f5ff4fe96d8270f7b0ac7fc3d511818d
4
- data.tar.gz: 183b89d5834031c104612ea8e78eafdccf68f889
3
+ metadata.gz: 4312e104c03987cc71941a5c2321f48e019ab5c3
4
+ data.tar.gz: 75d5e5350119bca88fc5296bd263ab75af108f90
5
5
  SHA512:
6
- metadata.gz: 704a4a491a1f2aae08d84111c449061f97e24206057e91d73b756c5deeb8f4819e2cfeae49e8488ce0a4acd855e8692cd2ba6f934906280ac848be811e7d18b4
7
- data.tar.gz: 3c44eb72c455035965558dc00851aeb012dc1928a699ba2a8cb34445be5ac24391de777d5b2c39403d9de8a1eb6560afb9a3b2b89796b94f46e8774888bcaada
6
+ metadata.gz: 8b201613233ef3f9171ddb64a7f6b7d7d187b2dcecd90107c356bdeee4c346ca74261c452ea98631872e1e5fcf55ad97129280f41ae2e0c167a00ab7cee8a6d6
7
+ data.tar.gz: 7b96fa450dba3ddee99cfb876fc2e4d36b4c7c79a25c1327ef59b35cecf779c677aa507daff76f07dbc43820cdbc2a5d8a0c97de0bead9b66bc5724104462e86
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.673
1
+ 3.0.674
@@ -262,10 +262,10 @@ module TencentCloud
262
262
  # <li>trans:放行;</li>
263
263
  # <li>drop:拦截;</li>
264
264
  # <li>monitor:观察;</li>
265
- # <li>ban:IP封禁;</li>
265
+ # <li>ban:IP 封禁;</li>
266
266
  # <li>redirect:重定向;</li>
267
267
  # <li>page:指定页面;</li>
268
- # <li>alg:Javascript挑战。</li>
268
+ # <li>alg:JavaScript 挑战。</li>
269
269
  # @type Action: String
270
270
  # @param RuleStatus: 规则状态,取值有:
271
271
  # <li>on:生效;</li>
@@ -275,37 +275,31 @@ module TencentCloud
275
275
  # @type AclConditions: Array
276
276
  # @param RulePriority: 规则优先级,取值范围0-100。
277
277
  # @type RulePriority: Integer
278
- # @param RuleID: 规则Id。仅出参使用。
279
- # 注意:此字段可能返回 null,表示取不到有效值。
278
+ # @param RuleID: 规则 Id。仅出参使用。
280
279
  # @type RuleID: Integer
281
280
  # @param UpdateTime: 更新时间。仅出参使用。
282
- # 注意:此字段可能返回 null,表示取不到有效值。
283
281
  # @type UpdateTime: String
284
- # @param PunishTime: ip封禁的惩罚时间,取值范围0-2天。默认为0。
285
- # 注意:此字段可能返回 null,表示取不到有效值。
282
+ # @param PunishTime: ip 封禁的惩罚时间。Action 是 ban 时必填,且不能为空,取值范围0-2天。
286
283
  # @type PunishTime: Integer
287
- # @param PunishTimeUnit: ip封禁的惩罚时间单位,取值有:
284
+ # @param PunishTimeUnit: ip 封禁的惩罚时间单位,取值有:
288
285
  # <li>second:秒;</li>
289
286
  # <li>minutes:分;</li>
290
- # <li>hour:小时。</li>默认为second。
291
- # 注意:此字段可能返回 null,表示取不到有效值。
287
+ # <li>hour:小时。</li>默认为 second。
292
288
  # @type PunishTimeUnit: String
293
- # @param Name: 自定义返回页面的名称。默认为空字符串。
294
- # 注意:此字段可能返回 null,表示取不到有效值。
289
+ # @param Name: 自定义返回页面的名称。Action 是 page 时必填,且不能为空。
295
290
  # @type Name: String
296
- # @param PageId: 自定义返回页面的实例id。默认为0
297
- # 注意:此字段可能返回 null,表示取不到有效值。
291
+ # @param PageId: 自定义返回页面的实例 Id。默认为0,代表使用系统默认拦截页面。该参数已废弃。
298
292
  # @type PageId: Integer
299
- # @param RedirectUrl: 重定向时候的地址,必须为本用户接入的站点子域名。默认为空字符串。
300
- # 注意:此字段可能返回 null,表示取不到有效值。
301
- # @type RedirectUrl: String
302
- # @param ResponseCode: 重定向时候的返回码。默认为0。
303
- # 注意:此字段可能返回 null,表示取不到有效值。
293
+ # @param CustomResponseId: 自定义响应 Id。该 Id 可通过查询自定义错误页列表接口获取。默认值为default,使用系统默认页面。Action 是 page 时必填,且不能为空。
294
+ # @type CustomResponseId: String
295
+ # @param ResponseCode: 自定义返回页面的响应码。Action 是 page 时必填,且不能为空,取值: 100~600,不支持 3xx 响应码。默认值:567。
304
296
  # @type ResponseCode: Integer
297
+ # @param RedirectUrl: 重定向时候的地址。Action 是 redirect 时必填,且不能为空。
298
+ # @type RedirectUrl: String
305
299
 
306
- attr_accessor :RuleName, :Action, :RuleStatus, :AclConditions, :RulePriority, :RuleID, :UpdateTime, :PunishTime, :PunishTimeUnit, :Name, :PageId, :RedirectUrl, :ResponseCode
300
+ attr_accessor :RuleName, :Action, :RuleStatus, :AclConditions, :RulePriority, :RuleID, :UpdateTime, :PunishTime, :PunishTimeUnit, :Name, :PageId, :CustomResponseId, :ResponseCode, :RedirectUrl
307
301
 
308
- def initialize(rulename=nil, action=nil, rulestatus=nil, aclconditions=nil, rulepriority=nil, ruleid=nil, updatetime=nil, punishtime=nil, punishtimeunit=nil, name=nil, pageid=nil, redirecturl=nil, responsecode=nil)
302
+ def initialize(rulename=nil, action=nil, rulestatus=nil, aclconditions=nil, rulepriority=nil, ruleid=nil, updatetime=nil, punishtime=nil, punishtimeunit=nil, name=nil, pageid=nil, customresponseid=nil, responsecode=nil, redirecturl=nil)
309
303
  @RuleName = rulename
310
304
  @Action = action
311
305
  @RuleStatus = rulestatus
@@ -317,8 +311,9 @@ module TencentCloud
317
311
  @PunishTimeUnit = punishtimeunit
318
312
  @Name = name
319
313
  @PageId = pageid
320
- @RedirectUrl = redirecturl
314
+ @CustomResponseId = customresponseid
321
315
  @ResponseCode = responsecode
316
+ @RedirectUrl = redirecturl
322
317
  end
323
318
 
324
319
  def deserialize(params)
@@ -340,12 +335,13 @@ module TencentCloud
340
335
  @PunishTimeUnit = params['PunishTimeUnit']
341
336
  @Name = params['Name']
342
337
  @PageId = params['PageId']
343
- @RedirectUrl = params['RedirectUrl']
338
+ @CustomResponseId = params['CustomResponseId']
344
339
  @ResponseCode = params['ResponseCode']
340
+ @RedirectUrl = params['RedirectUrl']
345
341
  end
346
342
  end
347
343
 
348
- # 规则引擎功能项操作,对于一种功能只对应下面三种类型的其中一种,RuleAction 数组中的每一项只能是其中一个类型,更多功能项的填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
344
+ # 规则引擎功能项操作,对于一种功能只对应下面三种类型的其中一种,RuleAction 数组中的每一项只能是其中一个类型,更多功能项的填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
349
345
  class Action < TencentCloud::Common::AbstractModel
350
346
  # @param NormalAction: 常规功能操作,选择该类型的功能项有:
351
347
  # <li> 访问URL 重写(AccessUrlRedirect);</li>
@@ -1158,7 +1154,9 @@ module TencentCloud
1158
1154
  # <li>drop:拦截;</li>
1159
1155
  # <li>monitor:观察;</li>
1160
1156
  # <li>trans:放行;</li>
1161
- # <li>alg:JavaScript挑战;</li>
1157
+ # <li>redirect:重定向;</li>
1158
+ # <li>page:指定页面;</li>
1159
+ # <li>alg:JavaScript 挑战;</li>
1162
1160
  # <li>captcha:托管挑战;</li>
1163
1161
  # <li>random:随机处置;</li>
1164
1162
  # <li>silence:静默;</li>
@@ -1167,33 +1165,39 @@ module TencentCloud
1167
1165
  # @type Action: String
1168
1166
  # @param RuleStatus: 规则状态,取值有:
1169
1167
  # <li>on:生效;</li>
1170
- # <li>off:不生效。</li>默认on生效。
1168
+ # <li>off:不生效。</li>默认 on 生效。
1171
1169
  # @type RuleStatus: String
1172
1170
  # @param AclConditions: 规则详情。
1173
1171
  # @type AclConditions: Array
1174
1172
  # @param RulePriority: 规则权重,取值范围0-100。
1175
1173
  # @type RulePriority: Integer
1176
- # @param RuleID: 规则id。仅出参使用。
1177
- # 注意:此字段可能返回 null,表示取不到有效值。
1174
+ # @param RuleID: 规则 Id。仅出参使用。
1178
1175
  # @type RuleID: Integer
1179
1176
  # @param ExtendActions: 随机处置的处置方式及占比,非随机处置可不填暂不支持。
1180
1177
  # @type ExtendActions: Array
1181
1178
  # @param FreqFields: 过滤词,取值有:
1182
- # <li>sip:客户端ip。</li>
1183
- # 注意:此字段可能返回 null,表示取不到有效值。
1179
+ # <li>sip:客户端 ip。</li>
1180
+ # 默认为空字符串。
1184
1181
  # @type FreqFields: Array
1185
- # @param UpdateTime: 更新时间。
1186
- # 注意:此字段可能返回 null,表示取不到有效值。
1182
+ # @param UpdateTime: 更新时间。仅出参使用。
1187
1183
  # @type UpdateTime: String
1188
- # @param FreqScope: 统计范围,字段为null时,代表source_to_eo。取值有:
1189
- # <li>source_to_eo:(响应)源站到EdgeOne。</li>
1190
- # <li>client_to_eo:(请求)客户端到EdgeOne;</li>
1191
- # 注意:此字段可能返回 null,表示取不到有效值。
1184
+ # @param FreqScope: 统计范围。取值有:
1185
+ # <li>source_to_eo:(响应)源站到 EdgeOne;</li>
1186
+ # <li>client_to_eo:(请求)客户端到 EdgeOne。</li>
1187
+ # 默认为 source_to_eo。
1192
1188
  # @type FreqScope: Array
1189
+ # @param Name: 自定义返回页面的名称。Action 是 page 时必填,且不能为空。
1190
+ # @type Name: String
1191
+ # @param CustomResponseId: 自定义响应 Id。该 Id 可通过查询自定义错误页列表接口获取。默认值为default,使用系统默认页面。Action 是 page 时必填,且不能为空。
1192
+ # @type CustomResponseId: String
1193
+ # @param ResponseCode: 自定义返回页面的响应码。Action 是 page 时必填,且不能为空,取值: 100~600,不支持 3xx 响应码。默认值:567。
1194
+ # @type ResponseCode: Integer
1195
+ # @param RedirectUrl: 重定向时候的地址。Action 是 redirect 时必填,且不能为空。
1196
+ # @type RedirectUrl: String
1193
1197
 
1194
- attr_accessor :RuleName, :Action, :RuleStatus, :AclConditions, :RulePriority, :RuleID, :ExtendActions, :FreqFields, :UpdateTime, :FreqScope
1198
+ attr_accessor :RuleName, :Action, :RuleStatus, :AclConditions, :RulePriority, :RuleID, :ExtendActions, :FreqFields, :UpdateTime, :FreqScope, :Name, :CustomResponseId, :ResponseCode, :RedirectUrl
1195
1199
 
1196
- def initialize(rulename=nil, action=nil, rulestatus=nil, aclconditions=nil, rulepriority=nil, ruleid=nil, extendactions=nil, freqfields=nil, updatetime=nil, freqscope=nil)
1200
+ def initialize(rulename=nil, action=nil, rulestatus=nil, aclconditions=nil, rulepriority=nil, ruleid=nil, extendactions=nil, freqfields=nil, updatetime=nil, freqscope=nil, name=nil, customresponseid=nil, responsecode=nil, redirecturl=nil)
1197
1201
  @RuleName = rulename
1198
1202
  @Action = action
1199
1203
  @RuleStatus = rulestatus
@@ -1204,6 +1208,10 @@ module TencentCloud
1204
1208
  @FreqFields = freqfields
1205
1209
  @UpdateTime = updatetime
1206
1210
  @FreqScope = freqscope
1211
+ @Name = name
1212
+ @CustomResponseId = customresponseid
1213
+ @ResponseCode = responsecode
1214
+ @RedirectUrl = redirecturl
1207
1215
  end
1208
1216
 
1209
1217
  def deserialize(params)
@@ -1231,6 +1239,10 @@ module TencentCloud
1231
1239
  @FreqFields = params['FreqFields']
1232
1240
  @UpdateTime = params['UpdateTime']
1233
1241
  @FreqScope = params['FreqScope']
1242
+ @Name = params['Name']
1243
+ @CustomResponseId = params['CustomResponseId']
1244
+ @ResponseCode = params['ResponseCode']
1245
+ @RedirectUrl = params['RedirectUrl']
1234
1246
  end
1235
1247
  end
1236
1248
 
@@ -1555,7 +1567,7 @@ module TencentCloud
1555
1567
 
1556
1568
  # 规则引擎带有状态码的动作
1557
1569
  class CodeAction < TencentCloud::Common::AbstractModel
1558
- # @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
1570
+ # @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
1559
1571
  # @type Action: String
1560
1572
  # @param Parameters: 操作参数。
1561
1573
  # @type Parameters: Array
@@ -4161,7 +4173,7 @@ module TencentCloud
4161
4173
  # <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
4162
4174
  # @type Interval: String
4163
4175
  # @param Filters: 过滤条件,详细的过滤条件Key值如下:
4164
- # <li>country<br>   按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循<a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a>规范。</li>
4176
+ # <li>country<br>   按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循 <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166</a> 规范。</li>
4165
4177
  # <li>province<br>   按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
4166
4178
  # <li>isp<br>   按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br>   对应的Value可选项如下:<br>   2:中国电信;<br>   26:中国联通;<br>   1046:中国移动;<br>   3947:中国铁通;<br>   38:教育网;<br>   43:长城宽带;<br>   0:其他运营商。</li>
4167
4179
  # <li>domain<br>   按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
@@ -4376,7 +4388,7 @@ module TencentCloud
4376
4388
  # @param Limit: 查询前多少个数据,最大值为1000,不填默认默认为: 10, 表示查询前top10的数据。
4377
4389
  # @type Limit: Integer
4378
4390
  # @param Filters: 过滤条件,详细的过滤条件Key值如下:
4379
- # <li>country<br>   按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循<a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a>规范。</li>
4391
+ # <li>country<br>   按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循 <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166</a> 规范。</li>
4380
4392
  # <li>province<br>   按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
4381
4393
  # <li>isp<br>   按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br>   对应的Value可选项如下:<br>   2:中国电信;<br>   26:中国联通;<br>   1046:中国移动;<br>   3947:中国铁通;<br>   38:教育网;<br>   43:长城宽带;<br>   0:其他运营商。</li>
4382
4394
  # <li>domain<br>   按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
@@ -5086,25 +5098,27 @@ module TencentCloud
5086
5098
 
5087
5099
  # 拦截页面的配置信息
5088
5100
  class DropPageDetail < TencentCloud::Common::AbstractModel
5089
- # @param PageId: 拦截页面的唯一Id。系统默认包含一个自带拦截页面,Id值为0。
5090
- # 该Id可通过创建拦截页面接口进行上传获取。如传入0,代表使用系统默认拦截页面。
5101
+ # @param PageId: 拦截页面的唯一 Id。系统默认包含一个自带拦截页面,Id 值为0。
5102
+ # 该 Id 可通过创建拦截页面接口进行上传获取。如传入0,代表使用系统默认拦截页面。该参数已废弃。
5091
5103
  # @type PageId: Integer
5092
- # @param StatusCode: 拦截页面的HTTP状态码。状态码范围是100-600
5104
+ # @param StatusCode: 拦截页面的 HTTP 状态码。状态码取值:100600,不支持 3xx 状态码。托管规则拦截页面默认:566,安全防护(除托管规则外)拦截页面默认:567.
5093
5105
  # @type StatusCode: Integer
5094
- # @param Name: 页面文件名或url。
5106
+ # @param Name: 页面文件名或 url。
5095
5107
  # @type Name: String
5096
5108
  # @param Type: 页面的类型,取值有:
5097
- # <li> file:页面文件内容;</li>
5098
- # <li> url:上传的url地址。</li>
5109
+ # <li>page:指定页面。</li>
5099
5110
  # @type Type: String
5111
+ # @param CustomResponseId: 自定义响应 Id。该 Id 可通过查询自定义错误页列表接口获取。默认值为default,使用系统默认页面。Type 类型是 page 时必填,且不能为空。
5112
+ # @type CustomResponseId: String
5100
5113
 
5101
- attr_accessor :PageId, :StatusCode, :Name, :Type
5114
+ attr_accessor :PageId, :StatusCode, :Name, :Type, :CustomResponseId
5102
5115
 
5103
- def initialize(pageid=nil, statuscode=nil, name=nil, type=nil)
5116
+ def initialize(pageid=nil, statuscode=nil, name=nil, type=nil, customresponseid=nil)
5104
5117
  @PageId = pageid
5105
5118
  @StatusCode = statuscode
5106
5119
  @Name = name
5107
5120
  @Type = type
5121
+ @CustomResponseId = customresponseid
5108
5122
  end
5109
5123
 
5110
5124
  def deserialize(params)
@@ -5112,6 +5126,7 @@ module TencentCloud
5112
5126
  @StatusCode = params['StatusCode']
5113
5127
  @Name = params['Name']
5114
5128
  @Type = params['Type']
5129
+ @CustomResponseId = params['CustomResponseId']
5115
5130
  end
5116
5131
  end
5117
5132
 
@@ -7026,7 +7041,7 @@ module TencentCloud
7026
7041
 
7027
7042
  # 规则引擎常规类型的动作
7028
7043
  class NormalAction < TencentCloud::Common::AbstractModel
7029
- # @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
7044
+ # @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
7030
7045
  # @type Action: String
7031
7046
  # @param Parameters: 参数。
7032
7047
  # @type Parameters: Array
@@ -7870,7 +7885,7 @@ module TencentCloud
7870
7885
  # @type Period: Integer
7871
7886
  # @param RuleName: 规则名,只能以英文字符,数字,下划线组合,且不能以下划线开头。
7872
7887
  # @type RuleName: String
7873
- # @param Action: 处置动作,取值有: <li>monitor:观察;</li> <li>drop:拦截;</li> <li>alg:JavaScript挑战。</li>
7888
+ # @param Action: 处置动作,取值有: <li>monitor:观察;</li> <li>drop:拦截;</li><li> redirect:重定向;</li><li> page:指定页面;</li><li>alg:JavaScript 挑战。</li>
7874
7889
  # @type Action: String
7875
7890
  # @param PunishTime: 惩罚时长,0-2天。
7876
7891
  # @type PunishTime: Integer
@@ -7881,31 +7896,37 @@ module TencentCloud
7881
7896
  # @type PunishTimeUnit: String
7882
7897
  # @param RuleStatus: 规则状态,取值有:
7883
7898
  # <li>on:生效;</li>
7884
- # <li>off:不生效。</li>默认on生效。
7899
+ # <li>off:不生效。</li>默认 on 生效。
7885
7900
  # @type RuleStatus: String
7886
7901
  # @param AclConditions: 规则详情。
7887
7902
  # @type AclConditions: Array
7888
7903
  # @param RulePriority: 规则权重,取值范围0-100。
7889
7904
  # @type RulePriority: Integer
7890
7905
  # @param RuleID: 规则 Id。仅出参使用。
7891
- # 注意:此字段可能返回 null,表示取不到有效值。
7892
7906
  # @type RuleID: Integer
7893
7907
  # @param FreqFields: 过滤词,取值有:
7894
- # <li>sip:客户端ip。</li>
7895
- # 注意:此字段可能返回 null,表示取不到有效值。
7908
+ # <li>sip:客户端 ip。</li>
7909
+ # 默认为空字符串。
7896
7910
  # @type FreqFields: Array
7897
- # @param UpdateTime: 更新时间。
7898
- # 注意:此字段可能返回 null,表示取不到有效值。
7911
+ # @param UpdateTime: 更新时间。仅出参使用。修改时默认为当前时间。
7899
7912
  # @type UpdateTime: String
7900
- # @param FreqScope: 统计范围,字段为 null 时,代表 source_to_eo。取值有:
7901
- # <li>source_to_eo:(响应)源站到EdgeOne。</li>
7902
- # <li>client_to_eo:(请求)客户端到EdgeOne;</li>
7903
- # 注意:此字段可能返回 null,表示取不到有效值。
7913
+ # @param FreqScope: 统计范围。取值有:
7914
+ # <li>source_to_eo:(响应)源站到 EdgeOne;</li>
7915
+ # <li>client_to_eo:(请求)客户端到 EdgeOne。</li>
7916
+ # 默认为 source_to_eo。
7904
7917
  # @type FreqScope: Array
7918
+ # @param Name: 自定义返回页面的名称。Action 是 page 时必填,且不能为空。
7919
+ # @type Name: String
7920
+ # @param CustomResponseId: 自定义响应 Id。该 Id 可通过查询自定义错误页列表接口获取。默认值为default,使用系统默认页面。Action 是 page 时必填,且不能为空。
7921
+ # @type CustomResponseId: String
7922
+ # @param ResponseCode: 自定义返回页面的响应码。Action 是 page 时必填,且不能为空,取值: 100~600,不支持 3xx 响应码。默认值:567。
7923
+ # @type ResponseCode: Integer
7924
+ # @param RedirectUrl: 重定向时候的地址。Action 是 redirect 时必填,且不能为空。
7925
+ # @type RedirectUrl: String
7905
7926
 
7906
- attr_accessor :Threshold, :Period, :RuleName, :Action, :PunishTime, :PunishTimeUnit, :RuleStatus, :AclConditions, :RulePriority, :RuleID, :FreqFields, :UpdateTime, :FreqScope
7927
+ attr_accessor :Threshold, :Period, :RuleName, :Action, :PunishTime, :PunishTimeUnit, :RuleStatus, :AclConditions, :RulePriority, :RuleID, :FreqFields, :UpdateTime, :FreqScope, :Name, :CustomResponseId, :ResponseCode, :RedirectUrl
7907
7928
 
7908
- def initialize(threshold=nil, period=nil, rulename=nil, action=nil, punishtime=nil, punishtimeunit=nil, rulestatus=nil, aclconditions=nil, rulepriority=nil, ruleid=nil, freqfields=nil, updatetime=nil, freqscope=nil)
7929
+ def initialize(threshold=nil, period=nil, rulename=nil, action=nil, punishtime=nil, punishtimeunit=nil, rulestatus=nil, aclconditions=nil, rulepriority=nil, ruleid=nil, freqfields=nil, updatetime=nil, freqscope=nil, name=nil, customresponseid=nil, responsecode=nil, redirecturl=nil)
7909
7930
  @Threshold = threshold
7910
7931
  @Period = period
7911
7932
  @RuleName = rulename
@@ -7919,6 +7940,10 @@ module TencentCloud
7919
7940
  @FreqFields = freqfields
7920
7941
  @UpdateTime = updatetime
7921
7942
  @FreqScope = freqscope
7943
+ @Name = name
7944
+ @CustomResponseId = customresponseid
7945
+ @ResponseCode = responsecode
7946
+ @RedirectUrl = redirecturl
7922
7947
  end
7923
7948
 
7924
7949
  def deserialize(params)
@@ -7942,6 +7967,10 @@ module TencentCloud
7942
7967
  @FreqFields = params['FreqFields']
7943
7968
  @UpdateTime = params['UpdateTime']
7944
7969
  @FreqScope = params['FreqScope']
7970
+ @Name = params['Name']
7971
+ @CustomResponseId = params['CustomResponseId']
7972
+ @ResponseCode = params['ResponseCode']
7973
+ @RedirectUrl = params['RedirectUrl']
7945
7974
  end
7946
7975
  end
7947
7976
 
@@ -8029,7 +8058,7 @@ module TencentCloud
8029
8058
 
8030
8059
  # 规则引擎HTTP请求头/响应头类型的动作
8031
8060
  class RewriteAction < TencentCloud::Common::AbstractModel
8032
- # @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
8061
+ # @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
8033
8062
  # @type Action: String
8034
8063
  # @param Parameters: 参数。
8035
8064
  # @type Parameters: Array
@@ -8182,7 +8211,7 @@ module TencentCloud
8182
8211
  class RuleCodeActionParams < TencentCloud::Common::AbstractModel
8183
8212
  # @param StatusCode: 状态 Code。
8184
8213
  # @type StatusCode: Integer
8185
- # @param Name: 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
8214
+ # @param Name: 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
8186
8215
  # @type Name: String
8187
8216
  # @param Values: 参数值。
8188
8217
  # @type Values: Array
@@ -8334,7 +8363,7 @@ module TencentCloud
8334
8363
 
8335
8364
  # 规则引擎条件常规动作参数
8336
8365
  class RuleNormalActionParams < TencentCloud::Common::AbstractModel
8337
- # @param Name: 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
8366
+ # @param Name: 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
8338
8367
  # @type Name: String
8339
8368
  # @param Values: 参数值。
8340
8369
  # @type Values: Array
@@ -8354,7 +8383,7 @@ module TencentCloud
8354
8383
 
8355
8384
  # 规则引擎条件 HTTP 请求/响应头操作动作参数。
8356
8385
  class RuleRewriteActionParams < TencentCloud::Common::AbstractModel
8357
- # @param Action: 功能参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。现在只有三种取值:
8386
+ # @param Action: 功能参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。现在只有三种取值:
8358
8387
  # <li> add:添加 HTTP 头部;</li>
8359
8388
  # <li> set:重写 HTTP 头部;</li>
8360
8389
  # <li> del:删除 HTTP 头部。</li>
@@ -8393,7 +8422,7 @@ module TencentCloud
8393
8422
  # <li> TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;</li>
8394
8423
  # <li> OBJECT:参数值为对象类型,ChoiceProperties 为改对象类型关联的属性;</li>
8395
8424
  # <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
8396
- # <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://tcloud4api.woa.com/document/product/1657/79382?!preview&!document=1)
8425
+ # <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://cloud.tencent.com/document/product/1552/80622#.E7.A4.BA.E4.BE.8B2-.E5.8F.82.E6.95.B0.E4.B8.BA-OBJECT-.E7.B1.BB.E5.9E.8B.E7.9A.84.E5.88.9B.E5.BB.BA)
8397
8426
  # @type Type: String
8398
8427
  # @param Max: 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
8399
8428
  # @type Max: Integer
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.673
4
+ version: 3.0.674
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-10-10 00:00:00.000000000 Z
11
+ date: 2023-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common