tencentcloud-sdk-python-waf 3.0.1170__tar.gz → 3.0.1172__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 (16) hide show
  1. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/setup.py +1 -1
  3. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/tencentcloud/waf/v20180125/models.py +103 -12
  5. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-waf-3.0.1172/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-waf-3.0.1170/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/README.rst +0 -0
  9. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/tencentcloud/waf/__init__.py +0 -0
  11. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/tencentcloud/waf/v20180125/__init__.py +0 -0
  12. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/tencentcloud/waf/v20180125/waf_client.py +0 -0
  14. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-waf-3.0.1170 → tencentcloud-sdk-python-waf-3.0.1172}/tencentcloud_sdk_python_waf.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-waf
3
- Version: 3.0.1170
3
+ Version: 3.0.1172
4
4
  Summary: Tencent Cloud Waf SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-waf',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1170"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1172"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Waf SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1170'
17
+ __version__ = '3.0.1172'
@@ -18,6 +18,63 @@ import warnings
18
18
  from tencentcloud.common.abstract_model import AbstractModel
19
19
 
20
20
 
21
+ class AccessFieldValueRatioInfo(AbstractModel):
22
+ """DescribeAccessFastAnalysis接口的出参
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _Count: 日志条数
29
+ :type Count: int
30
+ :param _Ratio: 对应的Value值的百分比
31
+ :type Ratio: float
32
+ :param _Value: 字段对应的值
33
+ :type Value: str
34
+ """
35
+ self._Count = None
36
+ self._Ratio = None
37
+ self._Value = None
38
+
39
+ @property
40
+ def Count(self):
41
+ return self._Count
42
+
43
+ @Count.setter
44
+ def Count(self, Count):
45
+ self._Count = Count
46
+
47
+ @property
48
+ def Ratio(self):
49
+ return self._Ratio
50
+
51
+ @Ratio.setter
52
+ def Ratio(self, Ratio):
53
+ self._Ratio = Ratio
54
+
55
+ @property
56
+ def Value(self):
57
+ return self._Value
58
+
59
+ @Value.setter
60
+ def Value(self, Value):
61
+ self._Value = Value
62
+
63
+
64
+ def _deserialize(self, params):
65
+ self._Count = params.get("Count")
66
+ self._Ratio = params.get("Ratio")
67
+ self._Value = params.get("Value")
68
+ memeber_set = set(params.keys())
69
+ for name, value in vars(self).items():
70
+ property_name = name[1:]
71
+ if property_name in memeber_set:
72
+ memeber_set.remove(property_name)
73
+ if len(memeber_set) > 0:
74
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
75
+
76
+
77
+
21
78
  class AccessFullTextInfo(AbstractModel):
22
79
  """DescribeAccessIndex
23
80
 
@@ -6688,8 +6745,6 @@ class DescribeAccessFastAnalysisRequest(AbstractModel):
6688
6745
 
6689
6746
  def __init__(self):
6690
6747
  r"""
6691
- :param _TopicId: 客户要查询的日志主题ID,每个客户都有对应的一个主题
6692
- :type TopicId: str
6693
6748
  :param _From: 要查询的日志的起始时间,Unix时间戳,单位ms
6694
6749
  :type From: int
6695
6750
  :param _To: 要查询的日志的结束时间,Unix时间戳,单位ms
@@ -6698,27 +6753,21 @@ class DescribeAccessFastAnalysisRequest(AbstractModel):
6698
6753
  :type Query: str
6699
6754
  :param _FieldName: 需要分析统计的字段名
6700
6755
  :type FieldName: str
6756
+ :param _TopicId: 客户要查询的日志主题ID,每个客户都有对应的一个主题
6757
+ :type TopicId: str
6701
6758
  :param _Sort: 排序字段,升序asc,降序desc,默认降序desc
6702
6759
  :type Sort: str
6703
6760
  :param _Count: 返回的top数,默认返回top5
6704
6761
  :type Count: int
