tencentcloud-sdk-dbbrain 3.0.546 → 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: 7726a287fa78dcf81f1023f08a42e2c442590f6d
4
- data.tar.gz: 2e360aeea035fae1093dca0414f5631e4ce457cf
3
+ metadata.gz: 52f14139eafc8b9c1f9c3beef2877eb3b7194cba
4
+ data.tar.gz: 250c05dcd6786ece7a46547589afd52607a58217
5
5
  SHA512:
6
- metadata.gz: b1abe1737f0bc5455ec3649e6111a3bdb401d143bf99c51ce95610cc6b4b19a61d1f21791359a9f7c76547f7b15b4fb4395f4537873667049bbf589c6145f979
7
- data.tar.gz: 6110448e750fea5bd01d3eb9da0645c3a7a216ae577590a0c1ce76c037e7b47faea9b980425d3523e91c734e09b4f5e4a8a1bfdee54d1b0f1e05f583380e0e92
6
+ metadata.gz: 6598d2ba4b4c8b135d762a8517bc05c6984ce8bb7703f18fda1b5f46e3df727d605c4d904721d12cd8b932db09b7005283eb26670f6877317d37db8a3c035d4e
7
+ data.tar.gz: 7b5d10a6a72505f0c34e5a7ee96ec9f9038d396f5d61ec7d5281bbf5f3373c6a5080de5e2bcc8e7f675d8bdd4d5601ae7987fea4155e4fa89f323deb36ccf013
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.546
1
+ 3.0.547
@@ -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.546
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-07 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