tencentcloud-sdk-python-dbbrain 3.0.1208__tar.gz → 3.0.1261__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-dbbrain might be problematic. Click here for more details.

Files changed (20) hide show
  1. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/setup.py +1 -1
  3. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud/dbbrain/v20210527/models.py +212 -2
  5. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud_sdk_python_dbbrain.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-dbbrain-3.0.1261/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-dbbrain-3.0.1208/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/README.rst +0 -0
  9. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud/dbbrain/__init__.py +0 -0
  11. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud/dbbrain/v20191016/__init__.py +0 -0
  12. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud/dbbrain/v20191016/dbbrain_client.py +0 -0
  13. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud/dbbrain/v20191016/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud/dbbrain/v20191016/models.py +0 -0
  15. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud/dbbrain/v20210527/__init__.py +0 -0
  16. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud/dbbrain/v20210527/dbbrain_client.py +0 -0
  17. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud/dbbrain/v20210527/errorcodes.py +0 -0
  18. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud_sdk_python_dbbrain.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud_sdk_python_dbbrain.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-dbbrain-3.0.1208 → tencentcloud-sdk-python-dbbrain-3.0.1261}/tencentcloud_sdk_python_dbbrain.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-dbbrain
3
- Version: 3.0.1208
3
+ Version: 3.0.1261
4
4
  Summary: Tencent Cloud Dbbrain 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-dbbrain',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1208"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1261"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Dbbrain 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.1208'
17
+ __version__ = '3.0.1261'
@@ -5062,6 +5062,8 @@ class DescribeMySqlProcessListRequest(AbstractModel):
5062
5062
  :type Limit: int
5063
5063
  :param _Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
5064
5064
  :type Product: str
5065
+ :param _StatDimensions: 会话统计的维度信息,可以多个维度。
5066
+ :type StatDimensions: list of StatDimension
5065
5067
  """
5066
5068
  self._InstanceId = None
5067
5069
  self._ID = None
@@ -5074,6 +5076,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
5074
5076
  self._Info = None
5075
5077
  self._Limit = None
5076
5078
  self._Product = None
5079
+ self._StatDimensions = None
5077
5080
 
5078
5081
  @property
5079
5082
  def InstanceId(self):
@@ -5163,6 +5166,14 @@ class DescribeMySqlProcessListRequest(AbstractModel):
5163
5166
  def Product(self, Product):
5164
5167
  self._Product = Product
5165
5168
 
5169
+ @property
5170
+ def StatDimensions(self):
5171
+ return self._StatDimensions
5172
+
5173
+ @StatDimensions.setter
5174
+ def StatDimensions(self, StatDimensions):
5175
+ self._StatDimensions = StatDimensions
5176
+
5166
5177
 
5167
5178
  def _deserialize(self, params):
5168
5179
  self._InstanceId = params.get("InstanceId")
@@ -5176,6 +5187,12 @@ class DescribeMySqlProcessListRequest(AbstractModel):
5176
5187
  self._Info = params.get("Info")
5177
5188
  self._Limit = params.get("Limit")
5178
5189
  self._Product = params.get("Product")
5190
+ if params.get("StatDimensions") is not None:
5191
+ self._StatDimensions = []
5192
+ for item in params.get("StatDimensions"):
5193
+ obj = StatDimension()
5194
+ obj._deserialize(item)
5195
+ self._StatDimensions.append(obj)
5179
5196
  memeber_set = set(params.keys())
5180
5197
  for name, value in vars(self).items():
5181
5198
  property_name = name[1:]
@@ -5195,10 +5212,14 @@ class DescribeMySqlProcessListResponse(AbstractModel):
5195
5212
  r"""
5196
5213
  :param _ProcessList: 实时线程列表。
5197
5214
  :type ProcessList: list of MySqlProcess
5215
+ :param _Statistics: sql会话统计信息。
5216
+ 注意:此字段可能返回 null,表示取不到有效值。
5217
+ :type Statistics: list of StatisticInfo
5198
5218
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5199
5219
  :type RequestId: str
