tencentcloud-sdk-cdn 1.0.349 → 1.0.352
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 +34 -2
- 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: c00615ca8c36431e5d72d9c36e6f1a6cd334ef88
|
|
4
|
+
data.tar.gz: 3912602a8e5563273ce1e1db91bf7ee18fc7ba91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 97b7c9ba71567e24196a81a3144f480f839ab66adb11eaa8a41a03c81fd731deaf02fef720fc391ffb07f40d70651ab2f3e01f071545a195d2f43c0306bd4580
|
|
7
|
+
data.tar.gz: 83aa047bbf8371495f4075e9c1b8650bba11dddd16b296bb25f799b33df4465d305e89c0473920ca8397f17a8be87a352724983a57e6b7a95b7a8cda82706421
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.352
|
data/lib/v20180606/models.rb
CHANGED
|
@@ -7256,15 +7256,23 @@ module TencentCloud
|
|
|
7256
7256
|
# on:开启
|
|
7257
7257
|
# off:关闭
|
|
7258
7258
|
# @type Switch: String
|
|
7259
|
+
# @param RedirectConfig: 自定义回源302 follow请求host配置,该功能为白名单功能,需要开启请联系腾讯云工程师。
|
|
7260
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7261
|
+
# @type RedirectConfig: :class:`Tencentcloud::Cdn.v20180606.models.RedirectConfig`
|
|
7259
7262
|
|
|
7260
|
-
attr_accessor :Switch
|
|
7263
|
+
attr_accessor :Switch, :RedirectConfig
|
|
7261
7264
|
|
|
7262
|
-
def initialize(switch=nil)
|
|
7265
|
+
def initialize(switch=nil, redirectconfig=nil)
|
|
7263
7266
|
@Switch = switch
|
|
7267
|
+
@RedirectConfig = redirectconfig
|
|
7264
7268
|
end
|
|
7265
7269
|
|
|
7266
7270
|
def deserialize(params)
|
|
7267
7271
|
@Switch = params['Switch']
|
|
7272
|
+
unless params['RedirectConfig'].nil?
|
|
7273
|
+
@RedirectConfig = RedirectConfig.new
|
|
7274
|
+
@RedirectConfig.deserialize(params['RedirectConfig'])
|
|
7275
|
+
end
|
|
7268
7276
|
end
|
|
7269
7277
|
end
|
|
7270
7278
|
|
|
@@ -10429,6 +10437,30 @@ module TencentCloud
|
|
|
10429
10437
|
end
|
|
10430
10438
|
end
|
|
10431
10439
|
|
|
10440
|
+
# 自定义回源302 follow请求host配置
|
|
10441
|
+
class RedirectConfig < TencentCloud::Common::AbstractModel
|
|
10442
|
+
# @param Switch: 配置开关
|
|
10443
|
+
# @type Switch: String
|
|
10444
|
+
# @param FollowRedirectHost: 主源站follow302请求时带的自定义的host头部
|
|
10445
|
+
# @type FollowRedirectHost: String
|
|
10446
|
+
# @param FollowRedirectBackupHost: 备份源站follow302请求时带的自定义的host头部
|
|
10447
|
+
# @type FollowRedirectBackupHost: String
|
|
10448
|
+
|
|
10449
|
+
attr_accessor :Switch, :FollowRedirectHost, :FollowRedirectBackupHost
|
|
10450
|
+
|
|
10451
|
+
def initialize(switch=nil, followredirecthost=nil, followredirectbackuphost=nil)
|
|
10452
|
+
@Switch = switch
|
|
10453
|
+
@FollowRedirectHost = followredirecthost
|
|
10454
|
+
@FollowRedirectBackupHost = followredirectbackuphost
|
|
10455
|
+
end
|
|
10456
|
+
|
|
10457
|
+
def deserialize(params)
|
|
10458
|
+
@Switch = params['Switch']
|
|
10459
|
+
@FollowRedirectHost = params['FollowRedirectHost']
|
|
10460
|
+
@FollowRedirectBackupHost = params['FollowRedirectBackupHost']
|
|
10461
|
+
end
|
|
10462
|
+
end
|
|
10463
|
+
|
|
10432
10464
|
# Referer 黑白名单配置,默认为关闭状态
|
|
10433
10465
|
class Referer < TencentCloud::Common::AbstractModel
|
|
10434
10466
|
# @param Switch: referer 黑白名单配置开关
|
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: 1.0.
|
|
4
|
+
version: 1.0.352
|
|
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-07-
|
|
11
|
+
date: 2022-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|