tencentcloud-sdk-cdn 3.0.411 → 3.0.412

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 +33 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a484f3c9f5943e1e5ec2cf3205a69440682fdb8
4
- data.tar.gz: 78424b975b33d10f049e2854f69990b7ca05c76b
3
+ metadata.gz: ef9559735693379522390f1b615b47f5c9192592
4
+ data.tar.gz: 7a6cdeef125bf20200df4f70d9185bc12e43d90b
5
5
  SHA512:
6
- metadata.gz: 45a88907d9880be6c61f5a7a3960cc18a47acef625eab016c01f7bc48fa6fd0793e303391bd595bc27026eea41caad7f82e5f61abe3496776fdaa8a591d44ce0
7
- data.tar.gz: 435d039dc0628d7ca03dc970f657648f26615780c30b0ecc649a70548e4c795071b4e81cd8ad59f5da06b844aa5b2508c95d790030e3f333b791b605e4a706c9
6
+ metadata.gz: 2b27460c082db45cabec27942bb37c923b6ee0cbbb3d1504c9d9f187d4bd5cad7e89cafe893057a442e1a42ca47838c84ad1378b2517f6ce9427fad3349176d6
7
+ data.tar.gz: 59c5db740962080678daeb063545a9d0320cb94394d08dd319901111f504c0ceb0ec50cf879bb47a97896cfc57ca605c9818da6cab97d3077782d66262eb942b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.411
1
+ 3.0.412
@@ -7413,6 +7413,26 @@ module TencentCloud
7413
7413
  end
7414
7414
  end
7415
7415
 
7416
+ # HTTP 请求头
7417
+ class HTTPHeader < TencentCloud::Common::AbstractModel
7418
+ # @param Name: 请求头名称
7419
+ # @type Name: String
7420
+ # @param Value: 请求头值
7421
+ # @type Value: String
7422
+
7423
+ attr_accessor :Name, :Value
7424
+
7425
+ def initialize(name=nil, value=nil)
7426
+ @Name = name
7427
+ @Value = value
7428
+ end
7429
+
7430
+ def deserialize(params)
7431
+ @Name = params['Name']
7432
+ @Value = params['Value']
7433
+ end
7434
+ end
7435
+
7416
7436
  # 组成CacheKey
7417
7437
  class HeaderKey < TencentCloud::Common::AbstractModel
7418
7438
  # @param Switch: 是否组成Cachekey
@@ -10244,18 +10264,21 @@ module TencentCloud
10244
10264
  # 注意事项:
10245
10265
  # 此功能灰度发布中,敬请期待
10246
10266
  # @type DisableRange: Boolean
10267
+ # @param Headers: 自定义 HTTP 请求头。最多定义 20 个,Name 长度不超过 128 字节,Value 长度不超过 1024 字节
10268
+ # @type Headers: Array
10247
10269
  # @param UrlEncode: 是否对URL进行编码
10248
10270
  # @type UrlEncode: Boolean
10249
10271
 
10250
- attr_accessor :Urls, :UserAgent, :Area, :Layer, :ParseM3U8, :DisableRange, :UrlEncode
10272
+ attr_accessor :Urls, :UserAgent, :Area, :Layer, :ParseM3U8, :DisableRange, :Headers, :UrlEncode
10251
10273
 
10252
- def initialize(urls=nil, useragent=nil, area=nil, layer=nil, parsem3u8=nil, disablerange=nil, urlencode=nil)
10274
+ def initialize(urls=nil, useragent=nil, area=nil, layer=nil, parsem3u8=nil, disablerange=nil, headers=nil, urlencode=nil)
10253
10275
  @Urls = urls
10254
10276
  @UserAgent = useragent
10255
10277
  @Area = area
10256
10278
  @Layer = layer
10257
10279
  @ParseM3U8 = parsem3u8
10258
10280
  @DisableRange = disablerange
10281
+ @Headers = headers
10259
10282
  @UrlEncode = urlencode
10260
10283
  end
10261
10284
 
@@ -10266,6 +10289,14 @@ module TencentCloud
10266
10289
  @Layer = params['Layer']
10267
10290
  @ParseM3U8 = params['ParseM3U8']
10268
10291
  @DisableRange = params['DisableRange']
10292
+ unless params['Headers'].nil?
10293
+ @Headers = []
10294
+ params['Headers'].each do |i|
10295
+ httpheader_tmp = HTTPHeader.new
10296
+ httpheader_tmp.deserialize(i)
10297
+ @Headers << httpheader_tmp
10298
+ end
10299
+ end
10269
10300
  @UrlEncode = params['UrlEncode']
10270
10301
  end
10271
10302
  end
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.411
4
+ version: 3.0.412
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-09-16 00:00:00.000000000 Z
11
+ date: 2022-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common