tencentcloud-sdk-python-teo 3.1.79__tar.gz → 3.1.81__tar.gz

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 (22) hide show
  1. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/setup.py +1 -1
  3. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220901/models.py +105 -15
  5. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_teo-3.1.81/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_teo-3.1.79/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/README.rst +0 -0
  9. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/__init__.py +0 -0
  11. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220106/__init__.py +0 -0
  12. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220106/models.py +0 -0
  14. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220106/teo_client.py +0 -0
  15. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
  16. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220901/__init__.py +0 -0
  17. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
  18. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220901/teo_client.py +0 -0
  19. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220901/teo_client_async.py +0 -0
  20. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud_sdk_python_teo.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.1.79
3
+ Version: 3.1.81
4
4
  Summary: Tencent Cloud Teo SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.79
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.81
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-teo',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.79,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.81,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Teo SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.79'
17
+ __version__ = '3.1.81'
@@ -1547,12 +1547,15 @@ class AdaptiveFrequencyControl(AbstractModel):
1547
1547
  r"""
1548
1548
  :param _Enabled: 自适应频控是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
1549
1549
  :type Enabled: str
1550
+ :param _Id: 自适应频控的规则 ID,仅作为出参返回。
1551
+ :type Id: str
1550
1552
  :param _Sensitivity: 自适应频控的限制等级,当 Enabled 为 on 时,此字段必填。取值有:<li>Loose:宽松;</li><li>Moderate:适中;</li><li>Strict:严格。</li>
1551
1553
  :type Sensitivity: str
1552
1554
  :param _Action: 自适应频控的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
1553
1555
  :type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
1554
1556
  """
1555
1557
  self._Enabled = None
1558
+ self._Id = None
1556
1559
  self._Sensitivity = None
1557
1560
  self._Action = None
1558
1561
 
@@ -1567,6 +1570,17 @@ class AdaptiveFrequencyControl(AbstractModel):
1567
1570
  def Enabled(self, Enabled):
1568
1571
  self._Enabled = Enabled
1569
1572
 
1573
+ @property
1574
+ def Id(self):
1575
+ r"""自适应频控的规则 ID,仅作为出参返回。
1576
+ :rtype: str
1577
+ """
1578
+ return self._Id
1579
+
1580
+ @Id.setter
1581
+ def Id(self, Id):
1582
+ self._Id = Id
1583
+
1570
1584
  @property
1571
1585
  def Sensitivity(self):
1572
1586
  r"""自适应频控的限制等级,当 Enabled 为 on 时,此字段必填。取值有:<li>Loose:宽松;</li><li>Moderate:适中;</li><li>Strict:严格。</li>
@@ -1592,6 +1606,7 @@ class AdaptiveFrequencyControl(AbstractModel):
1592
1606
 
1593
1607
  def _deserialize(self, params):
1594
1608
  self._Enabled = params.get("Enabled")
1609
+ self._Id = params.get("Id")
1595
1610
  self._Sensitivity = params.get("Sensitivity")
1596
1611
  if params.get("Action") is not None:
1597
1612
  self._Action = SecurityAction()
@@ -3427,10 +3442,13 @@ class BandwidthAbuseDefense(AbstractModel):
3427
3442
  r"""
3428
3443
  :param _Enabled: 流量防盗刷(仅适用中国大陆地区)是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
3429
3444
  :type Enabled: str
3445
+ :param _Id: 流量防盗刷的规则 ID,仅作为出参返回。
3446
+ :type Id: str
3430
3447
  :param _Action: 流量防盗刷(仅适用中国大陆地区)的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
3431
3448
  :type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
3432
3449
  """
3433
3450
  self._Enabled = None
3451
+ self._Id = None
3434
3452
  self._Action = None
3435
3453
 
3436
3454
  @property
@@ -3444,6 +3462,17 @@ class BandwidthAbuseDefense(AbstractModel):
3444
3462
  def Enabled(self, Enabled):
3445
3463
  self._Enabled = Enabled
3446
3464
 
3465
+ @property
3466
+ def Id(self):
3467
+ r"""流量防盗刷的规则 ID,仅作为出参返回。
3468
+ :rtype: str
3469
+ """
3470
+ return self._Id
3471
+
3472
+ @Id.setter
3473
+ def Id(self, Id):
3474
+ self._Id = Id
3475
+
3447
3476
  @property
3448
3477
  def Action(self):
3449
3478
  r"""流量防盗刷(仅适用中国大陆地区)的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
@@ -3458,6 +3487,7 @@ class BandwidthAbuseDefense(AbstractModel):
3458
3487
 
3459
3488
  def _deserialize(self, params):
3460
3489
  self._Enabled = params.get("Enabled")
3490
+ self._Id = params.get("Id")
3461
3491
  if params.get("Action") is not None:
3462
3492
  self._Action = SecurityAction()
3463
3493
  self._Action._deserialize(params.get("Action"))
@@ -4441,27 +4471,19 @@ class BotIntelligence(AbstractModel):
4441
4471
 
4442
4472
  def __init__(self):
