tencentcloud-sdk-teo 3.0.477 → 3.0.479

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/v20220901/models.rb +45 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d002ef0df4b9027c0538840a94b006ec5a908b9
4
- data.tar.gz: dd506ba284b26cf91aae0faf5073f552f5adb3c4
3
+ metadata.gz: fc0971d6567d880bb539f9f47c291be7a94109f2
4
+ data.tar.gz: 16b03efe51abd6f1c8b66409e62bf40f41c4f7ad
5
5
  SHA512:
6
- metadata.gz: 452af04065b48da8555ccb33060d6613b498f6c3cad48e4268e16c3e2689160ea09f62f3f2c4dc5d908f4551d5762c22167704eacb969e249a246c5294dea82a
7
- data.tar.gz: 651e4ad65889635ee8460891b1ad5cfe9615e18986908db86936b43895ce750fb3618f59af4fc1780d0f73a584fdb68ae7c37c58245b103aa9a7ceaf0b072e01
6
+ metadata.gz: ee127cdbca7a0811a8f06ab7ee17e7af48009caeb2d75c02aa0acc043e5432f5e61e5f66543e40aa5a9a931dc764dcff65b5b55d8fa4b69bde010b6eb57a1e8e
7
+ data.tar.gz: b44246a856ef6b1149461fcb5d2b1600326788b511bfe66915fa695e8726574529149b23c7432777567eefac91465e45a39623203ccbe6f270e5d9500be8baf5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.477
1
+ 3.0.479
@@ -8954,19 +8954,24 @@ module TencentCloud
8954
8954
  # @param DefaultCache: 源站未返回 Cache-Control 头时, 设置缓存/不缓存
8955
8955
  # 注意:此字段可能返回 null,表示取不到有效值。
8956
8956
  # @type DefaultCache: String
8957
+ # @param DefaultCacheStrategy: 源站未返回 Cache-Control 头时, 使用/不使用默认缓存策略
8958
+ # 注意:此字段可能返回 null,表示取不到有效值。
8959
+ # @type DefaultCacheStrategy: String
8957
8960
 
8958
- attr_accessor :Switch, :DefaultCacheTime, :DefaultCache
8961
+ attr_accessor :Switch, :DefaultCacheTime, :DefaultCache, :DefaultCacheStrategy
8959
8962
 
8960
- def initialize(switch=nil, defaultcachetime=nil, defaultcache=nil)
8963
+ def initialize(switch=nil, defaultcachetime=nil, defaultcache=nil, defaultcachestrategy=nil)
8961
8964
  @Switch = switch
8962
8965
  @DefaultCacheTime = defaultcachetime
8963
8966
  @DefaultCache = defaultcache
8967
+ @DefaultCacheStrategy = defaultcachestrategy
8964
8968
  end
8965
8969
 
8966
8970
  def deserialize(params)
8967
8971
  @Switch = params['Switch']
8968
8972
  @DefaultCacheTime = params['DefaultCacheTime']
8969
8973
  @DefaultCache = params['DefaultCache']
8974
+ @DefaultCacheStrategy = params['DefaultCacheStrategy']
8970
8975
  end
8971
8976
  end
8972
8977
 
@@ -9023,6 +9028,24 @@ module TencentCloud
9023
9028
  end
9024
9029
  end
9025
9030
 
9031
+ # Grpc配置项
9032
+ class Grpc < TencentCloud::Common::AbstractModel
9033
+ # @param Switch: 是否开启Grpc配置,取值有:
9034
+ # <li>on:开启;</li>
9035
+ # <li>off:关闭。</li>
9036
+ # @type Switch: String
9037
+
9038
+ attr_accessor :Switch
9039
+
9040
+ def initialize(switch=nil)
9041
+ @Switch = switch
9042
+ end
9043
+
9044
+ def deserialize(params)
9045
+ @Switch = params['Switch']
9046
+ end
9047
+ end
9048
+
9026
9049
  # 刷新预热附带的头部信息
9027
9050
  class Header < TencentCloud::Common::AbstractModel
9028
9051
  # @param Name: HTTP头部名称。
@@ -10996,10 +11019,13 @@ module TencentCloud
10996
11019
  # @param ClientIpCountry: 回源时是否携带客户端IP所属地域信息的配置。
10997
11020
  # 不填写表示保持原有配置。
10998
11021
  # @type ClientIpCountry: :class:`Tencentcloud::Teo.v20220901.models.ClientIpCountry`
