tencentcloud-sdk-dlc 3.0.1136 → 3.0.1148
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 +338 -15
- 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: 36247ec83b42ece0bb33dc0a23bf1bcc17e028e5
|
4
|
+
data.tar.gz: f11efcfc3f6fff9368a759b6af6f4112c5c0596f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d60a93b62d9924e1909f11ccffa24691297536cfcdcd4194a36809239f9d88a67c51cfbd2bfe189e623aab4916edd179b7e686c9599b3dda7d2241aa660f1e1f
|
7
|
+
data.tar.gz: 11fc0a1755453b580008462b6a927857bd28c36837b087153d9c81042621c2bc2c697246ae01ce107b624b31f8c327e0c75d2f46f16969fd94e9897a379ebb3b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1148
|
data/lib/v20210125/client.rb
CHANGED
@@ -2791,6 +2791,30 @@ module TencentCloud
|
|
2791
2791
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2792
2792
|
end
|
2793
2793
|
|
2794
|
+
# 返回任务洞察资源用量
|
2795
|
+
|
2796
|
+
# @param request: Request instance for DescribeTaskResourceUsage.
|
2797
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeTaskResourceUsageRequest`
|
2798
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeTaskResourceUsageResponse`
|
2799
|
+
def DescribeTaskResourceUsage(request)
|
2800
|
+
body = send_request('DescribeTaskResourceUsage', request.serialize)
|
2801
|
+
response = JSON.parse(body)
|
2802
|
+
if response['Response'].key?('Error') == false
|
2803
|
+
model = DescribeTaskResourceUsageResponse.new
|
2804
|
+
model.deserialize(response['Response'])
|
2805
|
+
model
|
2806
|
+
else
|
2807
|
+
code = response['Response']['Error']['Code']
|
2808
|
+
message = response['Response']['Error']['Message']
|
2809
|
+
reqid = response['Response']['RequestId']
|
2810
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2811
|
+
end
|
2812
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2813
|
+
raise e
|
2814
|
+
rescue StandardError => e
|
2815
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2816
|
+
end
|
2817
|
+
|
2794
2818
|
# 查询任务结果,仅支持30天以内的任务查询结果,且返回数据大小超过近50M会进行截断。
|
2795
2819
|
|
2796
2820
|
# @param request: Request instance for DescribeTaskResult.
|
data/lib/v20210125/models.rb
CHANGED
@@ -1540,6 +1540,26 @@ module TencentCloud
|
|
1540
1540
|
end
|
1541
1541
|
end
|
1542
1542
|
|
1543
|
+
# 任务 core 用量信息
|
1544
|
+
class CoreInfo < TencentCloud::Common::AbstractModel
|
1545
|
+
# @param Timestamp: 时间戳(毫秒)数组
|
1546
|
+
# @type Timestamp: Array
|
1547
|
+
# @param CoreUsage: core 用量
|
1548
|
+
# @type CoreUsage: Array
|
1549
|
+
|
1550
|
+
attr_accessor :Timestamp, :CoreUsage
|
1551
|
+
|
1552
|
+
def initialize(timestamp=nil, coreusage=nil)
|
1553
|
+
@Timestamp = timestamp
|
1554
|
+
@CoreUsage = coreusage
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
def deserialize(params)
|
1558
|
+
@Timestamp = params['Timestamp']
|
1559
|
+
@CoreUsage = params['CoreUsage']
|
1560
|
+
end
|
1561
|
+
end
|
1562
|
+
|
1543
1563
|
# cos权限描述
|
1544
1564
|
class CosPermission < TencentCloud::Common::AbstractModel
|
1545
1565
|
# @param CosPath: cos路径
|
@@ -2010,16 +2030,20 @@ module TencentCloud
|
|
2010
2030
|
|
2011
2031
|
# CreateDataMaskStrategy返回参数结构体
|
2012
2032
|
class CreateDataMaskStrategyResponse < TencentCloud::Common::AbstractModel
|
2033
|
+
# @param StrategyId: 策略id
|
2034
|
+
# @type StrategyId: String
|
2013
2035
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2014
2036
|
# @type RequestId: String
|
2015
2037
|
|
2016
|
-
attr_accessor :RequestId
|
2038
|
+
attr_accessor :StrategyId, :RequestId
|
2017
2039
|
|
2018
|
-
def initialize(requestid=nil)
|
2040
|
+
def initialize(strategyid=nil, requestid=nil)
|
2041
|
+
@StrategyId = strategyid
|
2019
2042
|
@RequestId = requestid
|
2020
2043
|
end
|
2021
2044
|
|
2022
2045
|
def deserialize(params)
|
2046
|
+
@StrategyId = params['StrategyId']
|
2023
2047
|
@RequestId = params['RequestId']
|
2024
2048
|
end
|
2025
2049
|
end
|
@@ -3054,10 +3078,20 @@ module TencentCloud
|
|
3054
3078
|
# @type SparkSpecMode: String
|
3055
3079
|
# @param SparkSize: 仅SQL资源组资源上限,仅用于快速模块
|
3056
3080
|
# @type SparkSize: Integer
|
3057
|
-
|
3058
|
-
|
3059
|
-
|
3060
|
-
|
3081
|
+
# @param DriverGPUSpec: GPUDriver规格
|
3082
|
+
# @type DriverGPUSpec: Integer
|
3083
|
+
# @param ExecutorGPUSpec: GPUExecutor规格
|
3084
|
+
# @type ExecutorGPUSpec: Integer
|
3085
|
+
# @param GPULimitSize: GPU上限
|
3086
|
+
# @type GPULimitSize: Integer
|
3087
|
+
# @param GPUSize: GPU规格
|
3088
|
+
# @type GPUSize: Integer
|
3089
|
+
# @param PythonGPUSpec: Pod GPU规格上限
|
3090
|
+
# @type PythonGPUSpec: Integer
|
3091
|
+
|
3092
|
+
attr_accessor :EngineResourceGroupName, :DataEngineName, :AutoLaunch, :AutoPause, :DriverCuSpec, :ExecutorCuSpec, :MinExecutorNums, :MaxExecutorNums, :IsLaunchNow, :AutoPauseTime, :StaticConfigPairs, :DynamicConfigPairs, :MaxConcurrency, :NetworkConfigNames, :PublicDomain, :RegistryId, :FrameType, :ImageType, :ImageName, :ImageVersion, :Size, :ResourceGroupScene, :RegionName, :PythonCuSpec, :SparkSpecMode, :SparkSize, :DriverGPUSpec, :ExecutorGPUSpec, :GPULimitSize, :GPUSize, :PythonGPUSpec
|
3093
|
+
|
3094
|
+
def initialize(engineresourcegroupname=nil, dataenginename=nil, autolaunch=nil, autopause=nil, drivercuspec=nil, executorcuspec=nil, minexecutornums=nil, maxexecutornums=nil, islaunchnow=nil, autopausetime=nil, staticconfigpairs=nil, dynamicconfigpairs=nil, maxconcurrency=nil, networkconfignames=nil, publicdomain=nil, registryid=nil, frametype=nil, imagetype=nil, imagename=nil, imageversion=nil, size=nil, resourcegroupscene=nil, regionname=nil, pythoncuspec=nil, sparkspecmode=nil, sparksize=nil, drivergpuspec=nil, executorgpuspec=nil, gpulimitsize=nil, gpusize=nil, pythongpuspec=nil)
|
3061
3095
|
@EngineResourceGroupName = engineresourcegroupname
|
3062
3096
|
@DataEngineName = dataenginename
|
3063
3097
|
@AutoLaunch = autolaunch
|
@@ -3084,6 +3118,11 @@ module TencentCloud
|
|
3084
3118
|
@PythonCuSpec = pythoncuspec
|
3085
3119
|
@SparkSpecMode = sparkspecmode
|
3086
3120
|
@SparkSize = sparksize
|
3121
|
+
@DriverGPUSpec = drivergpuspec
|
3122
|
+
@ExecutorGPUSpec = executorgpuspec
|
3123
|
+
@GPULimitSize = gpulimitsize
|
3124
|
+
@GPUSize = gpusize
|
3125
|
+
@PythonGPUSpec = pythongpuspec
|
3087
3126
|
end
|
3088
3127
|
|
3089
3128
|
def deserialize(params)
|
@@ -3127,6 +3166,11 @@ module TencentCloud
|
|
3127
3166
|
@PythonCuSpec = params['PythonCuSpec']
|
3128
3167
|
@SparkSpecMode = params['SparkSpecMode']
|
3129
3168
|
@SparkSize = params['SparkSize']
|
3169
|
+
@DriverGPUSpec = params['DriverGPUSpec']
|
3170
|
+
@ExecutorGPUSpec = params['ExecutorGPUSpec']
|
3171
|
+
@GPULimitSize = params['GPULimitSize']
|
3172
|
+
@GPUSize = params['GPUSize']
|
3173
|
+
@PythonGPUSpec = params['PythonGPUSpec']
|
3130
3174
|
end
|
3131
3175
|
end
|
3132
3176
|
|
@@ -8726,27 +8770,74 @@ module TencentCloud
|
|
8726
8770
|
|
8727
8771
|
# DescribeTablePartitions请求参数结构体
|
8728
8772
|
class DescribeTablePartitionsRequest < TencentCloud::Common::AbstractModel
|
8773
|
+
# @param Catalog: 数据目录名称
|
8774
|
+
# @type Catalog: String
|
8775
|
+
# @param Database: 数据库名称
|
8776
|
+
# @type Database: String
|
8777
|
+
# @param Table: 数据表名称
|
8778
|
+
# @type Table: String
|
8779
|
+
# @param Offset: 查询偏移位置
|
8780
|
+
# @type Offset: Integer
|
8781
|
+
# @param Limit: 当次查询的数量限制
|
8782
|
+
# @type Limit: Integer
|
8783
|
+
# @param FuzzyPartition: 模糊查询的分区名称
|
8784
|
+
# @type FuzzyPartition: String
|
8785
|
+
# @param Sorts: 排序信息
|
8786
|
+
# @type Sorts: Array
|
8787
|
+
# @param Cursor: 分页查询的游标信息
|
8788
|
+
# @type Cursor: String
|
8729
8789
|
|
8790
|
+
attr_accessor :Catalog, :Database, :Table, :Offset, :Limit, :FuzzyPartition, :Sorts, :Cursor
|
8730
8791
|
|
8731
|
-
def initialize()
|
8792
|
+
def initialize(catalog=nil, database=nil, table=nil, offset=nil, limit=nil, fuzzypartition=nil, sorts=nil, cursor=nil)
|
8793
|
+
@Catalog = catalog
|
8794
|
+
@Database = database
|
8795
|
+
@Table = table
|
8796
|
+
@Offset = offset
|
8797
|
+
@Limit = limit
|
8798
|
+
@FuzzyPartition = fuzzypartition
|
8799
|
+
@Sorts = sorts
|
8800
|
+
@Cursor = cursor
|
8732
8801
|
end
|
8733
8802
|
|
8734
8803
|
def deserialize(params)
|
8804
|
+
@Catalog = params['Catalog']
|
8805
|
+
@Database = params['Database']
|
8806
|
+
@Table = params['Table']
|
8807
|
+
@Offset = params['Offset']
|
8808
|
+
@Limit = params['Limit']
|
8809
|
+
@FuzzyPartition = params['FuzzyPartition']
|
8810
|
+
unless params['Sorts'].nil?
|
8811
|
+
@Sorts = []
|
8812
|
+
params['Sorts'].each do |i|
|
8813
|
+
sort_tmp = Sort.new
|
8814
|
+
sort_tmp.deserialize(i)
|
8815
|
+
@Sorts << sort_tmp
|
8816
|
+
end
|
8817
|
+
end
|
8818
|
+
@Cursor = params['Cursor']
|
8735
8819
|
end
|
8736
8820
|
end
|
8737
8821
|
|
8738
8822
|
# DescribeTablePartitions返回参数结构体
|
8739
8823
|
class DescribeTablePartitionsResponse < TencentCloud::Common::AbstractModel
|
8824
|
+
# @param MixedPartitions: 分区信息值
|
8825
|
+
# @type MixedPartitions: :class:`Tencentcloud::Dlc.v20210125.models.MixedTablePartitions`
|
8740
8826
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8741
8827
|
# @type RequestId: String
|
8742
8828
|
|
8743
|
-
attr_accessor :RequestId
|
8829
|
+
attr_accessor :MixedPartitions, :RequestId
|
8744
8830
|
|
8745
|
-
def initialize(requestid=nil)
|
8831
|
+
def initialize(mixedpartitions=nil, requestid=nil)
|
8832
|
+
@MixedPartitions = mixedpartitions
|
8746
8833
|
@RequestId = requestid
|
8747
8834
|
end
|
8748
8835
|
|
8749
8836
|
def deserialize(params)
|
8837
|
+
unless params['MixedPartitions'].nil?
|
8838
|
+
@MixedPartitions = MixedTablePartitions.new
|
8839
|
+
@MixedPartitions.deserialize(params['MixedPartitions'])
|
8840
|
+
end
|
8750
8841
|
@RequestId = params['RequestId']
|
8751
8842
|
end
|
8752
8843
|
end
|
@@ -9145,6 +9236,45 @@ module TencentCloud
|
|
9145
9236
|
end
|
9146
9237
|
end
|
9147
9238
|
|
9239
|
+
# DescribeTaskResourceUsage请求参数结构体
|
9240
|
+
class DescribeTaskResourceUsageRequest < TencentCloud::Common::AbstractModel
|
9241
|
+
# @param TaskInstanceId: 任务 id
|
9242
|
+
# @type TaskInstanceId: String
|
9243
|
+
|
9244
|
+
attr_accessor :TaskInstanceId
|
9245
|
+
|
9246
|
+
def initialize(taskinstanceid=nil)
|
9247
|
+
@TaskInstanceId = taskinstanceid
|
9248
|
+
end
|
9249
|
+
|
9250
|
+
def deserialize(params)
|
9251
|
+
@TaskInstanceId = params['TaskInstanceId']
|
9252
|
+
end
|
9253
|
+
end
|
9254
|
+
|
9255
|
+
# DescribeTaskResourceUsage返回参数结构体
|
9256
|
+
class DescribeTaskResourceUsageResponse < TencentCloud::Common::AbstractModel
|
9257
|
+
# @param CoreInfo: core 用量信息
|
9258
|
+
# @type CoreInfo: :class:`Tencentcloud::Dlc.v20210125.models.CoreInfo`
|
9259
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9260
|
+
# @type RequestId: String
|
9261
|
+
|
9262
|
+
attr_accessor :CoreInfo, :RequestId
|
9263
|
+
|
9264
|
+
def initialize(coreinfo=nil, requestid=nil)
|
9265
|
+
@CoreInfo = coreinfo
|
9266
|
+
@RequestId = requestid
|
9267
|
+
end
|
9268
|
+
|
9269
|
+
def deserialize(params)
|
9270
|
+
unless params['CoreInfo'].nil?
|
9271
|
+
@CoreInfo = CoreInfo.new
|
9272
|
+
@CoreInfo.deserialize(params['CoreInfo'])
|
9273
|
+
end
|
9274
|
+
@RequestId = params['RequestId']
|
9275
|
+
end
|
9276
|
+
end
|
9277
|
+
|
9148
9278
|
# DescribeTaskResult请求参数结构体
|
9149
9279
|
class DescribeTaskResultRequest < TencentCloud::Common::AbstractModel
|
9150
9280
|
# @param TaskId: 任务唯一ID,仅支持30天内的任务
|
@@ -11170,6 +11300,42 @@ module TencentCloud
|
|
11170
11300
|
end
|
11171
11301
|
end
|
11172
11302
|
|
11303
|
+
# Hive表分区信息
|
11304
|
+
class HiveTablePartition < TencentCloud::Common::AbstractModel
|
11305
|
+
# @param Partition: 分区信息名称
|
11306
|
+
# @type Partition: String
|
11307
|
+
# @param Records: 分区记录数
|
11308
|
+
# @type Records: Integer
|
11309
|
+
# @param DataFileStorage: 分区数据文件存储量
|
11310
|
+
# @type DataFileStorage: Integer
|
11311
|
+
# @param CreateTime: 分区创建时间
|
11312
|
+
# @type CreateTime: String
|
11313
|
+
# @param ModifiedTime: 分区schema更新时间
|
11314
|
+
# @type ModifiedTime: String
|
11315
|
+
# @param LastAccessTime: 最后一次分区更新的访问时间
|
11316
|
+
# @type LastAccessTime: String
|
11317
|
+
|
11318
|
+
attr_accessor :Partition, :Records, :DataFileStorage, :CreateTime, :ModifiedTime, :LastAccessTime
|
11319
|
+
|
11320
|
+
def initialize(partition=nil, records=nil, datafilestorage=nil, createtime=nil, modifiedtime=nil, lastaccesstime=nil)
|
11321
|
+
@Partition = partition
|
11322
|
+
@Records = records
|
11323
|
+
@DataFileStorage = datafilestorage
|
11324
|
+
@CreateTime = createtime
|
11325
|
+
@ModifiedTime = modifiedtime
|
11326
|
+
@LastAccessTime = lastaccesstime
|
11327
|
+
end
|
11328
|
+
|
11329
|
+
def deserialize(params)
|
11330
|
+
@Partition = params['Partition']
|
11331
|
+
@Records = params['Records']
|
11332
|
+
@DataFileStorage = params['DataFileStorage']
|
11333
|
+
@CreateTime = params['CreateTime']
|
11334
|
+
@ModifiedTime = params['ModifiedTime']
|
11335
|
+
@LastAccessTime = params['LastAccessTime']
|
11336
|
+
end
|
11337
|
+
end
|
11338
|
+
|
11173
11339
|
# 集群事件日志
|
11174
11340
|
class HouseEventsInfo < TencentCloud::Common::AbstractModel
|
11175
11341
|
# @param Time: 事件时间
|
@@ -11197,6 +11363,53 @@ module TencentCloud
|
|
11197
11363
|
end
|
11198
11364
|
end
|
11199
11365
|
|
11366
|
+
# Iceberg表分区信息
|
11367
|
+
class IcebergTablePartition < TencentCloud::Common::AbstractModel
|
11368
|
+
# @param Partition: 分区信息名称
|
11369
|
+
# @type Partition: String
|
11370
|
+
# @param Records: 分区记录数
|
11371
|
+
# @type Records: Integer
|
11372
|
+
# @param DataFileSize: 分区数据文件数量
|
11373
|
+
# @type DataFileSize: Integer
|
11374
|
+
# @param DataFileStorage: 分区数据文件存储量
|
11375
|
+
# @type DataFileStorage: Integer
|
11376
|
+
# @param CreateTime: 分区创建时间
|
11377
|
+
# @type CreateTime: String
|
11378
|
+
# @param UpdateTime: 分区更新时间
|
11379
|
+
# @type UpdateTime: String
|
11380
|
+
# @param LastUpdateSnapshotId: 最后一次分区更新的快照ID
|
11381
|
+
# @type LastUpdateSnapshotId: String
|
11382
|
+
# @param Location: 分区的location
|
11383
|
+
# @type Location: :class:`Tencentcloud::Dlc.v20210125.models.LocationInfo`
|
11384
|
+
|
11385
|
+
attr_accessor :Partition, :Records, :DataFileSize, :DataFileStorage, :CreateTime, :UpdateTime, :LastUpdateSnapshotId, :Location
|
11386
|
+
|
11387
|
+
def initialize(partition=nil, records=nil, datafilesize=nil, datafilestorage=nil, createtime=nil, updatetime=nil, lastupdatesnapshotid=nil, location=nil)
|
11388
|
+
@Partition = partition
|
11389
|
+
@Records = records
|
11390
|
+
@DataFileSize = datafilesize
|
11391
|
+
@DataFileStorage = datafilestorage
|
11392
|
+
@CreateTime = createtime
|
11393
|
+
@UpdateTime = updatetime
|
11394
|
+
@LastUpdateSnapshotId = lastupdatesnapshotid
|
11395
|
+
@Location = location
|
11396
|
+
end
|
11397
|
+
|
11398
|
+
def deserialize(params)
|
11399
|
+
@Partition = params['Partition']
|
11400
|
+
@Records = params['Records']
|
11401
|
+
@DataFileSize = params['DataFileSize']
|
11402
|
+
@DataFileStorage = params['DataFileStorage']
|
11403
|
+
@CreateTime = params['CreateTime']
|
11404
|
+
@UpdateTime = params['UpdateTime']
|
11405
|
+
@LastUpdateSnapshotId = params['LastUpdateSnapshotId']
|
11406
|
+
unless params['Location'].nil?
|
11407
|
+
@Location = LocationInfo.new
|
11408
|
+
@Location.deserialize(params['Location'])
|
11409
|
+
end
|
11410
|
+
end
|
11411
|
+
end
|
11412
|
+
|
11200
11413
|
# ip端口对信息
|
11201
11414
|
class IpPortPair < TencentCloud::Common::AbstractModel
|
11202
11415
|
# @param Ip: ip信息
|
@@ -11581,6 +11794,26 @@ module TencentCloud
|
|
11581
11794
|
end
|
11582
11795
|
end
|
11583
11796
|
|
11797
|
+
# Location信息结构
|
11798
|
+
class LocationInfo < TencentCloud::Common::AbstractModel
|
11799
|
+
# @param Bucket: 桶名称
|
11800
|
+
# @type Bucket: String
|
11801
|
+
# @param DataLocation: location路径
|
11802
|
+
# @type DataLocation: String
|
11803
|
+
|
11804
|
+
attr_accessor :Bucket, :DataLocation
|
11805
|
+
|
11806
|
+
def initialize(bucket=nil, datalocation=nil)
|
11807
|
+
@Bucket = bucket
|
11808
|
+
@DataLocation = datalocation
|
11809
|
+
end
|
11810
|
+
|
11811
|
+
def deserialize(params)
|
11812
|
+
@Bucket = params['Bucket']
|
11813
|
+
@DataLocation = params['DataLocation']
|
11814
|
+
end
|
11815
|
+
end
|
11816
|
+
|
11584
11817
|
# 元数据加锁内容
|
11585
11818
|
class LockComponentInfo < TencentCloud::Common::AbstractModel
|
11586
11819
|
# @param DbName: 数据库名称
|
@@ -11688,6 +11921,52 @@ module TencentCloud
|
|
11688
11921
|
end
|
11689
11922
|
end
|
11690
11923
|
|
11924
|
+
# DLC分区信息查询返回数据结构
|
11925
|
+
class MixedTablePartitions < TencentCloud::Common::AbstractModel
|
11926
|
+
# @param TableFormat: 数据表格式
|
11927
|
+
# @type TableFormat: String
|
11928
|
+
# @param TotalSize: 分区总数
|
11929
|
+
# @type TotalSize: Integer
|
11930
|
+
# @param NextCursor: 分页查询的游标信息,在获取下一页信息时需要回传到服务端
|
11931
|
+
# @type NextCursor: String
|
11932
|
+
# @param IcebergPartitions: iceberg表分区信息
|
11933
|
+
# @type IcebergPartitions: Array
|
11934
|
+
# @param HivePartitions: hive表分区信息
|
11935
|
+
# @type HivePartitions: Array
|
11936
|
+
|
11937
|
+
attr_accessor :TableFormat, :TotalSize, :NextCursor, :IcebergPartitions, :HivePartitions
|
11938
|
+
|
11939
|
+
def initialize(tableformat=nil, totalsize=nil, nextcursor=nil, icebergpartitions=nil, hivepartitions=nil)
|
11940
|
+
@TableFormat = tableformat
|
11941
|
+
@TotalSize = totalsize
|
11942
|
+
@NextCursor = nextcursor
|
11943
|
+
@IcebergPartitions = icebergpartitions
|
11944
|
+
@HivePartitions = hivepartitions
|
11945
|
+
end
|
11946
|
+
|
11947
|
+
def deserialize(params)
|
11948
|
+
@TableFormat = params['TableFormat']
|
11949
|
+
@TotalSize = params['TotalSize']
|
11950
|
+
@NextCursor = params['NextCursor']
|
11951
|
+
unless params['IcebergPartitions'].nil?
|
11952
|
+
@IcebergPartitions = []
|
11953
|
+
params['IcebergPartitions'].each do |i|
|
11954
|
+
icebergtablepartition_tmp = IcebergTablePartition.new
|
11955
|
+
icebergtablepartition_tmp.deserialize(i)
|
11956
|
+
@IcebergPartitions << icebergtablepartition_tmp
|
11957
|
+
end
|
11958
|
+
end
|
11959
|
+
unless params['HivePartitions'].nil?
|
11960
|
+
@HivePartitions = []
|
11961
|
+
params['HivePartitions'].each do |i|
|
11962
|
+
hivetablepartition_tmp = HiveTablePartition.new
|
11963
|
+
hivetablepartition_tmp.deserialize(i)
|
11964
|
+
@HivePartitions << hivetablepartition_tmp
|
11965
|
+
end
|
11966
|
+
end
|
11967
|
+
end
|
11968
|
+
end
|
11969
|
+
|
11691
11970
|
# ModifyAdvancedStoreLocation请求参数结构体
|
11692
11971
|
class ModifyAdvancedStoreLocationRequest < TencentCloud::Common::AbstractModel
|
11693
11972
|
# @param StoreLocation: 查询结果保存cos路径
|
@@ -13857,6 +14136,26 @@ module TencentCloud
|
|
13857
14136
|
end
|
13858
14137
|
end
|
13859
14138
|
|
14139
|
+
# 排序结构
|
14140
|
+
class Sort < TencentCloud::Common::AbstractModel
|
14141
|
+
# @param Field: 排序字段
|
14142
|
+
# @type Field: String
|
14143
|
+
# @param Asc: 是否按照ASC排序,否则DESC排序
|
14144
|
+
# @type Asc: Boolean
|
14145
|
+
|
14146
|
+
attr_accessor :Field, :Asc
|
14147
|
+
|
14148
|
+
def initialize(field=nil, asc=nil)
|
14149
|
+
@Field = field
|
14150
|
+
@Asc = asc
|
14151
|
+
end
|
14152
|
+
|
14153
|
+
def deserialize(params)
|
14154
|
+
@Field = params['Field']
|
14155
|
+
@Asc = params['Asc']
|
14156
|
+
end
|
14157
|
+
end
|
14158
|
+
|
13860
14159
|
# spark作业详情。
|
13861
14160
|
class SparkJobInfo < TencentCloud::Common::AbstractModel
|
13862
14161
|
# @param JobId: spark作业ID
|
@@ -15406,10 +15705,12 @@ module TencentCloud
|
|
15406
15705
|
# @type TotalTime: Integer
|
15407
15706
|
# @param QueryResultTime: 获取结果消耗的时间
|
15408
15707
|
# @type QueryResultTime: Float
|
15708
|
+
# @param ResultSetEncode: base64 编码结果集
|
15709
|
+
# @type ResultSetEncode: String
|
15409
15710
|
|
15410
|
-
attr_accessor :TaskId, :DatasourceConnectionName, :DatabaseName, :SQL, :SQLType, :State, :DataAmount, :UsedTime, :OutputPath, :CreateTime, :OutputMessage, :RowAffectInfo, :ResultSchema, :ResultSet, :NextToken, :Percentage, :ProgressDetail, :DisplayFormat, :TotalTime, :QueryResultTime
|
15711
|
+
attr_accessor :TaskId, :DatasourceConnectionName, :DatabaseName, :SQL, :SQLType, :State, :DataAmount, :UsedTime, :OutputPath, :CreateTime, :OutputMessage, :RowAffectInfo, :ResultSchema, :ResultSet, :NextToken, :Percentage, :ProgressDetail, :DisplayFormat, :TotalTime, :QueryResultTime, :ResultSetEncode
|
15411
15712
|
|
15412
|
-
def initialize(taskid=nil, datasourceconnectionname=nil, databasename=nil, sql=nil, sqltype=nil, state=nil, dataamount=nil, usedtime=nil, outputpath=nil, createtime=nil, outputmessage=nil, rowaffectinfo=nil, resultschema=nil, resultset=nil, nexttoken=nil, percentage=nil, progressdetail=nil, displayformat=nil, totaltime=nil, queryresulttime=nil)
|
15713
|
+
def initialize(taskid=nil, datasourceconnectionname=nil, databasename=nil, sql=nil, sqltype=nil, state=nil, dataamount=nil, usedtime=nil, outputpath=nil, createtime=nil, outputmessage=nil, rowaffectinfo=nil, resultschema=nil, resultset=nil, nexttoken=nil, percentage=nil, progressdetail=nil, displayformat=nil, totaltime=nil, queryresulttime=nil, resultsetencode=nil)
|
15413
15714
|
@TaskId = taskid
|
15414
15715
|
@DatasourceConnectionName = datasourceconnectionname
|
15415
15716
|
@DatabaseName = databasename
|
@@ -15430,6 +15731,7 @@ module TencentCloud
|
|
15430
15731
|
@DisplayFormat = displayformat
|
15431
15732
|
@TotalTime = totaltime
|
15432
15733
|
@QueryResultTime = queryresulttime
|
15734
|
+
@ResultSetEncode = resultsetencode
|
15433
15735
|
end
|
15434
15736
|
|
15435
15737
|
def deserialize(params)
|
@@ -15460,6 +15762,7 @@ module TencentCloud
|
|
15460
15762
|
@DisplayFormat = params['DisplayFormat']
|
15461
15763
|
@TotalTime = params['TotalTime']
|
15462
15764
|
@QueryResultTime = params['QueryResultTime']
|
15765
|
+
@ResultSetEncode = params['ResultSetEncode']
|
15463
15766
|
end
|
15464
15767
|
end
|
15465
15768
|
|
@@ -16183,10 +16486,20 @@ module TencentCloud
|
|
16183
16486
|
# @type SparkSpecMode: String
|
16184
16487
|
# @param SparkSize: 仅SQL资源组资源上限,仅用于快速模式
|
16185
16488
|
# @type SparkSize: Integer
|
16186
|
-
|
16187
|
-
|
16188
|
-
|
16189
|
-
|
16489
|
+
# @param DriverGPUSpec: gpuDriver规格
|
16490
|
+
# @type DriverGPUSpec: Integer
|
16491
|
+
# @param ExecutorGPUSpec: gpuExcutor 规格
|
16492
|
+
# @type ExecutorGPUSpec: Integer
|
16493
|
+
# @param GPULimitSize: gpu 上限
|
16494
|
+
# @type GPULimitSize: Integer
|
16495
|
+
# @param GPUSize: gpu 规格
|
16496
|
+
# @type GPUSize: Integer
|
16497
|
+
# @param PythonGPUSpec: gpupod 规格
|
16498
|
+
# @type PythonGPUSpec: Integer
|
16499
|
+
|
16500
|
+
attr_accessor :EngineResourceGroupName, :DriverCuSpec, :ExecutorCuSpec, :MinExecutorNums, :MaxExecutorNums, :IsEffectiveNow, :Size, :ImageType, :ImageName, :ImageVersion, :FrameType, :PublicDomain, :RegistryId, :RegionName, :PythonCuSpec, :SparkSpecMode, :SparkSize, :DriverGPUSpec, :ExecutorGPUSpec, :GPULimitSize, :GPUSize, :PythonGPUSpec
|
16501
|
+
|
16502
|
+
def initialize(engineresourcegroupname=nil, drivercuspec=nil, executorcuspec=nil, minexecutornums=nil, maxexecutornums=nil, iseffectivenow=nil, size=nil, imagetype=nil, imagename=nil, imageversion=nil, frametype=nil, publicdomain=nil, registryid=nil, regionname=nil, pythoncuspec=nil, sparkspecmode=nil, sparksize=nil, drivergpuspec=nil, executorgpuspec=nil, gpulimitsize=nil, gpusize=nil, pythongpuspec=nil)
|
16190
16503
|
@EngineResourceGroupName = engineresourcegroupname
|
16191
16504
|
@DriverCuSpec = drivercuspec
|
16192
16505
|
@ExecutorCuSpec = executorcuspec
|
@@ -16204,6 +16517,11 @@ module TencentCloud
|
|
16204
16517
|
@PythonCuSpec = pythoncuspec
|
16205
16518
|
@SparkSpecMode = sparkspecmode
|
16206
16519
|
@SparkSize = sparksize
|
16520
|
+
@DriverGPUSpec = drivergpuspec
|
16521
|
+
@ExecutorGPUSpec = executorgpuspec
|
16522
|
+
@GPULimitSize = gpulimitsize
|
16523
|
+
@GPUSize = gpusize
|
16524
|
+
@PythonGPUSpec = pythongpuspec
|
16207
16525
|
end
|
16208
16526
|
|
16209
16527
|
def deserialize(params)
|
@@ -16224,6 +16542,11 @@ module TencentCloud
|
|
16224
16542
|
@PythonCuSpec = params['PythonCuSpec']
|
16225
16543
|
@SparkSpecMode = params['SparkSpecMode']
|
16226
16544
|
@SparkSize = params['SparkSize']
|
16545
|
+
@DriverGPUSpec = params['DriverGPUSpec']
|
16546
|
+
@ExecutorGPUSpec = params['ExecutorGPUSpec']
|
16547
|
+
@GPULimitSize = params['GPULimitSize']
|
16548
|
+
@GPUSize = params['GPUSize']
|
16549
|
+
@PythonGPUSpec = params['PythonGPUSpec']
|
16227
16550
|
end
|
16228
16551
|
end
|
16229
16552
|
|
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.1148
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|