tencentcloud-sdk-tcb 3.0.669 → 3.0.670

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/v20180608/models.rb +61 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c686f914dbbc075683c6339684c2a91ff39a81e9
4
- data.tar.gz: 2370bb33fc66fd49de61f8a50b239c71cb7b28c2
3
+ metadata.gz: b5128dfa4e99934f9fef027b53048ab06ece5657
4
+ data.tar.gz: 4de703e435cc85ec7627fe6d015ff5c348487bf1
5
5
  SHA512:
6
- metadata.gz: c3cf2b25f9ea3107935a386a88191aec33947e818d6386d6311c00f4aaf6abafc85b8a8b2e08301ff62aca83211faf443786ed8543d7cc775afe536569c3986d
7
- data.tar.gz: fe87e283ebfd12bf099d1767fabd6037c491cce23060284ff04626391f254de0504f03b9b5b431d43ec444182682eaf685dc580ed152bc6128da9fe875c803bf
6
+ metadata.gz: 0b5e53f8e46efcbf9b76cdfee6a2c97baf1a93b898cc742d63214a1abe11289342110864361979f5a220187bae9d3e1f58ce187f5f6ccf274db22e8dfb34501d
7
+ data.tar.gz: 84730e38c47a1a7329ba015b67d62b038d39a0e79f2bb5e456b9bf2e08f2978f547c36df1c7e6c0455c0833e55a61f6dd3fcb82b50cb5deb70ba0fb0ad2ed123
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.669
1
+ 3.0.670
@@ -2358,6 +2358,30 @@ module TencentCloud
2358
2358
  end
2359
2359
  end
2360
2360
 
2361
+ # 安全网关自定义头部
2362
+ class CustomHeader < TencentCloud::Common::AbstractModel
2363
+ # @param RequestToAddList: 请求添加头部配置
2364
+ # 注意:此字段可能返回 null,表示取不到有效值。
2365
+ # @type RequestToAddList: Array
2366
+
2367
+ attr_accessor :RequestToAddList
2368
+
2369
+ def initialize(requesttoaddlist=nil)
2370
+ @RequestToAddList = requesttoaddlist
2371
+ end
2372
+
2373
+ def deserialize(params)
2374
+ unless params['RequestToAddList'].nil?
2375
+ @RequestToAddList = []
2376
+ params['RequestToAddList'].each do |i|
2377
+ customrequesttoadd_tmp = CustomRequestToAdd.new
2378
+ customrequesttoadd_tmp.deserialize(i)
2379
+ @RequestToAddList << customrequesttoadd_tmp
2380
+ end
2381
+ end
2382
+ end
2383
+ end
2384
+
2361
2385
  # 安全网关自定义日志配置
2362
2386
  class CustomLogConfig < TencentCloud::Common::AbstractModel
2363
2387
  # @param NeedReqBodyLog: 是否需要请求体
@@ -2394,6 +2418,33 @@ module TencentCloud
2394
2418
  end
2395
2419
  end
2396
2420
 
2421
+ # 安全网关请求自定义头部
2422
+ class CustomRequestToAdd < TencentCloud::Common::AbstractModel
2423
+ # @param Key: Header名称
2424
+ # 注意:此字段可能返回 null,表示取不到有效值。
2425
+ # @type Key: String
2426
+ # @param Value: Header值
2427
+ # 注意:此字段可能返回 null,表示取不到有效值。
2428
+ # @type Value: String
2429
+ # @param AppendAction: Header类型
2430
+ # 注意:此字段可能返回 null,表示取不到有效值。
2431
+ # @type AppendAction: String
2432
+
2433
+ attr_accessor :Key, :Value, :AppendAction
2434
+
2435
+ def initialize(key=nil, value=nil, appendaction=nil)
2436
+ @Key = key
2437
+ @Value = value
2438
+ @AppendAction = appendaction
2439
+ end
2440
+
2441
+ def deserialize(params)
2442
+ @Key = params['Key']
2443
+ @Value = params['Value']
2444
+ @AppendAction = params['AppendAction']
2445
+ end
2446
+ end
2447
+
2397
2448
  # 数据库资源信息
2398
2449
  class DatabasesInfo < TencentCloud::Common::AbstractModel
