tencentcloud-sdk-dbbrain 3.0.545 → 3.0.547

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dcd6a53461f9ecb155b44fa900f9e7798867215d
4
- data.tar.gz: ed7c6aa4e68b505c819b8b81fb61c46489b7aa50
3
+ metadata.gz: 52f14139eafc8b9c1f9c3beef2877eb3b7194cba
4
+ data.tar.gz: 250c05dcd6786ece7a46547589afd52607a58217
5
5
  SHA512:
6
- metadata.gz: ca7f016c1f989167d7b161cf3b7451839ea3a6a8b0ad4698a0375f4ccdc03e8253434b5cd960ea26357170da202a0b2ab317ef91de60e73e8cf9616082753f0f
7
- data.tar.gz: 424be7196a6f4f24eace03cb0dbb67aa01f476fbb532a73740ab8826127ddd01a777961be959ffcd1e4dcca89d57d69c19aea20da2ec8e95ce50f58ab574a284
6
+ metadata.gz: 6598d2ba4b4c8b135d762a8517bc05c6984ce8bb7703f18fda1b5f46e3df727d605c4d904721d12cd8b932db09b7005283eb26670f6877317d37db8a3c035d4e
7
+ data.tar.gz: 7b5d10a6a72505f0c34e5a7ee96ec9f9038d396f5d61ec7d5281bbf5f3373c6a5080de5e2bcc8e7f675d8bdd4d5601ae7987fea4155e4fa89f323deb36ccf013
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.545
1
+ 3.0.547
@@ -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
@@ -269,6 +269,30 @@ module TencentCloud
269
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
270
  end
271
271
 
272
+ # 根据任务id删除健康报告生成任务
273
+
274
+ # @param request: Request instance for DeleteDBDiagReportTasks.
275
+ # @type request: :class:`Tencentcloud::dbbrain::V20210527::DeleteDBDiagReportTasksRequest`
276
+ # @rtype: :class:`Tencentcloud::dbbrain::V20210527::DeleteDBDiagReportTasksResponse`
277
+ def DeleteDBDiagReportTasks(request)
278
+ body = send_request('DeleteDBDiagReportTasks', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DeleteDBDiagReportTasksResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
272
296
  # 删除安全审计日志导出任务。
273
297
 
274
298
  # @param request: Request instance for DeleteSecurityAuditLogExportTasks.
@@ -560,6 +560,51 @@ module TencentCloud
560
560
  end
561
561
  end
562
562
 
563
+ # DeleteDBDiagReportTasks请求参数结构体
564
+ class DeleteDBDiagReportTasksRequest < TencentCloud::Common::AbstractModel
565
+ # @param AsyncRequestIds: 需要删除的任务id列表
566
+ # @type AsyncRequestIds: Array
567
+ # @param InstanceId: 实例ID
568
+ # @type InstanceId: String
569
+ # @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL, "mongodb" - 云数据库 CynosDB for MySQL,
570
+ # 默认值为"mysql"。
571
+ # @type Product: String
572
+
573
+ attr_accessor :AsyncRequestIds, :InstanceId, :Product
574
+
575
+ def initialize(asyncrequestids=nil, instanceid=nil, product=nil)
576
+ @AsyncRequestIds = asyncrequestids
577
+ @InstanceId = instanceid
578
+ @Product = product
579
+ end
580
+
581
+ def deserialize(params)
582
+ @AsyncRequestIds = params['AsyncRequestIds']
583
+ @InstanceId = params['InstanceId']
584
+ @Product = params['Product']
585
+ end
586
+ end
587
+
588
+ # DeleteDBDiagReportTasks返回参数结构体
589
+ class DeleteDBDiagReportTasksResponse < TencentCloud::Common::AbstractModel
590
+ # @param Status: 任务删除状态, 0-删除成功
591
+ # @type Status: Integer
592
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
593
+ # @type RequestId: String
594
+
595
+ attr_accessor :Status, :RequestId
596
+
597
+ def initialize(status=nil, requestid=nil)
598
+ @Status = status
599
+ @RequestId = requestid
600
+ end
601
+
602
+ def deserialize(params)
603
+ @Status = params['Status']
604
+ @RequestId = params['RequestId']
605
+ end
606
+ end
607
+
563
608
  # DeleteSecurityAuditLogExportTasks请求参数结构体
564
609
  class DeleteSecurityAuditLogExportTasksRequest < TencentCloud::Common::AbstractModel
565
610
  # @param SecAuditGroupId: 安全审计组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.545
4
+ version: 3.0.547
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-05 00:00:00.000000000 Z
11
+ date: 2023-04-10 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/models.rb
37
- - lib/v20210527/client.rb
38
- - lib/tencentcloud-sdk-dbbrain.rb
39
- - lib/v20191016/models.rb
40
36
  - lib/v20191016/client.rb
37
+ - lib/v20191016/models.rb
38
+ - 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: