tencentcloud-sdk-dlc 3.0.826 → 3.0.827
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210125/client.rb +24 -0
- data/lib/v20210125/models.rb +94 -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: 6f2ed6a2cb58196169d73ee92da0e7f744fa95fa
|
4
|
+
data.tar.gz: 90d62928193bede811f630173ff712e937ccca50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa831a7724e32bf29183f02c30af49982066b7127e1cf02078e008b908c68a5333c3d99a72195ed8ae197819006f3120197dee66219fb46267fa2f1ef64dada8
|
7
|
+
data.tar.gz: 995b0ebd88343d020eea5bbad7515d0367528e1b91fecf1b7a46c25e53770509ebe8561c7ba38558c7cb705e96dbb79e0c436cf21ce2ab444ced825f28b262ee
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.827
|
data/lib/v20210125/client.rb
CHANGED
@@ -1949,6 +1949,30 @@ module TencentCloud
|
|
1949
1949
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1950
1950
|
end
|
1951
1951
|
|
1952
|
+
# 本接口(DescribeTaskLog)用于获取spark 作业任务日志详情
|
1953
|
+
|
1954
|
+
# @param request: Request instance for DescribeTaskLog.
|
1955
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeTaskLogRequest`
|
1956
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeTaskLogResponse`
|
1957
|
+
def DescribeTaskLog(request)
|
1958
|
+
body = send_request('DescribeTaskLog', request.serialize)
|
1959
|
+
response = JSON.parse(body)
|
1960
|
+
if response['Response'].key?('Error') == false
|
1961
|
+
model = DescribeTaskLogResponse.new
|
1962
|
+
model.deserialize(response['Response'])
|
1963
|
+
model
|
1964
|
+
else
|
1965
|
+
code = response['Response']['Error']['Code']
|
1966
|
+
message = response['Response']['Error']['Message']
|
1967
|
+
reqid = response['Response']['RequestId']
|
1968
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1969
|
+
end
|
1970
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1971
|
+
raise e
|
1972
|
+
rescue StandardError => e
|
1973
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1974
|
+
end
|
1975
|
+
|
1952
1976
|
# 查询任务结果
|
1953
1977
|
|
1954
1978
|
# @param request: Request instance for DescribeTaskResult.
|
data/lib/v20210125/models.rb
CHANGED
@@ -6448,6 +6448,100 @@ module TencentCloud
|
|
6448
6448
|
end
|
6449
6449
|
end
|
6450
6450
|
|
6451
|
+
# DescribeTaskLog请求参数结构体
|
6452
|
+
class DescribeTaskLogRequest < TencentCloud::Common::AbstractModel
|
6453
|
+
# @param TaskId: 列表返回的Id
|
6454
|
+
# @type TaskId: String
|
6455
|
+
# @param StartTime: 开始运行时间,unix时间戳(毫秒)
|
6456
|
+
# @type StartTime: Integer
|
6457
|
+
# @param EndTime: 结束运行时间,unix时间戳(毫秒)
|
6458
|
+
# @type EndTime: Integer
|
6459
|
+
# @param Limit: 分页大小,最大1000,配合Context一起使用
|
6460
|
+
# @type Limit: Integer
|
6461
|
+
# @param Context: 下一次分页参数,第一次传空。透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
|
6462
|
+
# @type Context: String
|
6463
|
+
# @param Asc: 是否升序排列,true:升序排序,false:倒序,默认false,倒序排列
|
6464
|
+
# @type Asc: Boolean
|
6465
|
+
# @param Filters: 预览日志的通用过滤条件
|
6466
|
+
# @type Filters: Array
|
6467
|
+
# @param BatchId: SparkSQL任务唯一ID
|
6468
|
+
# @type BatchId: String
|
6469
|
+
|
6470
|
+
attr_accessor :TaskId, :StartTime, :EndTime, :Limit, :Context, :Asc, :Filters, :BatchId
|
6471
|
+
|
6472
|
+
def initialize(taskid=nil, starttime=nil, endtime=nil, limit=nil, context=nil, asc=nil, filters=nil, batchid=nil)
|
6473
|
+
@TaskId = taskid
|
6474
|
+
@StartTime = starttime
|
6475
|
+
@EndTime = endtime
|
6476
|
+
@Limit = limit
|
6477
|
+
@Context = context
|
6478
|
+
@Asc = asc
|
6479
|
+
@Filters = filters
|
6480
|
+
@BatchId = batchid
|
6481
|
+
end
|
6482
|
+
|
6483
|
+
def deserialize(params)
|
6484
|
+
@TaskId = params['TaskId']
|
6485
|
+
@StartTime = params['StartTime']
|
6486
|
+
@EndTime = params['EndTime']
|
6487
|
+
@Limit = params['Limit']
|
6488
|
+
@Context = params['Context']
|
6489
|
+
@Asc = params['Asc']
|
6490
|
+
unless params['Filters'].nil?
|
6491
|
+
@Filters = []
|
6492
|
+
params['Filters'].each do |i|
|
6493
|
+
filter_tmp = Filter.new
|
6494
|
+
filter_tmp.deserialize(i)
|
6495
|
+
@Filters << filter_tmp
|
6496
|
+
end
|
6497
|
+
end
|
6498
|
+
@BatchId = params['BatchId']
|
6499
|
+
end
|
6500
|
+
end
|
6501
|
+
|
6502
|
+
# DescribeTaskLog返回参数结构体
|
6503
|
+
class DescribeTaskLogResponse < TencentCloud::Common::AbstractModel
|
6504
|
+
# @param Context: 下一次分页参数
|
6505
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6506
|
+
# @type Context: String
|
6507
|
+
# @param ListOver: 是否获取完结
|
6508
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6509
|
+
# @type ListOver: Boolean
|
6510
|
+
# @param Results: 日志详情
|
6511
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6512
|
+
# @type Results: Array
|
6513
|
+
# @param LogUrl: 日志url
|
6514
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6515
|
+
# @type LogUrl: String
|
6516
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6517
|
+
# @type RequestId: String
|
6518
|
+
|
6519
|
+
attr_accessor :Context, :ListOver, :Results, :LogUrl, :RequestId
|
6520
|
+
|
6521
|
+
def initialize(context=nil, listover=nil, results=nil, logurl=nil, requestid=nil)
|
6522
|
+
@Context = context
|
6523
|
+
@ListOver = listover
|
6524
|
+
@Results = results
|
6525
|
+
@LogUrl = logurl
|
6526
|
+
@RequestId = requestid
|
6527
|
+
end
|
6528
|
+
|
6529
|
+
def deserialize(params)
|
6530
|
+
@Context = params['Context']
|
6531
|
+
@ListOver = params['ListOver']
|
6532
|
+
unless params['Results'].nil?
|
6533
|
+
@Results = []
|
6534
|
+
params['Results'].each do |i|
|
6535
|
+
joblogresult_tmp = JobLogResult.new
|
6536
|
+
joblogresult_tmp.deserialize(i)
|
6537
|
+
@Results << joblogresult_tmp
|
6538
|
+
end
|
6539
|
+
end
|
6540
|
+
@LogUrl = params['LogUrl']
|
6541
|
+
@RequestId = params['RequestId']
|
6542
|
+
end
|
6543
|
+
end
|
6544
|
+
|
6451
6545
|
# DescribeTaskResult请求参数结构体
|
6452
6546
|
class DescribeTaskResultRequest < TencentCloud::Common::AbstractModel
|
6453
6547
|
# @param TaskId: 任务唯一ID
|
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.827
|
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-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|