tencentcloud-sdk-dbbrain 3.0.589 → 3.0.591

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.
@@ -27,7 +27,7 @@ module TencentCloud
27
27
  # @type Product: String
28
28
 
29
29
  attr_accessor :Name, :ContactInfo, :Product
30
-
30
+
31
31
  def initialize(name=nil, contactinfo=nil, product=nil)
32
32
  @Name = name
33
33
  @ContactInfo = contactinfo
@@ -49,7 +49,7 @@ module TencentCloud
49
49
  # @type RequestId: String
50
50
 
51
51
  attr_accessor :Id, :RequestId
52
-
52
+
53
53
  def initialize(id=nil, requestid=nil)
54
54
  @Id = id
55
55
  @RequestId = requestid
@@ -71,7 +71,7 @@ module TencentCloud
71
71
  # @type Mail: String
72
72
 
73
73
  attr_accessor :Id, :Name, :Mail
74
-
74
+
75
75
  def initialize(id=nil, name=nil, mail=nil)
76
76
  @Id = id
77
77
  @Name = name
@@ -103,7 +103,7 @@ module TencentCloud
103
103
  # @type Product: String
104
104
 
105
105
  attr_accessor :InstanceId, :StartTime, :EndTime, :SendMailFlag, :ContactPerson, :ContactGroup, :Product
106
-
106
+
107
107
  def initialize(instanceid=nil, starttime=nil, endtime=nil, sendmailflag=nil, contactperson=nil, contactgroup=nil, product=nil)
108
108
  @InstanceId = instanceid
109
109
  @StartTime = starttime
@@ -134,7 +134,7 @@ module TencentCloud
134
134
  # @type RequestId: String
135
135
 
136
136
  attr_accessor :AsyncRequestId, :RequestId
137
-
137
+
138
138
  def initialize(asyncrequestid=nil, requestid=nil)
139
139
  @AsyncRequestId = asyncrequestid
140
140
  @RequestId = requestid
@@ -156,7 +156,7 @@ module TencentCloud
156
156
  # @type Product: String
157
157
 
158
158
  attr_accessor :InstanceId, :AsyncRequestId, :Product
159
-
159
+
160
160
  def initialize(instanceid=nil, asyncrequestid=nil, product=nil)
161
161
  @InstanceId = instanceid
162
162
  @AsyncRequestId = asyncrequestid
@@ -180,7 +180,7 @@ module TencentCloud
180
180
  # @type RequestId: String
181
181
 
182
182
  attr_accessor :ReportUrl, :ExpireTime, :RequestId
183
-
183
+
184
184
  def initialize(reporturl=nil, expiretime=nil, requestid=nil)
185
185
  @ReportUrl = reporturl
186
186
  @ExpireTime = expiretime
@@ -210,7 +210,7 @@ module TencentCloud
210
210
  # @type BindInstanceIds: Array
211
211
 
212
212
  attr_accessor :ProfileInfo, :ProfileLevel, :ProfileName, :ProfileType, :Product, :BindInstanceIds
213
-
213
+
214
214
  def initialize(profileinfo=nil, profilelevel=nil, profilename=nil, profiletype=nil, product=nil, bindinstanceids=nil)
215
215
  @ProfileInfo = profileinfo
216
216
  @ProfileLevel = profilelevel
@@ -239,7 +239,7 @@ module TencentCloud
239
239
  # @type RequestId: String
240
240
 
241
241
  attr_accessor :RequestId
242
-
242
+
243
243
  def initialize(requestid=nil)
244
244
  @RequestId = requestid
245
245
  end
@@ -263,7 +263,7 @@ module TencentCloud
263
263
  # @type Product: String
264
264
 
265
265
  attr_accessor :WeekConfiguration, :ProfileInfo, :ProfileName, :BindInstanceId, :Product
266
-
266
+
267
267
  def initialize(weekconfiguration=nil, profileinfo=nil, profilename=nil, bindinstanceid=nil, product=nil)
268
268
  @WeekConfiguration = weekconfiguration
269
269
  @ProfileInfo = profileinfo
@@ -290,7 +290,7 @@ module TencentCloud
290
290
  # @type RequestId: String
291
291
 
292
292
  attr_accessor :RequestId
293
-
293
+
294
294
  def initialize(requestid=nil)
295
295
  @RequestId = requestid
296
296
  end
@@ -314,7 +314,7 @@ module TencentCloud
314
314
  # @type DangerLevels: Array
315
315
 
316
316
  attr_accessor :SecAuditGroupId, :StartTime, :EndTime, :Product, :DangerLevels
317
-
317
+
318
318
  def initialize(secauditgroupid=nil, starttime=nil, endtime=nil, product=nil, dangerlevels=nil)
319
319
  @SecAuditGroupId = secauditgroupid
320
320
  @StartTime = starttime
@@ -340,7 +340,7 @@ module TencentCloud
340
340
  # @type RequestId: String
341
341
 
342
342
  attr_accessor :AsyncRequestId, :RequestId
343
-
343
+
344
344
  def initialize(asyncrequestid=nil, requestid=nil)
345
345
  @AsyncRequestId = asyncrequestid
346
346
  @RequestId = requestid
@@ -362,7 +362,7 @@ module TencentCloud
362
362
  # @type Product: String
363
363
 
364
364
  attr_accessor :SecAuditGroupId, :AsyncRequestIds, :Product
365
-
365
+
366
366
  def initialize(secauditgroupid=nil, asyncrequestids=nil, product=nil)
367
367
  @SecAuditGroupId = secauditgroupid
368
368
  @AsyncRequestIds = asyncrequestids
@@ -382,7 +382,7 @@ module TencentCloud
382
382
  # @type RequestId: String
