tencentcloud-sdk-teo 3.0.439 → 3.0.440

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 +41 -31
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b175a049d901ae215b8f727d1ae203fcee14851
4
- data.tar.gz: eb5b041dec22cdbe9c756d41ce762c734a4c5fb2
3
+ metadata.gz: 3a90287b5b983b1c1f42c50f0f15de34bc5976a7
4
+ data.tar.gz: b90919805682a6623fc8db7a265bb452dc32d96a
5
5
  SHA512:
6
- metadata.gz: 074f2eddc055e68488f6c74b7afa9fe24289cfb3990b3bc402cb46c456e5d24bec4c696155e70e28cb98c90dccc408303d210f435337dbe591eb45f5bdcab0e2
7
- data.tar.gz: 8bd442a18792981131b8ff52fea25aed255689bbff3487219ff45e4ac65e81acdc3e939125e2d27b1ad4c3b5ddd012747d4d7f6a3c7fda0de25f9e6f4afd0626
6
+ metadata.gz: 987869c2c671602b6c33299885bedb40e54a6945b7478c7c2804bd58cc53d2bf8edbaabf351fcad1eae2ba8b23d4f547e2168c230d8b488f9f1f8949bc8930cd
7
+ data.tar.gz: 73110e9682a0e87e9a2862fafd2d6642c4729fb56ea8e0d1afea1f42b39673b08cc4910accd9260e44ac79ba48c399a3138fdcb3c66fc4267434bc4208c0d87e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.439
1
+ 3.0.440
@@ -525,8 +525,8 @@ module TencentCloud
525
525
  # <li>UDP:UDP协议。</li>
526
526
  # @type Proto: String
527
527
  # @param Port: 端口,支持格式:
528
- # 单个端口,如:80
529
- # 端口段,如:81-82。表示81,82两个端口。
528
+ # <li>单个端口,如:80。</li>
529
+ # <li>端口段,如:81-82。表示81,82两个端口。</li>
530
530
  # 注意:一条规则最多可填写20个端口。
531
531
  # @type Port: Array
532
532
  # @param OriginType: 源站类型,取值有:
@@ -534,11 +534,8 @@ module TencentCloud
534
534
  # <li>origins:源站组。</li>
535
535
  # @type OriginType: String
536
536
  # @param OriginValue: 源站信息:
537
- # OriginType=custom时,表示一个或多个源站,如:
538
- # OriginValue=["8.8.8.8:80","9.9.9.9:80"]
539
- # OriginValue=["test.com:80"];
540
- # 当OriginType=origins时,要求有且仅有一个元素,表示源站组ID,如:
541
- # OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
537
+ # <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
538
+ # <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
542
539
  # @type OriginValue: Array
543
540
  # @param RuleId: 规则ID。
544
541
  # @type RuleId: String
@@ -559,10 +556,14 @@ module TencentCloud
559
556
  # <li>true:开启;</li>
560
557
  # <li>false:关闭。</li>默认值:false。
561
558
  # @type SessionPersist: Boolean
559
+ # @param OriginPort: 源站端口,支持格式:
560
+ # <li>单端口,如:80。</li>
561
+ # <li>端口段:81-82,表示81,82两个端口。</li>
562
+ # @type OriginPort: String
562
563
 
563
- attr_accessor :Proto, :Port, :OriginType, :OriginValue, :RuleId, :Status, :ForwardClientIp, :SessionPersist
564
+ attr_accessor :Proto, :Port, :OriginType, :OriginValue, :RuleId, :Status, :ForwardClientIp, :SessionPersist, :OriginPort
564
565
 
565
- def initialize(proto=nil, port=nil, origintype=nil, originvalue=nil, ruleid=nil, status=nil, forwardclientip=nil, sessionpersist=nil)
566
+ def initialize(proto=nil, port=nil, origintype=nil, originvalue=nil, ruleid=nil, status=nil, forwardclientip=nil, sessionpersist=nil, originport=nil)
566
567
  @Proto = proto
567
568
  @Port = port
