tencentcloud-sdk-python-dbbrain 3.0.908__tar.gz → 3.0.922__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 (18) hide show
  1. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/tencentcloud/__init__.py +1 -1
  3. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/tencentcloud/dbbrain/v20191016/models.py +78 -0
  4. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/tencentcloud/dbbrain/v20210527/models.py +80 -17
  5. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/tencentcloud_sdk_python_dbbrain.egg-info/PKG-INFO +1 -1
  6. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/README.rst +0 -0
  7. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/setup.cfg +0 -0
  8. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/setup.py +0 -0
  9. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/tencentcloud/dbbrain/__init__.py +0 -0
  10. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/tencentcloud/dbbrain/v20191016/__init__.py +0 -0
  11. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/tencentcloud/dbbrain/v20191016/dbbrain_client.py +0 -0
  12. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/tencentcloud/dbbrain/v20191016/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/tencentcloud/dbbrain/v20210527/__init__.py +0 -0
  14. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/tencentcloud/dbbrain/v20210527/dbbrain_client.py +0 -0
  15. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/tencentcloud/dbbrain/v20210527/errorcodes.py +0 -0
  16. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/tencentcloud_sdk_python_dbbrain.egg-info/SOURCES.txt +0 -0
  17. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/tencentcloud_sdk_python_dbbrain.egg-info/dependency_links.txt +0 -0
  18. {tencentcloud-sdk-python-dbbrain-3.0.908 → tencentcloud-sdk-python-dbbrain-3.0.922}/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.908
3
+ Version: 3.0.922
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
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.908'
17
+ __version__ = '3.0.922'
@@ -1429,11 +1429,17 @@ class DescribeSlowLogUserHostStatsResponse(AbstractModel):
1429
1429
  :type TotalCount: int
1430
1430
  :param Items: 各来源地址的慢日志占比详情列表。
1431
1431
  :type Items: list of SlowLogHost
1432
+ :param UserNameItems: 各来源用户名的慢日志占比详情列表。
1433
+ :type UserNameItems: list of SlowLogUser
1434
+ :param UserTotalCount: 来源用户数目。
1435
+ :type UserTotalCount: int
1432
1436
  :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1433
1437
  :type RequestId: str
1434
1438
  """
1435
1439
  self.TotalCount = None
1436
1440
  self.Items = None
1441
+ self.UserNameItems = None
1442
+ self.UserTotalCount = None
1437
1443
  self.RequestId = None
1438
1444
 
1439
1445
 
@@ -1445,6 +1451,13 @@ class DescribeSlowLogUserHostStatsResponse(AbstractModel):
1445
1451
  obj = SlowLogHost()
1446
1452
  obj._deserialize(item)
1447
1453
  self.Items.append(obj)
1454
+ if params.get("UserNameItems") is not None:
1455
+ self.UserNameItems = []
1456
+ for item in params.get("UserNameItems"):
1457
+ obj = SlowLogUser()
1458
+ obj._deserialize(item)
1459
+ self.UserNameItems.append(obj)
1460
+ self.UserTotalCount = params.get("UserTotalCount")
1448
1461
  self.RequestId = params.get("RequestId")
1449
1462
 
1450
1463
 
@@ -2142,14 +2155,19 @@ class InstanceConfs(AbstractModel):
2142
2155
  :type DailyInspection: str
2143
2156
  :param OverviewDisplay: 实例概览开关,Yes/No。
2144
2157
  :type OverviewDisplay: str
2158
+ :param KeyDelimiters: redis大key分析的自定义分割符,仅redis使用
2159
+ 注意:此字段可能返回 null,表示取不到有效值。
2160
+ :type KeyDelimiters: list of str
2145
2161
  """
2146
2162
  self.DailyInspection = None
2147
2163
  self.OverviewDisplay = None
2164
+ self.KeyDelimiters = None
2148
2165
 
2149
2166
 
2150
2167
  def _deserialize(self, params):
2151
2168
  self.DailyInspection = params.get("DailyInspection")
2152
2169
  self.OverviewDisplay = params.get("OverviewDisplay")
2170
+ self.KeyDelimiters = params.get("KeyDelimiters")
2153
2171
  memeber_set = set(params.keys())
2154
2172
  for name, value in vars(self).items():
2155
2173
  if name in memeber_set:
@@ -2222,6 +2240,20 @@ class InstanceInfo(AbstractModel):
2222
2240
  :type AuditPolicyStatus: str