383
383
 
384
384
  attr_accessor :RequestId
385
-
385
+
386
386
  def initialize(requestid=nil)
387
387
  @RequestId = requestid
388
388
  end
@@ -400,7 +400,7 @@ module TencentCloud
400
400
  # @type Names: Array
401
401
 
402
402
  attr_accessor :Product, :Names
403
-
403
+
404
404
  def initialize(product=nil, names=nil)
405
405
  @Product = product
406
406
  @Names = names
@@ -423,7 +423,7 @@ module TencentCloud
423
423
  # @type RequestId: String
424
424
 
425
425
  attr_accessor :TotalCount, :Contacts, :RequestId
426
-
426
+
427
427
  def initialize(totalcount=nil, contacts=nil, requestid=nil)
428
428
  @TotalCount = totalcount
429
429
  @Contacts = contacts
@@ -452,7 +452,7 @@ module TencentCloud
452
452
  # @type Names: Array
453
453
 
454
454
  attr_accessor :Product, :Names
455
-
455
+
456
456
  def initialize(product=nil, names=nil)
457
457
  @Product = product
458
458
  @Names = names
@@ -475,7 +475,7 @@ module TencentCloud
475
475
  # @type RequestId: String
476
476
 
477
477
  attr_accessor :TotalCount, :Groups, :RequestId
478
-
478
+
479
479
  def initialize(totalcount=nil, groups=nil, requestid=nil)
480
480
  @TotalCount = totalcount
481
481
  @Groups = groups
@@ -506,7 +506,7 @@ module TencentCloud
506
506
  # @type Product: String
507
507
 
508
508
  attr_accessor :InstanceId, :EventId, :Product
509
-
509
+
510
510
  def initialize(instanceid=nil, eventid=nil, product=nil)
511
511
  @InstanceId = instanceid
512
512
  @EventId = eventid
@@ -549,7 +549,7 @@ module TencentCloud
549
549
  # @type RequestId: String
550
550
 
551
551
  attr_accessor :DiagItem, :DiagType, :EventId, :Explanation, :Outline, :Problem, :Severity, :StartTime, :Suggestions, :Metric, :EndTime, :RequestId
552
-
552
+
553
553
  def initialize(diagitem=nil, diagtype=nil, eventid=nil, explanation=nil, outline=nil, problem=nil, severity=nil, starttime=nil, suggestions=nil, metric=nil, endtime=nil, requestid=nil)
554
554
  @DiagItem = diagitem
555
555
  @DiagType = diagtype
@@ -593,7 +593,7 @@ module TencentCloud
593
593
  # @type Product: String
594
594
 
595
595
  attr_accessor :InstanceId, :StartTime, :EndTime, :Product
596
-
596
+
597
597
  def initialize(instanceid=nil, starttime=nil, endtime=nil, product=nil)
598
598
  @InstanceId = instanceid
599
599
  @StartTime = starttime
@@ -617,7 +617,7 @@ module TencentCloud
617
617
  # @type RequestId: String
618
618
 
619
619
  attr_accessor :Events, :RequestId
620
-
620
+
621
621
  def initialize(events=nil, requestid=nil)
622
622
  @Events = events
623
623
  @RequestId = requestid
@@ -658,7 +658,7 @@ module TencentCloud
658
658
  # @type Product: String
659
659
 
660
660
  attr_accessor :StartTime, :EndTime, :InstanceIds, :Sources, :HealthLevels, :TaskStatuses, :Offset, :Limit, :Product
661
-
661
+
662
662
  def initialize(starttime=nil, endtime=nil, instanceids=nil, sources=nil, healthlevels=nil, taskstatuses=nil, offset=nil, limit=nil, product=nil)
663
663
  @StartTime = starttime
664
664
  @EndTime = endtime
@@ -694,7 +694,7 @@ module TencentCloud
694
694
  # @type RequestId: String
695
695
 
696
696
  attr_accessor :TotalCount, :Tasks, :RequestId
697
-
697
+
698
698
  def initialize(totalcount=nil, tasks=nil, requestid=nil)
699
699
  @TotalCount = totalcount
700
700
  @Tasks = tasks
@@ -725,7 +725,7 @@ module TencentCloud
725
725
  # @type Product: String
726
726
 
727
727
  attr_accessor :InstanceId, :RangeDays, :Product
728
-
728
+
729
729
  def initialize(instanceid=nil, rangedays=nil, product=nil)
730
730
  @InstanceId = instanceid
731
731
  @RangeDays = rangedays
@@ -753,7 +753,7 @@ module TencentCloud
753
753
  # @type RequestId: String
754
754
 
755
755
  attr_accessor :Growth, :Remain, :Total, :AvailableDays, :RequestId
756
-
756
+
757
757
  def initialize(growth=nil, remain=nil, total=nil, availabledays=nil, requestid=nil)
758
758
  @Growth = growth
759
759
  @Remain = remain
@@ -789,7 +789,7 @@ module TencentCloud
789
789
  # @type Regions: Array
790
790
 
791
791
  attr_accessor :IsSupported, :Product, :Offset, :Limit, :InstanceNames, :InstanceIds, :Regions
792
-
792
+
793
793
  def initialize(issupported=nil, product=nil, offset=nil, limit=nil, instancenames=nil, instanceids=nil, regions=nil)
794
794
  @IsSupported = issupported
795
795
  @Product = product
@@ -823,7 +823,7 @@ module TencentCloud
823
823
  # @type RequestId: String
824
824
 
825
825
  attr_accessor :TotalCount, :DbScanStatus, :Items, :RequestId
826
-
826
+
827
827
  def initialize(totalcount=nil, dbscanstatus=nil, items=nil, requestid=nil)
