tencentcloud-sdk-python-cat 3.0.1374__tar.gz → 3.0.1376__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.
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/setup.py +1 -1
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/tencentcloud/cat/v20180409/cat_client.py +23 -0
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/tencentcloud/cat/v20180409/models.py +161 -0
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/tencentcloud_sdk_python_cat.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cat-3.0.1376/tencentcloud_sdk_python_cat.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cat-3.0.1374/tencentcloud_sdk_python_cat.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/README.rst +0 -0
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/tencentcloud/cat/__init__.py +0 -0
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/tencentcloud/cat/v20180409/__init__.py +0 -0
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/tencentcloud/cat/v20180409/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/tencentcloud_sdk_python_cat.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/tencentcloud_sdk_python_cat.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cat-3.0.1374 → tencentcloud-sdk-python-cat-3.0.1376}/tencentcloud_sdk_python_cat.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cat',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1376"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cat SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -188,6 +188,29 @@ class CatClient(AbstractClient):
|
|
|
188
188
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
189
189
|
|
|
190
190
|
|
|
191
|
+
def DescribeProbeMetricTagValues(self, request):
|
|
192
|
+
"""查询同个任务类型下的维度标签值,包括查询用户任务信息,具体任务下的多个维度标签信息。(通过为DescribeProbeMetricData接口的Filters参数添加维度筛选条件,可实现多维数据分析)
|
|
193
|
+
|
|
194
|
+
:param request: Request instance for DescribeProbeMetricTagValues.
|
|
195
|
+
:type request: :class:`tencentcloud.cat.v20180409.models.DescribeProbeMetricTagValuesRequest`
|
|
196
|
+
:rtype: :class:`tencentcloud.cat.v20180409.models.DescribeProbeMetricTagValuesResponse`
|
|
197
|
+
|
|
198
|
+
"""
|
|
199
|
+
try:
|
|
200
|
+
params = request._serialize()
|
|
201
|
+
headers = request.headers
|
|
202
|
+
body = self.call("DescribeProbeMetricTagValues", params, headers=headers)
|
|
203
|
+
response = json.loads(body)
|
|
204
|
+
model = models.DescribeProbeMetricTagValuesResponse()
|
|
205
|
+
model._deserialize(response["Response"])
|
|
206
|
+
return model
|
|
207
|
+
except Exception as e:
|
|
208
|
+
if isinstance(e, TencentCloudSDKException):
|
|
209
|
+
raise
|
|
210
|
+
else:
|
|
211
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
212
|
+
|
|
213
|
+
|
|
191
214
|
def DescribeProbeNodes(self, request):
|
|
192
215
|
"""查询拨测节点
|
|
193
216
|
|
|
@@ -1523,6 +1523,167 @@ class DescribeProbeMetricDataResponse(AbstractModel):
|
|
|
1523
1523
|
self._RequestId = params.get("RequestId")
|
|
1524
1524
|
|
|
1525
1525
|
|
|
1526
|
+
class DescribeProbeMetricTagValuesRequest(AbstractModel):
|
|
1527
|
+
"""DescribeProbeMetricTagValues请求参数结构体
|
|
1528
|
+
|
|
1529
|
+
"""
|
|
1530
|
+
|
|
1531
|
+
def __init__(self):
|
|
1532
|
+
r"""
|
|
1533
|
+
:param _AnalyzeTaskType: 分析任务类型,支持以下几种类型:
|
|
1534
|
+
AnalyzeTaskType_Network:网络质量
|
|
1535
|
+
AnalyzeTaskType_Browse:页面性能
|
|
1536
|
+
AnalyzeTaskType_Transport:端口性能
|
|
1537
|
+
AnalyzeTaskType_UploadDownload:文件传输
|
|
1538
|
+
AnalyzeTaskType_MediaStream:音视频体验
|
|
1539
|
+
|
|
1540
|
+
:type AnalyzeTaskType: str
|
|
1541
|
+
:param _Key: 维度标签值,参考:
|
|
1542
|
+
host:任务域名
|
|
1543
|
+
errorInfo:状态类型
|
|
1544
|
+
area:拨测点地区
|
|
1545
|
+
operator:拨测点运营商
|
|
1546
|
+
taskId:任务ID
|
|
1547
|
+
:type Key: str
|
|
1548
|
+
:param _Filter: 过滤条件,可以传单个过滤条件也可以拼接多个参数,支持正则匹配
|
|
1549
|
+
:type Filter: str
|
|
1550
|
+
:param _Filters: 过滤条件数组
|
|
1551
|
+
:type Filters: list of str
|
|
1552
|
+
:param _TimeRange: 时间范围
|
|
1553
|
+
:type TimeRange: str
|
|
1554
|
+
"""
|
|
1555
|
+
self._AnalyzeTaskType = None
|
|
1556
|
+
self._Key = None
|
|
1557
|
+
self._Filter = None
|
|
1558
|
+
self._Filters = None
|
|
1559
|
+
self._TimeRange = None
|
|
1560
|
+
|
|
1561
|
+
@property
|
|
1562
|
+
def AnalyzeTaskType(self):
|
|
1563
|
+
"""分析任务类型,支持以下几种类型:
|
|
1564
|
+
AnalyzeTaskType_Network:网络质量
|
|
1565
|
+
AnalyzeTaskType_Browse:页面性能
|
|
1566
|
+
AnalyzeTaskType_Transport:端口性能
|
|
1567
|
+
AnalyzeTaskType_UploadDownload:文件传输
|
|
1568
|
+
AnalyzeTaskType_MediaStream:音视频体验
|
|
1569
|
+
|
|
1570
|
+
:rtype: str
|
|
1571
|
+
"""
|
|
1572
|
+
return self._AnalyzeTaskType
|
|
1573
|
+
|
|
1574
|
+
@AnalyzeTaskType.setter
|
|
1575
|
+
def AnalyzeTaskType(self, AnalyzeTaskType):
|
|
1576
|
+
self._AnalyzeTaskType = AnalyzeTaskType
|
|
1577
|
+
|
|
1578
|
+
@property
|
|
1579
|
+
def Key(self):
|
|
1580
|
+
"""维度标签值,参考:
|
|
1581
|
+
host:任务域名
|
|
1582
|
+
errorInfo:状态类型
|
|
1583
|
+
area:拨测点地区
|
|
1584
|
+
operator:拨测点运营商
|
|
1585
|
+
taskId:任务ID
|
|
1586
|
+
:rtype: str
|
|
1587
|
+
"""
|
|
1588
|
+
return self._Key
|
|
1589
|
+
|
|
1590
|
+
@Key.setter
|
|
1591
|
+
def Key(self, Key):
|
|
1592
|
+
self._Key = Key
|
|
1593
|
+
|
|
1594
|
+
@property
|
|
1595
|
+
def Filter(self):
|
|
1596
|
+
"""过滤条件,可以传单个过滤条件也可以拼接多个参数,支持正则匹配
|
|
1597
|
+
:rtype: str
|
|
1598
|
+
"""
|
|
1599
|
+
return self._Filter
|
|
1600
|
+
|
|
1601
|
+
@Filter.setter
|
|
1602
|
+
def Filter(self, Filter):
|
|
1603
|
+
self._Filter = Filter
|
|
1604
|
+
|
|
1605
|
+
@property
|
|
1606
|
+
def Filters(self):
|
|
1607
|
+
"""过滤条件数组
|
|
1608
|
+
:rtype: list of str
|
|
1609
|
+
"""
|
|
1610
|
+
return self._Filters
|
|
1611
|
+
|
|
1612
|
+
@Filters.setter
|
|
1613
|
+
def Filters(self, Filters):
|
|
1614
|
+
self._Filters = Filters
|
|
1615
|
+
|
|
1616
|
+
@property
|
|
1617
|
+
def TimeRange(self):
|
|
1618
|
+
"""时间范围
|
|
1619
|
+
:rtype: str
|
|
1620
|
+
"""
|
|
1621
|
+
return self._TimeRange
|
|
1622
|
+
|
|
1623
|
+
@TimeRange.setter
|
|
1624
|
+
def TimeRange(self, TimeRange):
|
|
1625
|
+
self._TimeRange = TimeRange
|
|
1626
|
+
|
|
1627
|
+
|
|
1628
|
+
def _deserialize(self, params):
|
|
1629
|
+
self._AnalyzeTaskType = params.get("AnalyzeTaskType")
|
|
1630
|
+
self._Key = params.get("Key")
|
|
1631
|
+
self._Filter = params.get("Filter")
|
|
1632
|
+
self._Filters = params.get("Filters")
|
|
1633
|
+
self._TimeRange = params.get("TimeRange")
|
|
1634
|
+
memeber_set = set(params.keys())
|
|
1635
|
+
for name, value in vars(self).items():
|
|
1636
|
+
property_name = name[1:]
|
|
1637
|
+
if property_name in memeber_set:
|
|
1638
|
+
memeber_set.remove(property_name)
|
|
1639
|
+
if len(memeber_set) > 0:
|
|
1640
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
class DescribeProbeMetricTagValuesResponse(AbstractModel):
|
|
1645
|
+
"""DescribeProbeMetricTagValues返回参数结构体
|
|
1646
|
+
|
|
1647
|
+
"""
|
|
1648
|
+
|
|
1649
|
+
def __init__(self):
|
|
1650
|
+
r"""
|
|
1651
|
+
:param _TagValueSet: 标签值序列化后的字符串
|
|
1652
|
+
:type TagValueSet: str
|
|
1653
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1654
|
+
:type RequestId: str
|
|
1655
|
+
"""
|
|
1656
|
+
self._TagValueSet = None
|
|
1657
|
+
self._RequestId = None
|
|
1658
|
+
|
|
1659
|
+
@property
|
|
1660
|
+
def TagValueSet(self):
|
|
1661
|
+
"""标签值序列化后的字符串
|
|
1662
|
+
:rtype: str
|
|
1663
|
+
"""
|
|
1664
|
+
return self._TagValueSet
|
|
1665
|
+
|
|
1666
|
+
@TagValueSet.setter
|
|
1667
|
+
def TagValueSet(self, TagValueSet):
|
|
1668
|
+
self._TagValueSet = TagValueSet
|
|
1669
|
+
|
|
1670
|
+
@property
|
|
1671
|
+
def RequestId(self):
|
|
1672
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1673
|
+
:rtype: str
|
|
1674
|
+
"""
|
|
1675
|
+
return self._RequestId
|
|
1676
|
+
|
|
1677
|
+
@RequestId.setter
|
|
1678
|
+
def RequestId(self, RequestId):
|
|
1679
|
+
self._RequestId = RequestId
|
|
1680
|
+
|
|
1681
|
+
|
|
1682
|
+
def _deserialize(self, params):
|
|
1683
|
+
self._TagValueSet = params.get("TagValueSet")
|
|
1684
|
+
self._RequestId = params.get("RequestId")
|
|
1685
|
+
|
|
1686
|
+
|
|
1526
1687
|
class DescribeProbeNodesRequest(AbstractModel):
|
|
1527
1688
|
"""DescribeProbeNodes请求参数结构体
|
|
1528
1689
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1376
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1374
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|