5200
5220
  """
5201
5221
  self._ProcessList = None
5222
+ self._Statistics = None
5202
5223
  self._RequestId = None
5203
5224
 
5204
5225
  @property
@@ -5209,6 +5230,14 @@ class DescribeMySqlProcessListResponse(AbstractModel):
5209
5230
  def ProcessList(self, ProcessList):
5210
5231
  self._ProcessList = ProcessList
5211
5232
 
5233
+ @property
5234
+ def Statistics(self):
5235
+ return self._Statistics
5236
+
5237
+ @Statistics.setter
5238
+ def Statistics(self, Statistics):
5239
+ self._Statistics = Statistics
5240
+
5212
5241
  @property
5213
5242
  def RequestId(self):
5214
5243
  return self._RequestId
@@ -5225,6 +5254,12 @@ class DescribeMySqlProcessListResponse(AbstractModel):
5225
5254
  obj = MySqlProcess()
5226
5255
  obj._deserialize(item)
5227
5256
  self._ProcessList.append(obj)
5257
+ if params.get("Statistics") is not None:
5258
+ self._Statistics = []
5259
+ for item in params.get("Statistics"):
5260
+ obj = StatisticInfo()
5261
+ obj._deserialize(item)
5262
+ self._Statistics.append(obj)
5228
5263
  self._RequestId = params.get("RequestId")
5229
5264
 
5230
5265
 
@@ -12442,10 +12477,10 @@ class SlowLogInfoItem(AbstractModel):
12442
12477
  注意:此字段可能返回 null,表示取不到有效值。
12443
12478
  :type UserHost: str
12444
12479
  :param _QueryTime: 执行时间,单位秒
12445
- :type QueryTime: int
12480
+ :type QueryTime: float
12446
12481
  :param _LockTime: 锁时间,单位秒
12447
12482
  注意:此字段可能返回 null,表示取不到有效值。
12448
- :type LockTime: int
12483
+ :type LockTime: float
12449
12484
  :param _RowsExamined: 扫描行数
12450
12485
  注意:此字段可能返回 null,表示取不到有效值。
12451
12486
  :type RowsExamined: int
@@ -12934,6 +12969,181 @@ class SlowLogUser(AbstractModel):
12934
12969
 
12935
12970
 
12936
12971
 
12972
+ class StatDimension(AbstractModel):
12973
+ """会话统计的维度信息,可以多个维度
12974
+
12975
+ """
12976
+
12977
+ def __init__(self):
12978
+ r"""
12979
+ :param _Dimension: 维度名称,目前仅支持:SqlTag。
12980
+ :type Dimension: str
12981
+ :param _Data: SQL 标签过滤与统计信息
12982
+ 示例:
12983
+
12984
+ 示例 1:[p=position] 统计包含 p=position 标签的 SQL 会话。
12985
+ 示例 2:[p] 统计包含 p 标签的 SQL 会话。
12986
+ 示例 3:[p=position, c=idCard] 统计同时包含 p=position 标签和 c=idCard 标签的 SQL 会话。
12987
+ :type Data: list of str
12988
+ """
12989
+ self._Dimension = None
12990
+ self._Data = None
12991
+
12992
+ @property
12993
+ def Dimension(self):
12994
+ return self._Dimension
12995
+
12996
+ @Dimension.setter
12997
+ def Dimension(self, Dimension):
12998
+ self._Dimension = Dimension
12999
+
13000
+ @property
13001
+ def Data(self):
13002
+ return self._Data
13003
+
13004
+ @Data.setter
13005
+ def Data(self, Data):
13006
+ self._Data = Data
13007
+
13008
+
13009
+ def _deserialize(self, params):
13010
+ self._Dimension = params.get("Dimension")
13011
+ self._Data = params.get("Data")
13012
+ memeber_set = set(params.keys())
13013
+ for name, value in vars(self).items():
13014
+ property_name = name[1:]
13015
+ if property_name in memeber_set:
13016
+ memeber_set.remove(property_name)
13017
+ if len(memeber_set) > 0:
13018
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13019
+
13020
+
13021
+
13022
+ class StatisticDataInfo(AbstractModel):
13023
+ """统计分析维度下的统计数据详情
13024
+
13025
+ """
13026
+
13027
+ def __init__(self):
13028
+ r"""
13029
+ :param _Name: 统计维度的值。
13030
+ 注意:此字段可能返回 null,表示取不到有效值。
13031
+ :type Name: str
13032
+ :param _TimeAvg: 平均时间。
13033
+ 注意:此字段可能返回 null,表示取不到有效值。
13034
+ :type TimeAvg: float
13035
+ :param _TimeSum: 总时间。
13036
+ 注意:此字段可能返回 null,表示取不到有效值。
13037
+ :type TimeSum: float
13038
+ :param _Count: 数量。
13039
+ 注意:此字段可能返回 null,表示取不到有效值。
13040
+ :type Count: int
13041
+ """
13042
+ self._Name = None
13043
+ self._TimeAvg = None
13044
+ self._TimeSum = None
13045
+ self._Count = None
13046
+
13047
+ @property
13048
+ def Name(self):
13049
+ return self._Name
13050
+
13051
+ @Name.setter
13052
+ def Name(self, Name):
13053
+ self._Name = Name
13054
+
13055
+ @property
13056
+ def TimeAvg(self):
13057
+ return self._TimeAvg
13058
+
13059
+ @TimeAvg.setter
13060
+ def TimeAvg(self, TimeAvg):
13061
+ self._TimeAvg = TimeAvg
13062
+
13063
+ @property
13064
+ def TimeSum(self):
13065
+ return self._TimeSum
13066
+
13067
+ @TimeSum.setter
13068
+ def TimeSum(self, TimeSum):
13069
+ self._TimeSum = TimeSum
13070
+
13071
+ @property
13072
+ def Count(self):
13073
+ return self._Count
13074
+
13075
+ @Count.setter
13076
+ def Count(self, Count):
13077
+ self._Count = Count
13078
+
13079
+
13080
+ def _deserialize(self, params):
13081
+ self._Name = params.get("Name")
13082
+ self._TimeAvg = params.get("TimeAvg")
13083
+ self._TimeSum = params.get("TimeSum")
13084
+ self._Count = params.get("Count")
13085
+ memeber_set = set(params.keys())
13086
+ for name, value in vars(self).items():
13087
+ property_name = name[1:]
13088
+ if property_name in memeber_set:
13089
+ memeber_set.remove(property_name)
13090
+ if len(memeber_set) > 0:
13091
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13092
+
13093
+
13094
+
13095
+ class StatisticInfo(AbstractModel):
13096
+ """sql会话统计信息
13097
+
13098
+ """
13099
+
13100
+ def __init__(self):
13101
+ r"""
13102
+ :param _Dimension: 统计分析的维度。
13103
+ 注意:此字段可能返回 null,表示取不到有效值。
13104
+ :type Dimension: str
13105
+ :param _Data: 统计分析的维度下的统计数据详情。
13106
+ 注意:此字段可能返回 null,表示取不到有效值。
13107
+ :type Data: list of StatisticDataInfo
13108
+ """
13109
+ self._Dimension = None
13110
+ self._Data = None
13111
+
13112
+ @property
13113
+ def Dimension(self):
13114
+ return self._Dimension
13115
+
13116
+ @Dimension.setter
13117
+ def Dimension(self, Dimension):
13118
+ self._Dimension = Dimension
13119
+
13120
+ @property
13121
+ def Data(self):
13122
+ return self._Data
13123
+
13124
+ @Data.setter
13125
+ def Data(self, Data):
13126
+ self._Data = Data
13127
+
13128
+
13129
+ def _deserialize(self, params):
13130
+ self._Dimension = params.get("Dimension")
13131
+ if params.get("Data") is not None:
13132
+ self._Data = []
13133
+ for item in params.get("Data"):
13134
+ obj = StatisticDataInfo()
13135
+ obj._deserialize(item)
13136
+ self._Data.append(obj)
13137
+ memeber_set = set(params.keys())
13138
+ for name, value in vars(self).items():
13139
+ property_name = name[1:]
13140
+ if property_name in memeber_set:
13141
+ memeber_set.remove(property_name)
13142
+ if len(memeber_set) > 0:
13143
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13144
+
13145
+
13146
+
12937
13147
  class Table(AbstractModel):
12938
13148
  """表结构。
12939
13149
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-dbbrain
3
- Version: 3.0.1208
3
+ Version: 3.0.1261
4
4
  Summary: Tencent Cloud Dbbrain 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.1261
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1208