tencentcloud-sdk-cdn 1.0.351 → 1.0.354

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 +34 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6f3bf192ff628cc5c498b777375300fcab8a368
4
- data.tar.gz: 70c0f9079ca95d29205f307cd71703794dbf5e3e
3
+ metadata.gz: 9dfb314f3bf69b1c3b2ce3e30d567ddaf52fac1c
4
+ data.tar.gz: bbd867f720ab088749f30dfb914399561ab3efe5
5
5
  SHA512:
6
- metadata.gz: b845d6c7c38da9c975704482ea3f9dd4cb7ce42d9e0721db43ef993fbd2200a9ba4a8f31ef9f61e58910f8683cdc1cac90aab61c6a7582d49166029a3430111b
7
- data.tar.gz: 2c336a2232b3081b654f5b43945104f9193cc452c6a59bfb4e52ed4dfe98fc8d54c44d8f8bbef9d24467b0272a1449aa7ce4328d1c5b8195b68c3fe88ed97d38
6
+ metadata.gz: 44e5725e49c74e8fd635875104cc314e1a48528aada8cb67a70dff3c2fd65cf002429e4830ddedb633bfc0c339e667508d7fea16f54a6ea69ebfe75e506b8e2d
7
+ data.tar.gz: 79c8b248dba34a1119096bf5772cbc014b0f20e7d3de14c8c7431d237d7eb42dd2fae462d886c33a1480c50123f9483fd7a4b729075d174a270d978c5084d9e4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.351
1
+ 1.0.354
@@ -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.351
4
+ version: 1.0.354
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-08 00:00:00.000000000 Z
11
+ date: 2022-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common