828
828
  @TotalCount = totalcount
829
829
  @DbScanStatus = dbscanstatus
@@ -856,7 +856,7 @@ module TencentCloud
856
856
  # @type Product: String
857
857
 
858
858
  attr_accessor :InstanceId, :Time, :Product
859
-
859
+
860
860
  def initialize(instanceid=nil, time=nil, product=nil)
861
861
  @InstanceId = instanceid
862
862
  @Time = time
@@ -878,7 +878,7 @@ module TencentCloud
878
878
  # @type RequestId: String
879
879
 
880
880
  attr_accessor :Data, :RequestId
881
-
881
+
882
882
  def initialize(data=nil, requestid=nil)
883
883
  @Data = data
884
884
  @RequestId = requestid
@@ -907,7 +907,7 @@ module TencentCloud
907
907
  # @type ProfileName: String
908
908
 
909
909
  attr_accessor :ProfileType, :Product, :Offset, :Limit, :ProfileName
910
-
910
+
911
911
  def initialize(profiletype=nil, product=nil, offset=nil, limit=nil, profilename=nil)
912
912
  @ProfileType = profiletype
913
913
  @Product = product
@@ -937,7 +937,7 @@ module TencentCloud
937
937
  # @type RequestId: String
938
938
 
939
939
  attr_accessor :ProfileList, :TotalCount, :RequestId
940
-
940
+
941
941
  def initialize(profilelist=nil, totalcount=nil, requestid=nil)
942
942
  @ProfileList = profilelist
943
943
  @TotalCount = totalcount
@@ -968,7 +968,7 @@ module TencentCloud
968
968
  # @type Product: String
969
969
 
970
970
  attr_accessor :SecAuditGroupId, :AsyncRequestId, :Product
971
-
971
+
972
972
  def initialize(secauditgroupid=nil, asyncrequestid=nil, product=nil)
973
973
  @SecAuditGroupId = secauditgroupid
974
974
  @AsyncRequestId = asyncrequestid
@@ -990,7 +990,7 @@ module TencentCloud
990
990
  # @type RequestId: String
991
991
 
992
992
  attr_accessor :Urls, :RequestId
993
-
993
+
994
994
  def initialize(urls=nil, requestid=nil)
995
995
  @Urls = urls
996
996
  @RequestId = requestid
@@ -1016,7 +1016,7 @@ module TencentCloud
1016
1016
  # @type Limit: Integer
1017
1017
 
1018
1018
  attr_accessor :SecAuditGroupId, :Product, :AsyncRequestIds, :Offset, :Limit
1019
-
1019
+
1020
1020
  def initialize(secauditgroupid=nil, product=nil, asyncrequestids=nil, offset=nil, limit=nil)
1021
1021
  @SecAuditGroupId = secauditgroupid
1022
1022
  @Product = product
@@ -1044,7 +1044,7 @@ module TencentCloud
1044
1044
  # @type RequestId: String
1045
1045
 
1046
1046
  attr_accessor :Tasks, :TotalCount, :RequestId
1047
-
1047
+
1048
1048
  def initialize(tasks=nil, totalcount=nil, requestid=nil)
1049
1049
  @Tasks = tasks
1050
1050
  @TotalCount = totalcount
@@ -1077,7 +1077,7 @@ module TencentCloud
1077
1077
  # @type Product: String
1078
1078
 
1079
1079
  attr_accessor :InstanceId, :StartTime, :EndTime, :Product
1080
-
1080
+
1081
1081
  def initialize(instanceid=nil, starttime=nil, endtime=nil, product=nil)
1082
1082
  @InstanceId = instanceid
1083
1083
  @StartTime = starttime
@@ -1105,7 +1105,7 @@ module TencentCloud
1105
1105
  # @type RequestId: String
1106
1106
 
1107
1107
  attr_accessor :Period, :TimeSeries, :SeriesData, :RequestId
1108
-
1108
+
1109
1109
  def initialize(period=nil, timeseries=nil, seriesdata=nil, requestid=nil)
1110
1110
  @Period = period
1111
1111
  @TimeSeries = timeseries
@@ -1153,7 +1153,7 @@ module TencentCloud
1153
1153
  # @type Product: String
1154
1154
 
1155
1155
  attr_accessor :InstanceId, :StartTime, :EndTime, :SortBy, :OrderBy, :Limit, :Offset, :SchemaList, :Product
1156
-
1156
+
1157
1157
  def initialize(instanceid=nil, starttime=nil, endtime=nil, sortby=nil, orderby=nil, limit=nil, offset=nil, schemalist=nil, product=nil)
1158
1158
  @InstanceId = instanceid
1159
1159
  @StartTime = starttime
@@ -1196,7 +1196,7 @@ module TencentCloud
1196
1196
  # @type RequestId: String
1197
1197
 
1198
1198
  attr_accessor :TotalCount, :Rows, :RequestId
1199
-
1199
+
1200
1200
  def initialize(totalcount=nil, rows=nil, requestid=nil)
1201
1201
  @TotalCount = totalcount
1202
1202
  @Rows = rows
@@ -1229,7 +1229,7 @@ module TencentCloud
1229
1229
  # @type Product: String
1230
1230
 
1231
1231
  attr_accessor :InstanceId, :StartTime, :EndTime, :Product
1232
-
1232
+
1233
1233
  def initialize(instanceid=nil, starttime=nil, endtime=nil, product=nil)
1234
1234
  @InstanceId = instanceid
1235
1235
  @StartTime = starttime
@@ -1251,14 +1251,20 @@ module TencentCloud
1251
1251
  # @type TotalCount: Integer
1252
1252
  # @param Items: 各来源地址的慢日志占比详情列表。
