tencentcloud-sdk-teo 3.0.431 → 3.0.432
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/models.rb +117 -21
- 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: cd84bfaa72a7fd5f9b96211b73cf0ab2e645f142
|
4
|
+
data.tar.gz: d3c1fd65f5f864cc8d1ed618fde01fa26315338b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f9ab2dd75457e2f4ee2e1e56f6485a3bae74326d23497876c05167ce2b6068f9b8011abb9de91ecfab35c42eb1ba5353b34831cbcacace96dc9c00582669aaf
|
7
|
+
data.tar.gz: 984f4e2ed219edd38a963062ffd930339c6353211931d7b27c1259a9109f41f9ff2a68f32402742d545f7405459403ae4c204e09b36553e990cc3e8737f0fc25
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.432
|
data/lib/v20220901/models.rb
CHANGED
@@ -234,8 +234,9 @@ module TencentCloud
|
|
234
234
|
# <li> Hsts;</li>
|
235
235
|
# <li> ClientIpHeader;</li>
|
236
236
|
# <li> TlsVersion;</li>
|
237
|
-
# <li> OcspStapling
|
238
|
-
# <li> HTTP/2 访问(Http2
|
237
|
+
# <li> OcspStapling;</li>
|
238
|
+
# <li> HTTP/2 访问(Http2);</li>
|
239
|
+
# <li> 回源跟随重定向(UpstreamFollowRedirect)。</li>
|
239
240
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
240
241
|
# @type NormalAction: :class:`Tencentcloud::Teo.v20220901.models.NormalAction`
|
241
242
|
# @param RewriteAction: 带有请求头/响应头的功能操作,选择该类型的功能项有:
|
@@ -2246,14 +2247,17 @@ module TencentCloud
|
|
2246
2247
|
# @type Status: String
|
2247
2248
|
# @param Rules: 规则内容。
|
2248
2249
|
# @type Rules: Array
|
2250
|
+
# @param Tags: 规则标签。
|
2251
|
+
# @type Tags: Array
|
2249
2252
|
|
2250
|
-
attr_accessor :ZoneId, :RuleName, :Status, :Rules
|
2253
|
+
attr_accessor :ZoneId, :RuleName, :Status, :Rules, :Tags
|
2251
2254
|
|
2252
|
-
def initialize(zoneid=nil, rulename=nil, status=nil, rules=nil)
|
2255
|
+
def initialize(zoneid=nil, rulename=nil, status=nil, rules=nil, tags=nil)
|
2253
2256
|
@ZoneId = zoneid
|
2254
2257
|
@RuleName = rulename
|
2255
2258
|
@Status = status
|
2256
2259
|
@Rules = rules
|
2260
|
+
@Tags = tags
|
2257
2261
|
end
|
2258
2262
|
|
2259
2263
|
def deserialize(params)
|
@@ -2268,6 +2272,7 @@ module TencentCloud
|
|
2268
2272
|
@Rules << rule_tmp
|
2269
2273
|
end
|
2270
2274
|
end
|
2275
|
+
@Tags = params['Tags']
|
2271
2276
|
end
|
2272
2277
|
end
|
2273
2278
|
|
@@ -8959,15 +8964,25 @@ module TencentCloud
|
|
8959
8964
|
# <li>on:开启;</li>
|
8960
8965
|
# <li>off:关闭。</li>
|
8961
8966
|
# @type Switch: String
|
8967
|
+
# @param DefaultCacheTime: 源站未返回 Cache-Control 头时, 设置默认的缓存时间
|
8968
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8969
|
+
# @type DefaultCacheTime: Integer
|
8970
|
+
# @param DefaultCache: 源站未返回 Cache-Control 头时, 设置缓存/不缓存
|
8971
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8972
|
+
# @type DefaultCache: String
|
8962
8973
|
|
8963
|
-
attr_accessor :Switch
|
8974
|
+
attr_accessor :Switch, :DefaultCacheTime, :DefaultCache
|
8964
8975
|
|
8965
|
-
def initialize(switch=nil)
|
8976
|
+
def initialize(switch=nil, defaultcachetime=nil, defaultcache=nil)
|
8966
8977
|
@Switch = switch
|
8978
|
+
@DefaultCacheTime = defaultcachetime
|
8979
|
+
@DefaultCache = defaultcache
|
8967
8980
|
end
|
8968
8981
|
|
8969
8982
|
def deserialize(params)
|
8970
8983
|
@Switch = params['Switch']
|
8984
|
+
@DefaultCacheTime = params['DefaultCacheTime']
|
8985
|
+
@DefaultCache = params['DefaultCache']
|
8971
8986
|
end
|
8972
8987
|
end
|
8973
8988
|
|
@@ -10686,15 +10701,18 @@ module TencentCloud
|
|
10686
10701
|
# <li> enable: 启用; </li>
|
10687
10702
|
# <li> disable: 未启用。</li>
|
10688
10703
|
# @type Status: String
|
10704
|
+
# @param Tags: 规则标签。
|
10705
|
+
# @type Tags: Array
|
10689
10706
|
|
10690
|
-
attr_accessor :ZoneId, :RuleName, :Rules, :RuleId, :Status
|
10707
|
+
attr_accessor :ZoneId, :RuleName, :Rules, :RuleId, :Status, :Tags
|
10691
10708
|
|
10692
|
-
def initialize(zoneid=nil, rulename=nil, rules=nil, ruleid=nil, status=nil)
|
10709
|
+
def initialize(zoneid=nil, rulename=nil, rules=nil, ruleid=nil, status=nil, tags=nil)
|
10693
10710
|
@ZoneId = zoneid
|
10694
10711
|
@RuleName = rulename
|
10695
10712
|
@Rules = rules
|
10696
10713
|
@RuleId = ruleid
|
10697
10714
|
@Status = status
|
10715
|
+
@Tags = tags
|
10698
10716
|
end
|
10699
10717
|
|
10700
10718
|
def deserialize(params)
|
@@ -10710,6 +10728,7 @@ module TencentCloud
|
|
10710
10728
|
end
|
10711
10729
|
@RuleId = params['RuleId']
|
10712
10730
|
@Status = params['Status']
|
10731
|
+
@Tags = params['Tags']
|
10713
10732
|
end
|
10714
10733
|
end
|
10715
10734
|
|
@@ -12143,20 +12162,31 @@ module TencentCloud
|
|
12143
12162
|
|
12144
12163
|
# 规则引擎规则项,Conditions 数组内多个项的关系为 或,内层 Conditions 列表内多个项的关系为 且。
|
12145
12164
|
class Rule < TencentCloud::Common::AbstractModel
|
12165
|
+
# @param Actions: 执行的功能。
|
12166
|
+
# @type Actions: Array
|
12146
12167
|
# @param Conditions: 执行功能判断条件。
|
12147
12168
|
# 注意:满足该数组内任意一项条件,功能即可执行。
|
12148
12169
|
# @type Conditions: Array
|
12149
|
-
# @param
|
12150
|
-
# @type
|
12170
|
+
# @param SubRules: 嵌套规则。
|
12171
|
+
# @type SubRules: Array
|
12151
12172
|
|
12152
|
-
attr_accessor :Conditions, :
|
12173
|
+
attr_accessor :Actions, :Conditions, :SubRules
|
12153
12174
|
|
12154
|
-
def initialize(conditions=nil,
|
12155
|
-
@Conditions = conditions
|
12175
|
+
def initialize(actions=nil, conditions=nil, subrules=nil)
|
12156
12176
|
@Actions = actions
|
12177
|
+
@Conditions = conditions
|
12178
|
+
@SubRules = subrules
|
12157
12179
|
end
|
12158
12180
|
|
12159
12181
|
def deserialize(params)
|
12182
|
+
unless params['Actions'].nil?
|
12183
|
+
@Actions = []
|
12184
|
+
params['Actions'].each do |i|
|
12185
|
+
action_tmp = Action.new
|
12186
|
+
action_tmp.deserialize(i)
|
12187
|
+
@Actions << action_tmp
|
12188
|
+
end
|
12189
|
+
end
|
12160
12190
|
unless params['Conditions'].nil?
|
12161
12191
|
@Conditions = []
|
12162
12192
|
params['Conditions'].each do |i|
|
@@ -12165,12 +12195,12 @@ module TencentCloud
|
|
12165
12195
|
@Conditions << ruleandconditions_tmp
|
12166
12196
|
end
|
12167
12197
|
end
|
12168
|
-
unless params['
|
12169
|
-
@
|
12170
|
-
params['
|
12171
|
-
|
12172
|
-
|
12173
|
-
@
|
12198
|
+
unless params['SubRules'].nil?
|
12199
|
+
@SubRules = []
|
12200
|
+
params['SubRules'].each do |i|
|
12201
|
+
subruleitem_tmp = SubRuleItem.new
|
12202
|
+
subruleitem_tmp.deserialize(i)
|
12203
|
+
@SubRules << subruleitem_tmp
|
12174
12204
|
end
|
12175
12205
|
end
|
12176
12206
|
end
|
@@ -12376,15 +12406,18 @@ module TencentCloud
|
|
12376
12406
|
# @type Rules: Array
|
12377
12407
|
# @param RulePriority: 规则优先级, 值越大优先级越高,最小为 1。
|
12378
12408
|
# @type RulePriority: Integer
|
12409
|
+
# @param Tags: 规则标签。
|
12410
|
+
# @type Tags: Array
|
12379
12411
|
|
12380
|
-
attr_accessor :RuleId, :RuleName, :Status, :Rules, :RulePriority
|
12412
|
+
attr_accessor :RuleId, :RuleName, :Status, :Rules, :RulePriority, :Tags
|
12381
12413
|
|
12382
|
-
def initialize(ruleid=nil, rulename=nil, status=nil, rules=nil, rulepriority=nil)
|
12414
|
+
def initialize(ruleid=nil, rulename=nil, status=nil, rules=nil, rulepriority=nil, tags=nil)
|
12383
12415
|
@RuleId = ruleid
|
12384
12416
|
@RuleName = rulename
|
12385
12417
|
@Status = status
|
12386
12418
|
@Rules = rules
|
12387
12419
|
@RulePriority = rulepriority
|
12420
|
+
@Tags = tags
|
12388
12421
|
end
|
12389
12422
|
|
12390
12423
|
def deserialize(params)
|
@@ -12400,6 +12433,7 @@ module TencentCloud
|
|
12400
12433
|
end
|
12401
12434
|
end
|
12402
12435
|
@RulePriority = params['RulePriority']
|
12436
|
+
@Tags = params['Tags']
|
12403
12437
|
end
|
12404
12438
|
end
|
12405
12439
|
|
@@ -13400,6 +13434,68 @@ module TencentCloud
|
|
13400
13434
|
end
|
13401
13435
|
end
|
13402
13436
|
|
13437
|
+
# 嵌套规则信息。
|
13438
|
+
class SubRule < TencentCloud::Common::AbstractModel
|
13439
|
+
# @param Conditions: 执行功能判断条件。
|
13440
|
+
# 注意:满足该数组内任意一项条件,功能即可执行。
|
13441
|
+
# @type Conditions: Array
|
13442
|
+
# @param Actions: 执行的功能。
|
13443
|
+
# @type Actions: Array
|
13444
|
+
|
13445
|
+
attr_accessor :Conditions, :Actions
|
13446
|
+
|
13447
|
+
def initialize(conditions=nil, actions=nil)
|
13448
|
+
@Conditions = conditions
|
13449
|
+
@Actions = actions
|
13450
|
+
end
|
13451
|
+
|
13452
|
+
def deserialize(params)
|
13453
|
+
unless params['Conditions'].nil?
|
13454
|
+
@Conditions = []
|
13455
|
+
params['Conditions'].each do |i|
|
13456
|
+
ruleandconditions_tmp = RuleAndConditions.new
|
13457
|
+
ruleandconditions_tmp.deserialize(i)
|
13458
|
+
@Conditions << ruleandconditions_tmp
|
13459
|
+
end
|
13460
|
+
end
|
13461
|
+
unless params['Actions'].nil?
|
13462
|
+
@Actions = []
|
13463
|
+
params['Actions'].each do |i|
|
13464
|
+
action_tmp = Action.new
|
13465
|
+
action_tmp.deserialize(i)
|
13466
|
+
@Actions << action_tmp
|
13467
|
+
end
|
13468
|
+
end
|
13469
|
+
end
|
13470
|
+
end
|
13471
|
+
|
13472
|
+
# 规则引擎嵌套规则
|
13473
|
+
class SubRuleItem < TencentCloud::Common::AbstractModel
|
13474
|
+
# @param Rules: 嵌套规则信息。
|
13475
|
+
# @type Rules: Array
|
13476
|
+
# @param Tags: 规则标签。
|
13477
|
+
# @type Tags: Array
|
13478
|
+
|
13479
|
+
attr_accessor :Rules, :Tags
|
13480
|
+
|
13481
|
+
def initialize(rules=nil, tags=nil)
|
13482
|
+
@Rules = rules
|
13483
|
+
@Tags = tags
|
13484
|
+
end
|
13485
|
+
|
13486
|
+
def deserialize(params)
|
13487
|
+
unless params['Rules'].nil?
|
13488
|
+
@Rules = []
|
13489
|
+
params['Rules'].each do |i|
|
13490
|
+
subrule_tmp = SubRule.new
|
13491
|
+
subrule_tmp.deserialize(i)
|
13492
|
+
@Rules << subrule_tmp
|
13493
|
+
end
|
13494
|
+
end
|
13495
|
+
@Tags = params['Tags']
|
13496
|
+
end
|
13497
|
+
end
|
13498
|
+
|
13403
13499
|
# 询价参数
|
13404
13500
|
class Sv < TencentCloud::Common::AbstractModel
|
13405
13501
|
# @param Key: 询价参数键。
|
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.432
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|