6705
6762
  """
6706
- self._TopicId = None
6707
6763
  self._From = None
6708
6764
  self._To = None
6709
6765
  self._Query = None
6710
6766
  self._FieldName = None
6767
+ self._TopicId = None
6711
6768
  self._Sort = None
6712
6769
  self._Count = None
6713
6770
 
6714
- @property
6715
- def TopicId(self):
6716
- return self._TopicId
6717
-
6718
- @TopicId.setter
6719
- def TopicId(self, TopicId):
6720
- self._TopicId = TopicId
6721
-
6722
6771
  @property
6723
6772
  def From(self):
6724
6773
  return self._From
@@ -6751,6 +6800,18 @@ class DescribeAccessFastAnalysisRequest(AbstractModel):
6751
6800
  def FieldName(self, FieldName):
6752
6801
  self._FieldName = FieldName
6753
6802
 
6803
+ @property
6804
+ def TopicId(self):
6805
+ warnings.warn("parameter `TopicId` is deprecated", DeprecationWarning)
6806
+
6807
+ return self._TopicId
6808
+
6809
+ @TopicId.setter
6810
+ def TopicId(self, TopicId):
6811
+ warnings.warn("parameter `TopicId` is deprecated", DeprecationWarning)
6812
+
6813
+ self._TopicId = TopicId
6814
+
6754
6815
  @property
6755
6816
  def Sort(self):
6756
6817
  return self._Sort
@@ -6769,11 +6830,11 @@ class DescribeAccessFastAnalysisRequest(AbstractModel):
6769
6830
 
6770
6831
 
6771
6832
  def _deserialize(self, params):
6772
- self._TopicId = params.get("TopicId")
6773
6833
  self._From = params.get("From")
6774
6834
  self._To = params.get("To")
6775
6835
  self._Query = params.get("Query")
6776
6836
  self._FieldName = params.get("FieldName")
6837
+ self._TopicId = params.get("TopicId")
6777
6838
  self._Sort = params.get("Sort")
6778
6839
  self._Count = params.get("Count")
6779
6840
  memeber_set = set(params.keys())
@@ -6793,11 +6854,34 @@ class DescribeAccessFastAnalysisResponse(AbstractModel):
6793
6854
 
6794
6855
  def __init__(self):
6795
6856
  r"""
6857
+ :param _FieldValueRatioInfos: 注意:此字段可能返回 null,表示取不到有效值
6858
+ 注意:此字段可能返回 null,表示取不到有效值。
6859
+ :type FieldValueRatioInfos: list of AccessFieldValueRatioInfo
6860
+ :param _TotalCount: 日志条数
6861
+ :type TotalCount: int
6796
6862
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6797
6863
  :type RequestId: str
6798
6864
  """
6865
+ self._FieldValueRatioInfos = None
6866
+ self._TotalCount = None
6799
6867
  self._RequestId = None
6800
6868
 
6869
+ @property
6870
+ def FieldValueRatioInfos(self):
6871
+ return self._FieldValueRatioInfos
6872
+
6873
+ @FieldValueRatioInfos.setter
6874
+ def FieldValueRatioInfos(self, FieldValueRatioInfos):
6875
+ self._FieldValueRatioInfos = FieldValueRatioInfos
6876
+
6877
+ @property
6878
+ def TotalCount(self):
6879
+ return self._TotalCount
6880
+
6881
+ @TotalCount.setter
6882
+ def TotalCount(self, TotalCount):
6883
+ self._TotalCount = TotalCount
6884
+
6801
6885
  @property
6802
6886
  def RequestId(self):
6803
6887
  return self._RequestId
@@ -6808,6 +6892,13 @@ class DescribeAccessFastAnalysisResponse(AbstractModel):
6808
6892
 
6809
6893
 
6810
6894
  def _deserialize(self, params):
6895
+ if params.get("FieldValueRatioInfos") is not None:
6896
+ self._FieldValueRatioInfos = []
6897
+ for item in params.get("FieldValueRatioInfos"):
6898
+ obj = AccessFieldValueRatioInfo()
6899
+ obj._deserialize(item)
6900
+ self._FieldValueRatioInfos.append(obj)
6901
+ self._TotalCount = params.get("TotalCount")
6811
6902
  self._RequestId = params.get("RequestId")
6812
6903
 
6813
6904
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-waf
3
- Version: 3.0.1170
3
+ Version: 3.0.1172
4
4
  Summary: Tencent Cloud Waf SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1172
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1170