1253
1253
  # @type Items: Array
1254
+ # @param UserNameItems: 各来源用户名的慢日志占比详情列表。
1255
+ # @type UserNameItems: Array
1256
+ # @param UserTotalCount: 来源用户数目。
1257
+ # @type UserTotalCount: Integer
1254
1258
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1255
1259
  # @type RequestId: String
1256
1260
 
1257
- attr_accessor :TotalCount, :Items, :RequestId
1258
-
1259
- def initialize(totalcount=nil, items=nil, requestid=nil)
1261
+ attr_accessor :TotalCount, :Items, :UserNameItems, :UserTotalCount, :RequestId
1262
+
1263
+ def initialize(totalcount=nil, items=nil, usernameitems=nil, usertotalcount=nil, requestid=nil)
1260
1264
  @TotalCount = totalcount
1261
1265
  @Items = items
1266
+ @UserNameItems = usernameitems
1267
+ @UserTotalCount = usertotalcount
1262
1268
  @RequestId = requestid
1263
1269
  end
1264
1270
 
@@ -1272,6 +1278,15 @@ module TencentCloud
1272
1278
  @Items << slowloghost_tmp
1273
1279
  end
1274
1280
  end
1281
+ unless params['UserNameItems'].nil?
1282
+ @UserNameItems = []
1283
+ params['UserNameItems'].each do |i|
1284
+ slowloguser_tmp = SlowLogUser.new
1285
+ slowloguser_tmp.deserialize(i)
1286
+ @UserNameItems << slowloguser_tmp
1287
+ end
1288
+ end
1289
+ @UserTotalCount = params['UserTotalCount']
1275
1290
  @RequestId = params['RequestId']
1276
1291
  end
1277
1292
  end
@@ -1292,7 +1307,7 @@ module TencentCloud
1292
1307
  # @type Product: String
1293
1308
 
1294
1309
  attr_accessor :InstanceId, :Limit, :SortBy, :StartDate, :EndDate, :Product
1295
-
1310
+
1296
1311
  def initialize(instanceid=nil, limit=nil, sortby=nil, startdate=nil, enddate=nil, product=nil)
1297
1312
  @InstanceId = instanceid
1298
1313
  @Limit = limit
@@ -1320,7 +1335,7 @@ module TencentCloud
1320
1335
  # @type RequestId: String
1321
1336
 
1322
1337
  attr_accessor :TopSpaceSchemaTimeSeries, :RequestId
1323
-
1338
+
1324
1339
  def initialize(topspaceschematimeseries=nil, requestid=nil)
1325
1340
  @TopSpaceSchemaTimeSeries = topspaceschematimeseries
1326
1341
  @RequestId = requestid
@@ -1351,7 +1366,7 @@ module TencentCloud
1351
1366
  # @type Product: String
1352
1367
 
1353
1368
  attr_accessor :InstanceId, :Limit, :SortBy, :Product
1354
-
1369
+
1355
1370
  def initialize(instanceid=nil, limit=nil, sortby=nil, product=nil)
1356
1371
  @InstanceId = instanceid
1357
1372
  @Limit = limit
@@ -1377,7 +1392,7 @@ module TencentCloud
1377
1392
  # @type RequestId: String
1378
1393
 
1379
1394
  attr_accessor :TopSpaceSchemas, :Timestamp, :RequestId
1380
-
1395
+
1381
1396
  def initialize(topspaceschemas=nil, timestamp=nil, requestid=nil)
1382
1397
  @TopSpaceSchemas = topspaceschemas
1383
1398
  @Timestamp = timestamp
@@ -1414,7 +1429,7 @@ module TencentCloud
1414
1429
  # @type Product: String
1415
1430
 
1416
1431
  attr_accessor :InstanceId, :Limit, :SortBy, :StartDate, :EndDate, :Product
1417
-
1432
+
1418
1433
  def initialize(instanceid=nil, limit=nil, sortby=nil, startdate=nil, enddate=nil, product=nil)
1419
1434
  @InstanceId = instanceid
1420
1435
  @Limit = limit
@@ -1442,7 +1457,7 @@ module TencentCloud
1442
1457
  # @type RequestId: String
1443
1458
 
1444
1459
  attr_accessor :TopSpaceTableTimeSeries, :RequestId
1445
-
1460
+
1446
1461
  def initialize(topspacetabletimeseries=nil, requestid=nil)
1447
1462
  @TopSpaceTableTimeSeries = topspacetabletimeseries
1448
1463
  @RequestId = requestid
@@ -1473,7 +1488,7 @@ module TencentCloud
1473
1488
  # @type Product: String
1474
1489
 
1475
1490
  attr_accessor :InstanceId, :Limit, :SortBy, :Product
1476
-
1491
+
1477
1492
  def initialize(instanceid=nil, limit=nil, sortby=nil, product=nil)
1478
1493
  @InstanceId = instanceid
1479
1494
  @Limit = limit
@@ -1499,7 +1514,7 @@ module TencentCloud
1499
1514
  # @type RequestId: String
1500
1515
 
1501
1516
  attr_accessor :TopSpaceTables, :Timestamp, :RequestId
1502
-
1517
+
1503
1518
  def initialize(topspacetables=nil, timestamp=nil, requestid=nil)
1504
1519
  @TopSpaceTables = topspacetables
1505
1520
  @Timestamp = timestamp
@@ -1530,7 +1545,7 @@ module TencentCloud
1530
1545
  # @type Schema: String
1531
1546
 
1532
1547
  attr_accessor :InstanceId, :SqlText, :Schema
1533
-
1548
+
1534
1549
  def initialize(instanceid=nil, sqltext=nil, schema=nil)
