tencentcloud-sdk-teo 3.0.672 → 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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220901/client.rb +0 -72
- data/lib/v20220901/models.rb +109 -255
- 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: 4312e104c03987cc71941a5c2321f48e019ab5c3
|
4
|
+
data.tar.gz: 75d5e5350119bca88fc5296bd263ab75af108f90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b201613233ef3f9171ddb64a7f6b7d7d187b2dcecd90107c356bdeee4c346ca74261c452ea98631872e1e5fcf55ad97129280f41ae2e0c167a00ab7cee8a6d6
|
7
|
+
data.tar.gz: 7b96fa450dba3ddee99cfb876fc2e4d36b4c7c79a25c1327ef59b35cecf779c677aa507daff76f07dbc43820cdbc2a5d8a0c97de0bead9b66bc5724104462e86
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.674
|
data/lib/v20220901/client.rb
CHANGED
@@ -175,30 +175,6 @@ module TencentCloud
|
|
175
175
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
176
176
|
end
|
177
177
|
|
178
|
-
# 创建源站组
|
179
|
-
|
180
|
-
# @param request: Request instance for CreateOriginGroup.
|
181
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::CreateOriginGroupRequest`
|
182
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::CreateOriginGroupResponse`
|
183
|
-
def CreateOriginGroup(request)
|
184
|
-
body = send_request('CreateOriginGroup', request.serialize)
|
185
|
-
response = JSON.parse(body)
|
186
|
-
if response['Response'].key?('Error') == false
|
187
|
-
model = CreateOriginGroupResponse.new
|
188
|
-
model.deserialize(response['Response'])
|
189
|
-
model
|
190
|
-
else
|
191
|
-
code = response['Response']['Error']['Code']
|
192
|
-
message = response['Response']['Error']['Message']
|
193
|
-
reqid = response['Response']['RequestId']
|
194
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
195
|
-
end
|
196
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
197
|
-
raise e
|
198
|
-
rescue StandardError => e
|
199
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
200
|
-
end
|
201
|
-
|
202
178
|
# 为未购买套餐的站点购买套餐
|
203
179
|
|
204
180
|
# @param request: Request instance for CreatePlanForZone.
|
@@ -467,30 +443,6 @@ module TencentCloud
|
|
467
443
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
468
444
|
end
|
469
445
|
|
470
|
-
# 删除源站组
|
471
|
-
|
472
|
-
# @param request: Request instance for DeleteOriginGroup.
|
473
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DeleteOriginGroupRequest`
|
474
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DeleteOriginGroupResponse`
|
475
|
-
def DeleteOriginGroup(request)
|
476
|
-
body = send_request('DeleteOriginGroup', request.serialize)
|
477
|
-
response = JSON.parse(body)
|
478
|
-
if response['Response'].key?('Error') == false
|
479
|
-
model = DeleteOriginGroupResponse.new
|
480
|
-
model.deserialize(response['Response'])
|
481
|
-
model
|
482
|
-
else
|
483
|
-
code = response['Response']['Error']['Code']
|
484
|
-
message = response['Response']['Error']['Message']
|
485
|
-
reqid = response['Response']['RequestId']
|
486
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
487
|
-
end
|
488
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
489
|
-
raise e
|
490
|
-
rescue StandardError => e
|
491
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
492
|
-
end
|
493
|
-
|
494
446
|
# 批量删除规则引擎规则。
|
495
447
|
|
496
448
|
# @param request: Request instance for DeleteRules.
|
@@ -1453,30 +1405,6 @@ module TencentCloud
|
|
1453
1405
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1454
1406
|
end
|
1455
1407
|
|
1456
|
-
# 修改源站组
|
1457
|
-
|
1458
|
-
# @param request: Request instance for ModifyOriginGroup.
|
1459
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyOriginGroupRequest`
|
1460
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyOriginGroupResponse`
|
1461
|
-
def ModifyOriginGroup(request)
|
1462
|
-
body = send_request('ModifyOriginGroup', request.serialize)
|
1463
|
-
response = JSON.parse(body)
|
1464
|
-
if response['Response'].key?('Error') == false
|
1465
|
-
model = ModifyOriginGroupResponse.new
|
1466
|
-
model.deserialize(response['Response'])
|
1467
|
-
model
|
1468
|
-
else
|
1469
|
-
code = response['Response']['Error']['Code']
|
1470
|
-
message = response['Response']['Error']['Message']
|
1471
|
-
reqid = response['Response']['RequestId']
|
1472
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1473
|
-
end
|
1474
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1475
|
-
raise e
|
1476
|
-
rescue StandardError => e
|
1477
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1478
|
-
end
|
1479
|
-
|
1480
1408
|
# 修改规则引擎规则。
|
1481
1409
|
|
1482
1410
|
# @param request: Request instance for ModifyRule.
|
data/lib/v20220901/models.rb
CHANGED
@@ -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:
|
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
|
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: 自定义返回页面的实例
|
297
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
291
|
+
# @param PageId: 自定义返回页面的实例 Id。默认为0,代表使用系统默认拦截页面。该参数已废弃。
|
298
292
|
# @type PageId: Integer
|
299
|
-
# @param
|
300
|
-
#
|
301
|
-
# @
|
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, :
|
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,
|
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
|
-
@
|
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
|
-
@
|
338
|
+
@CustomResponseId = params['CustomResponseId']
|
344
339
|
@ResponseCode = params['ResponseCode']
|
340
|
+
@RedirectUrl = params['RedirectUrl']
|
345
341
|
end
|
346
342
|
end
|
347
343
|
|
348
|
-
# 规则引擎功能项操作,对于一种功能只对应下面三种类型的其中一种,RuleAction 数组中的每一项只能是其中一个类型,更多功能项的填写规范可调用接口 [查询规则引擎的设置参数](https://
|
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>
|
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: 规则
|
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
|
-
#
|
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:
|
1189
|
-
# <li>source_to_eo:(响应)源站到EdgeOne
|
1190
|
-
# <li>client_to_eo:(请求)客户端到EdgeOne
|
1191
|
-
#
|
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
|
|
@@ -1274,8 +1286,8 @@ module TencentCloud
|
|
1274
1286
|
|
1275
1287
|
attr_accessor :Switch, :CacheTime, :IgnoreCacheControl
|
1276
1288
|
extend Gem::Deprecate
|
1277
|
-
deprecate :IgnoreCacheControl, :none, 2023,
|
1278
|
-
deprecate :IgnoreCacheControl=, :none, 2023,
|
1289
|
+
deprecate :IgnoreCacheControl, :none, 2023, 10
|
1290
|
+
deprecate :IgnoreCacheControl=, :none, 2023, 10
|
1279
1291
|
|
1280
1292
|
def initialize(switch=nil, cachetime=nil, ignorecachecontrol=nil)
|
1281
1293
|
@Switch = switch
|
@@ -1555,7 +1567,7 @@ module TencentCloud
|
|
1555
1567
|
|
1556
1568
|
# 规则引擎带有状态码的动作
|
1557
1569
|
class CodeAction < TencentCloud::Common::AbstractModel
|
1558
|
-
# @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://
|
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
|
@@ -1895,75 +1907,6 @@ module TencentCloud
|
|
1895
1907
|
end
|
1896
1908
|
end
|
1897
1909
|
|
1898
|
-
# CreateOriginGroup请求参数结构体
|
1899
|
-
class CreateOriginGroupRequest < TencentCloud::Common::AbstractModel
|
1900
|
-
# @param ZoneId: 站点ID。
|
1901
|
-
# @type ZoneId: String
|
1902
|
-
# @param OriginType: 源站类型,取值有:
|
1903
|
-
# <li>self:自有源站;</li>
|
1904
|
-
# <li>third_party:第三方源站;</li>
|
1905
|
-
# <li>cos:腾讯云COS源站。</li>
|
1906
|
-
# @type OriginType: String
|
1907
|
-
# @param OriginGroupName: 源站组名称。
|
1908
|
-
# @type OriginGroupName: String
|
1909
|
-
# @param ConfigurationType: 源站配置类型,当OriginType=self时,取值有:
|
1910
|
-
# <li>area:按区域配置;</li>
|
1911
|
-
# <li>weight: 按权重配置;</li>
|
1912
|
-
# <li>proto: 按HTTP协议配置。</li>当OriginType=third_party/cos时放空。
|
1913
|
-
# @type ConfigurationType: String
|
1914
|
-
# @param OriginRecords: 源站记录信息。
|
1915
|
-
# @type OriginRecords: Array
|
1916
|
-
# @param HostHeader: 回源Host,仅当OriginType=self时可以设置。
|
1917
|
-
# @type HostHeader: String
|
1918
|
-
|
1919
|
-
attr_accessor :ZoneId, :OriginType, :OriginGroupName, :ConfigurationType, :OriginRecords, :HostHeader
|
1920
|
-
|
1921
|
-
def initialize(zoneid=nil, origintype=nil, origingroupname=nil, configurationtype=nil, originrecords=nil, hostheader=nil)
|
1922
|
-
@ZoneId = zoneid
|
1923
|
-
@OriginType = origintype
|
1924
|
-
@OriginGroupName = origingroupname
|
1925
|
-
@ConfigurationType = configurationtype
|
1926
|
-
@OriginRecords = originrecords
|
1927
|
-
@HostHeader = hostheader
|
1928
|
-
end
|
1929
|
-
|
1930
|
-
def deserialize(params)
|
1931
|
-
@ZoneId = params['ZoneId']
|
1932
|
-
@OriginType = params['OriginType']
|
1933
|
-
@OriginGroupName = params['OriginGroupName']
|
1934
|
-
@ConfigurationType = params['ConfigurationType']
|
1935
|
-
unless params['OriginRecords'].nil?
|
1936
|
-
@OriginRecords = []
|
1937
|
-
params['OriginRecords'].each do |i|
|
1938
|
-
originrecord_tmp = OriginRecord.new
|
1939
|
-
originrecord_tmp.deserialize(i)
|
1940
|
-
@OriginRecords << originrecord_tmp
|
1941
|
-
end
|
1942
|
-
end
|
1943
|
-
@HostHeader = params['HostHeader']
|
1944
|
-
end
|
1945
|
-
end
|
1946
|
-
|
1947
|
-
# CreateOriginGroup返回参数结构体
|
1948
|
-
class CreateOriginGroupResponse < TencentCloud::Common::AbstractModel
|
1949
|
-
# @param OriginGroupId: 源站组ID。
|
1950
|
-
# @type OriginGroupId: String
|
1951
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1952
|
-
# @type RequestId: String
|
1953
|
-
|
1954
|
-
attr_accessor :OriginGroupId, :RequestId
|
1955
|
-
|
1956
|
-
def initialize(origingroupid=nil, requestid=nil)
|
1957
|
-
@OriginGroupId = origingroupid
|
1958
|
-
@RequestId = requestid
|
1959
|
-
end
|
1960
|
-
|
1961
|
-
def deserialize(params)
|
1962
|
-
@OriginGroupId = params['OriginGroupId']
|
1963
|
-
@RequestId = params['RequestId']
|
1964
|
-
end
|
1965
|
-
end
|
1966
|
-
|
1967
1910
|
# CreatePlanForZone请求参数结构体
|
1968
1911
|
class CreatePlanForZoneRequest < TencentCloud::Common::AbstractModel
|
1969
1912
|
# @param ZoneId: 站点ID。
|
@@ -2110,8 +2053,8 @@ module TencentCloud
|
|
2110
2053
|
|
2111
2054
|
attr_accessor :ZoneId, :Type, :Method, :Targets, :EncodeUrl
|
2112
2055
|
extend Gem::Deprecate
|
2113
|
-
deprecate :EncodeUrl, :none, 2023,
|
2114
|
-
deprecate :EncodeUrl=, :none, 2023,
|
2056
|
+
deprecate :EncodeUrl, :none, 2023, 10
|
2057
|
+
deprecate :EncodeUrl=, :none, 2023, 10
|
2115
2058
|
|
2116
2059
|
def initialize(zoneid=nil, type=nil, method=nil, targets=nil, encodeurl=nil)
|
2117
2060
|
@ZoneId = zoneid
|
@@ -2341,10 +2284,10 @@ module TencentCloud
|
|
2341
2284
|
|
2342
2285
|
attr_accessor :Type, :ZoneName, :Area, :PlanId, :AliasZoneName, :Tags, :AllowDuplicates, :JumpStart
|
2343
2286
|
extend Gem::Deprecate
|
2344
|
-
deprecate :AllowDuplicates, :none, 2023,
|
2345
|
-
deprecate :AllowDuplicates=, :none, 2023,
|
2346
|
-
deprecate :JumpStart, :none, 2023,
|
2347
|
-
deprecate :JumpStart=, :none, 2023,
|
2287
|
+
deprecate :AllowDuplicates, :none, 2023, 10
|
2288
|
+
deprecate :AllowDuplicates=, :none, 2023, 10
|
2289
|
+
deprecate :JumpStart, :none, 2023, 10
|
2290
|
+
deprecate :JumpStart=, :none, 2023, 10
|
2348
2291
|
|
2349
2292
|
def initialize(type=nil, zonename=nil, area=nil, planid=nil, aliaszonename=nil, tags=nil, allowduplicates=nil, jumpstart=nil)
|
2350
2293
|
@Type = type
|
@@ -2743,42 +2686,6 @@ module TencentCloud
|
|
2743
2686
|
end
|
2744
2687
|
end
|
2745
2688
|
|
2746
|
-
# DeleteOriginGroup请求参数结构体
|
2747
|
-
class DeleteOriginGroupRequest < TencentCloud::Common::AbstractModel
|
2748
|
-
# @param ZoneId: 站点ID。
|
2749
|
-
# @type ZoneId: String
|
2750
|
-
# @param OriginGroupId: 源站组ID。
|
2751
|
-
# @type OriginGroupId: String
|
2752
|
-
|
2753
|
-
attr_accessor :ZoneId, :OriginGroupId
|
2754
|
-
|
2755
|
-
def initialize(zoneid=nil, origingroupid=nil)
|
2756
|
-
@ZoneId = zoneid
|
2757
|
-
@OriginGroupId = origingroupid
|
2758
|
-
end
|
2759
|
-
|
2760
|
-
def deserialize(params)
|
2761
|
-
@ZoneId = params['ZoneId']
|
2762
|
-
@OriginGroupId = params['OriginGroupId']
|
2763
|
-
end
|
2764
|
-
end
|
2765
|
-
|
2766
|
-
# DeleteOriginGroup返回参数结构体
|
2767
|
-
class DeleteOriginGroupResponse < TencentCloud::Common::AbstractModel
|
2768
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2769
|
-
# @type RequestId: String
|
2770
|
-
|
2771
|
-
attr_accessor :RequestId
|
2772
|
-
|
2773
|
-
def initialize(requestid=nil)
|
2774
|
-
@RequestId = requestid
|
2775
|
-
end
|
2776
|
-
|
2777
|
-
def deserialize(params)
|
2778
|
-
@RequestId = params['RequestId']
|
2779
|
-
end
|
2780
|
-
end
|
2781
|
-
|
2782
2689
|
# DeleteRules请求参数结构体
|
2783
2690
|
class DeleteRulesRequest < TencentCloud::Common::AbstractModel
|
2784
2691
|
# @param ZoneId: 站点 ID。
|
@@ -4266,7 +4173,7 @@ module TencentCloud
|
|
4266
4173
|
# <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
|
4267
4174
|
# @type Interval: String
|
4268
4175
|
# @param Filters: 过滤条件,详细的过滤条件Key值如下:
|
4269
|
-
# <li>country<br> 按照【<strong>国家/地区</strong
|
4176
|
+
# <li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循 <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166</a> 规范。</li>
|
4270
4177
|
# <li>province<br> 按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
|
4271
4178
|
# <li>isp<br> 按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br> 对应的Value可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
|
4272
4179
|
# <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
|
@@ -4481,7 +4388,7 @@ module TencentCloud
|
|
4481
4388
|
# @param Limit: 查询前多少个数据,最大值为1000,不填默认默认为: 10, 表示查询前top10的数据。
|
4482
4389
|
# @type Limit: Integer
|
4483
4390
|
# @param Filters: 过滤条件,详细的过滤条件Key值如下:
|
4484
|
-
# <li>country<br> 按照【<strong>国家/地区</strong
|
4391
|
+
# <li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循 <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166</a> 规范。</li>
|
4485
4392
|
# <li>province<br> 按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
|
4486
4393
|
# <li>isp<br> 按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br> 对应的Value可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
|
4487
4394
|
# <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
|
@@ -5191,25 +5098,27 @@ module TencentCloud
|
|
5191
5098
|
|
5192
5099
|
# 拦截页面的配置信息
|
5193
5100
|
class DropPageDetail < TencentCloud::Common::AbstractModel
|
5194
|
-
# @param PageId: 拦截页面的唯一Id。系统默认包含一个自带拦截页面,Id值为0。
|
5195
|
-
# 该Id可通过创建拦截页面接口进行上传获取。如传入0
|
5101
|
+
# @param PageId: 拦截页面的唯一 Id。系统默认包含一个自带拦截页面,Id 值为0。
|
5102
|
+
# 该 Id 可通过创建拦截页面接口进行上传获取。如传入0,代表使用系统默认拦截页面。该参数已废弃。
|
5196
5103
|
# @type PageId: Integer
|
5197
|
-
# @param StatusCode: 拦截页面的HTTP
|
5104
|
+
# @param StatusCode: 拦截页面的 HTTP 状态码。状态码取值:100~600,不支持 3xx 状态码。托管规则拦截页面默认:566,安全防护(除托管规则外)拦截页面默认:567.
|
5198
5105
|
# @type StatusCode: Integer
|
5199
|
-
# @param Name: 页面文件名或url。
|
5106
|
+
# @param Name: 页面文件名或 url。
|
5200
5107
|
# @type Name: String
|
5201
5108
|
# @param Type: 页面的类型,取值有:
|
5202
|
-
# <li>
|
5203
|
-
# <li> url:上传的url地址。</li>
|
5109
|
+
# <li>page:指定页面。</li>
|
5204
5110
|
# @type Type: String
|
5111
|
+
# @param CustomResponseId: 自定义响应 Id。该 Id 可通过查询自定义错误页列表接口获取。默认值为default,使用系统默认页面。Type 类型是 page 时必填,且不能为空。
|
5112
|
+
# @type CustomResponseId: String
|
5205
5113
|
|
5206
|
-
attr_accessor :PageId, :StatusCode, :Name, :Type
|
5114
|
+
attr_accessor :PageId, :StatusCode, :Name, :Type, :CustomResponseId
|
5207
5115
|
|
5208
|
-
def initialize(pageid=nil, statuscode=nil, name=nil, type=nil)
|
5116
|
+
def initialize(pageid=nil, statuscode=nil, name=nil, type=nil, customresponseid=nil)
|
5209
5117
|
@PageId = pageid
|
5210
5118
|
@StatusCode = statuscode
|
5211
5119
|
@Name = name
|
5212
5120
|
@Type = type
|
5121
|
+
@CustomResponseId = customresponseid
|
5213
5122
|
end
|
5214
5123
|
|
5215
5124
|
def deserialize(params)
|
@@ -5217,6 +5126,7 @@ module TencentCloud
|
|
5217
5126
|
@StatusCode = params['StatusCode']
|
5218
5127
|
@Name = params['Name']
|
5219
5128
|
@Type = params['Type']
|
5129
|
+
@CustomResponseId = params['CustomResponseId']
|
5220
5130
|
end
|
5221
5131
|
end
|
5222
5132
|
|
@@ -6621,8 +6531,8 @@ module TencentCloud
|
|
6621
6531
|
|
6622
6532
|
attr_accessor :ZoneId, :Hosts, :Mode, :ServerCertInfo, :ApplyType
|
6623
6533
|
extend Gem::Deprecate
|
6624
|
-
deprecate :ApplyType, :none, 2023,
|
6625
|
-
deprecate :ApplyType=, :none, 2023,
|
6534
|
+
deprecate :ApplyType, :none, 2023, 10
|
6535
|
+
deprecate :ApplyType=, :none, 2023, 10
|
6626
6536
|
|
6627
6537
|
def initialize(zoneid=nil, hosts=nil, mode=nil, servercertinfo=nil, applytype=nil)
|
6628
6538
|
@ZoneId = zoneid
|
@@ -6664,76 +6574,6 @@ module TencentCloud
|
|
6664
6574
|
end
|
6665
6575
|
end
|
6666
6576
|
|
6667
|
-
# ModifyOriginGroup请求参数结构体
|
6668
|
-
class ModifyOriginGroupRequest < TencentCloud::Common::AbstractModel
|
6669
|
-
# @param ZoneId: 站点ID。
|
6670
|
-
# @type ZoneId: String
|
6671
|
-
# @param OriginGroupId: 源站组ID。
|
6672
|
-
# @type OriginGroupId: String
|
6673
|
-
# @param OriginType: 源站类型,取值有:
|
6674
|
-
# <li>self:自有源站;</li>
|
6675
|
-
# <li>third_party:第三方源站;</li>
|
6676
|
-
# <li>cos:腾讯云COS源站。</li>
|
6677
|
-
# @type OriginType: String
|
6678
|
-
# @param OriginGroupName: 源站组名称。
|
6679
|
-
# @type OriginGroupName: String
|
6680
|
-
# @param ConfigurationType: 源站配置类型,当OriginType=self时,取值有:
|
6681
|
-
# <li>area:按区域配置;</li>
|
6682
|
-
# <li>weight: 按权重配置;</li>
|
6683
|
-
# <li>proto: 按HTTP协议配置。</li>当OriginType=third_party/cos时放空。
|
6684
|
-
# @type ConfigurationType: String
|
6685
|
-
# @param OriginRecords: 源站记录信息。
|
6686
|
-
# @type OriginRecords: Array
|
6687
|
-
# @param HostHeader: 回源Host,仅当OriginType=self时可以设置。
|
6688
|
-
# 不填写,表示使用已有配置。
|
6689
|
-
# @type HostHeader: String
|
6690
|
-
|
6691
|
-
attr_accessor :ZoneId, :OriginGroupId, :OriginType, :OriginGroupName, :ConfigurationType, :OriginRecords, :HostHeader
|
6692
|
-
|
6693
|
-
def initialize(zoneid=nil, origingroupid=nil, origintype=nil, origingroupname=nil, configurationtype=nil, originrecords=nil, hostheader=nil)
|
6694
|
-
@ZoneId = zoneid
|
6695
|
-
@OriginGroupId = origingroupid
|
6696
|
-
@OriginType = origintype
|
6697
|
-
@OriginGroupName = origingroupname
|
6698
|
-
@ConfigurationType = configurationtype
|
6699
|
-
@OriginRecords = originrecords
|
6700
|
-
@HostHeader = hostheader
|
6701
|
-
end
|
6702
|
-
|
6703
|
-
def deserialize(params)
|
6704
|
-
@ZoneId = params['ZoneId']
|
6705
|
-
@OriginGroupId = params['OriginGroupId']
|
6706
|
-
@OriginType = params['OriginType']
|
6707
|
-
@OriginGroupName = params['OriginGroupName']
|
6708
|
-
@ConfigurationType = params['ConfigurationType']
|
6709
|
-
unless params['OriginRecords'].nil?
|
6710
|
-
@OriginRecords = []
|
6711
|
-
params['OriginRecords'].each do |i|
|
6712
|
-
originrecord_tmp = OriginRecord.new
|
6713
|
-
originrecord_tmp.deserialize(i)
|
6714
|
-
@OriginRecords << originrecord_tmp
|
6715
|
-
end
|
6716
|
-
end
|
6717
|
-
@HostHeader = params['HostHeader']
|
6718
|
-
end
|
6719
|
-
end
|
6720
|
-
|
6721
|
-
# ModifyOriginGroup返回参数结构体
|
6722
|
-
class ModifyOriginGroupResponse < TencentCloud::Common::AbstractModel
|
6723
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6724
|
-
# @type RequestId: String
|
6725
|
-
|
6726
|
-
attr_accessor :RequestId
|
6727
|
-
|
6728
|
-
def initialize(requestid=nil)
|
6729
|
-
@RequestId = requestid
|
6730
|
-
end
|
6731
|
-
|
6732
|
-
def deserialize(params)
|
6733
|
-
@RequestId = params['RequestId']
|
6734
|
-
end
|
6735
|
-
end
|
6736
|
-
|
6737
6577
|
# ModifyRule请求参数结构体
|
6738
6578
|
class ModifyRuleRequest < TencentCloud::Common::AbstractModel
|
6739
6579
|
# @param ZoneId: 站点 ID。
|
@@ -7201,7 +7041,7 @@ module TencentCloud
|
|
7201
7041
|
|
7202
7042
|
# 规则引擎常规类型的动作
|
7203
7043
|
class NormalAction < TencentCloud::Common::AbstractModel
|
7204
|
-
# @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://
|
7044
|
+
# @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
|
7205
7045
|
# @type Action: String
|
7206
7046
|
# @param Parameters: 参数。
|
7207
7047
|
# @type Parameters: Array
|
@@ -8045,7 +7885,7 @@ module TencentCloud
|
|
8045
7885
|
# @type Period: Integer
|
8046
7886
|
# @param RuleName: 规则名,只能以英文字符,数字,下划线组合,且不能以下划线开头。
|
8047
7887
|
# @type RuleName: String
|
8048
|
-
# @param Action: 处置动作,取值有: <li>monitor:观察;</li> <li>drop:拦截;</li>
|
7888
|
+
# @param Action: 处置动作,取值有: <li>monitor:观察;</li> <li>drop:拦截;</li><li> redirect:重定向;</li><li> page:指定页面;</li><li>alg:JavaScript 挑战。</li>
|
8049
7889
|
# @type Action: String
|
8050
7890
|
# @param PunishTime: 惩罚时长,0-2天。
|
8051
7891
|
# @type PunishTime: Integer
|
@@ -8056,31 +7896,37 @@ module TencentCloud
|
|
8056
7896
|
# @type PunishTimeUnit: String
|
8057
7897
|
# @param RuleStatus: 规则状态,取值有:
|
8058
7898
|
# <li>on:生效;</li>
|
8059
|
-
# <li>off:不生效。</li>默认on生效。
|
7899
|
+
# <li>off:不生效。</li>默认 on 生效。
|
8060
7900
|
# @type RuleStatus: String
|
8061
7901
|
# @param AclConditions: 规则详情。
|
8062
7902
|
# @type AclConditions: Array
|
8063
7903
|
# @param RulePriority: 规则权重,取值范围0-100。
|
8064
7904
|
# @type RulePriority: Integer
|
8065
7905
|
# @param RuleID: 规则 Id。仅出参使用。
|
8066
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8067
7906
|
# @type RuleID: Integer
|
8068
7907
|
# @param FreqFields: 过滤词,取值有:
|
8069
|
-
# <li>sip:客户端ip。</li>
|
8070
|
-
#
|
7908
|
+
# <li>sip:客户端 ip。</li>
|
7909
|
+
# 默认为空字符串。
|
8071
7910
|
# @type FreqFields: Array
|
8072
|
-
# @param UpdateTime:
|
8073
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7911
|
+
# @param UpdateTime: 更新时间。仅出参使用。修改时默认为当前时间。
|
8074
7912
|
# @type UpdateTime: String
|
8075
|
-
# @param FreqScope:
|
8076
|
-
# <li>source_to_eo:(响应)源站到EdgeOne
|
8077
|
-
# <li>client_to_eo:(请求)客户端到EdgeOne
|
8078
|
-
#
|
7913
|
+
# @param FreqScope: 统计范围。取值有:
|
7914
|
+
# <li>source_to_eo:(响应)源站到 EdgeOne;</li>
|
7915
|
+
# <li>client_to_eo:(请求)客户端到 EdgeOne。</li>
|
7916
|
+
# 默认为 source_to_eo。
|
8079
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
|
8080
7926
|
|
8081
|
-
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
|
8082
7928
|
|
8083
|
-
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)
|
8084
7930
|
@Threshold = threshold
|
8085
7931
|
@Period = period
|
8086
7932
|
@RuleName = rulename
|
@@ -8094,6 +7940,10 @@ module TencentCloud
|
|
8094
7940
|
@FreqFields = freqfields
|
8095
7941
|
@UpdateTime = updatetime
|
8096
7942
|
@FreqScope = freqscope
|
7943
|
+
@Name = name
|
7944
|
+
@CustomResponseId = customresponseid
|
7945
|
+
@ResponseCode = responsecode
|
7946
|
+
@RedirectUrl = redirecturl
|
8097
7947
|
end
|
8098
7948
|
|
8099
7949
|
def deserialize(params)
|
@@ -8117,6 +7967,10 @@ module TencentCloud
|
|
8117
7967
|
@FreqFields = params['FreqFields']
|
8118
7968
|
@UpdateTime = params['UpdateTime']
|
8119
7969
|
@FreqScope = params['FreqScope']
|
7970
|
+
@Name = params['Name']
|
7971
|
+
@CustomResponseId = params['CustomResponseId']
|
7972
|
+
@ResponseCode = params['ResponseCode']
|
7973
|
+
@RedirectUrl = params['RedirectUrl']
|
8120
7974
|
end
|
8121
7975
|
end
|
8122
7976
|
|
@@ -8204,7 +8058,7 @@ module TencentCloud
|
|
8204
8058
|
|
8205
8059
|
# 规则引擎HTTP请求头/响应头类型的动作
|
8206
8060
|
class RewriteAction < TencentCloud::Common::AbstractModel
|
8207
|
-
# @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://
|
8061
|
+
# @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
|
8208
8062
|
# @type Action: String
|
8209
8063
|
# @param Parameters: 参数。
|
8210
8064
|
# @type Parameters: Array
|
@@ -8357,7 +8211,7 @@ module TencentCloud
|
|
8357
8211
|
class RuleCodeActionParams < TencentCloud::Common::AbstractModel
|
8358
8212
|
# @param StatusCode: 状态 Code。
|
8359
8213
|
# @type StatusCode: Integer
|
8360
|
-
# @param Name: 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://
|
8214
|
+
# @param Name: 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
|
8361
8215
|
# @type Name: String
|
8362
8216
|
# @param Values: 参数值。
|
8363
8217
|
# @type Values: Array
|
@@ -8410,8 +8264,8 @@ module TencentCloud
|
|
8410
8264
|
|
8411
8265
|
attr_accessor :Operator, :Target, :Values, :IgnoreCase, :Name, :IgnoreNameCase
|
8412
8266
|
extend Gem::Deprecate
|
8413
|
-
deprecate :IgnoreNameCase, :none, 2023,
|
8414
|
-
deprecate :IgnoreNameCase=, :none, 2023,
|
8267
|
+
deprecate :IgnoreNameCase, :none, 2023, 10
|
8268
|
+
deprecate :IgnoreNameCase=, :none, 2023, 10
|
8415
8269
|
|
8416
8270
|
def initialize(operator=nil, target=nil, values=nil, ignorecase=nil, name=nil, ignorenamecase=nil)
|
8417
8271
|
@Operator = operator
|
@@ -8509,7 +8363,7 @@ module TencentCloud
|
|
8509
8363
|
|
8510
8364
|
# 规则引擎条件常规动作参数
|
8511
8365
|
class RuleNormalActionParams < TencentCloud::Common::AbstractModel
|
8512
|
-
# @param Name: 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://
|
8366
|
+
# @param Name: 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。
|
8513
8367
|
# @type Name: String
|
8514
8368
|
# @param Values: 参数值。
|
8515
8369
|
# @type Values: Array
|
@@ -8529,7 +8383,7 @@ module TencentCloud
|
|
8529
8383
|
|
8530
8384
|
# 规则引擎条件 HTTP 请求/响应头操作动作参数。
|
8531
8385
|
class RuleRewriteActionParams < TencentCloud::Common::AbstractModel
|
8532
|
-
# @param Action: 功能参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://
|
8386
|
+
# @param Action: 功能参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。现在只有三种取值:
|
8533
8387
|
# <li> add:添加 HTTP 头部;</li>
|
8534
8388
|
# <li> set:重写 HTTP 头部;</li>
|
8535
8389
|
# <li> del:删除 HTTP 头部。</li>
|
@@ -8568,7 +8422,7 @@ module TencentCloud
|
|
8568
8422
|
# <li> TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;</li>
|
8569
8423
|
# <li> OBJECT:参数值为对象类型,ChoiceProperties 为改对象类型关联的属性;</li>
|
8570
8424
|
# <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
|
8571
|
-
# <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://
|
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)
|
8572
8426
|
# @type Type: String
|
8573
8427
|
# @param Max: 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
|
8574
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.
|
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-
|
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
|