tencentcloud-sdk-dbbrain 3.0.887 → 3.0.888

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210527/models.rb +113 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb7d27913345b8f8be5123067818353ae66187c6
4
- data.tar.gz: 4166533bfd6f8391b185f9c6c8fa0cdf44de32ec
3
+ metadata.gz: 55cfd68e8d6aaf378177632cf750772b419ce4f4
4
+ data.tar.gz: f91c2ab7f3b669069e4aee5193dfc4ce2ea0ea75
5
5
  SHA512:
6
- metadata.gz: de10273a5ec86deefeba122baf029f9e5565b00cd4371f373a295fb1cdd1c03f854ef95972fbc1cd2bb671ecdd4111b7282a0c77ad0d247f87f7d5391737d0ce
7
- data.tar.gz: 0a2bc19d41b77aa3234548fb3b076e1a501fbea960ac02e6783eaf025fd58d4d70196dc2107b676c576b85abda62f9de2d8aa2fd7253499eb87b74bddd72d457
6
+ metadata.gz: 69abffce983a682b0a7ba819d51d70003c3588df93977801dd65d9700e21360f0e7930eb394b1baa27db978e3af77151486466455df9237f07423c5c2ce4573e
7
+ data.tar.gz: d1f3959217d0d7851c08561152ce5bbab133d342bbf125121902545f34a3a0c497926d2d795b7ac48b607825eba47945e6ea87dbe6ca246f3748473fe6fc5f7f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.887
1
+ 3.0.888
@@ -2284,10 +2284,12 @@ module TencentCloud
2284
2284
  # @type Limit: Integer
2285
2285
  # @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
2286
2286
  # @type Product: String
2287
+ # @param StatDimensions: 会话统计的维度信息,可以多个维度。
2288
+ # @type StatDimensions: Array
2287
2289
 
2288
- attr_accessor :InstanceId, :ID, :User, :Host, :DB, :State, :Command, :Time, :Info, :Limit, :Product
2290
+ attr_accessor :InstanceId, :ID, :User, :Host, :DB, :State, :Command, :Time, :Info, :Limit, :Product, :StatDimensions
2289
2291
 
2290
- def initialize(instanceid=nil, id=nil, user=nil, host=nil, db=nil, state=nil, command=nil, time=nil, info=nil, limit=nil, product=nil)
2292
+ def initialize(instanceid=nil, id=nil, user=nil, host=nil, db=nil, state=nil, command=nil, time=nil, info=nil, limit=nil, product=nil, statdimensions=nil)
2291
2293
  @InstanceId = instanceid
2292
2294
  @ID = id
2293
2295
  @User = user
@@ -2299,6 +2301,7 @@ module TencentCloud
2299
2301
  @Info = info
2300
2302
  @Limit = limit
2301
2303
  @Product = product
2304
+ @StatDimensions = statdimensions
2302
2305
  end
2303
2306
 
2304
2307
  def deserialize(params)
@@ -2313,6 +2316,14 @@ module TencentCloud
2313
2316
  @Info = params['Info']
2314
2317
  @Limit = params['Limit']
2315
2318
  @Product = params['Product']
2319
+ unless params['StatDimensions'].nil?
2320
+ @StatDimensions = []
2321
+ params['StatDimensions'].each do |i|
2322
+ statdimension_tmp = StatDimension.new
2323
+ statdimension_tmp.deserialize(i)
2324
+ @StatDimensions << statdimension_tmp
2325
+ end
2326
+ end
2316
2327
  end
2317
2328
  end
2318
2329
 
@@ -2320,13 +2331,17 @@ module TencentCloud
2320
2331
  class DescribeMySqlProcessListResponse < TencentCloud::Common::AbstractModel
2321
2332
  # @param ProcessList: 实时线程列表。
2322
2333
  # @type ProcessList: Array
2334
+ # @param Statistics: sql会话统计信息。
2335
+ # 注意:此字段可能返回 null,表示取不到有效值。
2336
+ # @type Statistics: Array
2323
2337
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2324
2338
  # @type RequestId: String
2325
2339
 
2326
- attr_accessor :ProcessList, :RequestId
2340
+ attr_accessor :ProcessList, :Statistics, :RequestId
2327
2341
 
2328
- def initialize(processlist=nil, requestid=nil)
2342
+ def initialize(processlist=nil, statistics=nil, requestid=nil)
2329
2343
  @ProcessList = processlist
2344
+ @Statistics = statistics
2330
2345
  @RequestId = requestid
2331
2346
  end
2332
2347
 
@@ -2339,6 +2354,14 @@ module TencentCloud
2339
2354
  @ProcessList << mysqlprocess_tmp