1535
1550
  @InstanceId = instanceid
1536
1551
  @SqlText = sqltext
@@ -1564,7 +1579,7 @@ module TencentCloud
1564
1579
  # @type RequestId: String
1565
1580
 
1566
1581
  attr_accessor :Advices, :Comments, :SqlText, :Schema, :Tables, :SqlPlan, :Cost, :RequestId
1567
-
1582
+
1568
1583
  def initialize(advices=nil, comments=nil, sqltext=nil, schema=nil, tables=nil, sqlplan=nil, cost=nil, requestid=nil)
1569
1584
  @Advices = advices
1570
1585
  @Comments = comments
@@ -1615,7 +1630,7 @@ module TencentCloud
1615
1630
  # @type Region: String
1616
1631
 
1617
1632
  attr_accessor :DiagType, :EndTime, :StartTime, :EventId, :Severity, :Outline, :DiagItem, :InstanceId, :Metric, :Region
1618
-
1633
+
1619
1634
  def initialize(diagtype=nil, endtime=nil, starttime=nil, eventid=nil, severity=nil, outline=nil, diagitem=nil, instanceid=nil, metric=nil, region=nil)
1620
1635
  @DiagType = diagtype
1621
1636
  @EndTime = endtime
@@ -1665,7 +1680,7 @@ module TencentCloud
1665
1680
  # @type Count: Integer
1666
1681
 
1667
1682
  attr_accessor :EventId, :DiagType, :StartTime, :EndTime, :Outline, :Severity, :ScoreLost, :Metric, :Count
1668
-
1683
+
1669
1684
  def initialize(eventid=nil, diagtype=nil, starttime=nil, endtime=nil, outline=nil, severity=nil, scorelost=nil, metric=nil, count=nil)
1670
1685
  @EventId = eventid
1671
1686
  @DiagType = diagtype
@@ -1701,7 +1716,7 @@ module TencentCloud
1701
1716
  # @type MemberCount: Integer
1702
1717
 
1703
1718
  attr_accessor :Id, :Name, :MemberCount
1704
-
1719
+
1705
1720
  def initialize(id=nil, name=nil, membercount=nil)
1706
1721
  @Id = id
1707
1722
  @Name = name
@@ -1735,7 +1750,7 @@ module TencentCloud
1735
1750
  # @type HealthStatus: :class:`Tencentcloud::Dbbrain.v20191016.models.HealthStatus`
1736
1751
 
1737
1752
  attr_accessor :AsyncRequestId, :Source, :Progress, :CreateTime, :StartTime, :EndTime, :InstanceInfo, :HealthStatus
1738
-
1753
+
1739
1754
  def initialize(asyncrequestid=nil, source=nil, progress=nil, createtime=nil, starttime=nil, endtime=nil, instanceinfo=nil, healthstatus=nil)
1740
1755
  @AsyncRequestId = asyncrequestid
1741
1756
  @Source = source
@@ -1777,7 +1792,7 @@ module TencentCloud
1777
1792
  # @type HealthLevel: String
1778
1793
 
1779
1794
  attr_accessor :IssueTypes, :EventsTotalCount, :HealthScore, :HealthLevel
1780
-
1795
+
1781
1796
  def initialize(issuetypes=nil, eventstotalcount=nil, healthscore=nil, healthlevel=nil)
1782
1797
  @IssueTypes = issuetypes
1783
1798
  @EventsTotalCount = eventstotalcount
@@ -1813,7 +1828,7 @@ module TencentCloud
1813
1828
  # @type ScoreDetails: Array
1814
1829
 
1815
1830
  attr_accessor :HealthScore, :HealthLevel, :ScoreLost, :ScoreDetails
1816
-
1831
+
1817
1832
  def initialize(healthscore=nil, healthlevel=nil, scorelost=nil, scoredetails=nil)
1818
1833
  @HealthScore = healthscore
1819
1834
  @HealthLevel = healthlevel
@@ -1852,7 +1867,7 @@ module TencentCloud
1852
1867
  # @type EngineVersion: String
1853
1868
 
1854
1869
  attr_accessor :InstanceId, :InstanceName, :Vip, :Vport, :Product, :EngineVersion
1855
-
1870
+
1856
1871
  def initialize(instanceid=nil, instancename=nil, vip=nil, vport=nil, product=nil, engineversion=nil)
1857
1872
  @InstanceId = instanceid
1858
1873
  @InstanceName = instancename
@@ -1878,17 +1893,22 @@ module TencentCloud
1878
1893
  # @type DailyInspection: String
1879
1894
  # @param OverviewDisplay: 实例概览开关,Yes/No。
1880
1895
  # @type OverviewDisplay: String
1896
+ # @param KeyDelimiters: redis大key分析的自定义分割符,仅redis使用
1897
+ # 注意:此字段可能返回 null,表示取不到有效值。
1898
+ # @type KeyDelimiters: Array
1881
1899
 
1882
- attr_accessor :DailyInspection, :OverviewDisplay
1883
-
1884
- def initialize(dailyinspection=nil, overviewdisplay=nil)
1900
+ attr_accessor :DailyInspection, :OverviewDisplay, :KeyDelimiters
1901
+
1902
+ def initialize(dailyinspection=nil, overviewdisplay=nil, keydelimiters=nil)
1885
1903
  @DailyInspection = dailyinspection
1886
1904
  @OverviewDisplay = overviewdisplay
1905
+ @KeyDelimiters = keydelimiters
1887
1906
  end
1888
1907
 
1889
1908
  def deserialize(params)
1890
1909
  @DailyInspection = params['DailyInspection']
1891
1910
  @OverviewDisplay = params['OverviewDisplay']