2223
2241
  :param AuditRunningStatus: 实例审计日志运行状态:normal: 运行中; paused: 欠费暂停。
2224
2242
  :type AuditRunningStatus: str
2243
+ :param InternalVip: 内网vip。
2244
+ 注意:此字段可能返回 null,表示取不到有效值。
2245
+ :type InternalVip: str
2246
+ :param InternalVport: 内网port。
2247
+ 注意:此字段可能返回 null,表示取不到有效值。
2248
+ :type InternalVport: int
2249
+ :param CreateTime: 创建时间。
2250
+ :type CreateTime: str
2251
+ :param ClusterId: 所属集群ID(仅对集群数据库产品该字段非空,如TDSQL-C)。
2252
+ 注意:此字段可能返回 null,表示取不到有效值。
2253
+ :type ClusterId: str
2254
+ :param ClusterName: 所属集群名称(仅对集群数据库产品该字段非空,如TDSQL-C)。
2255
+ 注意:此字段可能返回 null,表示取不到有效值。
2256
+ :type ClusterName: str
2225
2257
  """
2226
2258
  self.InstanceId = None
2227
2259
  self.InstanceName = None
@@ -2251,6 +2283,11 @@ class InstanceInfo(AbstractModel):
2251
2283
  self.SecAuditStatus = None
2252
2284
  self.AuditPolicyStatus = None
2253
2285
  self.AuditRunningStatus = None
2286
+ self.InternalVip = None
2287
+ self.InternalVport = None
2288
+ self.CreateTime = None
2289
+ self.ClusterId = None
2290
+ self.ClusterName = None
2254
2291
 
2255
2292
 
2256
2293
  def _deserialize(self, params):
@@ -2284,6 +2321,11 @@ class InstanceInfo(AbstractModel):
2284
2321
  self.SecAuditStatus = params.get("SecAuditStatus")
2285
2322
  self.AuditPolicyStatus = params.get("AuditPolicyStatus")
2286
2323
  self.AuditRunningStatus = params.get("AuditRunningStatus")
2324
+ self.InternalVip = params.get("InternalVip")
2325
+ self.InternalVport = params.get("InternalVport")
2326
+ self.CreateTime = params.get("CreateTime")
2327
+ self.ClusterId = params.get("ClusterId")
2328
+ self.ClusterName = params.get("ClusterName")
2287
2329
  memeber_set = set(params.keys())
2288
2330
  for name, value in vars(self).items():
2289
2331
  if name in memeber_set:
@@ -2929,6 +2971,8 @@ class SlowLogTopSqlItem(AbstractModel):
2929
2971
  :type LockTimeAvg: float
2930
2972
  :param RowsExaminedAvg: 平均扫描行数
2931
2973
  :type RowsExaminedAvg: float
2974
+ :param Md5: SOL模板的MD5值
2975
+ :type Md5: str
2932
2976
  """
2933
2977
  self.LockTime = None
2934
2978
  self.LockTimeMax = None
@@ -2954,6 +2998,7 @@ class SlowLogTopSqlItem(AbstractModel):
2954
2998
  self.RowsSentAvg = None
2955
2999
  self.LockTimeAvg = None
2956
3000
  self.RowsExaminedAvg = None
3001
+ self.Md5 = None
2957
3002
 
2958
3003
 
2959
3004
  def _deserialize(self, params):
@@ -2981,6 +3026,39 @@ class SlowLogTopSqlItem(AbstractModel):
2981
3026
  self.RowsSentAvg = params.get("RowsSentAvg")
2982
3027
  self.LockTimeAvg = params.get("LockTimeAvg")
2983
3028
  self.RowsExaminedAvg = params.get("RowsExaminedAvg")
3029
+ self.Md5 = params.get("Md5")
3030
+ memeber_set = set(params.keys())
3031
+ for name, value in vars(self).items():
3032
+ if name in memeber_set:
3033
+ memeber_set.remove(name)
3034
+ if len(memeber_set) > 0:
3035
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3036
+
3037
+
3038
+
3039
+ class SlowLogUser(AbstractModel):
3040
+ """慢日志来源用户详情。
3041
+
3042
+ """
3043
+
3044
+ def __init__(self):
3045
+ r"""
3046
+ :param UserName: 来源用户名。
3047
+ :type UserName: str
3048
+ :param Ratio: 该来源用户名的慢日志数目占总数目的比例,单位%。
3049
+ :type Ratio: float
3050
+ :param Count: 该来源用户名的慢日志数目。
3051
+ :type Count: int
3052
+ """
3053
+ self.UserName = None
3054
+ self.Ratio = None
3055
+ self.Count = None
3056
+
3057
+
3058
+ def _deserialize(self, params):
3059
+ self.UserName = params.get("UserName")
3060
+ self.Ratio = params.get("Ratio")
3061
+ self.Count = params.get("Count")
2984
3062
  memeber_set = set(params.keys())