2399
2450
  # @param InstanceId: 数据库唯一标识
@@ -8744,10 +8795,13 @@ module TencentCloud
8744
8795
  # @param GatewayRoutePathMatchType: 路径匹配类型,支持prefix(前缀匹配),regex(正则匹配), 默认prefix
8745
8796
  # 注意:此字段可能返回 null,表示取不到有效值。
8746
8797
  # @type GatewayRoutePathMatchType: String
8798
+ # @param CustomHeader: 安全网关自定义头部
8799
+ # 注意:此字段可能返回 null,表示取不到有效值。
8800
+ # @type CustomHeader: :class:`Tencentcloud::Tcb.v20180608.models.CustomHeader`
8747
8801
 
8748
- attr_accessor :GatewayRouteName, :GatewayRouteProtocol, :GatewayRouteAddr, :GatewayRouteDesc, :GatewayRouteClusterId, :GatewayRouteCreateTime, :FrequencyLimitConfig, :GatewayRouteServerType, :GatewayRouteServerName, :GatewayRewriteHost, :GatewayVersion, :GatewayRoutePath, :GatewayRouteMethod, :GatewayRoutePort, :GatewayRouteEnvId, :GatewayRoutePathMatchType
8802
+ attr_accessor :GatewayRouteName, :GatewayRouteProtocol, :GatewayRouteAddr, :GatewayRouteDesc, :GatewayRouteClusterId, :GatewayRouteCreateTime, :FrequencyLimitConfig, :GatewayRouteServerType, :GatewayRouteServerName, :GatewayRewriteHost, :GatewayVersion, :GatewayRoutePath, :GatewayRouteMethod, :GatewayRoutePort, :GatewayRouteEnvId, :GatewayRoutePathMatchType, :CustomHeader
8749
8803
 
8750
- def initialize(gatewayroutename=nil, gatewayrouteprotocol=nil, gatewayrouteaddr=nil, gatewayroutedesc=nil, gatewayrouteclusterid=nil, gatewayroutecreatetime=nil, frequencylimitconfig=nil, gatewayrouteservertype=nil, gatewayrouteservername=nil, gatewayrewritehost=nil, gatewayversion=nil, gatewayroutepath=nil, gatewayroutemethod=nil, gatewayrouteport=nil, gatewayrouteenvid=nil, gatewayroutepathmatchtype=nil)
8804
+ def initialize(gatewayroutename=nil, gatewayrouteprotocol=nil, gatewayrouteaddr=nil, gatewayroutedesc=nil, gatewayrouteclusterid=nil, gatewayroutecreatetime=nil, frequencylimitconfig=nil, gatewayrouteservertype=nil, gatewayrouteservername=nil, gatewayrewritehost=nil, gatewayversion=nil, gatewayroutepath=nil, gatewayroutemethod=nil, gatewayrouteport=nil, gatewayrouteenvid=nil, gatewayroutepathmatchtype=nil, customheader=nil)
8751
8805
  @GatewayRouteName = gatewayroutename
8752
8806
  @GatewayRouteProtocol = gatewayrouteprotocol
8753
8807
  @GatewayRouteAddr = gatewayrouteaddr
@@ -8764,6 +8818,7 @@ module TencentCloud
8764
8818
  @GatewayRoutePort = gatewayrouteport
8765
8819
  @GatewayRouteEnvId = gatewayrouteenvid
8766
8820
  @GatewayRoutePathMatchType = gatewayroutepathmatchtype
8821
+ @CustomHeader = customheader
8767
8822
  end
8768
8823
 
8769
8824
  def deserialize(params)
@@ -8790,6 +8845,10 @@ module TencentCloud
8790
8845
  @GatewayRoutePort = params['GatewayRoutePort']
8791
8846
  @GatewayRouteEnvId = params['GatewayRouteEnvId']
8792
8847
  @GatewayRoutePathMatchType = params['GatewayRoutePathMatchType']
8848
+ unless params['CustomHeader'].nil?
8849
+ @CustomHeader = CustomHeader.new
8850
+ @CustomHeader.deserialize(params['CustomHeader'])
8851
+ end
8793
8852
  end
8794
8853
  end
8795
8854
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tcb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.669
4
+ version: 3.0.670
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common