1911
+ @KeyDelimiters = params['KeyDelimiters']
1892
1912
  end
1893
1913
  end
1894
1914
 
@@ -1950,10 +1970,24 @@ module TencentCloud
1950
1970
  # @type AuditPolicyStatus: String
1951
1971
  # @param AuditRunningStatus: 实例审计日志运行状态:normal: 运行中; paused: 欠费暂停。
1952
1972
  # @type AuditRunningStatus: String
1973
+ # @param InternalVip: 内网vip。
1974
+ # 注意:此字段可能返回 null,表示取不到有效值。
1975
+ # @type InternalVip: String
1976
+ # @param InternalVport: 内网port。
1977
+ # 注意:此字段可能返回 null,表示取不到有效值。
1978
+ # @type InternalVport: Integer
1979
+ # @param CreateTime: 创建时间。
1980
+ # @type CreateTime: String
1981
+ # @param ClusterId: 所属集群ID(仅对集群数据库产品该字段非空,如TDSQL-C)。
1982
+ # 注意:此字段可能返回 null,表示取不到有效值。
1983
+ # @type ClusterId: String
1984
+ # @param ClusterName: 所属集群名称(仅对集群数据库产品该字段非空,如TDSQL-C)。
1985
+ # 注意:此字段可能返回 null,表示取不到有效值。
1986
+ # @type ClusterName: String
1987
+
1988
+ attr_accessor :InstanceId, :InstanceName, :Region, :HealthScore, :Product, :EventCount, :InstanceType, :Cpu, :Memory, :Volume, :EngineVersion, :Vip, :Vport, :Source, :GroupId, :GroupName, :Status, :UniqSubnetId, :DeployMode, :InitFlag, :TaskStatus, :UniqVpcId, :InstanceConf, :DeadlineTime, :IsSupported, :SecAuditStatus, :AuditPolicyStatus, :AuditRunningStatus, :InternalVip, :InternalVport, :CreateTime, :ClusterId, :ClusterName
1953
1989
 
1954
- attr_accessor :InstanceId, :InstanceName, :Region, :HealthScore, :Product, :EventCount, :InstanceType, :Cpu, :Memory, :Volume, :EngineVersion, :Vip, :Vport, :Source, :GroupId, :GroupName, :Status, :UniqSubnetId, :DeployMode, :InitFlag, :TaskStatus, :UniqVpcId, :InstanceConf, :DeadlineTime, :IsSupported, :SecAuditStatus, :AuditPolicyStatus, :AuditRunningStatus
1955
-
1956
- def initialize(instanceid=nil, instancename=nil, region=nil, healthscore=nil, product=nil, eventcount=nil, instancetype=nil, cpu=nil, memory=nil, volume=nil, engineversion=nil, vip=nil, vport=nil, source=nil, groupid=nil, groupname=nil, status=nil, uniqsubnetid=nil, deploymode=nil, initflag=nil, taskstatus=nil, uniqvpcid=nil, instanceconf=nil, deadlinetime=nil, issupported=nil, secauditstatus=nil, auditpolicystatus=nil, auditrunningstatus=nil)
1990
+ def initialize(instanceid=nil, instancename=nil, region=nil, healthscore=nil, product=nil, eventcount=nil, instancetype=nil, cpu=nil, memory=nil, volume=nil, engineversion=nil, vip=nil, vport=nil, source=nil, groupid=nil, groupname=nil, status=nil, uniqsubnetid=nil, deploymode=nil, initflag=nil, taskstatus=nil, uniqvpcid=nil, instanceconf=nil, deadlinetime=nil, issupported=nil, secauditstatus=nil, auditpolicystatus=nil, auditrunningstatus=nil, internalvip=nil, internalvport=nil, createtime=nil, clusterid=nil, clustername=nil)
1957
1991
  @InstanceId = instanceid
1958
1992
  @InstanceName = instancename
1959
1993
  @Region = region
@@ -1982,6 +2016,11 @@ module TencentCloud
1982
2016
  @SecAuditStatus = secauditstatus
1983
2017
  @AuditPolicyStatus = auditpolicystatus
1984
2018
  @AuditRunningStatus = auditrunningstatus
2019
+ @InternalVip = internalvip
2020
+ @InternalVport = internalvport
2021
+ @CreateTime = createtime
2022
+ @ClusterId = clusterid
2023
+ @ClusterName = clustername
1985
2024
  end
1986
2025
 
1987
2026
  def deserialize(params)
@@ -2016,6 +2055,11 @@ module TencentCloud
2016
2055
  @SecAuditStatus = params['SecAuditStatus']
2017
2056
  @AuditPolicyStatus = params['AuditPolicyStatus']
2018
2057
  @AuditRunningStatus = params['AuditRunningStatus']
2058
+ @InternalVip = params['InternalVip']
2059
+ @InternalVport = params['InternalVport']
2060
+ @CreateTime = params['CreateTime']
2061
+ @ClusterId = params['ClusterId']
2062
+ @ClusterName = params['ClusterName']
2019
2063
  end
2020
2064
  end
2021
2065
 
@@ -2029,7 +2073,7 @@ module TencentCloud
2029
2073
  # @type TotalCount: Integer
2030
2074
 
2031
2075
  attr_accessor :IssueType, :Events, :TotalCount
2032
-
2076
+
2033
2077
  def initialize(issuetype=nil, events=nil, totalcount=nil)
2034
2078
  @IssueType = issuetype
2035
2079
  @Events = events
@@ -2064,7 +2108,7 @@ module TencentCloud
2064
2108
  # @type ContactGroup: Array
2065
2109
 
2066
2110
  attr_accessor :SendMail, :Region, :HealthStatus, :ContactPerson, :ContactGroup
