tencentcloud-sdk-cdn 3.0.1189 → 3.0.1190

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/v20180606/models.rb +41 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34f25bd4fc3987790160311b5231eac2d4cacf66
4
- data.tar.gz: 1473660a33cf4299761fc8605694b11ddaa4f937
3
+ metadata.gz: bfe9225044b446a91a59f9ec91bedc9f05316235
4
+ data.tar.gz: 2fcec785afddeb81e2123f43c41124921496749a
5
5
  SHA512:
6
- metadata.gz: e1f1fd468369cb24ba820395a97cda297a031305c55725d79663496e69db8592ea5c683c7c1824e3567114a6fe9b0c5b8b649e61f1fc693c2c7c8dffa10bb158
7
- data.tar.gz: 827c2d63bf2b4829896c4e76b7b6023411c5c80676853de8b76fbeaea122e5e3e03738be9b2f228d45316d21b0b77ef03972723a446800e12d7edbd3ce5ef1a8
6
+ metadata.gz: f9416568b285020c1f96382e3b69ea6d20cb4565b69f44a896aa626df5f0ca1e8ddd97aacb744101f1e53cf7e053a56c1d1087142972f1145563933f45705321
7
+ data.tar.gz: 68ecbfad0f0e93f51736846f40bf6f67bdebb32c68ecd55df303245e9c18081e3524321bd053b450e44b5cdb2cd90995d219644dca076feb1a1cd876cb495926
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1189
1
+ 3.0.1190
@@ -1174,15 +1174,27 @@ module TencentCloud
1174
1174
  # @param Switch: 流量防盗刷配置开关,取值有: on:开启 off:关闭
1175
1175
  # 注意:此字段可能返回 null,表示取不到有效值。
1176
1176
  # @type Switch: String
1177
+ # @param FilterRules: 流量防盗刷配置规则
1178
+ # 注意:此字段可能返回 null,表示取不到有效值。
1179
+ # @type FilterRules: Array
1177
1180
 
1178
- attr_accessor :Switch
1181
+ attr_accessor :Switch, :FilterRules
1179
1182
 
1180
- def initialize(switch=nil)
1183
+ def initialize(switch=nil, filterrules=nil)
1181
1184
  @Switch = switch
1185
+ @FilterRules = filterrules
1182
1186
  end
1183
1187
 
1184
1188
  def deserialize(params)
1185
1189
  @Switch = params['Switch']
1190
+ unless params['FilterRules'].nil?
1191
+ @FilterRules = []
1192
+ params['FilterRules'].each do |i|
1193
+ filterrules_tmp = FilterRules.new
1194
+ filterrules_tmp.deserialize(i)
1195
+ @FilterRules << filterrules_tmp
1196
+ end
1197
+ end
1186
1198
  end
1187
1199
  end
1188
1200
 
@@ -5549,6 +5561,33 @@ module TencentCloud
5549
5561
  end
5550
5562
  end
5551
5563
 
5564
+ # 防盗刷配置规则
5565
+ class FilterRules < TencentCloud::Common::AbstractModel
5566
+ # @param FilterType: 封禁类型
5567
+ # 注意:此字段可能返回 null,表示取不到有效值。
5568
+ # @type FilterType: String
5569
+ # @param RuleType: 封禁规则类型
5570
+ # 注意:此字段可能返回 null,表示取不到有效值。
5571
+ # @type RuleType: String
5572
+ # @param RulePaths: 封禁规则路径
5573
+ # 注意:此字段可能返回 null,表示取不到有效值。
5574
+ # @type RulePaths: Array
5575
+
5576
+ attr_accessor :FilterType, :RuleType, :RulePaths
5577
+
5578
+ def initialize(filtertype=nil, ruletype=nil, rulepaths=nil)
5579
+ @FilterType = filtertype
5580
+ @RuleType = ruletype
5581
+ @RulePaths = rulepaths
5582
+ end
5583
+
5584
+ def deserialize(params)
5585
+ @FilterType = params['FilterType']
5586
+ @RuleType = params['RuleType']
5587
+ @RulePaths = params['RulePaths']
5588
+ end
5589
+ end
5590
+
5552
5591
  # 回源 301/302 状态码自动跟随配置,默认为关闭状态
5553
5592
  class FollowRedirect < TencentCloud::Common::AbstractModel
5554
5593
  # @param Switch: 回源跟随配置开关,取值有:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdn
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1189
4
+ version: 3.0.1190
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-12-24 00:00:00.000000000 Z
11
+ date: 2025-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common