tencentcloud-sdk-cdn 3.0.379 → 3.0.380

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180606/models.rb +21 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9be70e92eabdc03790fbf1908a6ac95d0d0e98f
4
- data.tar.gz: fe80700781949688c239cd875e0c50f48fe17907
3
+ metadata.gz: 76ecee07e6089bd9e0552be7700cb9af7cc65fd4
4
+ data.tar.gz: d93e736d4a837e840b5056da1efe2b11521e1e35
5
5
  SHA512:
6
- metadata.gz: 22ca1907c95b039efea3ba6379d3db2d66f8cd058f17bfe4a2ed0eadb922886fae49bea5938a550b7cbec532b67502d1e03b653bcea2f414f083a77516eaafee
7
- data.tar.gz: 64cf236e94d7f9288a2ff763533718372c459fda8d5b9b2c65d5afa3e8ad9a763f1032f6a5ce8b676aaa79e73020941ed41dd916d7ea1ffe008f8e2feb8ff307
6
+ metadata.gz: 95d1e8fc954a0a23903727f4b3731b8243fd8a36323b05cac331ecdf46103b469887a6e259733c8e63633e52c3f7c6c9ca23a2ae94cc3e3bc8442ee7b9f6e9fe
7
+ data.tar.gz: a7114ebcea3f2ca9c7c07f4418ee32fd739e0d795672309dbcd4f3e9922457a3e1f93ac9f8214447db4c7ce3093cd90ed13da63b5f2eead1bf5a05350f1007da
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.379
1
+ 3.0.380
@@ -876,10 +876,13 @@ module TencentCloud
876
876
  # @param Configure: 七层限频具体配置
877
877
  # 注意:此字段可能返回 null,表示取不到有效值。
878
878
  # @type Configure: Array
879
+ # @param Switch: 是否开启改规则 on 开启,off关闭
880
+ # 注意:此字段可能返回 null,表示取不到有效值。
881
+ # @type Switch: String
879
882
 
880
- attr_accessor :RuleName, :DetectionTime, :FrequencyLimit, :PunishmentSwitch, :PunishmentTime, :Action, :RedirectUrl, :Configure
883
+ attr_accessor :RuleName, :DetectionTime, :FrequencyLimit, :PunishmentSwitch, :PunishmentTime, :Action, :RedirectUrl, :Configure, :Switch
881
884
 
882
- def initialize(rulename=nil, detectiontime=nil, frequencylimit=nil, punishmentswitch=nil, punishmenttime=nil, action=nil, redirecturl=nil, configure=nil)
885
+ def initialize(rulename=nil, detectiontime=nil, frequencylimit=nil, punishmentswitch=nil, punishmenttime=nil, action=nil, redirecturl=nil, configure=nil, switch=nil)
883
886
  @RuleName = rulename
884
887
  @DetectionTime = detectiontime
885
888
  @FrequencyLimit = frequencylimit
@@ -888,6 +891,7 @@ module TencentCloud
888
891
  @Action = action
889
892
  @RedirectUrl = redirecturl
890
893
  @Configure = configure
894
+ @Switch = switch
891
895
  end
892
896
 
893
897
  def deserialize(params)
@@ -906,6 +910,7 @@ module TencentCloud
906
910
  @Configure << scdnsevenlayerrules_tmp
907
911
  end
908
912
  end
913
+ @Switch = params['Switch']
909
914
  end
910
915
  end
911
916
 
@@ -11242,13 +11247,17 @@ module TencentCloud
11242
11247
  # @param AdvancedRules: 增强自定义 cc 防护规则
11243
11248
  # 注意:此字段可能返回 null,表示取不到有效值。
11244
11249
  # @type AdvancedRules: Array
11250
+ # @param GlobalAdvancedRules: 增强自定义 cc 防护规则, 全局
11251
+ # 注意:此字段可能返回 null,表示取不到有效值。
11252
+ # @type GlobalAdvancedRules: Array
11245
11253
 
11246
- attr_accessor :Switch, :Rules, :AdvancedRules
11254
+ attr_accessor :Switch, :Rules, :AdvancedRules, :GlobalAdvancedRules
11247
11255
 
11248
- def initialize(switch=nil, rules=nil, advancedrules=nil)
11256
+ def initialize(switch=nil, rules=nil, advancedrules=nil, globaladvancedrules=nil)
11249
11257
  @Switch = switch
11250
11258
  @Rules = rules
11251
11259
  @AdvancedRules = advancedrules
11260
+ @GlobalAdvancedRules = globaladvancedrules
11252
11261
  end
11253
11262
 
11254
11263
  def deserialize(params)
@@ -11269,6 +11278,14 @@ module TencentCloud
11269
11278
  @AdvancedRules << advancedccrules_tmp
11270
11279
  end
11271
11280
  end
11281
+ unless params['GlobalAdvancedRules'].nil?
11282
+ @GlobalAdvancedRules = []
11283
+ params['GlobalAdvancedRules'].each do |i|
11284
+ advancedccrules_tmp = AdvancedCCRules.new
11285
+ advancedccrules_tmp.deserialize(i)
11286
+ @GlobalAdvancedRules << advancedccrules_tmp
11287
+ end
11288
+ end
11272
11289
  end
11273
11290
  end
11274
11291
 
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.379
4
+ version: 3.0.380
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-08-03 00:00:00.000000000 Z
11
+ date: 2022-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common