2067
-
2111
+
2068
2112
  def initialize(sendmail=nil, region=nil, healthstatus=nil, contactperson=nil, contactgroup=nil)
2069
2113
  @SendMail = sendmail
2070
2114
  @Region = region
@@ -2094,7 +2138,7 @@ module TencentCloud
2094
2138
  # @type InstanceIds: Array
2095
2139
 
2096
2140
  attr_accessor :InstanceConfs, :Regions, :Product, :InstanceIds
2097
-
2141
+
2098
2142
  def initialize(instanceconfs=nil, regions=nil, product=nil, instanceids=nil)
2099
2143
  @InstanceConfs = instanceconfs
2100
2144
  @Regions = regions
@@ -2119,7 +2163,7 @@ module TencentCloud
2119
2163
  # @type RequestId: String
2120
2164
 
2121
2165
  attr_accessor :RequestId
2122
-
2166
+
2123
2167
  def initialize(requestid=nil)
2124
2168
  @RequestId = requestid
2125
2169
  end
@@ -2140,7 +2184,7 @@ module TencentCloud
2140
2184
  # @type Values: Array
2141
2185
 
2142
2186
  attr_accessor :Metric, :Unit, :Values
2143
-
2187
+
2144
2188
  def initialize(metric=nil, unit=nil, values=nil)
2145
2189
  @Metric = metric
2146
2190
  @Unit = unit
@@ -2162,7 +2206,7 @@ module TencentCloud
2162
2206
  # @type Timestamp: Array
2163
2207
 
2164
2208
  attr_accessor :Series, :Timestamp
2165
-
2209
+
2166
2210
  def initialize(series=nil, timestamp=nil)
2167
2211
  @Series = series
2168
2212
  @Timestamp = timestamp
@@ -2192,7 +2236,7 @@ module TencentCloud
2192
2236
  # @type Values: Array
2193
2237
 
2194
2238
  attr_accessor :Metric, :Unit, :Values
2195
-
2239
+
2196
2240
  def initialize(metric=nil, unit=nil, values=nil)
2197
2241
  @Metric = metric
2198
2242
  @Unit = unit
@@ -2214,7 +2258,7 @@ module TencentCloud
2214
2258
  # @type Timestamp: Array
2215
2259
 
2216
2260
  attr_accessor :Series, :Timestamp
2217
-
2261
+
2218
2262
  def initialize(series=nil, timestamp=nil)
2219
2263
  @Series = series
2220
2264
  @Timestamp = timestamp
@@ -2241,7 +2285,7 @@ module TencentCloud
2241
2285
  # @type MailConfiguration: :class:`Tencentcloud::Dbbrain.v20191016.models.MailConfiguration`
2242
2286
 
2243
2287
  attr_accessor :Language, :MailConfiguration
2244
-
2288
+
2245
2289
  def initialize(language=nil, mailconfiguration=nil)
2246
2290
  @Language = language
2247
2291
  @MailConfiguration = mailconfiguration
@@ -2262,7 +2306,7 @@ module TencentCloud
2262
2306
  # @type Schema: String
2263
2307
 
2264
2308
  attr_accessor :Schema
2265
-
2309
+
2266
2310
  def initialize(schema=nil)
2267
2311
  @Schema = schema
2268
2312
  end
@@ -2293,7 +2337,7 @@ module TencentCloud
2293
2337
  # @type PhysicalFileSize: Float
2294
2338
 
2295
2339
  attr_accessor :TableSchema, :DataLength, :IndexLength, :DataFree, :TotalLength, :FragRatio, :TableRows, :PhysicalFileSize
2296
-
2340
+
2297
2341
  def initialize(tableschema=nil, datalength=nil, indexlength=nil, datafree=nil, totallength=nil, fragratio=nil, tablerows=nil, physicalfilesize=nil)
2298
2342
  @TableSchema = tableschema
2299
2343
  @DataLength = datalength
@@ -2325,7 +2369,7 @@ module TencentCloud
2325
2369
  # @type SeriesData: :class:`Tencentcloud::Dbbrain.v20191016.models.MonitorMetricSeriesData`
2326
2370
 
2327
2371
  attr_accessor :TableSchema, :SeriesData
2328
-
2372
+
2329
2373
  def initialize(tableschema=nil, seriesdata=nil)
2330
2374
  @TableSchema = tableschema
2331
2375
  @SeriesData = seriesdata
@@ -2353,7 +2397,7 @@ module TencentCloud
2353
2397
  # @type Items: Array
2354
2398
 
2355
2399
  attr_accessor :IssueType, :ScoreLost, :ScoreLostMax, :Items
2356
-
2400
+
2357
2401
  def initialize(issuetype=nil, scorelost=nil, scorelostmax=nil, items=nil)
2358
2402
  @IssueType = issuetype
2359
2403
  @ScoreLost = scorelost
@@ -2390,7 +2434,7 @@ module TencentCloud
2390
2434
  # @type ScoreLost: Integer
2391
2435
 
2392
2436
  attr_accessor :DiagItem, :IssueType, :TopSeverity, :Count, :ScoreLost
2393
-
2437
+
2394
2438
  def initialize(diagitem=nil, issuetype=nil, topseverity=nil, count=nil, scorelost=nil)
2395
2439
  @DiagItem = diagitem
2396
2440
  @IssueType = issuetype
@@ -2438,7 +2482,7 @@ module TencentCloud
2438
2482
  # @type DangerLevels: Array
2439
2483
 
2440
2484
  attr_accessor :AsyncRequestId, :StartTime, :EndTime, :CreateTime, :Status, :Progress, :LogStartTime, :LogEndTime, :TotalSize, :DangerLevels
