tencentcloud-sdk-dlc 3.0.826 → 3.0.828

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: c4fbab1299bec7c372b481796ac4f1baa0f6f1b3
4
- data.tar.gz: dd4528a0406c9c8a5a60ce1debdc67cf5c5f5c20
3
+ metadata.gz: 75a19925228b73ab66980270668aa6545cf356d9
4
+ data.tar.gz: 4a6370ba8b2af898c4425bfc0525d5f2b92dd8c1
5
5
  SHA512:
6
- metadata.gz: cdec729e487e01f97a3f90f926c2af6f2f8eefee7a45c592b641ae7fc7c92db4c6f4f231cc32d71aca5e3478437dd54c6926acf07b12e1549b230fe0c4e25693
7
- data.tar.gz: 510598a319ac2cad36f7fda0c2ee3c545e94cac951b9c44001b509811a91a6ea2ae69c732c24d4c3944461baad3c8350e40d45139415e605f723a735bd86fab5
6
+ metadata.gz: 7e362e9ab4610ab910f32c2a06e2c06dcc43d0aa58796d5af7b75da3a8081138520feec668dba9f71311a9e3f0a81d42ada00ba50e296083fac946509a88961b
7
+ data.tar.gz: 2ff3b3bfd4968c3eda2930558c12336bbc63e7f3bc5dcadccfcc5641b90ee890475ca0487b84e17f7043f358cf54cf336918a98777809e9d9cf0c67673c297c0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.826
1
+ 3.0.828
@@ -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.
@@ -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.826
4
+ version: 3.0.828
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-20 00:00:00.000000000 Z
11
+ date: 2024-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common