4443
4473
  r"""
4444
- :param _BotRatings: 基于客户端和请求特征,将请求来源分为人类来源请求、合法 Bot 请求、疑似 Bot 请求和高风险 Bot 请求,并提供请求处置选项。
4445
- :type BotRatings: :class:`tencentcloud.teo.v20220901.models.BotRatings`
4446
4474
  :param _Enabled: Bot 智能分析的具体配置开关。取值有:
4447
4475
 
4448
4476
  on:开启;
4449
4477
  off:关闭。
4450
4478
  :type Enabled: str
4479
+ :param _Id: Bot 智能分析的规则 ID,仅作为出参返回。
4480
+ :type Id: str
4481
+ :param _BotRatings: 基于客户端和请求特征,将请求来源分为人类来源请求、合法 Bot 请求、疑似 Bot 请求和高风险 Bot 请求,并提供请求处置选项。
4482
+ :type BotRatings: :class:`tencentcloud.teo.v20220901.models.BotRatings`
4451
4483
  """
4452
- self._BotRatings = None
4453
4484
  self._Enabled = None
4454
-
4455
- @property
4456
- def BotRatings(self):
4457
- r"""基于客户端和请求特征,将请求来源分为人类来源请求、合法 Bot 请求、疑似 Bot 请求和高风险 Bot 请求,并提供请求处置选项。
4458
- :rtype: :class:`tencentcloud.teo.v20220901.models.BotRatings`
4459
- """
4460
- return self._BotRatings
4461
-
4462
- @BotRatings.setter
4463
- def BotRatings(self, BotRatings):
4464
- self._BotRatings = BotRatings
4485
+ self._Id = None
4486
+ self._BotRatings = None
4465
4487
 
4466
4488
  @property
4467
4489
  def Enabled(self):
@@ -4477,12 +4499,35 @@ off:关闭。
4477
4499
  def Enabled(self, Enabled):
4478
4500
  self._Enabled = Enabled
4479
4501
 
4502
+ @property
4503
+ def Id(self):
4504
+ r"""Bot 智能分析的规则 ID,仅作为出参返回。
4505
+ :rtype: str
4506
+ """
4507
+ return self._Id
4508
+
4509
+ @Id.setter
4510
+ def Id(self, Id):
4511
+ self._Id = Id
4512
+
4513
+ @property
4514
+ def BotRatings(self):
4515
+ r"""基于客户端和请求特征,将请求来源分为人类来源请求、合法 Bot 请求、疑似 Bot 请求和高风险 Bot 请求,并提供请求处置选项。
4516
+ :rtype: :class:`tencentcloud.teo.v20220901.models.BotRatings`
4517
+ """
4518
+ return self._BotRatings
4519
+
4520
+ @BotRatings.setter
4521
+ def BotRatings(self, BotRatings):
4522
+ self._BotRatings = BotRatings
4523
+
4480
4524
 
4481
4525
  def _deserialize(self, params):
4526
+ self._Enabled = params.get("Enabled")
4527
+ self._Id = params.get("Id")
4482
4528
  if params.get("BotRatings") is not None:
4483
4529
  self._BotRatings = BotRatings()
4484
4530
  self._BotRatings._deserialize(params.get("BotRatings"))
4485
- self._Enabled = params.get("Enabled")
4486
4531
  memeber_set = set(params.keys())
4487
4532
  for name, value in vars(self).items():
4488
4533
  property_name = name[1:]
@@ -8017,10 +8062,13 @@ class ClientFiltering(AbstractModel):
8017
8062
  r"""
8018
8063
  :param _Enabled: 智能客户端过滤是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
8019
8064
  :type Enabled: str
8065
+ :param _Id: 智能客户端过滤的规则 ID,仅作为出参返回。
8066
+ :type Id: str
8020
8067
  :param _Action: 智能客户端过滤的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
8021
8068
  :type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
8022
8069
  """
8023
8070
  self._Enabled = None
8071
+ self._Id = None
8024
8072
  self._Action = None
8025
8073
 
8026
8074
  @property
@@ -8034,6 +8082,17 @@ class ClientFiltering(AbstractModel):
8034
8082
  def Enabled(self, Enabled):
8035
8083
  self._Enabled = Enabled
8036
8084
 
8085
+ @property
8086
+ def Id(self):
8087
+ r"""智能客户端过滤的规则 ID,仅作为出参返回。
8088
+ :rtype: str
8089
+ """
8090
+ return self._Id
8091
+
8092
+ @Id.setter
8093
+ def Id(self, Id):
8094
+ self._Id = Id
8095
+
8037
8096
  @property
8038
8097
  def Action(self):
8039
8098
  r"""智能客户端过滤的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
@@ -8048,6 +8107,7 @@ class ClientFiltering(AbstractModel):
8048
8107
 
8049
8108
  def _deserialize(self, params):
8050
8109
  self._Enabled = params.get("Enabled")
8110
+ self._Id = params.get("Id")
8051
8111
  if params.get("Action") is not None:
8052
8112
  self._Action = SecurityAction()
8053
8113
  self._Action._deserialize(params.get("Action"))
@@ -33579,6 +33639,8 @@ class FrequentScanningProtection(AbstractModel):
33579
33639
  r"""