568
569
  @OriginType = origintype
@@ -571,6 +572,7 @@ module TencentCloud
571
572
  @Status = status
572
573
  @ForwardClientIp = forwardclientip
573
574
  @SessionPersist = sessionpersist
575
+ @OriginPort = originport
574
576
  end
575
577
 
576
578
  def deserialize(params)
@@ -582,6 +584,7 @@ module TencentCloud
582
584
  @Status = params['Status']
583
585
  @ForwardClientIp = params['ForwardClientIp']
584
586
  @SessionPersist = params['SessionPersist']
587
+ @OriginPort = params['OriginPort']
585
588
  end
586
589
  end
587
590
 
@@ -1477,20 +1480,17 @@ module TencentCloud
1477
1480
  # <li>TCP:TCP协议;</li>
1478
1481
  # <li>UDP:UDP协议。</li>
1479
1482
  # @type Proto: String
1480
- # @param Port: 源站类型,取值有:
1483
+ # @param Port: 端口,支持格式:
1484
+ # <li>80:80端口;</li>
1485
+ # <li>81-90:81至90端口。</li>
1486
+ # @type Port: Array
1487
+ # @param OriginType: 源站类型,取值有:
1481
1488
  # <li>custom:手动添加;</li>
1482
1489
  # <li>origins:源站组。</li>
1483
- # @type Port: Array
1484
- # @param OriginType: 源站类型,取值:
1485
- # custom:手动添加
1486
- # origins:源站组
1487
1490
  # @type OriginType: String
1488
1491
  # @param OriginValue: 源站信息:
1489
- # OriginType=custom时,表示一个或多个源站,如:
1490
- # OriginValue=["8.8.8.8:80","9.9.9.9:80"]
1491
- # OriginValue=["test.com:80"];
1492
- # 当OriginType=origins时,要求有且仅有一个元素,表示源站组ID,如:
1493
- # OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
1492
+ # <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
1493
+ # <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
1494
1494
  # @type OriginValue: Array
1495
1495
  # @param ForwardClientIp: 传递客户端IP,取值有:
1496
1496
  # <li>TOA:TOA(仅Proto=TCP时可选);</li>
@@ -1502,10 +1502,14 @@ module TencentCloud
1502
1502
  # <li>true:开启;</li>
1503
1503
  # <li>false:关闭。</li>默认值:false。
1504
1504
  # @type SessionPersist: Boolean
1505
+ # @param OriginPort: 源站端口,支持格式:
1506
+ # <li>单端口:80;</li>
1507
+ # <li>端口段:81-90,81至90端口。</li>
1508
+ # @type OriginPort: String
1505
1509
 
1506
- attr_accessor :ZoneId, :ProxyId, :Proto, :Port, :OriginType, :OriginValue, :ForwardClientIp, :SessionPersist
1510
+ attr_accessor :ZoneId, :ProxyId, :Proto, :Port, :OriginType, :OriginValue, :ForwardClientIp, :SessionPersist, :OriginPort
1507
1511
 
1508
- def initialize(zoneid=nil, proxyid=nil, proto=nil, port=nil, origintype=nil, originvalue=nil, forwardclientip=nil, sessionpersist=nil)
1512
+ def initialize(zoneid=nil, proxyid=nil, proto=nil, port=nil, origintype=nil, originvalue=nil, forwardclientip=nil, sessionpersist=nil, originport=nil)
1509
1513
  @ZoneId = zoneid
1510
1514
  @ProxyId = proxyid
1511
1515
  @Proto = proto
@@ -1514,6 +1518,7 @@ module TencentCloud
1514
1518
  @OriginValue = originvalue
1515
1519
  @ForwardClientIp = forwardclientip
1516
1520
  @SessionPersist = sessionpersist
1521
+ @OriginPort = originport
1517
1522
  end
1518
1523
 
1519
1524
  def deserialize(params)
@@ -1525,6 +1530,7 @@ module TencentCloud
1525
1530
  @OriginValue = params['OriginValue']
