tencentcloud-sdk-teo 3.0.477 → 3.0.479
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220901/models.rb +45 -6
- 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: fc0971d6567d880bb539f9f47c291be7a94109f2
|
4
|
+
data.tar.gz: 16b03efe51abd6f1c8b66409e62bf40f41c4f7ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee127cdbca7a0811a8f06ab7ee17e7af48009caeb2d75c02aa0acc043e5432f5e61e5f66543e40aa5a9a931dc764dcff65b5b55d8fa4b69bde010b6eb57a1e8e
|
7
|
+
data.tar.gz: b44246a856ef6b1149461fcb5d2b1600326788b511bfe66915fa695e8726574529149b23c7432777567eefac91465e45a39623203ccbe6f270e5d9500be8baf5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.479
|
data/lib/v20220901/models.rb
CHANGED
@@ -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.
|
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-
|
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
|