tencentcloud-sdk-dbbrain 3.0.1044 → 3.0.1046

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f4c34d08f5b65465c18d7ece9ab7bf9381e439c
4
- data.tar.gz: 6f5af1f3b98383c6bfc5946c5f08af3f9513fdc9
3
+ metadata.gz: c229a74d643afc677703b39d487cc7e260bacc0d
4
+ data.tar.gz: b1d31968e3a635e6676d8144275be880c1d1ec1b
5
5
  SHA512:
6
- metadata.gz: 39a1436fc1a5a5b5a3327034f453a906677d795a051d08e6b596c72a16f62d34806b6e6cd1f2001983e294cf7e9b24281500dadfe707ab387b707b5125ef90c3
7
- data.tar.gz: 1cb131c30a6cf307a292b9ec8aef57f5287dd9665fd8d1258ac1da5b727d1553ed55616c4405795f850947d9910347c8ab1d9c842d005569f109910c5ffea88c
6
+ metadata.gz: 1db00e27eefa6931a3695e6e7b4d083d15af45a839093d31d756b05d02771d4005855026d6a7c828584780c495422fded56fae6841282e19afcbde93e85e55ac
7
+ data.tar.gz: 81cd9ffc8ca41659ea0e64446b80f08eed3ed39d487518ec51ca96c0598840f0373220936bbedc02964359d3e0ffdf8fb3ff72c7240122604c9d2467492f1806
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1044
1
+ 3.0.1046
@@ -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
@@ -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.
@@ -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.1044
4
+ version: 3.0.1046
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-22 00:00:00.000000000 Z
11
+ date: 2025-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,11 +33,11 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20210527/client.rb
37
- - lib/v20210527/models.rb
36
+ - lib/tencentcloud-sdk-dbbrain.rb
38
37
  - lib/v20191016/client.rb
39
38
  - lib/v20191016/models.rb
40
- - lib/tencentcloud-sdk-dbbrain.rb
39
+ - lib/v20210527/client.rb
40
+ - lib/v20210527/models.rb
41
41
  - lib/VERSION
42
42
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
43
43
  licenses: