tencentcloud-sdk-cdn 3.0.825 → 3.0.826

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 +16 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab8005b22c53498e5329097acf8d4ef2003cfaea
4
- data.tar.gz: 932792f8b0879bab175a50501ce281cd0bde6066
3
+ metadata.gz: 7fac7cba85f1f70c201b6889ea71ad776e864919
4
+ data.tar.gz: 892681650f9bb3eca2247387f795795e158b0696
5
5
  SHA512:
6
- metadata.gz: f38e4f62f78202c76784263ca96de6478fcd4c3aeaefdcfef634f84c415102f0b3da44392eed464814451468057434cfefb85d7d49183438b8b775b10867b6b8
7
- data.tar.gz: 2aab6d2579406b1ea2f10debff30e8331a77c94a14b6dcf247dcaf71c035e41c1b5e41d94362d7f65bebe152d9f0b9c5c14e542f7b69b6e11dd0008c5b7c0278
6
+ metadata.gz: 1e60d63523cd873d3b4756260dba9b71c02e8d2c9561d9c1096c9902106b3578716e9ec1cf9ec7e737ccce1ff5d1c367b1bd4bd4a859cf9f9f2f622fe9e9afb2
7
+ data.tar.gz: 12d321baeeda029c87043f5402457f6c9a317f82bd7e5e624c5e60ca05e223b7a92e83945a606a3dc55c04d2af2be429fa9cb46544256f9d3b11fa989d28718a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.825
1
+ 3.0.826
@@ -1549,15 +1549,29 @@ module TencentCloud
1549
1549
  # off:关闭
1550
1550
  # 注意:此字段可能返回 null,表示取不到有效值。
1551
1551
  # @type Switch: String
1552
+ # @param FallbackFormats: 当原图是 avif 且客户端 Accept 头包含 image/avif 时,直接返回原图。
1553
+ # 当原图是 avif 且客户端 Accept 头不包含 image/avif 时但包含 image/webp,将 avif 转 webp 格式返回。如果 Accept 头不包含 image/webp, 则转 jpeg 返回。
1552
1554
 
1553
- attr_accessor :Switch
1555
+ # 可用的枚举值:
1556
+ # - []
1557
+ # - ["webp"]
1558
+ # - ["jpeg"]
1559
+ # - ["webp", "jpeg"]
1554
1560
 
1555
- def initialize(switch=nil)
1561
+ # "webp":是否开启 avif 转 webp,"jpeg": 是否开启 avif 转 jpeg。如果 webp 和 jpeg 都开启的情况下,webp 必须在 jpeg 前面。
1562
+ # 注意:此字段可能返回 null,表示取不到有效值。
1563
+ # @type FallbackFormats: Array
1564
+
1565
+ attr_accessor :Switch, :FallbackFormats
1566
+
1567
+ def initialize(switch=nil, fallbackformats=nil)
1556
1568
  @Switch = switch
1569
+ @FallbackFormats = fallbackformats
1557
1570
  end
1558
1571
 
1559
1572
  def deserialize(params)
1560
1573
  @Switch = params['Switch']
1574
+ @FallbackFormats = params['FallbackFormats']
1561
1575
  end
1562
1576
  end
1563
1577
 
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.825
4
+ version: 3.0.826
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-19 00:00:00.000000000 Z
11
+ date: 2024-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common