tencentcloud-sdk-python 3.0.1352__py2.py3-none-any.whl → 3.0.1353__py2.py3-none-any.whl

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 (43) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/batch/v20170312/batch_client.py +0 -46
  3. tencentcloud/batch/v20170312/errorcodes.py +0 -9
  4. tencentcloud/batch/v20170312/models.py +21 -962
  5. tencentcloud/bi/v20220105/models.py +145 -0
  6. tencentcloud/cam/v20190116/errorcodes.py +3 -0
  7. tencentcloud/cam/v20190116/models.py +0 -82
  8. tencentcloud/cbs/v20170312/models.py +6 -14
  9. tencentcloud/cdn/v20180606/models.py +0 -46
  10. tencentcloud/chdfs/v20201112/models.py +2 -2
  11. tencentcloud/controlcenter/v20230110/models.py +0 -58
  12. tencentcloud/dbbrain/v20191016/dbbrain_client.py +23 -0
  13. tencentcloud/dbbrain/v20191016/models.py +375 -0
  14. tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
  15. tencentcloud/dbbrain/v20210527/models.py +701 -26
  16. tencentcloud/dcdb/v20180411/models.py +175 -2
  17. tencentcloud/dnspod/v20210323/models.py +0 -70
  18. tencentcloud/facefusion/v20220927/models.py +4 -2
  19. tencentcloud/gs/v20191118/models.py +16 -4
  20. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +1 -1
  21. tencentcloud/iotexplorer/v20190423/models.py +49 -412
  22. tencentcloud/lkeap/v20240522/models.py +12 -6
  23. tencentcloud/mariadb/v20170312/models.py +151 -2
  24. tencentcloud/mps/v20190612/models.py +2 -2
  25. tencentcloud/mqtt/v20240516/models.py +8 -2
  26. tencentcloud/ocr/v20181119/errorcodes.py +0 -3
  27. tencentcloud/ocr/v20181119/models.py +0 -558
  28. tencentcloud/ocr/v20181119/ocr_client.py +0 -23
  29. tencentcloud/organization/v20210331/models.py +15 -0
  30. tencentcloud/sqlserver/v20180328/models.py +15 -0
  31. tencentcloud/tcb/v20180608/models.py +20 -0
  32. tencentcloud/teo/v20220106/teo_client.py +6 -2
  33. tencentcloud/tione/v20211111/models.py +35 -3
  34. tencentcloud/tse/v20201207/models.py +0 -34
  35. tencentcloud/vod/v20240718/models.py +0 -2
  36. tencentcloud/vpc/v20170312/models.py +300 -0
  37. tencentcloud/vpc/v20170312/vpc_client.py +26 -0
  38. tencentcloud/wedata/v20210820/models.py +17 -0
  39. {tencentcloud_sdk_python-3.0.1352.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/METADATA +1 -1
  40. {tencentcloud_sdk_python-3.0.1352.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/RECORD +43 -43
  41. {tencentcloud_sdk_python-3.0.1352.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/LICENSE +0 -0
  42. {tencentcloud_sdk_python-3.0.1352.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/WHEEL +0 -0
  43. {tencentcloud_sdk_python-3.0.1352.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/top_level.txt +0 -0
@@ -28565,6 +28565,180 @@ class DescribeNatGatewayDirectConnectGatewayRouteResponse(AbstractModel):
28565
28565
  self._RequestId = params.get("RequestId")
28566
28566
 
28567
28567
 
28568
+ class DescribeNatGatewayFlowMonitorDetailRequest(AbstractModel):
28569
+ """DescribeNatGatewayFlowMonitorDetail请求参数结构体
28570
+
28571
+ """
28572
+
28573
+ def __init__(self):
28574
+ r"""
28575
+ :param _TimePoint: 时间点。表示要查询的时刻。聚合粒度为60、300时,会查询最近一个整分钟开始的聚合周期;聚合粒度为3600时,会查询最近一个整点开始的聚合周期;聚合粒度为86400时,会查询最近一个整天开始的聚合周期。形如:`2019-03-24T10:51:23+08:00`。
28576
+ :type TimePoint: str
28577
+ :param _NatGatewayId: NAT网关的ID,形如:`nat-ig8xpno8`。
28578
+ :type NatGatewayId: str
28579
+ :param _TopN: 展示排序靠前的数据。默认值:10,表示默认展示排序前 10 的数据。最大值:100。
28580
+ :type TopN: int
28581
+ :param _OrderField: 排序字段。支持:入包量`InPkg`、出包量`OutPkg`、入流量`InTraffic`、出流量`OutTraffic`,标准型nat额外支持 并发连接数`ConcurrentConnectionCount` 、新建连接速率`NewConnectionRate`。默认值`OutTraffic`。
28582
+ :type OrderField: str
28583
+ :param _AggregationTimeRange: 聚合时间粒度。支持:60、300、3600、86400,即按照1分钟、5分钟、1小时、1天进行聚合查询。
28584
+ :type AggregationTimeRange: int
28585
+ :param _AllMetricMode: 是否查询全部指标。默认值:True,表示查询全部指标。
28586
+ :type AllMetricMode: bool
28587
+ """
28588
+ self._TimePoint = None
28589
+ self._NatGatewayId = None
28590
+ self._TopN = None
28591
+ self._OrderField = None
28592
+ self._AggregationTimeRange = None
28593
+ self._AllMetricMode = None
28594
+
28595
+ @property
28596
+ def TimePoint(self):
28597
+ """时间点。表示要查询的时刻。聚合粒度为60、300时,会查询最近一个整分钟开始的聚合周期;聚合粒度为3600时,会查询最近一个整点开始的聚合周期;聚合粒度为86400时,会查询最近一个整天开始的聚合周期。形如:`2019-03-24T10:51:23+08:00`。
28598
+ :rtype: str
28599
+ """
28600
+ return self._TimePoint
28601
+
28602
+ @TimePoint.setter
28603
+ def TimePoint(self, TimePoint):
28604
+ self._TimePoint = TimePoint
28605
+
28606
+ @property
28607
+ def NatGatewayId(self):
28608
+ """NAT网关的ID,形如:`nat-ig8xpno8`。
28609
+ :rtype: str
28610
+ """
28611
+ return self._NatGatewayId
28612
+
28613
+ @NatGatewayId.setter
28614
+ def NatGatewayId(self, NatGatewayId):
28615
+ self._NatGatewayId = NatGatewayId
28616
+
28617
+ @property
28618
+ def TopN(self):
28619
+ """展示排序靠前的数据。默认值:10,表示默认展示排序前 10 的数据。最大值:100。
28620
+ :rtype: int
28621
+ """
28622
+ return self._TopN
28623
+
28624
+ @TopN.setter
28625
+ def TopN(self, TopN):
28626
+ self._TopN = TopN
28627
+
28628
+ @property
28629
+ def OrderField(self):
28630
+ """排序字段。支持:入包量`InPkg`、出包量`OutPkg`、入流量`InTraffic`、出流量`OutTraffic`,标准型nat额外支持 并发连接数`ConcurrentConnectionCount` 、新建连接速率`NewConnectionRate`。默认值`OutTraffic`。
28631
+ :rtype: str
28632
+ """
28633
+ return self._OrderField
28634
+
28635
+ @OrderField.setter
28636
+ def OrderField(self, OrderField):
28637
+ self._OrderField = OrderField
28638
+
28639
+ @property
28640
+ def AggregationTimeRange(self):
28641
+ """聚合时间粒度。支持:60、300、3600、86400,即按照1分钟、5分钟、1小时、1天进行聚合查询。
28642
+ :rtype: int
28643
+ """
28644
+ return self._AggregationTimeRange
28645
+
28646
+ @AggregationTimeRange.setter
28647
+ def AggregationTimeRange(self, AggregationTimeRange):
28648
+ self._AggregationTimeRange = AggregationTimeRange
28649
+
28650
+ @property
28651
+ def AllMetricMode(self):
28652
+ """是否查询全部指标。默认值:True,表示查询全部指标。
28653
+ :rtype: bool
28654
+ """
28655
+ return self._AllMetricMode
28656
+
28657
+ @AllMetricMode.setter
28658
+ def AllMetricMode(self, AllMetricMode):
28659
+ self._AllMetricMode = AllMetricMode
28660
+
28661
+
28662
+ def _deserialize(self, params):
28663
+ self._TimePoint = params.get("TimePoint")
28664
+ self._NatGatewayId = params.get("NatGatewayId")
28665
+ self._TopN = params.get("TopN")
28666
+ self._OrderField = params.get("OrderField")
28667
+ self._AggregationTimeRange = params.get("AggregationTimeRange")
28668
+ self._AllMetricMode = params.get("AllMetricMode")
28669
+ memeber_set = set(params.keys())
28670
+ for name, value in vars(self).items():
28671
+ property_name = name[1:]
28672
+ if property_name in memeber_set:
28673
+ memeber_set.remove(property_name)
28674
+ if len(memeber_set) > 0:
28675
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
28676
+
28677
+
28678
+
28679
+ class DescribeNatGatewayFlowMonitorDetailResponse(AbstractModel):
28680
+ """DescribeNatGatewayFlowMonitorDetail返回参数结构体
28681
+
28682
+ """
28683
+
28684
+ def __init__(self):
28685
+ r"""
28686
+ :param _TotalCount: 符合条件的对象数。
28687
+ :type TotalCount: int
28688
+ :param _NatGatewayFlowMonitorDetailSet: 网关流量监控明细。
28689
+ :type NatGatewayFlowMonitorDetailSet: list of NatGatewayFlowMonitorDetail
28690
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
28691
+ :type RequestId: str
28692
+ """
28693
+ self._TotalCount = None
28694
+ self._NatGatewayFlowMonitorDetailSet = None
28695
+ self._RequestId = None
28696
+
28697
+ @property
28698
+ def TotalCount(self):
28699
+ """符合条件的对象数。
28700
+ :rtype: int
28701
+ """
28702
+ return self._TotalCount
28703
+
28704
+ @TotalCount.setter
28705
+ def TotalCount(self, TotalCount):
28706
+ self._TotalCount = TotalCount
28707
+
28708
+ @property
28709
+ def NatGatewayFlowMonitorDetailSet(self):
28710
+ """网关流量监控明细。
28711
+ :rtype: list of NatGatewayFlowMonitorDetail
28712
+ """
28713
+ return self._NatGatewayFlowMonitorDetailSet
28714
+
28715
+ @NatGatewayFlowMonitorDetailSet.setter
28716
+ def NatGatewayFlowMonitorDetailSet(self, NatGatewayFlowMonitorDetailSet):
28717
+ self._NatGatewayFlowMonitorDetailSet = NatGatewayFlowMonitorDetailSet
28718
+
28719
+ @property
28720
+ def RequestId(self):
28721
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
28722
+ :rtype: str
28723
+ """
28724
+ return self._RequestId
28725
+
28726
+ @RequestId.setter
28727
+ def RequestId(self, RequestId):
28728
+ self._RequestId = RequestId
28729
+
28730
+
28731
+ def _deserialize(self, params):
28732
+ self._TotalCount = params.get("TotalCount")
28733
+ if params.get("NatGatewayFlowMonitorDetailSet") is not None:
28734
+ self._NatGatewayFlowMonitorDetailSet = []
28735
+ for item in params.get("NatGatewayFlowMonitorDetailSet"):
28736
+ obj = NatGatewayFlowMonitorDetail()
28737
+ obj._deserialize(item)
28738
+ self._NatGatewayFlowMonitorDetailSet.append(obj)
28739
+ self._RequestId = params.get("RequestId")
28740
+
28741
+
28568
28742
  class DescribeNatGatewaySourceIpTranslationNatRulesRequest(AbstractModel):
28569
28743
  """DescribeNatGatewaySourceIpTranslationNatRules请求参数结构体
28570
28744
 
@@ -53976,6 +54150,132 @@ class NatGatewayDestinationIpPortTranslationNatRule(AbstractModel):
53976
54150
 
53977
54151
 
53978
54152
 
54153
+ class NatGatewayFlowMonitorDetail(AbstractModel):
54154
+ """nat网关流量监控明细。
54155
+
54156
+ """
54157
+
54158
+ def __init__(self):
54159
+ r"""
54160
+ :param _PrivateIpAddress: 来源`IP`。
54161
+ :type PrivateIpAddress: str
54162
+ :param _InPkg: 入包量。
54163
+ :type InPkg: int
54164
+ :param _OutPkg: 出包量。
54165
+ :type OutPkg: int
54166
+ :param _InTraffic: 入流量,单位:`Byte`。
54167
+ :type InTraffic: int
54168
+ :param _OutTraffic: 出流量,单位:`Byte`。
54169
+ :type OutTraffic: int
54170
+ :param _ConcurrentConnectionCount: 并发连接数。仅标准型nat支持此参数。
54171
+ :type ConcurrentConnectionCount: int
54172
+ :param _NewConnectionRate: 新建连接速率。仅标准型nat支持此参数。
54173
+ :type NewConnectionRate: int
54174
+ """
54175
+ self._PrivateIpAddress = None
54176
+ self._InPkg = None
54177
+ self._OutPkg = None
54178
+ self._InTraffic = None
54179
+ self._OutTraffic = None
54180
+ self._ConcurrentConnectionCount = None
54181
+ self._NewConnectionRate = None
54182
+
54183
+ @property
54184
+ def PrivateIpAddress(self):
54185
+ """来源`IP`。
54186
+ :rtype: str
54187
+ """
54188
+ return self._PrivateIpAddress
54189
+
54190
+ @PrivateIpAddress.setter
54191
+ def PrivateIpAddress(self, PrivateIpAddress):
54192
+ self._PrivateIpAddress = PrivateIpAddress
54193
+
54194
+ @property
54195
+ def InPkg(self):
54196
+ """入包量。
54197
+ :rtype: int
54198
+ """
54199
+ return self._InPkg
54200
+
54201
+ @InPkg.setter
54202
+ def InPkg(self, InPkg):
54203
+ self._InPkg = InPkg
54204
+
54205
+ @property
54206
+ def OutPkg(self):
54207
+ """出包量。
54208
+ :rtype: int
54209
+ """
54210
+ return self._OutPkg
54211
+
54212
+ @OutPkg.setter
54213
+ def OutPkg(self, OutPkg):
54214
+ self._OutPkg = OutPkg
54215
+
54216
+ @property
54217
+ def InTraffic(self):
54218
+ """入流量,单位:`Byte`。
54219
+ :rtype: int
54220
+ """
54221
+ return self._InTraffic
54222
+
54223
+ @InTraffic.setter
54224
+ def InTraffic(self, InTraffic):
54225
+ self._InTraffic = InTraffic
54226
+
54227
+ @property
54228
+ def OutTraffic(self):
54229
+ """出流量,单位:`Byte`。
54230
+ :rtype: int
54231
+ """
54232
+ return self._OutTraffic
54233
+
54234
+ @OutTraffic.setter
54235
+ def OutTraffic(self, OutTraffic):
54236
+ self._OutTraffic = OutTraffic
54237
+
54238
+ @property
54239
+ def ConcurrentConnectionCount(self):
54240
+ """并发连接数。仅标准型nat支持此参数。
54241
+ :rtype: int
54242
+ """
54243
+ return self._ConcurrentConnectionCount
54244
+
54245
+ @ConcurrentConnectionCount.setter
54246
+ def ConcurrentConnectionCount(self, ConcurrentConnectionCount):
54247
+ self._ConcurrentConnectionCount = ConcurrentConnectionCount
54248
+
54249
+ @property
54250
+ def NewConnectionRate(self):
54251
+ """新建连接速率。仅标准型nat支持此参数。
54252
+ :rtype: int
54253
+ """
54254
+ return self._NewConnectionRate
54255
+
54256
+ @NewConnectionRate.setter
54257
+ def NewConnectionRate(self, NewConnectionRate):
54258
+ self._NewConnectionRate = NewConnectionRate
54259
+
54260
+
54261
+ def _deserialize(self, params):
54262
+ self._PrivateIpAddress = params.get("PrivateIpAddress")
54263
+ self._InPkg = params.get("InPkg")
54264
+ self._OutPkg = params.get("OutPkg")
54265
+ self._InTraffic = params.get("InTraffic")
54266
+ self._OutTraffic = params.get("OutTraffic")
54267
+ self._ConcurrentConnectionCount = params.get("ConcurrentConnectionCount")
54268
+ self._NewConnectionRate = params.get("NewConnectionRate")
54269
+ memeber_set = set(params.keys())
54270
+ for name, value in vars(self).items():
54271
+ property_name = name[1:]
54272
+ if property_name in memeber_set:
54273
+ memeber_set.remove(property_name)
54274
+ if len(memeber_set) > 0:
54275
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
54276
+
54277
+
54278
+
53979
54279
  class NatRegionInfoWithArea(AbstractModel):
53980
54280
  """NAT地域地区对象
53981
54281
 
@@ -4532,6 +4532,32 @@ class VpcClient(AbstractClient):
4532
4532
  raise TencentCloudSDKException(type(e).__name__, str(e))
4533
4533
 
4534
4534
 
4535
+ def DescribeNatGatewayFlowMonitorDetail(self, request):
4536
+ """本接口(DescribeNatGatewayFlowMonitorDetail)用于查询NAT网关流量监控明细。
4537
+
4538
+ - 只支持单个网关实例查询。即入参 `NatGatewayId` 最多只支持传一个,且必须传一个。
4539
+ - 如果网关有流量,但调用本接口没有返回数据,请在控制台对应网关详情页确认是否开启网关流量监控。
4540
+
4541
+ :param request: Request instance for DescribeNatGatewayFlowMonitorDetail.
4542
+ :type request: :class:`tencentcloud.vpc.v20170312.models.DescribeNatGatewayFlowMonitorDetailRequest`
4543
+ :rtype: :class:`tencentcloud.vpc.v20170312.models.DescribeNatGatewayFlowMonitorDetailResponse`
4544
+
4545
+ """
4546
+ try:
4547
+ params = request._serialize()
4548
+ headers = request.headers
4549
+ body = self.call("DescribeNatGatewayFlowMonitorDetail", params, headers=headers)
4550
+ response = json.loads(body)
4551
+ model = models.DescribeNatGatewayFlowMonitorDetailResponse()
4552
+ model._deserialize(response["Response"])
4553
+ return model
4554
+ except Exception as e:
4555
+ if isinstance(e, TencentCloudSDKException):
4556
+ raise
4557
+ else:
4558
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4559
+
4560
+
4535
4561
  def DescribeNatGatewaySourceIpTranslationNatRules(self, request):
4536
4562
  """本接口(DescribeNatGatewaySourceIpTranslationNatRules)用于查询NAT网关SNAT转发规则对象数组。
4537
4563
 
@@ -62791,6 +62791,9 @@ class ProjectUserRole(AbstractModel):
62791
62791
  :param _AppId: 租户iD
62792
62792
  注意:此字段可能返回 null,表示取不到有效值。
62793
62793
  :type AppId: str
62794
+ :param _IsProjectOwner: 是否项目负责人
62795
+ 注意:此字段可能返回 null,表示取不到有效值。
62796
+ :type IsProjectOwner: bool
62794
62797
  """
62795
62798
  self._Roles = None
62796
62799
  self._UserName = None
@@ -62803,6 +62806,7 @@ class ProjectUserRole(AbstractModel):
62803
62806
  self._Email = None
62804
62807
  self._OwnerUin = None
62805
62808
  self._AppId = None
62809
+ self._IsProjectOwner = None
62806
62810
 
62807
62811
  @property
62808
62812
  def Roles(self):
@@ -62936,6 +62940,18 @@ class ProjectUserRole(AbstractModel):
62936
62940
  def AppId(self, AppId):
62937
62941
  self._AppId = AppId
62938
62942
 
62943
+ @property
62944
+ def IsProjectOwner(self):
62945
+ """是否项目负责人
62946
+ 注意:此字段可能返回 null,表示取不到有效值。
62947
+ :rtype: bool
62948
+ """
62949
+ return self._IsProjectOwner
62950
+
62951
+ @IsProjectOwner.setter
62952
+ def IsProjectOwner(self, IsProjectOwner):
62953
+ self._IsProjectOwner = IsProjectOwner
62954
+
62939
62955
 
62940
62956
  def _deserialize(self, params):
62941
62957
  if params.get("Roles") is not None:
@@ -62954,6 +62970,7 @@ class ProjectUserRole(AbstractModel):
62954
62970
  self._Email = params.get("Email")
62955
62971
  self._OwnerUin = params.get("OwnerUin")
62956
62972
  self._AppId = params.get("AppId")
62973
+ self._IsProjectOwner = params.get("IsProjectOwner")
62957
62974
  memeber_set = set(params.keys())
62958
62975
  for name, value in vars(self).items():
62959
62976
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1352
3
+ Version: 3.0.1353
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud