tencentcloud-sdk-teo 3.0.371 → 3.0.380

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/v20220106/models.rb +24 -11
  4. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe94e81eaa90a45e6717fd2341a79addec85761e
4
- data.tar.gz: f2329eb45396715b9cea5b5bb3fde52a2585adac
3
+ metadata.gz: c6f120104cfd9a845254e5bdb243677fd33e61ca
4
+ data.tar.gz: 503f88f887d9a08b003e46a92bff7cf9b906e683
5
5
  SHA512:
6
- metadata.gz: 4b1848d10c35e960e4d71e5d0c8fdf0e0a93cc186fec564a0c52fc699bc92deb9090d573d902513a26a06c569a2d730990facbd64ed765ff166551fa0cbfa2c4
7
- data.tar.gz: 1b122e116f3db3fa5a64f9d023f48d9310c7ee5db3e0310ff25c285e8994b3ee1b9b98cddd13962a9991a2f6197c1651a78115fd67e398839402f4f5bc706be1
6
+ metadata.gz: b87173a9167fcfb1abd55086a30715531f6153460de835b1f989daec29238fa16124c26b65ab7d8ff725be6933d6e2a92295a64618aa8ab24aecd072dfde9feb
7
+ data.tar.gz: 076fd61c069a94385488eed2e2e12743b0efeb3aee4de5556dbbbe12b8d0e12579f6e502a95cf4738d79e83609ea9d9dc94a3323c246ac4c1f0ef3d016571cd1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.371
1
+ 3.0.380
@@ -534,7 +534,7 @@ module TencentCloud
534
534
  end
535
535
  end
536
536
 
537
- # Bot 规则
537
+ # Bot 规则,下列规则ID可参考接口 DescribeBotManagedRules返回的ID信息
538
538
  class BotManagedRule < TencentCloud::Common::AbstractModel
539
539
  # @param ManagedIds: 想开启的规则id
540
540
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -1168,15 +1168,20 @@ module TencentCloud
1168
1168
  # on:开启
1169
1169
  # off:关闭
1170
1170
  # @type Switch: String
1171
+ # @param Algorithms: 支持的压缩算法列表
1172
+ # 注意:此字段可能返回 null,表示取不到有效值。
1173
+ # @type Algorithms: Array
1171
1174
 
1172
- attr_accessor :Switch
1175
+ attr_accessor :Switch, :Algorithms
1173
1176
 
1174
- def initialize(switch=nil)
1177
+ def initialize(switch=nil, algorithms=nil)
1175
1178
  @Switch = switch
1179
+ @Algorithms = algorithms
1176
1180
  end
1177
1181
 
1178
1182
  def deserialize(params)
1179
1183
  @Switch = params['Switch']
1184
+ @Algorithms = params['Algorithms']
1180
1185
  end
1181
1186
  end
1182
1187
 
@@ -2170,7 +2175,7 @@ module TencentCloud
2170
2175
 
2171
2176
  # DDoS地域封禁
2172
2177
  class DDoSGeoIp < TencentCloud::Common::AbstractModel
2173
- # @param RegionId: 地域信息
2178
+ # @param RegionId: 地域信息,ID参考接口DescribeSecurityPolicyRegions
2174
2179
  # 注意:此字段可能返回 null,表示取不到有效值。
2175
2180
  # @type RegionId: Array
2176
2181
  # @param Switch: 区域封禁清空标识
@@ -8874,7 +8879,10 @@ module TencentCloud
8874
8879
  # @type Area: Array
8875
8880
  # @param Weight: 当源站配置类型Type=weight时,表示权重
8876
8881
  # 取值范围为[1-100]
8877
- # 源站组内多个源站权重总和应为100
8882
+ # 源站组内多个源站权重总和应为100
8883
+ # 当源站配置类型Type=proto,表示权重
8884
+ # 取值范围为[1-100]
8885
+ # 源站组内Proto相同的多个源站权重总和应为100。
8878
8886
  # @type Weight: Integer
8879
8887
  # @param Port: 端口
8880
8888
  # @type Port: Integer