1526
1531
  @ForwardClientIp = params['ForwardClientIp']
1527
1532
  @SessionPersist = params['SessionPersist']
1533
+ @OriginPort = params['OriginPort']
1528
1534
  end
1529
1535
  end
1530
1536
 
@@ -9950,19 +9956,17 @@ module TencentCloud
9950
9956
  # <li>origins:源站组。</li>不填保持原有值。
9951
9957
  # @type OriginType: String
9952
9958
  # @param Port: 端口,支持格式:
9953
- # 80:80端口
9954
- # 81-90:81至90端口。不填保持原有值。
9959
+ # <li>80:80端口;</li>
9960
+ # <li>81-90:81至90端口。</li>
9955
9961
  # @type Port: Array
9956
9962
  # @param Proto: 协议,取值有:
9957
9963
  # <li>TCP:TCP协议;</li>
9958
9964
  # <li>UDP:UDP协议。</li>不填保持原有值。
9959
9965
  # @type Proto: String
9960
9966
  # @param OriginValue: 源站信息:
9961
- # OriginType=custom时,表示一个或多个源站,如:
9962
- # OriginValue=["8.8.8.8:80","9.9.9.9:80"]
9963
- # OriginValue=["test.com:80"];
9964
- # 当OriginType=origins时,要求有且仅有一个元素,表示源站组ID,如:
9965
- # OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
9967
+ # <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
9968
+ # <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
9969
+
9966
9970
  # 不填保持原有值。
9967
9971
  # @type OriginValue: Array
9968
9972
  # @param ForwardClientIp: 传递客户端IP,取值有:
@@ -9973,12 +9977,16 @@ module TencentCloud
9973
9977
  # @type ForwardClientIp: String
9974
9978
  # @param SessionPersist: 是否开启会话保持,取值有:
9975
9979
  # <li>true:开启;</li>
9976
- # <li>false:关闭。</li>不填保持原有值。
9980
+ # <li>false:关闭。</li>不填为false。
9977
9981
  # @type SessionPersist: Boolean
9982
+ # @param OriginPort: 源站端口,支持格式:
9983
+ # <li>单端口:80;</li>
9984
+ # <li>端口段:81-90,81至90端口。</li>
9985
+ # @type OriginPort: String
9978
9986
 
9979
- attr_accessor :ZoneId, :ProxyId, :RuleId, :OriginType, :Port, :Proto, :OriginValue, :ForwardClientIp, :SessionPersist
9987
+ attr_accessor :ZoneId, :ProxyId, :RuleId, :OriginType, :Port, :Proto, :OriginValue, :ForwardClientIp, :SessionPersist, :OriginPort
9980
9988
 
9981
- def initialize(zoneid=nil, proxyid=nil, ruleid=nil, origintype=nil, port=nil, proto=nil, originvalue=nil, forwardclientip=nil, sessionpersist=nil)
9989
+ def initialize(zoneid=nil, proxyid=nil, ruleid=nil, origintype=nil, port=nil, proto=nil, originvalue=nil, forwardclientip=nil, sessionpersist=nil, originport=nil)
9982
9990
  @ZoneId = zoneid
9983
9991
  @ProxyId = proxyid
9984
9992
  @RuleId = ruleid
@@ -9988,6 +9996,7 @@ module TencentCloud
9988
9996
  @OriginValue = originvalue
9989
9997
  @ForwardClientIp = forwardclientip
9990
9998
  @SessionPersist = sessionpersist
9999
+ @OriginPort = originport
9991
10000
  end
9992
10001
 
9993
10002
  def deserialize(params)
@@ -10000,6 +10009,7 @@ module TencentCloud
10000
10009
  @OriginValue = params['OriginValue']
10001
10010
  @ForwardClientIp = params['ForwardClientIp']
10002
10011
  @SessionPersist = params['SessionPersist']
10012
+ @OriginPort = params['OriginPort']
10003
10013
  end
10004
10014
  end
10005
10015
 
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.439
4
+ version: 3.0.440
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-10-28 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common