tencentcloud-sdk-dlc 3.0.828 → 3.0.830
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210125/client.rb +72 -0
- data/lib/v20210125/models.rb +140 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a559cb5f8651cf5f550f652cb4f3a82aec00b7f2
|
4
|
+
data.tar.gz: 12b663388c3a9f5330697120d14cbbd88438f3ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5164027e65132613a0cbb882a4e0a6ebbf5543a3b193870fd419a54eaca2b8ff9f3b230b5a4e4fc42d23efbdbf00aa90981cdccb59b9757d8f045110819b13d6
|
7
|
+
data.tar.gz: fc015930bd9eda82f467fc005cc3f29abf478311a626330bf81d926d8029a2a4b3b966101c8d96e45f6f8d65506a4d46e67b4cd65d0bd6b2b5a6d9eb21a32da8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.830
|
data/lib/v20210125/client.rb
CHANGED
@@ -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.
|
@@ -2429,6 +2477,30 @@ module TencentCloud
|
|
2429
2477
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2430
2478
|
end
|
2431
2479
|
|
2480
|
+
# 本接口(ListTaskJobLogName)用于获取spark-jar日志名称列表
|
2481
|
+
|
2482
|
+
# @param request: Request instance for ListTaskJobLogName.
|
2483
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::ListTaskJobLogNameRequest`
|
2484
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::ListTaskJobLogNameResponse`
|
2485
|
+
def ListTaskJobLogName(request)
|
2486
|
+
body = send_request('ListTaskJobLogName', request.serialize)
|
2487
|
+
response = JSON.parse(body)
|
2488
|
+
if response['Response'].key?('Error') == false
|
2489
|
+
model = ListTaskJobLogNameResponse.new
|
2490
|
+
model.deserialize(response['Response'])
|
2491
|
+
model
|
2492
|
+
else
|
2493
|
+
code = response['Response']['Error']['Code']
|
2494
|
+
message = response['Response']['Error']['Message']
|
2495
|
+
reqid = response['Response']['RequestId']
|
2496
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2497
|
+
end
|
2498
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2499
|
+
raise e
|
2500
|
+
rescue StandardError => e
|
2501
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2502
|
+
end
|
2503
|
+
|
2432
2504
|
# 元数据锁
|
2433
2505
|
|
2434
2506
|
# @param request: Request instance for LockMetaData.
|
data/lib/v20210125/models.rb
CHANGED
@@ -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。
|
@@ -8174,6 +8274,46 @@ module TencentCloud
|
|
8174
8274
|
end
|
8175
8275
|
end
|
8176
8276
|
|
8277
|
+
# ListTaskJobLogName请求参数结构体
|
8278
|
+
class ListTaskJobLogNameRequest < TencentCloud::Common::AbstractModel
|
8279
|
+
# @param TaskId: 查询的taskId
|
8280
|
+
# @type TaskId: String
|
8281
|
+
# @param BatchId: SparkSQL批任务唯一ID
|
8282
|
+
# @type BatchId: String
|
8283
|
+
|
8284
|
+
attr_accessor :TaskId, :BatchId
|
8285
|
+
|
8286
|
+
def initialize(taskid=nil, batchid=nil)
|
8287
|
+
@TaskId = taskid
|
8288
|
+
@BatchId = batchid
|
8289
|
+
end
|
8290
|
+
|
8291
|
+
def deserialize(params)
|
8292
|
+
@TaskId = params['TaskId']
|
8293
|
+
@BatchId = params['BatchId']
|
8294
|
+
end
|
8295
|
+
end
|
8296
|
+
|
8297
|
+
# ListTaskJobLogName返回参数结构体
|
8298
|
+
class ListTaskJobLogNameResponse < TencentCloud::Common::AbstractModel
|
8299
|
+
# @param Names: 日志名称列表
|
8300
|
+
# @type Names: Array
|
8301
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8302
|
+
# @type RequestId: String
|
8303
|
+
|
8304
|
+
attr_accessor :Names, :RequestId
|
8305
|
+
|
8306
|
+
def initialize(names=nil, requestid=nil)
|
8307
|
+
@Names = names
|
8308
|
+
@RequestId = requestid
|
8309
|
+
end
|
8310
|
+
|
8311
|
+
def deserialize(params)
|
8312
|
+
@Names = params['Names']
|
8313
|
+
@RequestId = params['RequestId']
|
8314
|
+
end
|
8315
|
+
end
|
8316
|
+
|
8177
8317
|
# 元数据加锁内容
|
8178
8318
|
class LockComponentInfo < TencentCloud::Common::AbstractModel
|
8179
8319
|
# @param DbName: 数据库名称
|
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.
|
4
|
+
version: 3.0.830
|
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-
|
11
|
+
date: 2024-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|