tencentcloud-sdk-python-rum 3.1.33__tar.gz → 3.1.41__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 (17) hide show
  1. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/setup.py +1 -1
  3. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/tencentcloud/rum/v20210622/models.py +139 -0
  5. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/tencentcloud/rum/v20210622/rum_client.py +23 -0
  6. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/tencentcloud/rum/v20210622/rum_client_async.py +18 -0
  7. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/tencentcloud_sdk_python_rum.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_rum-3.1.41/tencentcloud_sdk_python_rum.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_rum-3.1.33/tencentcloud_sdk_python_rum.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/README.rst +0 -0
  11. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/tencentcloud/rum/__init__.py +0 -0
  13. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/tencentcloud/rum/v20210622/__init__.py +0 -0
  14. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/tencentcloud/rum/v20210622/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/tencentcloud_sdk_python_rum.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/tencentcloud_sdk_python_rum.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_rum-3.1.33 → tencentcloud_sdk_python_rum-3.1.41}/tencentcloud_sdk_python_rum.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-rum
3
- Version: 3.1.33
3
+ Version: 3.1.41
4
4
  Summary: Tencent Cloud Rum 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.33
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.41
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-rum',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.33,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.41,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Rum SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.33'
17
+ __version__ = '3.1.41'
@@ -6575,6 +6575,145 @@ class DescribeDataReportCountResponse(AbstractModel):
6575
6575
  self._RequestId = params.get("RequestId")
6576
6576
 
6577
6577
 
6578
+ class DescribeDataReportCountV2Request(AbstractModel):
6579
+ r"""DescribeDataReportCountV2请求参数结构体
6580
+
6581
+ """
6582
+
6583
+ def __init__(self):
6584
+ r"""
6585
+ :param _StartTime: 开始时间
6586
+ :type StartTime: int
6587
+ :param _EndTime: 结束时间
6588
+ :type EndTime: int
6589
+ :param _ID: 项目ID
6590
+ :type ID: int
6591
+ :param _ReportType: 上报类型(custom,event,log,miniProgramData,performance,pv,speed,webvitals)
6592
+ :type ReportType: str
6593
+ :param _InstanceID: 实例ID
6594
+ :type InstanceID: str
6595
+ """
6596
+ self._StartTime = None
6597
+ self._EndTime = None
6598
+ self._ID = None
6599
+ self._ReportType = None
6600
+ self._InstanceID = None
6601
+
6602
+ @property
6603
+ def StartTime(self):
6604
+ r"""开始时间
6605
+ :rtype: int
6606
+ """
6607
+ return self._StartTime
6608
+
6609
+ @StartTime.setter
6610
+ def StartTime(self, StartTime):
6611
+ self._StartTime = StartTime
6612
+
6613
+ @property
6614
+ def EndTime(self):
6615
+ r"""结束时间
6616
+ :rtype: int
6617
+ """
6618
+ return self._EndTime
6619
+
6620
+ @EndTime.setter
6621
+ def EndTime(self, EndTime):
6622
+ self._EndTime = EndTime
6623
+
6624
+ @property
6625
+ def ID(self):
6626
+ r"""项目ID
6627
+ :rtype: int
6628
+ """
6629
+ return self._ID
6630
+
6631
+ @ID.setter
6632
+ def ID(self, ID):
6633
+ self._ID = ID
6634
+
6635
+ @property
6636
+ def ReportType(self):
6637
+ r"""上报类型(custom,event,log,miniProgramData,performance,pv,speed,webvitals)
6638
+ :rtype: str
6639
+ """
6640
+ return self._ReportType
6641
+
6642
+ @ReportType.setter
6643
+ def ReportType(self, ReportType):
6644
+ self._ReportType = ReportType
6645
+
6646
+ @property
6647
+ def InstanceID(self):
6648
+ r"""实例ID
6649
+ :rtype: str
6650
+ """
6651
+ return self._InstanceID
6652
+
6653
+ @InstanceID.setter
6654
+ def InstanceID(self, InstanceID):
6655
+ self._InstanceID = InstanceID
6656
+
6657
+
6658
+ def _deserialize(self, params):
6659
+ self._StartTime = params.get("StartTime")
6660
+ self._EndTime = params.get("EndTime")
6661
+ self._ID = params.get("ID")
6662
+ self._ReportType = params.get("ReportType")
6663
+ self._InstanceID = params.get("InstanceID")
6664
+ memeber_set = set(params.keys())
6665
+ for name, value in vars(self).items():
6666
+ property_name = name[1:]
6667
+ if property_name in memeber_set:
6668
+ memeber_set.remove(property_name)
6669
+ if len(memeber_set) > 0:
6670
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6671
+
6672
+
6673
+
6674
+ class DescribeDataReportCountV2Response(AbstractModel):
6675
+ r"""DescribeDataReportCountV2返回参数结构体
6676
+
6677
+ """
6678
+
6679
+ def __init__(self):
6680
+ r"""
6681
+ :param _Result: 返回值
6682
+ :type Result: str
6683
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6684
+ :type RequestId: str
6685
+ """
6686
+ self._Result = None
6687
+ self._RequestId = None
6688
+
6689
+ @property
6690
+ def Result(self):
6691
+ r"""返回值
6692
+ :rtype: str
6693
+ """
6694
+ return self._Result
6695
+
6696
+ @Result.setter
6697
+ def Result(self, Result):
6698
+ self._Result = Result
6699
+
6700
+ @property
6701
+ def RequestId(self):
6702
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6703
+ :rtype: str
6704
+ """
6705
+ return self._RequestId
6706
+
6707
+ @RequestId.setter
6708
+ def RequestId(self, RequestId):
6709
+ self._RequestId = RequestId
6710
+
6711
+
6712
+ def _deserialize(self, params):
6713
+ self._Result = params.get("Result")
6714
+ self._RequestId = params.get("RequestId")
6715
+
6716
+
6578
6717
  class DescribeDataRequest(AbstractModel):
6579
6718
  r"""DescribeData请求参数结构体
