tencentcloud-sdk-teo 3.0.478 → 3.0.479

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/v20220901/models.rb +38 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fbd76f8cf2f3f3196c4dec41fd293ade66e3045e
4
- data.tar.gz: 2903f08e61dbf47e45b4097f3ef546dd480e0bbb
3
+ metadata.gz: fc0971d6567d880bb539f9f47c291be7a94109f2
4
+ data.tar.gz: 16b03efe51abd6f1c8b66409e62bf40f41c4f7ad
5
5
  SHA512:
6
- metadata.gz: ac385e7667d4dc2d29c657bc90de70621d6b4512a2700a21b4e934c4700c83094def82a5d2e6ca9d3272cdc67dd5111506c0ffe9aa989b581ee593557d286b00
7
- data.tar.gz: 647698b81ff7c7a54d5f9b274493efcbde4d596b05b1aed4788d6a4b48bfe4f5eccae33baa2dc3d1943ec8dc611ab87afa92ff1feade07991b1cfa832245785c
6
+ metadata.gz: ee127cdbca7a0811a8f06ab7ee17e7af48009caeb2d75c02aa0acc043e5432f5e61e5f66543e40aa5a9a931dc764dcff65b5b55d8fa4b69bde010b6eb57a1e8e
7
+ data.tar.gz: b44246a856ef6b1149461fcb5d2b1600326788b511bfe66915fa695e8726574529149b23c7432777567eefac91465e45a39623203ccbe6f270e5d9500be8baf5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.478
1
+ 3.0.479
@@ -9028,6 +9028,24 @@ module TencentCloud
9028
9028
  end
9029
9029
  end
9030
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
+
9031
9049
  # 刷新预热附带的头部信息
9032
9050
  class Header < TencentCloud::Common::AbstractModel
9033
9051
  # @param Name: HTTP头部名称。
@@ -11001,10 +11019,13 @@ module TencentCloud
11001
11019
  # @param ClientIpCountry: 回源时是否携带客户端IP所属地域信息的配置。
11002
11020
  # 不填写表示保持原有配置。
11003
11021
  # @type ClientIpCountry: :class:`Tencentcloud::Teo.v20220901.models.ClientIpCountry`
11022
+ # @param Grpc: Grpc协议支持配置。
11023
+ # 不填写表示保持原有配置。
11024
+ # @type Grpc: :class:`Tencentcloud::Teo.v20220901.models.Grpc`
11004
11025
 
11005
- 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
11006
11027
 
11007
- 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)
11008
11029
  @ZoneId = zoneid
11009
11030
  @CacheConfig = cacheconfig
11010
11031
  @CacheKey = cachekey
@@ -11023,6 +11044,7 @@ module TencentCloud
11023
11044
  @CachePrefresh = cacheprefresh
11024
11045
  @Ipv6 = ipv6
11025
11046
  @ClientIpCountry = clientipcountry
11047
+ @Grpc = grpc
11026
11048
  end
11027
11049
 
11028
11050
  def deserialize(params)
@@ -11095,6 +11117,10 @@ module TencentCloud
11095
11117
  @ClientIpCountry = ClientIpCountry.new
11096
11118
  @ClientIpCountry.deserialize(params['ClientIpCountry'])
11097
11119
  end
11120
+ unless params['Grpc'].nil?
11121
+ @Grpc = Grpc.new
11122
+ @Grpc.deserialize(params['Grpc'])
11123
+ end
11098
11124
  end
11099
11125
  end
11100
11126
 
@@ -14566,10 +14592,13 @@ module TencentCloud
14566
14592
  # @param ClientIpCountry: 回源时是否携带客户端IP所属地域信息的配置。
14567
14593
  # 注意:此字段可能返回 null,表示取不到有效值。
14568
14594
  # @type ClientIpCountry: :class:`Tencentcloud::Teo.v20220901.models.ClientIpCountry`
14595
+ # @param Grpc: Grpc协议支持配置。
14596
+ # 注意:此字段可能返回 null,表示取不到有效值。
14597
+ # @type Grpc: :class:`Tencentcloud::Teo.v20220901.models.Grpc`
14569
14598
 
14570
- 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
14571
14600
 
14572
- 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)
14573
14602
  @ZoneName = zonename
14574
14603
  @Area = area
14575
14604
  @CacheKey = cachekey
@@ -14589,6 +14618,7 @@ module TencentCloud
14589
14618
  @Ipv6 = ipv6
14590
14619
  @Https = https
14591
14620
  @ClientIpCountry = clientipcountry
14621
+ @Grpc = grpc
14592
14622
  end
14593
14623
 
14594
14624
  def deserialize(params)
@@ -14662,6 +14692,10 @@ module TencentCloud
14662
14692
  @ClientIpCountry = ClientIpCountry.new
14663
14693
  @ClientIpCountry.deserialize(params['ClientIpCountry'])
14664
14694
  end
14695
+ unless params['Grpc'].nil?
14696
+ @Grpc = Grpc.new
14697
+ @Grpc.deserialize(params['Grpc'])
14698
+ end
14665
14699
  end
14666
14700
  end
14667
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.478
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-22 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