33580
33640
  :param _Enabled: 高频扫描防护规则是否开启。取值有:<li>on:开启,高频扫描防护规则生效;</li><li>off:关闭,高频扫描防护规则不生效。</li>
33581
33641
  :type Enabled: str
33642
+ :param _Id: 高频扫描防护的规则 ID,仅作为出参返回。
33643
+ :type Id: str
33582
33644
  :param _Action: 高频扫描防护的处置动作。 当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Deny:拦截,响应拦截页面;</li><li>Monitor:观察,不处理请求记录安全事件到日志中;</li><li>JSChallenge:JavaScript 挑战,响应 JavaScript 挑战页面。</li>
33583
33645
  :type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
33584
33646
  :param _CountBy: 请求统计的匹配方式,当 Enabled 为 on 时,此字段必填。取值有:<li>http.request.xff_header_ip:客户端 IP(优先匹配 XFF 头部);</li><li>http.request.ip:客户端 IP。</li>
@@ -33591,6 +33653,7 @@ class FrequentScanningProtection(AbstractModel):
33591
33653
  :type ActionDuration: str
33592
33654
  """
33593
33655
  self._Enabled = None
33656
+ self._Id = None
33594
33657
  self._Action = None
33595
33658
  self._CountBy = None
33596
33659
  self._BlockThreshold = None
@@ -33608,6 +33671,17 @@ class FrequentScanningProtection(AbstractModel):
33608
33671
  def Enabled(self, Enabled):
33609
33672
  self._Enabled = Enabled
33610
33673
 
33674
+ @property
33675
+ def Id(self):
33676
+ r"""高频扫描防护的规则 ID,仅作为出参返回。
33677
+ :rtype: str
33678
+ """
33679
+ return self._Id
33680
+
33681
+ @Id.setter
33682
+ def Id(self, Id):
33683
+ self._Id = Id
33684
+
33611
33685
  @property
33612
33686
  def Action(self):
33613
33687
  r"""高频扫描防护的处置动作。 当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Deny:拦截,响应拦截页面;</li><li>Monitor:观察,不处理请求记录安全事件到日志中;</li><li>JSChallenge:JavaScript 挑战,响应 JavaScript 挑战页面。</li>
@@ -33666,6 +33740,7 @@ class FrequentScanningProtection(AbstractModel):
33666
33740
 
33667
33741
  def _deserialize(self, params):
33668
33742
  self._Enabled = params.get("Enabled")
33743
+ self._Id = params.get("Id")
33669
33744
  if params.get("Action") is not None:
33670
33745
  self._Action = SecurityAction()
33671
33746
  self._Action._deserialize(params.get("Action"))
@@ -56641,6 +56716,8 @@ class SlowAttackDefense(AbstractModel):
56641
56716
  r"""
56642
56717
  :param _Enabled: 慢速攻击防护是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
56643
56718
  :type Enabled: str
56719
+ :param _Id: 慢速攻击防护的规则 ID,仅作为出参返回。
56720
+ :type Id: str
56644
56721
  :param _Action: 慢速攻击防护的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li>
56645
56722
  :type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
56646
56723
  :param _MinimalRequestBodyTransferRate: 正文传输最小速率阈值的具体配置,当 Enabled 为 on 时,此字段必填。
@@ -56649,6 +56726,7 @@ class SlowAttackDefense(AbstractModel):
56649
56726
  :type RequestBodyTransferTimeout: :class:`tencentcloud.teo.v20220901.models.RequestBodyTransferTimeout`
56650
56727
  """
56651
56728
  self._Enabled = None
56729
+ self._Id = None
56652
56730
  self._Action = None
56653
56731
  self._MinimalRequestBodyTransferRate = None
56654
56732
  self._RequestBodyTransferTimeout = None
@@ -56664,6 +56742,17 @@ class SlowAttackDefense(AbstractModel):
56664
56742
  def Enabled(self, Enabled):
56665
56743
  self._Enabled = Enabled
56666
56744
 
56745
+ @property
56746
+ def Id(self):
56747
+ r"""慢速攻击防护的规则 ID,仅作为出参返回。
56748
+ :rtype: str
56749
+ """
56750
+ return self._Id
56751
+
56752
+ @Id.setter
56753
+ def Id(self, Id):
56754
+ self._Id = Id
56755
+
56667
56756
  @property
56668
56757
  def Action(self):
56669
56758
  r"""慢速攻击防护的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li>
@@ -56700,6 +56789,7 @@ class SlowAttackDefense(AbstractModel):
56700
56789
 
56701
56790
  def _deserialize(self, params):
56702
56791
  self._Enabled = params.get("Enabled")
56792
+ self._Id = params.get("Id")
56703
56793
  if params.get("Action") is not None:
56704
56794
  self._Action = SecurityAction()
56705
56795
  self._Action._deserialize(params.get("Action"))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.1.79
3
+ Version: 3.1.81
4
4
  Summary: Tencent Cloud Teo SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.79
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.81
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.81
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.79