2441
-
2485
+
2442
2486
  def initialize(asyncrequestid=nil, starttime=nil, endtime=nil, createtime=nil, status=nil, progress=nil, logstarttime=nil, logendtime=nil, totalsize=nil, dangerlevels=nil)
2443
2487
  @AsyncRequestId = asyncrequestid
2444
2488
  @StartTime = starttime
@@ -2476,7 +2520,7 @@ module TencentCloud
2476
2520
  # @type Count: Integer
2477
2521
 
2478
2522
  attr_accessor :UserHost, :Ratio, :Count
2479
-
2523
+
2480
2524
  def initialize(userhost=nil, ratio=nil, count=nil)
2481
2525
  @UserHost = userhost
2482
2526
  @Ratio = ratio
@@ -2544,7 +2588,7 @@ module TencentCloud
2544
2588
  # @type Md5: String
2545
2589
 
2546
2590
  attr_accessor :LockTime, :LockTimeMax, :LockTimeMin, :RowsExamined, :RowsExaminedMax, :RowsExaminedMin, :QueryTime, :QueryTimeMax, :QueryTimeMin, :RowsSent, :RowsSentMax, :RowsSentMin, :ExecTimes, :SqlTemplate, :SqlText, :Schema, :QueryTimeRatio, :LockTimeRatio, :RowsExaminedRatio, :RowsSentRatio, :QueryTimeAvg, :RowsSentAvg, :LockTimeAvg, :RowsExaminedAvg, :Md5
2547
-
2591
+
2548
2592
  def initialize(locktime=nil, locktimemax=nil, locktimemin=nil, rowsexamined=nil, rowsexaminedmax=nil, rowsexaminedmin=nil, querytime=nil, querytimemax=nil, querytimemin=nil, rowssent=nil, rowssentmax=nil, rowssentmin=nil, exectimes=nil, sqltemplate=nil, sqltext=nil, schema=nil, querytimeratio=nil, locktimeratio=nil, rowsexaminedratio=nil, rowssentratio=nil, querytimeavg=nil, rowssentavg=nil, locktimeavg=nil, rowsexaminedavg=nil, md5=nil)
2549
2593
  @LockTime = locktime
2550
2594
  @LockTimeMax = locktimemax
@@ -2602,6 +2646,30 @@ module TencentCloud
2602
2646
  end
2603
2647
  end
2604
2648
 
2649
+ # 慢日志来源用户详情。
2650
+ class SlowLogUser < TencentCloud::Common::AbstractModel
2651
+ # @param UserName: 来源用户名。
2652
+ # @type UserName: String
2653
+ # @param Ratio: 该来源用户名的慢日志数目占总数目的比例,单位%。
2654
+ # @type Ratio: Float
2655
+ # @param Count: 该来源用户名的慢日志数目。
2656
+ # @type Count: Integer
2657
+
2658
+ attr_accessor :UserName, :Ratio, :Count
2659
+
2660
+ def initialize(username=nil, ratio=nil, count=nil)
2661
+ @UserName = username
2662
+ @Ratio = ratio
2663
+ @Count = count
2664
+ end
2665
+
2666
+ def deserialize(params)
2667
+ @UserName = params['UserName']
2668
+ @Ratio = params['Ratio']
2669
+ @Count = params['Count']
2670
+ end
2671
+ end
2672
+
2605
2673
  # 库表空间统计数据。
2606
2674
  class TableSpaceData < TencentCloud::Common::AbstractModel
2607
2675
  # @param TableName: 表名。
@@ -2626,7 +2694,7 @@ module TencentCloud
2626
2694
  # @type PhysicalFileSize: Float
2627
2695
 
2628
2696
  attr_accessor :TableName, :TableSchema, :Engine, :DataLength, :IndexLength, :DataFree, :TotalLength, :FragRatio, :TableRows, :PhysicalFileSize
2629
-
2697
+
2630
2698
  def initialize(tablename=nil, tableschema=nil, engine=nil, datalength=nil, indexlength=nil, datafree=nil, totallength=nil, fragratio=nil, tablerows=nil, physicalfilesize=nil)
2631
2699
  @TableName = tablename
2632
2700
  @TableSchema = tableschema
@@ -2666,7 +2734,7 @@ module TencentCloud
2666
2734
  # @type SeriesData: :class:`Tencentcloud::Dbbrain.v20191016.models.MonitorFloatMetricSeriesData`
2667
2735
 
2668
2736
  attr_accessor :TableName, :TableSchema, :Engine, :SeriesData
2669
-
2737
+
2670
2738
  def initialize(tablename=nil, tableschema=nil, engine=nil, seriesdata=nil)
2671
2739
  @TableName = tablename
2672
2740
  @TableSchema = tableschema
@@ -2693,7 +2761,7 @@ module TencentCloud
2693
2761
  # @type Timestamp: Integer
2694
2762
 
2695
2763
  attr_accessor :Count, :Timestamp
2696
-
2764
+
2697
2765
  def initialize(count=nil, timestamp=nil)
2698
2766
  @Count = count
2699
2767
  @Timestamp = timestamp
@@ -2723,7 +2791,7 @@ module TencentCloud
2723
2791
  # @type ProfileInfo: :class:`Tencentcloud::Dbbrain.v20191016.models.ProfileInfo`
2724
2792
 
2725
2793
  attr_accessor :ProfileId, :ProfileType, :ProfileLevel, :ProfileName, :ProfileInfo
2726
-
2794
+
2727
2795
  def initialize(profileid=nil, profiletype=nil, profilelevel=nil, profilename=nil, profileinfo=nil)
2728
2796
  @ProfileId = profileid
2729
2797
  @ProfileType = profiletype