6580
6719
 
@@ -647,6 +647,29 @@ class RumClient(AbstractClient):
647
647
  raise TencentCloudSDKException(type(e).__name__, str(e))
648
648
 
649
649
 
650
+ def DescribeDataReportCountV2(self, request):
651
+ r"""获取项目上报量
652
+
653
+ :param request: Request instance for DescribeDataReportCountV2.
654
+ :type request: :class:`tencentcloud.rum.v20210622.models.DescribeDataReportCountV2Request`
655
+ :rtype: :class:`tencentcloud.rum.v20210622.models.DescribeDataReportCountV2Response`
656
+
657
+ """
658
+ try:
659
+ params = request._serialize()
660
+ headers = request.headers
661
+ body = self.call("DescribeDataReportCountV2", params, headers=headers)
662
+ response = json.loads(body)
663
+ model = models.DescribeDataReportCountV2Response()
664
+ model._deserialize(response["Response"])
665
+ return model
666
+ except Exception as e:
667
+ if isinstance(e, TencentCloudSDKException):
668
+ raise
669
+ else:
670
+ raise TencentCloudSDKException(type(e).__name__, str(e))
671
+
672
+
650
673
  def DescribeDataSetUrlStatistics(self, request):
651
674
  r"""获取DescribeDataSetUrlStatistics信息
652
675
 
@@ -511,6 +511,24 @@ class RumClient(AbstractClient):
511
511
 
512
512
  return await self.call_and_deserialize(**kwargs)
513
513
 
514
+ async def DescribeDataReportCountV2(
515
+ self,
516
+ request: models.DescribeDataReportCountV2Request,
517
+ opts: Dict = None,
518
+ ) -> models.DescribeDataReportCountV2Response:
519
+ """
520
+ 获取项目上报量
521
+ """
522
+
523
+ kwargs = {}
524
+ kwargs["action"] = "DescribeDataReportCountV2"
525
+ kwargs["params"] = request._serialize()
526
+ kwargs["resp_cls"] = models.DescribeDataReportCountV2Response
527
+ kwargs["headers"] = request.headers
528
+ kwargs["opts"] = opts or {}
529
+
530
+ return await self.call_and_deserialize(**kwargs)
531
+
514
532
  async def DescribeDataSetUrlStatistics(
515
533
  self,
516
534
  request: models.DescribeDataSetUrlStatisticsRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-rum
3
- Version: 3.1.33
3
+ Version: 3.1.41
4
4
  Summary: Tencent Cloud Rum 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.33
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.41
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.41
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.33