tencentcloud-sdk-teo 3.0.1048 → 3.0.1049
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220901/models.rb +16 -7
- 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: f0c23e887374c55686c3f1b2947893b1fe99b70e
|
4
|
+
data.tar.gz: d010b4d3fb1893500f4e402abafb5e05cd64c4b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b58abf58cb08eca5fdaaed31da94d63aa56f527494008ce3c2991d2e3b823b255dddf131a81b0e2a810abe34342ec96587c95624b59ee415506d8148c7866386
|
7
|
+
data.tar.gz: edfd9fc8beb1c2b0d24888f011091ac91b10de88041483026ae5810a50d3ee8ec16ed65e445b66f307f51863ee75a0e0acc82c02391089566a27ccfc1b67698f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1049
|
data/lib/v20220901/models.rb
CHANGED
@@ -17620,28 +17620,37 @@ module TencentCloud
|
|
17620
17620
|
|
17621
17621
|
# 回源 URL 重写 配置参数。
|
17622
17622
|
class UpstreamURLRewriteParameters < TencentCloud::Common::AbstractModel
|
17623
|
-
# @param Type: 回源 URL
|
17623
|
+
# @param Type: 回源 URL 重写类型。仅支持填写 Path。
|
17624
17624
|
# @type Type: String
|
17625
17625
|
# @param Action: 回源 URL 重写动作。取值有:
|
17626
|
-
# <li>replace
|
17627
|
-
#
|
17628
|
-
# <li>
|
17626
|
+
# <li><b>replace</b>:指替换完整路径。用于将完整的请求 URL Path 替换为指定路径。
|
17627
|
+
# </li>
|
17628
|
+
# <li><b>addPrefix</b>:指增加路径前缀。用于增加指定路径前缀至请求 URL Path。
|
17629
|
+
# </li>
|
17630
|
+
# <li><b>rmvPrefix</b>:指移除路径前缀。用于移除请求 URL Path 的指定路径前缀。
|
17631
|
+
# </li>
|
17632
|
+
# <li><b>regexReplace</b>:指正则替换完整路径。用于通过 Google RE2 正则表达式匹配和替换完整路径。
|
17633
|
+
# </li>
|
17629
17634
|
# @type Action: String
|
17630
|
-
# @param Value: 回源 URL
|
17635
|
+
# @param Value: 回源 URL 重写值。需要满足 URL Path 规范,且保证重写后的 Path 以 / 开头,以防止回源 URL 的 Host 被修改,长度范围为 1~1024。当 Action 为 addPrefix 时,不能以 / 结尾;当 Action 为 rmvPrefix 时,不能存在 *;当 Action 为 regexReplace 时,支持用 $NUM 引用正则捕获组,其中 NUM 代表组编号,如 $1,最多支持 $9。
|
17631
17636
|
# @type Value: String
|
17637
|
+
# @param Regex: 回源 URL 重写用于正则替换匹配完整路径的正则表达式。需要满足 Google RE2 规范,长度范围为 1~1024。当 Action 为 regexReplace 时,此字段必填,否则无需填写此字段。
|
17638
|
+
# @type Regex: String
|
17632
17639
|
|
17633
|
-
attr_accessor :Type, :Action, :Value
|
17640
|
+
attr_accessor :Type, :Action, :Value, :Regex
|
17634
17641
|
|
17635
|
-
def initialize(type=nil, action=nil, value=nil)
|
17642
|
+
def initialize(type=nil, action=nil, value=nil, regex=nil)
|
17636
17643
|
@Type = type
|
17637
17644
|
@Action = action
|
17638
17645
|
@Value = value
|
17646
|
+
@Regex = regex
|
17639
17647
|
end
|
17640
17648
|
|
17641
17649
|
def deserialize(params)
|
17642
17650
|
@Type = params['Type']
|
17643
17651
|
@Action = params['Action']
|
17644
17652
|
@Value = params['Value']
|
17653
|
+
@Regex = params['Regex']
|
17645
17654
|
end
|
17646
17655
|
end
|
17647
17656
|
|
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.1049
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|