2985
3063
  for name, value in vars(self).items():
2986
3064
  if name in memeber_set:
@@ -770,8 +770,6 @@ class CreateSqlFilterRequest(AbstractModel):
770
770
  r"""
771
771
  :param InstanceId: 实例ID。
772
772
  :type InstanceId: str
773
- :param SessionToken: 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
774
- :type SessionToken: str
775
773
  :param SqlType: SQL类型,取值包括SELECT, UPDATE, DELETE, INSERT, REPLACE。
776
774
  :type SqlType: str
777
775
  :param FilterKey: 关键字,用于筛选SQL语句,多个关键字用英文逗号分隔,逗号不能作为关键词,多个关键词之间的关系为“逻辑与”。
@@ -780,25 +778,27 @@ class CreateSqlFilterRequest(AbstractModel):
780
778
  :type MaxConcurrency: int
781
779
  :param Duration: 限流时长,单位秒,支持-1和小于2147483647的正整数,-1表示永不过期。
782
780
  :type Duration: int
781
+ :param SessionToken: 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
782
+ :type SessionToken: str
783
783
  :param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
784
784
  :type Product: str
785
785
  """
786
786
  self.InstanceId = None
787
- self.SessionToken = None
788
787
  self.SqlType = None
789
788
  self.FilterKey = None
790
789
  self.MaxConcurrency = None
791
790
  self.Duration = None
791
+ self.SessionToken = None
792
792
  self.Product = None
793
793
 
794
794
 
795
795
  def _deserialize(self, params):
796
796
  self.InstanceId = params.get("InstanceId")
797
- self.SessionToken = params.get("SessionToken")
798
797
  self.SqlType = params.get("SqlType")
799
798
  self.FilterKey = params.get("FilterKey")
800
799
  self.MaxConcurrency = params.get("MaxConcurrency")
801
800
  self.Duration = params.get("Duration")
801
+ self.SessionToken = params.get("SessionToken")
802
802
  self.Product = params.get("Product")
803
803
  memeber_set = set(params.keys())
804
804
  for name, value in vars(self).items():
@@ -994,23 +994,23 @@ class DeleteSqlFiltersRequest(AbstractModel):
994
994
  r"""
995
995
  :param InstanceId: 实例ID。
996
996
  :type InstanceId: str
997
- :param SessionToken: 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
998
- :type SessionToken: str
999
997
  :param FilterIds: 限流任务ID列表。
1000
998
  :type FilterIds: list of int
999
+ :param SessionToken: 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
1000
+ :type SessionToken: str
1001
1001
  :param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
1002
1002
  :type Product: str
1003
1003
  """
1004
1004
  self.InstanceId = None
1005
- self.SessionToken = None
1006
1005
  self.FilterIds = None
1006
+ self.SessionToken = None
1007
1007
  self.Product = None
1008
1008
 
1009
1009
 
1010
1010
  def _deserialize(self, params):
1011
1011
  self.InstanceId = params.get("InstanceId")
1012
- self.SessionToken = params.get("SessionToken")
1013
1012
  self.FilterIds = params.get("FilterIds")
1013
+ self.SessionToken = params.get("SessionToken")
1014
1014
  self.Product = params.get("Product")
1015
1015
  memeber_set = set(params.keys())
1016
1016
  for name, value in vars(self).items():
@@ -2564,7 +2564,7 @@ class DescribeSlowLogUserHostStatsRequest(AbstractModel):
2564
2564
  :type EndTime: str
2565
2565
  :param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
2566
2566
  :type Product: str
2567
- :param Md5: SOL模板的MD5值
2567
+ :param Md5: SQL模板的MD5值
2568
2568
  :type Md5: str
