tencentcloud-sdk-dlc 3.0.847 → 3.0.848
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 +24 -0
- data/lib/v20210125/models.rb +111 -1
- 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: a45a2cbd952292f9ace22e6df6f669e6929951b8
|
4
|
+
data.tar.gz: cfe2b54d49b0591e8f6fe8ec7b44cd3c1e7a7a07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3168db3a01166e661e848a0973c6fa407f85020aaa9382124fc8749b330985883399bccf779d4a4cce24346b1a07638a83ba2ee11c6832b88193ab11f4ea5e7
|
7
|
+
data.tar.gz: 8c5c1c44508963705b2d37a92219bcfbdb271566543d31e7149840e19ea0be7ead18e02f12995405251d29dee0cb44b40f6d386c056a3eb89a5b50e81c4d2c4f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.848
|
data/lib/v20210125/client.rb
CHANGED
@@ -1973,6 +1973,30 @@ module TencentCloud
|
|
1973
1973
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1974
1974
|
end
|
1975
1975
|
|
1976
|
+
# 本接口(DescribeSparkSessionBatchSQLCost)用于查询Spark SQL批任务消耗
|
1977
|
+
|
1978
|
+
# @param request: Request instance for DescribeSparkSessionBatchSQLCost.
|
1979
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeSparkSessionBatchSQLCostRequest`
|
1980
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeSparkSessionBatchSQLCostResponse`
|
1981
|
+
def DescribeSparkSessionBatchSQLCost(request)
|
1982
|
+
body = send_request('DescribeSparkSessionBatchSQLCost', request.serialize)
|
1983
|
+
response = JSON.parse(body)
|
1984
|
+
if response['Response'].key?('Error') == false
|
1985
|
+
model = DescribeSparkSessionBatchSQLCostResponse.new
|
1986
|
+
model.deserialize(response['Response'])
|
1987
|
+
model
|
1988
|
+
else
|
1989
|
+
code = response['Response']['Error']['Code']
|
1990
|
+
message = response['Response']['Error']['Message']
|
1991
|
+
reqid = response['Response']['RequestId']
|
1992
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1993
|
+
end
|
1994
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1995
|
+
raise e
|
1996
|
+
rescue StandardError => e
|
1997
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1998
|
+
end
|
1999
|
+
|
1976
2000
|
# 本接口(DescribeSparkSessionBatchSqlLog)用于查询Spark SQL批任务日志
|
1977
2001
|
|
1978
2002
|
# @param request: Request instance for DescribeSparkSessionBatchSqlLog.
|
data/lib/v20210125/models.rb
CHANGED
@@ -605,6 +605,48 @@ module TencentCloud
|
|
605
605
|
end
|
606
606
|
end
|
607
607
|
|
608
|
+
# spark session batch SQL的消耗信息
|
609
|
+
class BatchSQLCostInfo < TencentCloud::Common::AbstractModel
|
610
|
+
# @param BatchId: 任务id
|
611
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
612
|
+
# @type BatchId: String
|
613
|
+
# @param DataEngineName: 引擎名称
|
614
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
615
|
+
# @type DataEngineName: String
|
616
|
+
# @param DataEngineId: 引擎id
|
617
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
618
|
+
# @type DataEngineId: String
|
619
|
+
# @param Cost: 本次消耗,单位cu
|
620
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
621
|
+
# @type Cost: Float
|
622
|
+
# @param TimeCost: 时间开销,秒
|
623
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
624
|
+
# @type TimeCost: Integer
|
625
|
+
# @param Operator: 操作者
|
626
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
627
|
+
# @type Operator: String
|
628
|
+
|
629
|
+
attr_accessor :BatchId, :DataEngineName, :DataEngineId, :Cost, :TimeCost, :Operator
|
630
|
+
|
631
|
+
def initialize(batchid=nil, dataenginename=nil, dataengineid=nil, cost=nil, timecost=nil, operator=nil)
|
632
|
+
@BatchId = batchid
|
633
|
+
@DataEngineName = dataenginename
|
634
|
+
@DataEngineId = dataengineid
|
635
|
+
@Cost = cost
|
636
|
+
@TimeCost = timecost
|
637
|
+
@Operator = operator
|
638
|
+
end
|
639
|
+
|
640
|
+
def deserialize(params)
|
641
|
+
@BatchId = params['BatchId']
|
642
|
+
@DataEngineName = params['DataEngineName']
|
643
|
+
@DataEngineId = params['DataEngineId']
|
644
|
+
@Cost = params['Cost']
|
645
|
+
@TimeCost = params['TimeCost']
|
646
|
+
@Operator = params['Operator']
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
608
650
|
# SparkSQL批任务信息
|
609
651
|
class BatchSqlTask < TencentCloud::Common::AbstractModel
|
610
652
|
# @param TaskId: SQL子任务唯一标识
|
@@ -6446,6 +6488,50 @@ module TencentCloud
|
|
6446
6488
|
end
|
6447
6489
|
end
|
6448
6490
|
|
6491
|
+
# DescribeSparkSessionBatchSQLCost请求参数结构体
|
6492
|
+
class DescribeSparkSessionBatchSQLCostRequest < TencentCloud::Common::AbstractModel
|
6493
|
+
# @param BatchIds: SparkSQL唯一标识
|
6494
|
+
# @type BatchIds: Array
|
6495
|
+
|
6496
|
+
attr_accessor :BatchIds
|
6497
|
+
|
6498
|
+
def initialize(batchids=nil)
|
6499
|
+
@BatchIds = batchids
|
6500
|
+
end
|
6501
|
+
|
6502
|
+
def deserialize(params)
|
6503
|
+
@BatchIds = params['BatchIds']
|
6504
|
+
end
|
6505
|
+
end
|
6506
|
+
|
6507
|
+
# DescribeSparkSessionBatchSQLCost返回参数结构体
|
6508
|
+
class DescribeSparkSessionBatchSQLCostResponse < TencentCloud::Common::AbstractModel
|
6509
|
+
# @param CostInfo: 任务消耗
|
6510
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6511
|
+
# @type CostInfo: Array
|
6512
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6513
|
+
# @type RequestId: String
|
6514
|
+
|
6515
|
+
attr_accessor :CostInfo, :RequestId
|
6516
|
+
|
6517
|
+
def initialize(costinfo=nil, requestid=nil)
|
6518
|
+
@CostInfo = costinfo
|
6519
|
+
@RequestId = requestid
|
6520
|
+
end
|
6521
|
+
|
6522
|
+
def deserialize(params)
|
6523
|
+
unless params['CostInfo'].nil?
|
6524
|
+
@CostInfo = []
|
6525
|
+
params['CostInfo'].each do |i|
|
6526
|
+
batchsqlcostinfo_tmp = BatchSQLCostInfo.new
|
6527
|
+
batchsqlcostinfo_tmp.deserialize(i)
|
6528
|
+
@CostInfo << batchsqlcostinfo_tmp
|
6529
|
+
end
|
6530
|
+
end
|
6531
|
+
@RequestId = params['RequestId']
|
6532
|
+
end
|
6533
|
+
end
|
6534
|
+
|
6449
6535
|
# DescribeSparkSessionBatchSQL请求参数结构体
|
6450
6536
|
class DescribeSparkSessionBatchSQLRequest < TencentCloud::Common::AbstractModel
|
6451
6537
|
# @param BatchId: SparkSQL唯一标识
|
@@ -7070,12 +7156,36 @@ module TencentCloud
|
|
7070
7156
|
|
7071
7157
|
# DescribeTasksOverview请求参数结构体
|
7072
7158
|
class DescribeTasksOverviewRequest < TencentCloud::Common::AbstractModel
|
7159
|
+
# @param StartTime: 开始时间
|
7160
|
+
# @type StartTime: String
|
7161
|
+
# @param EndTime: 结束时间
|
7162
|
+
# @type EndTime: String
|
7163
|
+
# @param Filters: 筛选条件
|
7164
|
+
# @type Filters: Array
|
7165
|
+
# @param DataEngineName: 引擎名
|
7166
|
+
# @type DataEngineName: String
|
7073
7167
|
|
7168
|
+
attr_accessor :StartTime, :EndTime, :Filters, :DataEngineName
|
7074
7169
|
|
7075
|
-
def initialize()
|
7170
|
+
def initialize(starttime=nil, endtime=nil, filters=nil, dataenginename=nil)
|
7171
|
+
@StartTime = starttime
|
7172
|
+
@EndTime = endtime
|
7173
|
+
@Filters = filters
|
7174
|
+
@DataEngineName = dataenginename
|
7076
7175
|
end
|
7077
7176
|
|
7078
7177
|
def deserialize(params)
|
7178
|
+
@StartTime = params['StartTime']
|
7179
|
+
@EndTime = params['EndTime']
|
7180
|
+
unless params['Filters'].nil?
|
7181
|
+
@Filters = []
|
7182
|
+
params['Filters'].each do |i|
|
7183
|
+
filter_tmp = Filter.new
|
7184
|
+
filter_tmp.deserialize(i)
|
7185
|
+
@Filters << filter_tmp
|
7186
|
+
end
|
7187
|
+
end
|
7188
|
+
@DataEngineName = params['DataEngineName']
|
7079
7189
|
end
|
7080
7190
|
end
|
7081
7191
|
|
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.848
|
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-06-
|
11
|
+
date: 2024-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|