tencentcloud-sdk-cdn 1.0.364 → 3.0.380
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/v20180606/models.rb +27 -6
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76ecee07e6089bd9e0552be7700cb9af7cc65fd4
|
|
4
|
+
data.tar.gz: d93e736d4a837e840b5056da1efe2b11521e1e35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 95d1e8fc954a0a23903727f4b3731b8243fd8a36323b05cac331ecdf46103b469887a6e259733c8e63633e52c3f7c6c9ca23a2ae94cc3e3bc8442ee7b9f6e9fe
|
|
7
|
+
data.tar.gz: a7114ebcea3f2ca9c7c07f4418ee32fd739e0d795672309dbcd4f3e9922457a3e1f93ac9f8214447db4c7ce3093cd90ed13da63b5f2eead1bf5a05350f1007da
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3.0.380
|
data/lib/v20180606/models.rb
CHANGED
|
@@ -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
|
|
|
@@ -10241,16 +10246,19 @@ module TencentCloud
|
|
|
10241
10246
|
# 注意事项:
|
|
10242
10247
|
# 此功能灰度发布中,敬请期待
|
|
10243
10248
|
# @type DisableRange: Boolean
|
|
10249
|
+
# @param UrlEncode: 是否对URL进行编码
|
|
10250
|
+
# @type UrlEncode: Boolean
|
|
10244
10251
|
|
|
10245
|
-
attr_accessor :Urls, :UserAgent, :Area, :Layer, :ParseM3U8, :DisableRange
|
|
10252
|
+
attr_accessor :Urls, :UserAgent, :Area, :Layer, :ParseM3U8, :DisableRange, :UrlEncode
|
|
10246
10253
|
|
|
10247
|
-
def initialize(urls=nil, useragent=nil, area=nil, layer=nil, parsem3u8=nil, disablerange=nil)
|
|
10254
|
+
def initialize(urls=nil, useragent=nil, area=nil, layer=nil, parsem3u8=nil, disablerange=nil, urlencode=nil)
|
|
10248
10255
|
@Urls = urls
|
|
10249
10256
|
@UserAgent = useragent
|
|
10250
10257
|
@Area = area
|
|
10251
10258
|
@Layer = layer
|
|
10252
10259
|
@ParseM3U8 = parsem3u8
|
|
10253
10260
|
@DisableRange = disablerange
|
|
10261
|
+
@UrlEncode = urlencode
|
|
10254
10262
|
end
|
|
10255
10263
|
|
|
10256
10264
|
def deserialize(params)
|
|
@@ -10260,6 +10268,7 @@ module TencentCloud
|
|
|
10260
10268
|
@Layer = params['Layer']
|
|
10261
10269
|
@ParseM3U8 = params['ParseM3U8']
|
|
10262
10270
|
@DisableRange = params['DisableRange']
|
|
10271
|
+
@UrlEncode = params['UrlEncode']
|
|
10263
10272
|
end
|
|
10264
10273
|
end
|
|
10265
10274
|
|
|
@@ -11238,13 +11247,17 @@ module TencentCloud
|
|
|
11238
11247
|
# @param AdvancedRules: 增强自定义 cc 防护规则
|
|
11239
11248
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11240
11249
|
# @type AdvancedRules: Array
|
|
11250
|
+
# @param GlobalAdvancedRules: 增强自定义 cc 防护规则, 全局
|
|
11251
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11252
|
+
# @type GlobalAdvancedRules: Array
|
|
11241
11253
|
|
|
11242
|
-
attr_accessor :Switch, :Rules, :AdvancedRules
|
|
11254
|
+
attr_accessor :Switch, :Rules, :AdvancedRules, :GlobalAdvancedRules
|
|
11243
11255
|
|
|
11244
|
-
def initialize(switch=nil, rules=nil, advancedrules=nil)
|
|
11256
|
+
def initialize(switch=nil, rules=nil, advancedrules=nil, globaladvancedrules=nil)
|
|
11245
11257
|
@Switch = switch
|
|
11246
11258
|
@Rules = rules
|
|
11247
11259
|
@AdvancedRules = advancedrules
|
|
11260
|
+
@GlobalAdvancedRules = globaladvancedrules
|
|
11248
11261
|
end
|
|
11249
11262
|
|
|
11250
11263
|
def deserialize(params)
|
|
@@ -11265,6 +11278,14 @@ module TencentCloud
|
|
|
11265
11278
|
@AdvancedRules << advancedccrules_tmp
|
|
11266
11279
|
end
|
|
11267
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
|
|
11268
11289
|
end
|
|
11269
11290
|
end
|
|
11270
11291
|
|
metadata
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-cdn
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
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-
|
|
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
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ~>
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ~>
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '1.0'
|
|
27
27
|
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
|
@@ -33,10 +33,10 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/VERSION
|
|
37
36
|
- lib/tencentcloud-sdk-cdn.rb
|
|
38
|
-
- lib/v20180606/client.rb
|
|
39
37
|
- lib/v20180606/models.rb
|
|
38
|
+
- lib/v20180606/client.rb
|
|
39
|
+
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|
|
42
42
|
- Apache-2.0
|
|
@@ -49,17 +49,17 @@ require_paths:
|
|
|
49
49
|
- lib
|
|
50
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - '>='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
56
|
requirements:
|
|
57
|
-
- -
|
|
57
|
+
- - '>='
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
59
|
version: '0'
|
|
60
60
|
requirements: []
|
|
61
61
|
rubyforge_project:
|
|
62
|
-
rubygems_version: 2.
|
|
62
|
+
rubygems_version: 2.0.14
|
|
63
63
|
signing_key:
|
|
64
64
|
specification_version: 4
|
|
65
65
|
summary: Tencent Cloud SDK for Ruby - CDN
|