2569
2569
  """
2570
2570
  self.InstanceId = None
@@ -2600,11 +2600,17 @@ class DescribeSlowLogUserHostStatsResponse(AbstractModel):
2600
2600
  :type TotalCount: int
2601
2601
  :param Items: 各来源地址的慢日志占比详情列表。
2602
2602
  :type Items: list of SlowLogHost
2603
+ :param UserNameItems: 各来源用户名的慢日志占比详情列表。
2604
+ :type UserNameItems: list of SlowLogUser
2605
+ :param UserTotalCount: 来源用户数目。
2606
+ :type UserTotalCount: int
2603
2607
  :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2604
2608
  :type RequestId: str
2605
2609
  """
2606
2610
  self.TotalCount = None
2607
2611
  self.Items = None
2612
+ self.UserNameItems = None
2613
+ self.UserTotalCount = None
2608
2614
  self.RequestId = None
2609
2615
 
2610
2616
 
@@ -2616,6 +2622,13 @@ class DescribeSlowLogUserHostStatsResponse(AbstractModel):
2616
2622
  obj = SlowLogHost()
2617
2623
  obj._deserialize(item)
2618
2624
  self.Items.append(obj)
2625
+ if params.get("UserNameItems") is not None:
2626
+ self.UserNameItems = []
2627
+ for item in params.get("UserNameItems"):
2628
+ obj = SlowLogUser()
2629
+ obj._deserialize(item)
2630
+ self.UserNameItems.append(obj)
2631
+ self.UserTotalCount = params.get("UserTotalCount")
2619
2632
  self.RequestId = params.get("RequestId")
2620
2633
 
2621
2634
 
@@ -3645,14 +3658,20 @@ class InstanceInfo(AbstractModel):
3645
3658
  :type AuditPolicyStatus: str
3646
3659
  :param AuditRunningStatus: 实例审计日志运行状态:normal: 运行中; paused: 欠费暂停。
3647
3660
  :type AuditRunningStatus: str
3648
- :param InternalVip: 内网vip
3661
+ :param InternalVip: 内网vip
3649
3662
  注意:此字段可能返回 null,表示取不到有效值。
3650
3663
  :type InternalVip: str
3651
- :param InternalVport: 内网port
3664
+ :param InternalVport: 内网port
3652
3665
  注意:此字段可能返回 null,表示取不到有效值。
3653
3666
  :type InternalVport: int
3654
- :param CreateTime: 创建时间
3667
+ :param CreateTime: 创建时间。
3655
3668
  :type CreateTime: str
3669
+ :param ClusterId: 所属集群ID(仅对集群数据库产品该字段非空,如TDSQL-C)。
3670
+ 注意:此字段可能返回 null,表示取不到有效值。
3671
+ :type ClusterId: str
3672
+ :param ClusterName: 所属集群名称(仅对集群数据库产品该字段非空,如TDSQL-C)。
3673
+ 注意:此字段可能返回 null,表示取不到有效值。
3674
+ :type ClusterName: str
3656
3675
  """
3657
3676
  self.InstanceId = None
3658
3677
  self.InstanceName = None
@@ -3685,6 +3704,8 @@ class InstanceInfo(AbstractModel):
3685
3704
  self.InternalVip = None
3686
3705
  self.InternalVport = None
3687
3706
  self.CreateTime = None
3707
+ self.ClusterId = None
3708
+ self.ClusterName = None
3688
3709
 
3689
3710
 
3690
3711
  def _deserialize(self, params):
@@ -3721,6 +3742,8 @@ class InstanceInfo(AbstractModel):
3721
3742
  self.InternalVip = params.get("InternalVip")
3722
3743
  self.InternalVport = params.get("InternalVport")
3723
3744
  self.CreateTime = params.get("CreateTime")
3745
+ self.ClusterId = params.get("ClusterId")
3746
+ self.ClusterName = params.get("ClusterName")
3724
3747
  memeber_set = set(params.keys())
3725
3748
  for name, value in vars(self).items():
3726
3749
  if name in memeber_set:
@@ -3941,27 +3964,27 @@ class ModifySqlFiltersRequest(AbstractModel):
3941
3964
  r"""
3942
3965
  :param InstanceId: 实例ID。
3943
3966
  :type InstanceId: str
3944
- :param SessionToken: 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
3945
- :type SessionToken: str
3946
3967
  :param FilterIds: SQL限流任务ID列表。
3947
3968
  :type FilterIds: list of int
3948
3969
  :param Status: 限流任务状态,取值支持TERMINATED - 终止。