11022
+ # @param Grpc: Grpc协议支持配置。
11023
+ # 不填写表示保持原有配置。
11024
+ # @type Grpc: :class:`Tencentcloud::Teo.v20220901.models.Grpc`
10999
11025
 
11000
- attr_accessor :ZoneId, :CacheConfig, :CacheKey, :MaxAge, :OfflineCache, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :Https, :Origin, :SmartRouting, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :ClientIpCountry
11026
+ attr_accessor :ZoneId, :CacheConfig, :CacheKey, :MaxAge, :OfflineCache, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :Https, :Origin, :SmartRouting, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :ClientIpCountry, :Grpc
11001
11027
 
11002
- def initialize(zoneid=nil, cacheconfig=nil, cachekey=nil, maxage=nil, offlinecache=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, https=nil, origin=nil, smartrouting=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, clientipcountry=nil)
11028
+ def initialize(zoneid=nil, cacheconfig=nil, cachekey=nil, maxage=nil, offlinecache=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, https=nil, origin=nil, smartrouting=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, clientipcountry=nil, grpc=nil)
11003
11029
  @ZoneId = zoneid
11004
11030
  @CacheConfig = cacheconfig
11005
11031
  @CacheKey = cachekey
@@ -11018,6 +11044,7 @@ module TencentCloud
11018
11044
  @CachePrefresh = cacheprefresh
11019
11045
  @Ipv6 = ipv6
11020
11046
  @ClientIpCountry = clientipcountry
11047
+ @Grpc = grpc
11021
11048
  end
11022
11049
 
11023
11050
  def deserialize(params)
@@ -11090,6 +11117,10 @@ module TencentCloud
11090
11117
  @ClientIpCountry = ClientIpCountry.new
11091
11118
  @ClientIpCountry.deserialize(params['ClientIpCountry'])
11092
11119
  end
11120
+ unless params['Grpc'].nil?
11121
+ @Grpc = Grpc.new
11122
+ @Grpc.deserialize(params['Grpc'])
11123
+ end
11093
11124
  end
11094
11125
  end
11095
11126
 
@@ -14561,10 +14592,13 @@ module TencentCloud
14561
14592
  # @param ClientIpCountry: 回源时是否携带客户端IP所属地域信息的配置。
14562
14593
  # 注意:此字段可能返回 null,表示取不到有效值。
14563
14594
  # @type ClientIpCountry: :class:`Tencentcloud::Teo.v20220901.models.ClientIpCountry`
14595
+ # @param Grpc: Grpc协议支持配置。
14596
+ # 注意:此字段可能返回 null,表示取不到有效值。
14597
+ # @type Grpc: :class:`Tencentcloud::Teo.v20220901.models.Grpc`
14564
14598
 
14565
- attr_accessor :ZoneName, :Area, :CacheKey, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :CacheConfig, :Origin, :SmartRouting, :MaxAge, :OfflineCache, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :Https, :ClientIpCountry
14599
+ attr_accessor :ZoneName, :Area, :CacheKey, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :CacheConfig, :Origin, :SmartRouting, :MaxAge, :OfflineCache, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :Https, :ClientIpCountry, :Grpc
14566
14600
 
14567
- def initialize(zonename=nil, area=nil, cachekey=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, cacheconfig=nil, origin=nil, smartrouting=nil, maxage=nil, offlinecache=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, https=nil, clientipcountry=nil)
14601
+ def initialize(zonename=nil, area=nil, cachekey=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, cacheconfig=nil, origin=nil, smartrouting=nil, maxage=nil, offlinecache=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, https=nil, clientipcountry=nil, grpc=nil)
14568
14602
  @ZoneName = zonename
14569
14603
  @Area = area
14570
14604
  @CacheKey = cachekey
@@ -14584,6 +14618,7 @@ module TencentCloud
14584
14618
  @Ipv6 = ipv6
14585
14619
  @Https = https
14586
14620
  @ClientIpCountry = clientipcountry
14621
+ @Grpc = grpc
14587
14622
  end
14588
14623
 
14589
14624
  def deserialize(params)
@@ -14657,6 +14692,10 @@ module TencentCloud
14657
14692
  @ClientIpCountry = ClientIpCountry.new
14658
14693
  @ClientIpCountry.deserialize(params['ClientIpCountry'])
14659
14694
  end
14695
+ unless params['Grpc'].nil?
14696
+ @Grpc = Grpc.new
14697
+ @Grpc.deserialize(params['Grpc'])
14698
+ end
14660
14699
  end
14661
14700
  end
14662
14701
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.477
4
+ version: 3.0.479
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-12-21 00:00:00.000000000 Z
11
+ date: 2022-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common