@@ -8888,10 +8896,13 @@ module TencentCloud
8888
8896
  # 当源站类型Private=true时有效
8889
8897
  # 注意:此字段可能返回 null,表示取不到有效值。
8890
8898
  # @type PrivateParameter: Array
8899
+ # @param Proto: 当源站配置类型Type=proto时,表示客户端请求协议,取值:http/https
8900
+ # 注意:此字段可能返回 null,表示取不到有效值。
8901
+ # @type Proto: String
8891
8902
 
8892
- attr_accessor :Record, :Area, :Weight, :Port, :RecordId, :Private, :PrivateParameter
8903
+ attr_accessor :Record, :Area, :Weight, :Port, :RecordId, :Private, :PrivateParameter, :Proto
8893
8904
 
8894
- def initialize(record=nil, area=nil, weight=nil, port=nil, recordid=nil, private=nil, privateparameter=nil)
8905
+ def initialize(record=nil, area=nil, weight=nil, port=nil, recordid=nil, private=nil, privateparameter=nil, proto=nil)
8895
8906
  @Record = record
8896
8907
  @Area = area
8897
8908
  @Weight = weight
@@ -8899,6 +8910,7 @@ module TencentCloud
8899
8910
  @RecordId = recordid
8900
8911
  @Private = private
8901
8912
  @PrivateParameter = privateparameter
8913
+ @Proto = proto
8902
8914
  end
8903
8915
 
8904
8916
  def deserialize(params)
@@ -8916,6 +8928,7 @@ module TencentCloud
8916
8928
  @PrivateParameter << originrecordprivateparameter_tmp
8917
8929
  end
8918
8930
  end
8931
+ @Proto = params['Proto']
8919
8932
  end
8920
8933
  end
8921
8934
 
@@ -10059,7 +10072,7 @@ module TencentCloud
10059
10072
  # @type Level: String
10060
10073
  # @param Mode: 模式 block-阻断;observe-观察模式;close-关闭
10061
10074
  # @type Mode: String
10062
- # @param WafRules: 门神黑白名单
10075
+ # @param WafRules: 托管规则黑白名单
10063
10076
  # @type WafRules: :class:`Tencentcloud::Teo.v20220106.models.WafRule`
10064
10077
  # @param AiRule: AI规则引擎防护
10065
10078
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -10092,11 +10105,11 @@ module TencentCloud
10092
10105
 
10093
10106
  # Waf规则
10094
10107
  class WafRule < TencentCloud::Common::AbstractModel
10095
- # @param BlockRuleIDs: 黑名单
10108
+ # @param BlockRuleIDs: 黑名单,ID参考接口 DescribeSecurityPolicyManagedRules
10096
10109
  # @type BlockRuleIDs: Array
10097
- # @param Switch: id的开关
10110
+ # @param Switch: 托管规则 开关
10098
10111
  # @type Switch: String
10099
- # @param ObserveRuleIDs: 观察模式
10112
+ # @param ObserveRuleIDs: 观察模式,ID参考接口 DescribeSecurityPolicyManagedRules
10100
10113
  # 注意:此字段可能返回 null,表示取不到有效值。
10101
10114
  # @type ObserveRuleIDs: Array
10102
10115
 
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.371
4
+ version: 3.0.380
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-08-01 00:00:00.000000000 Z
11
+ date: 2022-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
27
  description: Tencent Cloud Ruby SDK is the official software development kit, which
@@ -33,10 +33,10 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/VERSION
37
- - lib/tencentcloud-sdk-teo.rb
38
- - lib/v20220106/client.rb
39
36
  - lib/v20220106/models.rb
37
+ - lib/v20220106/client.rb
38
+ - lib/tencentcloud-sdk-teo.rb
39
+ - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses:
42
42
  - Apache-2.0
@@ -49,17 +49,17 @@ require_paths:
49
49
  - lib
50
50
  required_ruby_version: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
57
+ - - '>='
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
60
  requirements: []
61
61
  rubyforge_project:
62
- rubygems_version: 2.6.14
62
+ rubygems_version: 2.0.14
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Tencent Cloud SDK for Ruby - TEO