3949
3970
  :type Status: str
3971
+ :param SessionToken: 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
3972
+ :type SessionToken: str
3950
3973
  :param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
3951
3974
  :type Product: str
3952
3975
  """
3953
3976
  self.InstanceId = None
3954
- self.SessionToken = None
3955
3977
  self.FilterIds = None
3956
3978
  self.Status = None
3979
+ self.SessionToken = None
3957
3980
  self.Product = None
3958
3981
 
3959
3982
 
3960
3983
  def _deserialize(self, params):
3961
3984
  self.InstanceId = params.get("InstanceId")
3962
- self.SessionToken = params.get("SessionToken")
3963
3985
  self.FilterIds = params.get("FilterIds")
3964
3986
  self.Status = params.get("Status")
3987
+ self.SessionToken = params.get("SessionToken")
3965
3988
  self.Product = params.get("Product")
3966
3989
  memeber_set = set(params.keys())
3967
3990
  for name, value in vars(self).items():
@@ -4261,6 +4284,10 @@ class RedisKeySpaceData(AbstractModel):
4261
4284
  :type ItemCount: int
4262
4285
  :param MaxElementSize: 最大元素长度。
4263
4286
  :type MaxElementSize: int
4287
+ :param AveElementSize: 平均元素长度。
4288
+ :type AveElementSize: int
4289
+ :param ShardId: 所属分片序号。
4290
+ :type ShardId: str
4264
4291
  """
4265
4292
  self.Key = None
4266
4293
  self.Type = None
@@ -4269,6 +4296,8 @@ class RedisKeySpaceData(AbstractModel):
4269
4296
  self.Length = None
4270
4297
  self.ItemCount = None
4271
4298
  self.MaxElementSize = None
4299
+ self.AveElementSize = None
4300
+ self.ShardId = None
4272
4301
 
4273
4302
 
4274
4303
  def _deserialize(self, params):
@@ -4279,6 +4308,8 @@ class RedisKeySpaceData(AbstractModel):
4279
4308
  self.Length = params.get("Length")
4280
4309
  self.ItemCount = params.get("ItemCount")
4281
4310
  self.MaxElementSize = params.get("MaxElementSize")
4311
+ self.AveElementSize = params.get("AveElementSize")
4312
+ self.ShardId = params.get("ShardId")
4282
4313
  memeber_set = set(params.keys())
4283
4314
  for name, value in vars(self).items():
4284
4315
  if name in memeber_set:
@@ -4831,7 +4862,7 @@ class SlowLogTopSqlItem(AbstractModel):
4831
4862
  :type LockTimeAvg: float
4832
4863
  :param RowsExaminedAvg: 平均扫描行数
4833
4864
  :type RowsExaminedAvg: float
4834
- :param Md5: SOL模板的MD5值
4865
+ :param Md5: SQL模板的MD5值
4835
4866
  :type Md5: str
4836
4867
  """
4837
4868
  self.LockTime = None
@@ -4896,6 +4927,38 @@ class SlowLogTopSqlItem(AbstractModel):
4896
4927
 
4897
4928
 
4898
4929
 
4930
+ class SlowLogUser(AbstractModel):
4931
+ """慢日志来源用户详情。
4932
+
4933
+ """
4934
+
4935
+ def __init__(self):
4936
+ r"""
4937
+ :param UserName: 来源用户名。
4938
+ :type UserName: str
4939
+ :param Ratio: 该来源用户名的慢日志数目占总数目的比例,单位%。
4940
+ :type Ratio: float
4941
+ :param Count: 该来源用户名的慢日志数目。
4942
+ :type Count: int
4943
+ """
4944
+ self.UserName = None
4945
+ self.Ratio = None
4946
+ self.Count = None
4947
+
4948
+
4949
+ def _deserialize(self, params):
4950
+ self.UserName = params.get("UserName")
4951
+ self.Ratio = params.get("Ratio")
4952
+ self.Count = params.get("Count")
4953
+ memeber_set = set(params.keys())
4954
+ for name, value in vars(self).items():
4955
+ if name in memeber_set:
4956
+ memeber_set.remove(name)
4957
+ if len(memeber_set) > 0:
4958
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4959
+
4960
+
4961
+
4899
4962
  class Table(AbstractModel):
4900
4963
  """表结构。
4901
4964
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-dbbrain
3
- Version: 3.0.908
3
+ Version: 3.0.922
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