2340
2355
  end
2341
2356
  end
2357
+ unless params['Statistics'].nil?
2358
+ @Statistics = []
2359
+ params['Statistics'].each do |i|
2360
+ statisticinfo_tmp = StatisticInfo.new
2361
+ statisticinfo_tmp.deserialize(i)
2362
+ @Statistics << statisticinfo_tmp
2363
+ end
2364
+ end
2342
2365
  @RequestId = params['RequestId']
2343
2366
  end
2344
2367
  end
@@ -5651,6 +5674,92 @@ module TencentCloud
5651
5674
  end
5652
5675
  end
5653
5676
 
5677
+ # 会话统计的维度信息,可以多个维度
5678
+ class StatDimension < TencentCloud::Common::AbstractModel
5679
+ # @param Dimension: 维度名称,目前仅支持:SqlTag。
5680
+ # @type Dimension: String
5681
+ # @param Data: SQL 标签过滤与统计信息
5682
+ # 示例:
5683
+
5684
+ # 示例 1:[p=position] 统计包含 p=position 标签的 SQL 会话。
5685
+ # 示例 2:[p] 统计包含 p 标签的 SQL 会话。
5686
+ # 示例 3:[p=position, c=idCard] 统计同时包含 p=position 标签和 c=idCard 标签的 SQL 会话。
5687
+ # @type Data: Array
5688
+
5689
+ attr_accessor :Dimension, :Data
5690
+
5691
+ def initialize(dimension=nil, data=nil)
5692
+ @Dimension = dimension
5693
+ @Data = data
5694
+ end
5695
+
5696
+ def deserialize(params)
5697
+ @Dimension = params['Dimension']
5698
+ @Data = params['Data']
5699
+ end
5700
+ end
5701
+
5702
+ # 统计分析维度下的统计数据详情
5703
+ class StatisticDataInfo < TencentCloud::Common::AbstractModel
5704
+ # @param Name: 统计维度的值。
5705
+ # 注意:此字段可能返回 null,表示取不到有效值。
5706
+ # @type Name: String
5707
+ # @param TimeAvg: 平均时间。
5708
+ # 注意:此字段可能返回 null,表示取不到有效值。
5709
+ # @type TimeAvg: Float
5710
+ # @param TimeSum: 总时间。
5711
+ # 注意:此字段可能返回 null,表示取不到有效值。
5712
+ # @type TimeSum: Float
5713
+ # @param Count: 数量。
5714
+ # 注意:此字段可能返回 null,表示取不到有效值。
5715
+ # @type Count: Integer
5716
+
5717
+ attr_accessor :Name, :TimeAvg, :TimeSum, :Count
5718
+
5719
+ def initialize(name=nil, timeavg=nil, timesum=nil, count=nil)
5720
+ @Name = name
5721
+ @TimeAvg = timeavg
5722
+ @TimeSum = timesum
5723
+ @Count = count
5724
+ end
5725
+
5726
+ def deserialize(params)
5727
+ @Name = params['Name']
5728
+ @TimeAvg = params['TimeAvg']
5729
+ @TimeSum = params['TimeSum']
5730
+ @Count = params['Count']
5731
+ end
5732
+ end
5733
+
5734
+ # sql会话统计信息
5735
+ class StatisticInfo < TencentCloud::Common::AbstractModel
5736
+ # @param Dimension: 统计分析的维度。
5737
+ # 注意:此字段可能返回 null,表示取不到有效值。
5738
+ # @type Dimension: String
5739
+ # @param Data: 统计分析的维度下的统计数据详情。
5740
+ # 注意:此字段可能返回 null,表示取不到有效值。
5741
+ # @type Data: Array
5742
+
5743
+ attr_accessor :Dimension, :Data
5744
+
5745
+ def initialize(dimension=nil, data=nil)
5746
+ @Dimension = dimension
5747
+ @Data = data
5748
+ end
5749
+
5750
+ def deserialize(params)
5751
+ @Dimension = params['Dimension']
5752
+ unless params['Data'].nil?
5753
+ @Data = []
5754
+ params['Data'].each do |i|
5755
+ statisticdatainfo_tmp = StatisticDataInfo.new
5756
+ statisticdatainfo_tmp.deserialize(i)
5757
+ @Data << statisticdatainfo_tmp
5758
+ end
5759
+ end
5760
+ end
5761
+ end
5762
+
5654
5763
  # 表结构。
5655
5764
  class Table < TencentCloud::Common::AbstractModel
5656
5765
  # @param TableSchema: 库名。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dbbrain
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.887
4
+ version: 3.0.888
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-16 00:00:00.000000000 Z
11
+ date: 2024-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common