tencentcloud-sdk-dbbrain 3.0.1044 → 3.0.1045
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/tencentcloud-sdk-dbbrain.rb +3 -3
- data/lib/v20210527/client.rb +24 -0
- data/lib/v20210527/models.rb +44 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef5aeb8cf00e6bc74a0f032cc42e2b46ad392628
|
4
|
+
data.tar.gz: 7a10f80eed7e71d72d37deeeda3db2374bf8d344
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d5b31740f7386882ae9fc48cd49139bcea19a8bf6a9da0d3310c3d91d17e4387e459dec5efd98fb3a44732cd12da3ccae9ef2015cb3a062d5072151c02f3937
|
7
|
+
data.tar.gz: 84a2df285ec49bb504748fd0b6d26ad0f4adcbae6e9bdb24fe9fc2b0a3d9427e438920309dc19c88ac9747223a5e32faf9e150cdb08419abc58c67b05b94945a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1045
|
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
require 'tencentcloud-sdk-common'
|
4
4
|
|
5
|
-
require_relative 'v20191016/client'
|
6
|
-
require_relative 'v20191016/models'
|
7
|
-
|
8
5
|
require_relative 'v20210527/client'
|
9
6
|
require_relative 'v20210527/models'
|
10
7
|
|
8
|
+
require_relative 'v20191016/client'
|
9
|
+
require_relative 'v20191016/models'
|
10
|
+
|
11
11
|
module TencentCloud
|
12
12
|
module Dbbrain
|
13
13
|
end
|
data/lib/v20210527/client.rb
CHANGED
@@ -773,6 +773,30 @@ module TencentCloud
|
|
773
773
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
774
|
end
|
775
775
|
|
776
|
+
# 健康报告内容。
|
777
|
+
|
778
|
+
# @param request: Request instance for DescribeDBDiagReportContent.
|
779
|
+
# @type request: :class:`Tencentcloud::dbbrain::V20210527::DescribeDBDiagReportContentRequest`
|
780
|
+
# @rtype: :class:`Tencentcloud::dbbrain::V20210527::DescribeDBDiagReportContentResponse`
|
781
|
+
def DescribeDBDiagReportContent(request)
|
782
|
+
body = send_request('DescribeDBDiagReportContent', request.serialize)
|
783
|
+
response = JSON.parse(body)
|
784
|
+
if response['Response'].key?('Error') == false
|
785
|
+
model = DescribeDBDiagReportContentResponse.new
|
786
|
+
model.deserialize(response['Response'])
|
787
|
+
model
|
788
|
+
else
|
789
|
+
code = response['Response']['Error']['Code']
|
790
|
+
message = response['Response']['Error']['Message']
|
791
|
+
reqid = response['Response']['RequestId']
|
792
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
793
|
+
end
|
794
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
795
|
+
raise e
|
796
|
+
rescue StandardError => e
|
797
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
798
|
+
end
|
799
|
+
|
776
800
|
# 查询健康报告生成任务列表。
|
777
801
|
|
778
802
|
# @param request: Request instance for DescribeDBDiagReportTasks.
|
data/lib/v20210527/models.rb
CHANGED
@@ -2233,6 +2233,50 @@ module TencentCloud
|
|
2233
2233
|
end
|
2234
2234
|
end
|
2235
2235
|
|
2236
|
+
# DescribeDBDiagReportContent请求参数结构体
|
2237
|
+
class DescribeDBDiagReportContentRequest < TencentCloud::Common::AbstractModel
|
2238
|
+
# @param InstanceId: 实例名
|
2239
|
+
# @type InstanceId: String
|
2240
|
+
# @param AsyncRequestId: 异步任务ID
|
2241
|
+
# @type AsyncRequestId: Integer
|
2242
|
+
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL,"redis" - 云数据库 Redis,"mongodb" - 云数据库 MongoDB,默认为"mysql"。
|
2243
|
+
# @type Product: String
|
2244
|
+
|
2245
|
+
attr_accessor :InstanceId, :AsyncRequestId, :Product
|
2246
|
+
|
2247
|
+
def initialize(instanceid=nil, asyncrequestid=nil, product=nil)
|
2248
|
+
@InstanceId = instanceid
|
2249
|
+
@AsyncRequestId = asyncrequestid
|
2250
|
+
@Product = product
|
2251
|
+
end
|
2252
|
+
|
2253
|
+
def deserialize(params)
|
2254
|
+
@InstanceId = params['InstanceId']
|
2255
|
+
@AsyncRequestId = params['AsyncRequestId']
|
2256
|
+
@Product = params['Product']
|
2257
|
+
end
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
# DescribeDBDiagReportContent返回参数结构体
|
2261
|
+
class DescribeDBDiagReportContentResponse < TencentCloud::Common::AbstractModel
|
2262
|
+
# @param Report: 报告内容。
|
2263
|
+
# @type Report: String
|
2264
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2265
|
+
# @type RequestId: String
|
2266
|
+
|
2267
|
+
attr_accessor :Report, :RequestId
|
2268
|
+
|
2269
|
+
def initialize(report=nil, requestid=nil)
|
2270
|
+
@Report = report
|
2271
|
+
@RequestId = requestid
|
2272
|
+
end
|
2273
|
+
|
2274
|
+
def deserialize(params)
|
2275
|
+
@Report = params['Report']
|
2276
|
+
@RequestId = params['RequestId']
|
2277
|
+
end
|
2278
|
+
end
|
2279
|
+
|
2236
2280
|
# DescribeDBDiagReportTasks请求参数结构体
|
2237
2281
|
class DescribeDBDiagReportTasksRequest < TencentCloud::Common::AbstractModel
|
2238
2282
|
# @param StartTime: 第一个任务的开始时间,用于范围查询,时间格式如:2019-09-10 12:13:14。
|
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.1045
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -35,9 +35,9 @@ extra_rdoc_files: []
|
|
35
35
|
files:
|
36
36
|
- lib/v20210527/client.rb
|
37
37
|
- lib/v20210527/models.rb
|
38
|
+
- lib/tencentcloud-sdk-dbbrain.rb
|
38
39
|
- lib/v20191016/client.rb
|
39
40
|
- lib/v20191016/models.rb
|
40
|
-
- lib/tencentcloud-sdk-dbbrain.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|