tencentcloud-sdk-dbbrain 3.0.405 → 3.0.406
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210527/client.rb +24 -0
- data/lib/v20210527/models.rb +95 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6a48466eea8fe01eb2bba91f10c953e7dced168
|
4
|
+
data.tar.gz: 6b4c6629bdeac73da08a17386c25182ae581f8a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f50d3b047cd5d1cc62df91db7c6a996a35ad7e0444dec6bc8f87f6085befc31193394b39f799b9d931c21cdf4b73bc5b7eed578fd1955dcaa21fabfe22c6b25
|
7
|
+
data.tar.gz: 6fce70945e4af84c0af0777c380efb8c6219ac6b333b4256d299499c95b684b2457b23762e1f90462b28546a2f8ef7521597737be7ee95a2af349b085600dba8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.406
|
data/lib/v20210527/client.rb
CHANGED
@@ -653,6 +653,30 @@ module TencentCloud
|
|
653
653
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
654
|
end
|
655
655
|
|
656
|
+
# 查询redis实例top key前缀列表。
|
657
|
+
|
658
|
+
# @param request: Request instance for DescribeRedisTopKeyPrefixList.
|
659
|
+
# @type request: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisTopKeyPrefixListRequest`
|
660
|
+
# @rtype: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisTopKeyPrefixListResponse`
|
661
|
+
def DescribeRedisTopKeyPrefixList(request)
|
662
|
+
body = send_request('DescribeRedisTopKeyPrefixList', request.serialize)
|
663
|
+
response = JSON.parse(body)
|
664
|
+
if response['Response'].key?('Error') == false
|
665
|
+
model = DescribeRedisTopKeyPrefixListResponse.new
|
666
|
+
model.deserialize(response['Response'])
|
667
|
+
model
|
668
|
+
else
|
669
|
+
code = response['Response']['Error']['Code']
|
670
|
+
message = response['Response']['Error']['Message']
|
671
|
+
reqid = response['Response']['RequestId']
|
672
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
673
|
+
end
|
674
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
675
|
+
raise e
|
676
|
+
rescue StandardError => e
|
677
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
678
|
+
end
|
679
|
+
|
656
680
|
# 查询安全审计日志导出文件下载链接。目前日志文件下载仅提供腾讯云内网地址,请通过广州地域的腾讯云服务器进行下载。
|
657
681
|
|
658
682
|
# @param request: Request instance for DescribeSecurityAuditLogDownloadUrls.
|
data/lib/v20210527/models.rb
CHANGED
@@ -1553,6 +1553,65 @@ module TencentCloud
|
|
1553
1553
|
end
|
1554
1554
|
end
|
1555
1555
|
|
1556
|
+
# DescribeRedisTopKeyPrefixList请求参数结构体
|
1557
|
+
class DescribeRedisTopKeyPrefixListRequest < TencentCloud::Common::AbstractModel
|
1558
|
+
# @param InstanceId: 实例ID。
|
1559
|
+
# @type InstanceId: String
|
1560
|
+
# @param Date: 查询日期,如2021-05-27,最早可为前30天的日期。
|
1561
|
+
# @type Date: String
|
1562
|
+
# @param Product: 服务产品类型,支持值包括 "redis" - 云数据库 Redis。
|
1563
|
+
# @type Product: String
|
1564
|
+
# @param Limit: 查询数目,默认为20,最大值为100。
|
1565
|
+
# @type Limit: Integer
|
1566
|
+
|
1567
|
+
attr_accessor :InstanceId, :Date, :Product, :Limit
|
1568
|
+
|
1569
|
+
def initialize(instanceid=nil, date=nil, product=nil, limit=nil)
|
1570
|
+
@InstanceId = instanceid
|
1571
|
+
@Date = date
|
1572
|
+
@Product = product
|
1573
|
+
@Limit = limit
|
1574
|
+
end
|
1575
|
+
|
1576
|
+
def deserialize(params)
|
1577
|
+
@InstanceId = params['InstanceId']
|
1578
|
+
@Date = params['Date']
|
1579
|
+
@Product = params['Product']
|
1580
|
+
@Limit = params['Limit']
|
1581
|
+
end
|
1582
|
+
end
|
1583
|
+
|
1584
|
+
# DescribeRedisTopKeyPrefixList返回参数结构体
|
1585
|
+
class DescribeRedisTopKeyPrefixListResponse < TencentCloud::Common::AbstractModel
|
1586
|
+
# @param Items: top key前缀列表。
|
1587
|
+
# @type Items: Array
|
1588
|
+
# @param Timestamp: 采集时间戳(秒)。
|
1589
|
+
# @type Timestamp: Integer
|
1590
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1591
|
+
# @type RequestId: String
|
1592
|
+
|
1593
|
+
attr_accessor :Items, :Timestamp, :RequestId
|
1594
|
+
|
1595
|
+
def initialize(items=nil, timestamp=nil, requestid=nil)
|
1596
|
+
@Items = items
|
1597
|
+
@Timestamp = timestamp
|
1598
|
+
@RequestId = requestid
|
1599
|
+
end
|
1600
|
+
|
1601
|
+
def deserialize(params)
|
1602
|
+
unless params['Items'].nil?
|
1603
|
+
@Items = []
|
1604
|
+
params['Items'].each do |i|
|
1605
|
+
redisprekeyspacedata_tmp = RedisPreKeySpaceData.new
|
1606
|
+
redisprekeyspacedata_tmp.deserialize(i)
|
1607
|
+
@Items << redisprekeyspacedata_tmp
|
1608
|
+
end
|
1609
|
+
end
|
1610
|
+
@Timestamp = params['Timestamp']
|
1611
|
+
@RequestId = params['RequestId']
|
1612
|
+
end
|
1613
|
+
end
|
1614
|
+
|
1556
1615
|
# DescribeSecurityAuditLogDownloadUrls请求参数结构体
|
1557
1616
|
class DescribeSecurityAuditLogDownloadUrlsRequest < TencentCloud::Common::AbstractModel
|
1558
1617
|
# @param SecAuditGroupId: 安全审计组Id。
|
@@ -3173,6 +3232,42 @@ module TencentCloud
|
|
3173
3232
|
end
|
3174
3233
|
end
|
3175
3234
|
|
3235
|
+
# redis key前缀空间信息
|
3236
|
+
class RedisPreKeySpaceData < TencentCloud::Common::AbstractModel
|
3237
|
+
# @param AveElementSize: 平均元素长度。
|
3238
|
+
# @type AveElementSize: Integer
|
3239
|
+
# @param Length: 总占用内存(Byte)。
|
3240
|
+
# @type Length: Integer
|
3241
|
+
# @param KeyPreIndex: key前缀。
|
3242
|
+
# @type KeyPreIndex: String
|
3243
|
+
# @param ItemCount: 元素数量。
|
3244
|
+
# @type ItemCount: Integer
|
3245
|
+
# @param Count: key个数。
|
3246
|
+
# @type Count: Integer
|
3247
|
+
# @param MaxElementSize: 最大元素长度。
|
3248
|
+
# @type MaxElementSize: Integer
|
3249
|
+
|
3250
|
+
attr_accessor :AveElementSize, :Length, :KeyPreIndex, :ItemCount, :Count, :MaxElementSize
|
3251
|
+
|
3252
|
+
def initialize(aveelementsize=nil, length=nil, keypreindex=nil, itemcount=nil, count=nil, maxelementsize=nil)
|
3253
|
+
@AveElementSize = aveelementsize
|
3254
|
+
@Length = length
|
3255
|
+
@KeyPreIndex = keypreindex
|
3256
|
+
@ItemCount = itemcount
|
3257
|
+
@Count = count
|
3258
|
+
@MaxElementSize = maxelementsize
|
3259
|
+
end
|
3260
|
+
|
3261
|
+
def deserialize(params)
|
3262
|
+
@AveElementSize = params['AveElementSize']
|
3263
|
+
@Length = params['Length']
|
3264
|
+
@KeyPreIndex = params['KeyPreIndex']
|
3265
|
+
@ItemCount = params['ItemCount']
|
3266
|
+
@Count = params['Count']
|
3267
|
+
@MaxElementSize = params['MaxElementSize']
|
3268
|
+
end
|
3269
|
+
end
|
3270
|
+
|
3176
3271
|
# 实例SQL限流任务。
|
3177
3272
|
class SQLFilter < TencentCloud::Common::AbstractModel
|
3178
3273
|
# @param Id: 任务ID。
|
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.
|
4
|
+
version: 3.0.406
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|