tencentcloud-sdk-dlc 3.0.827 → 3.0.829

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: 6f2ed6a2cb58196169d73ee92da0e7f744fa95fa
4
- data.tar.gz: 90d62928193bede811f630173ff712e937ccca50
3
+ metadata.gz: 4b68ec1265599fffbbaa6c631a0c7d157d611626
4
+ data.tar.gz: 90abc6a9006d208de24f44bb23629d1871e3e06f
5
5
  SHA512:
6
- metadata.gz: fa831a7724e32bf29183f02c30af49982066b7127e1cf02078e008b908c68a5333c3d99a72195ed8ae197819006f3120197dee66219fb46267fa2f1ef64dada8
7
- data.tar.gz: 995b0ebd88343d020eea5bbad7515d0367528e1b91fecf1b7a46c25e53770509ebe8561c7ba38558c7cb705e96dbb79e0c436cf21ce2ab444ced825f28b262ee
6
+ metadata.gz: 90e6bb0c6f0aa8d9dacd78b3c481a5fb4092446f3f877b1e245193b773a4fe2374acb66d63ddf72b7990757736bd777d204d62cb0618c8b1f6b02896c4151afd
7
+ data.tar.gz: c75cd5f748d6134a15b44e73cb7ada80c6369061123f5d4f744c451febb1a20e9f8c898ca43da071260dc34aa6d6711ef66131fa04c55245671a68c2c00edf7f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.827
1
+ 3.0.829
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 添加数据优化资源
57
+
58
+ # @param request: Request instance for AddOptimizerEngines.
59
+ # @type request: :class:`Tencentcloud::dlc::V20210125::AddOptimizerEnginesRequest`
60
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::AddOptimizerEnginesResponse`
61
+ def AddOptimizerEngines(request)
62
+ body = send_request('AddOptimizerEngines', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = AddOptimizerEnginesResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
56
80
  # 添加用户到工作组
57
81
 
58
82
  # @param request: Request instance for AddUsersToWorkGroup.
@@ -2021,6 +2045,30 @@ module TencentCloud
2021
2045
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2022
2046
  end
2023
2047
 
2048
+ # 该接口(DescribeTasksCostInfo)用于查询任务消耗
2049
+
2050
+ # @param request: Request instance for DescribeTasksCostInfo.
2051
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeTasksCostInfoRequest`
2052
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeTasksCostInfoResponse`
2053
+ def DescribeTasksCostInfo(request)
2054
+ body = send_request('DescribeTasksCostInfo', request.serialize)
2055
+ response = JSON.parse(body)
2056
+ if response['Response'].key?('Error') == false
2057
+ model = DescribeTasksCostInfoResponse.new
2058
+ model.deserialize(response['Response'])
2059
+ model
2060
+ else
2061
+ code = response['Response']['Error']['Code']
2062
+ message = response['Response']['Error']['Message']
2063
+ reqid = response['Response']['RequestId']
2064
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2065
+ end
2066
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2067
+ raise e
2068
+ rescue StandardError => e
2069
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2070
+ end
2071
+
2024
2072
  # 查询可更新配置的引擎列表
2025
2073
 
2026
2074
  # @param request: Request instance for DescribeUpdatableDataEngines.
@@ -71,6 +71,33 @@ module TencentCloud
71
71
  end
72
72
  end
73
73
 
74
+ # AddOptimizerEngines请求参数结构体
75
+ class AddOptimizerEnginesRequest < TencentCloud::Common::AbstractModel
76
+
77
+
78
+ def initialize()
79
+ end
80
+
81
+ def deserialize(params)
82
+ end
83
+ end
84
+
85
+ # AddOptimizerEngines返回参数结构体
86
+ class AddOptimizerEnginesResponse < TencentCloud::Common::AbstractModel
87
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
88
+ # @type RequestId: String
89
+
90
+ attr_accessor :RequestId
91
+
92
+ def initialize(requestid=nil)
93
+ @RequestId = requestid
94
+ end
95
+
96
+ def deserialize(params)
97
+ @RequestId = params['RequestId']
98
+ end
99
+ end
100
+
74
101
  # AddUsersToWorkGroup请求参数结构体
75
102
  class AddUsersToWorkGroupRequest < TencentCloud::Common::AbstractModel
76
103
  # @param AddInfo: 要操作的工作组和用户信息
@@ -6594,6 +6621,79 @@ module TencentCloud
6594
6621
  end
6595
6622
  end
6596
6623
 
6624
+ # DescribeTasksCostInfo请求参数结构体
6625
+ class DescribeTasksCostInfoRequest < TencentCloud::Common::AbstractModel
6626
+ # @param Filters: 过滤条件,如下支持的过滤类型,传参Name应为以下其中一个,其中task-id支持最大50个过滤个数,其他过滤参数支持的总数不超过5个。
6627
+ # task-id - String - (任务ID准确过滤)task-id取值形如:e386471f-139a-4e59-877f-50ece8135b99。
6628
+ # task-state - String - (任务状态过滤)取值范围 0(初始化), 1(运行中), 2(成功), -1(失败)。
6629
+ # task-sql-keyword - String - (SQL语句关键字模糊过滤)取值形如:DROP TABLE。
6630
+ # task-operator- string (子uin过滤)
6631
+ # @type Filters: Array
6632
+ # @param StartTime: 起始时间点,格式为yyyy-mm-dd HH:MM:SS。默认为45天前的当前时刻
6633
+ # @type StartTime: String
6634
+ # @param EndTime: 结束时间点,格式为yyyy-mm-dd HH:MM:SS时间跨度在(0,30天],支持最近45天数据查询。默认为当前时刻
6635
+ # @type EndTime: String
6636
+ # @param DataEngineName: 数据引擎名称,用于筛选
6637
+ # @type DataEngineName: String
6638
+ # @param SearchAfter: 下一页的标识
6639
+ # @type SearchAfter: String
6640
+ # @param PageSize: 每页的大小
6641
+ # @type PageSize: Integer
6642
+
6643
+ attr_accessor :Filters, :StartTime, :EndTime, :DataEngineName, :SearchAfter, :PageSize
6644
+
6645
+ def initialize(filters=nil, starttime=nil, endtime=nil, dataenginename=nil, searchafter=nil, pagesize=nil)
6646
+ @Filters = filters
6647
+ @StartTime = starttime
6648
+ @EndTime = endtime
6649
+ @DataEngineName = dataenginename
6650
+ @SearchAfter = searchafter
6651
+ @PageSize = pagesize
6652
+ end
6653
+
6654
+ def deserialize(params)
6655
+ unless params['Filters'].nil?
6656
+ @Filters = []
6657
+ params['Filters'].each do |i|
6658
+ filter_tmp = Filter.new
6659
+ filter_tmp.deserialize(i)
6660
+ @Filters << filter_tmp
6661
+ end
6662
+ end
6663
+ @StartTime = params['StartTime']
6664
+ @EndTime = params['EndTime']
6665
+ @DataEngineName = params['DataEngineName']
6666
+ @SearchAfter = params['SearchAfter']
6667
+ @PageSize = params['PageSize']
6668
+ end
6669
+ end
6670
+
6671
+ # DescribeTasksCostInfo返回参数结构体
6672
+ class DescribeTasksCostInfoResponse < TencentCloud::Common::AbstractModel
6673
+ # @param SearchAfter: 下一页的标识
6674
+ # 注意:此字段可能返回 null,表示取不到有效值。
6675
+ # @type SearchAfter: String
6676
+ # @param Data: 返回的数据,字符串类型的二维数组,首行为列中文名称
6677
+ # 注意:此字段可能返回 null,表示取不到有效值。
6678
+ # @type Data: String
6679
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6680
+ # @type RequestId: String
6681
+
6682
+ attr_accessor :SearchAfter, :Data, :RequestId
6683
+
6684
+ def initialize(searchafter=nil, data=nil, requestid=nil)
6685
+ @SearchAfter = searchafter
6686
+ @Data = data
6687
+ @RequestId = requestid
6688
+ end
6689
+
6690
+ def deserialize(params)
6691
+ @SearchAfter = params['SearchAfter']
6692
+ @Data = params['Data']
6693
+ @RequestId = params['RequestId']
6694
+ end
6695
+ end
6696
+
6597
6697
  # DescribeTasks请求参数结构体
6598
6698
  class DescribeTasksRequest < TencentCloud::Common::AbstractModel
6599
6699
  # @param Limit: 返回数量,默认为10,最大值为100。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dlc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.827
4
+ version: 3.0.829
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-21 00:00:00.000000000 Z
11
+ date: 2024-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common