tencentcloud-sdk-dlc 3.0.1169 → 3.0.1174
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 +518 -27
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e26085c7b64b1b2e12d85b0bc3ac52189af7536
|
|
4
|
+
data.tar.gz: add7ea8ddc87af54d375a265d2c147e1079b9002
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c665f806332fea25ced72341afffdf3dce89596e0dd12469e19512e5c62da146dc843ea849b22f3e98b509d28a8b77e70718816694667357692d777f19ac0d11
|
|
7
|
+
data.tar.gz: 799750bfe1c826db3f188ded43214e87fea4528d25257a644d10f3316fda9e890732c405bfc1f2e9289e0c830e62c653865898bdedabb377e3709ad20ea8d4bf
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1174
|
data/lib/v20210125/client.rb
CHANGED
|
@@ -2743,6 +2743,30 @@ module TencentCloud
|
|
|
2743
2743
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2744
2744
|
end
|
|
2745
2745
|
|
|
2746
|
+
# 该接口(DescribleTasks)用于查询任务列表
|
|
2747
|
+
|
|
2748
|
+
# @param request: Request instance for DescribeTaskList.
|
|
2749
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeTaskListRequest`
|
|
2750
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeTaskListResponse`
|
|
2751
|
+
def DescribeTaskList(request)
|
|
2752
|
+
body = send_request('DescribeTaskList', request.serialize)
|
|
2753
|
+
response = JSON.parse(body)
|
|
2754
|
+
if response['Response'].key?('Error') == false
|
|
2755
|
+
model = DescribeTaskListResponse.new
|
|
2756
|
+
model.deserialize(response['Response'])
|
|
2757
|
+
model
|
|
2758
|
+
else
|
|
2759
|
+
code = response['Response']['Error']['Code']
|
|
2760
|
+
message = response['Response']['Error']['Message']
|
|
2761
|
+
reqid = response['Response']['RequestId']
|
|
2762
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2763
|
+
end
|
|
2764
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2765
|
+
raise e
|
|
2766
|
+
rescue StandardError => e
|
|
2767
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2768
|
+
end
|
|
2769
|
+
|
|
2746
2770
|
# 本接口(DescribeTaskLog)用于获取spark 作业任务日志详情
|
|
2747
2771
|
|
|
2748
2772
|
# @param request: Request instance for DescribeTaskLog.
|
data/lib/v20210125/models.rb
CHANGED
|
@@ -769,12 +769,15 @@ module TencentCloud
|
|
|
769
769
|
# @type UserId: String
|
|
770
770
|
# @param PolicySet: 鉴权策略集合
|
|
771
771
|
# @type PolicySet: Array
|
|
772
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
773
|
+
# @type AccountType: String
|
|
772
774
|
|
|
773
|
-
attr_accessor :UserId, :PolicySet
|
|
775
|
+
attr_accessor :UserId, :PolicySet, :AccountType
|
|
774
776
|
|
|
775
|
-
def initialize(userid=nil, policyset=nil)
|
|
777
|
+
def initialize(userid=nil, policyset=nil, accounttype=nil)
|
|
776
778
|
@UserId = userid
|
|
777
779
|
@PolicySet = policyset
|
|
780
|
+
@AccountType = accounttype
|
|
778
781
|
end
|
|
779
782
|
|
|
780
783
|
def deserialize(params)
|
|
@@ -787,6 +790,7 @@ module TencentCloud
|
|
|
787
790
|
@PolicySet << policy_tmp
|
|
788
791
|
end
|
|
789
792
|
end
|
|
793
|
+
@AccountType = params['AccountType']
|
|
790
794
|
end
|
|
791
795
|
end
|
|
792
796
|
|
|
@@ -3553,16 +3557,19 @@ module TencentCloud
|
|
|
3553
3557
|
# @type WorkGroupIds: Array
|
|
3554
3558
|
# @param UserAlias: 用户别名,字符长度小50
|
|
3555
3559
|
# @type UserAlias: String
|
|
3560
|
+
# @param AccountType: 账号类型,UserAccount:用户账号 RoleAccount:角色账号,默认为用户账号
|
|
3561
|
+
# @type AccountType: String
|
|
3556
3562
|
|
|
3557
|
-
attr_accessor :UserId, :UserDescription, :PolicySet, :UserType, :WorkGroupIds, :UserAlias
|
|
3563
|
+
attr_accessor :UserId, :UserDescription, :PolicySet, :UserType, :WorkGroupIds, :UserAlias, :AccountType
|
|
3558
3564
|
|
|
3559
|
-
def initialize(userid=nil, userdescription=nil, policyset=nil, usertype=nil, workgroupids=nil, useralias=nil)
|
|
3565
|
+
def initialize(userid=nil, userdescription=nil, policyset=nil, usertype=nil, workgroupids=nil, useralias=nil, accounttype=nil)
|
|
3560
3566
|
@UserId = userid
|
|
3561
3567
|
@UserDescription = userdescription
|
|
3562
3568
|
@PolicySet = policyset
|
|
3563
3569
|
@UserType = usertype
|
|
3564
3570
|
@WorkGroupIds = workgroupids
|
|
3565
3571
|
@UserAlias = useralias
|
|
3572
|
+
@AccountType = accounttype
|
|
3566
3573
|
end
|
|
3567
3574
|
|
|
3568
3575
|
def deserialize(params)
|
|
@@ -3579,6 +3586,7 @@ module TencentCloud
|
|
|
3579
3586
|
@UserType = params['UserType']
|
|
3580
3587
|
@WorkGroupIds = params['WorkGroupIds']
|
|
3581
3588
|
@UserAlias = params['UserAlias']
|
|
3589
|
+
@AccountType = params['AccountType']
|
|
3582
3590
|
end
|
|
3583
3591
|
end
|
|
3584
3592
|
|
|
@@ -5802,15 +5810,19 @@ module TencentCloud
|
|
|
5802
5810
|
class DeleteUserRequest < TencentCloud::Common::AbstractModel
|
|
5803
5811
|
# @param UserIds: 需要删除的用户的Id
|
|
5804
5812
|
# @type UserIds: Array
|
|
5813
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
5814
|
+
# @type AccountType: String
|
|
5805
5815
|
|
|
5806
|
-
attr_accessor :UserIds
|
|
5816
|
+
attr_accessor :UserIds, :AccountType
|
|
5807
5817
|
|
|
5808
|
-
def initialize(userids=nil)
|
|
5818
|
+
def initialize(userids=nil, accounttype=nil)
|
|
5809
5819
|
@UserIds = userids
|
|
5820
|
+
@AccountType = accounttype
|
|
5810
5821
|
end
|
|
5811
5822
|
|
|
5812
5823
|
def deserialize(params)
|
|
5813
5824
|
@UserIds = params['UserIds']
|
|
5825
|
+
@AccountType = params['AccountType']
|
|
5814
5826
|
end
|
|
5815
5827
|
end
|
|
5816
5828
|
|
|
@@ -9094,6 +9106,101 @@ module TencentCloud
|
|
|
9094
9106
|
end
|
|
9095
9107
|
end
|
|
9096
9108
|
|
|
9109
|
+
# DescribeTaskList请求参数结构体
|
|
9110
|
+
class DescribeTaskListRequest < TencentCloud::Common::AbstractModel
|
|
9111
|
+
# @param Limit: 返回数量,默认为10,最大值为100。
|
|
9112
|
+
# @type Limit: Integer
|
|
9113
|
+
# @param Offset: 偏移量,默认为0。
|
|
9114
|
+
# @type Offset: Integer
|
|
9115
|
+
# @param Filters: 过滤条件,如下支持的过滤类型,传参Name应为以下其中一个,其中task-id支持最大50个过滤个数,其他过滤参数支持的总数不超过5个。
|
|
9116
|
+
# task-id - String - (任务ID准确过滤)task-id取值形如:e386471f-139a-4e59-877f-50ece8135b99。
|
|
9117
|
+
# task-state - String - (任务状态过滤)取值范围 0(初始化), 1(运行中), 2(成功), -1(失败)。
|
|
9118
|
+
# task-sql-keyword - String - (SQL语句关键字模糊过滤)取值形如:DROP TABLE。
|
|
9119
|
+
# task-operator- string (子uin过滤)
|
|
9120
|
+
# task-kind - string (任务类型过滤)
|
|
9121
|
+
# @type Filters: Array
|
|
9122
|
+
# @param SortBy: 排序字段,支持如下字段类型,create-time(创建时间,默认)、update-time(更新时间)
|
|
9123
|
+
# @type SortBy: String
|
|
9124
|
+
# @param Sorting: 排序方式,desc表示正序,asc表示反序, 默认为asc。
|
|
9125
|
+
# @type Sorting: String
|
|
9126
|
+
# @param StartTime: 起始时间点,格式为yyyy-mm-dd HH:MM:SS。默认为45天前的当前时刻
|
|
9127
|
+
# @type StartTime: String
|
|
9128
|
+
# @param EndTime: 结束时间点,格式为yyyy-mm-dd HH:MM:SS时间跨度在(0,30天],支持最近45天数据查询。默认为当前时刻
|
|
9129
|
+
# @type EndTime: String
|
|
9130
|
+
# @param DataEngineName: 数据引擎名称,用于筛选
|
|
9131
|
+
# @type DataEngineName: String
|
|
9132
|
+
# @param ResourceGroupName: spark引擎资源组名称
|
|
9133
|
+
# @type ResourceGroupName: String
|
|
9134
|
+
# @param HouseIds: 引擎id列表
|
|
9135
|
+
# @type HouseIds: Array
|
|
9136
|
+
|
|
9137
|
+
attr_accessor :Limit, :Offset, :Filters, :SortBy, :Sorting, :StartTime, :EndTime, :DataEngineName, :ResourceGroupName, :HouseIds
|
|
9138
|
+
|
|
9139
|
+
def initialize(limit=nil, offset=nil, filters=nil, sortby=nil, sorting=nil, starttime=nil, endtime=nil, dataenginename=nil, resourcegroupname=nil, houseids=nil)
|
|
9140
|
+
@Limit = limit
|
|
9141
|
+
@Offset = offset
|
|
9142
|
+
@Filters = filters
|
|
9143
|
+
@SortBy = sortby
|
|
9144
|
+
@Sorting = sorting
|
|
9145
|
+
@StartTime = starttime
|
|
9146
|
+
@EndTime = endtime
|
|
9147
|
+
@DataEngineName = dataenginename
|
|
9148
|
+
@ResourceGroupName = resourcegroupname
|
|
9149
|
+
@HouseIds = houseids
|
|
9150
|
+
end
|
|
9151
|
+
|
|
9152
|
+
def deserialize(params)
|
|
9153
|
+
@Limit = params['Limit']
|
|
9154
|
+
@Offset = params['Offset']
|
|
9155
|
+
unless params['Filters'].nil?
|
|
9156
|
+
@Filters = []
|
|
9157
|
+
params['Filters'].each do |i|
|
|
9158
|
+
filter_tmp = Filter.new
|
|
9159
|
+
filter_tmp.deserialize(i)
|
|
9160
|
+
@Filters << filter_tmp
|
|
9161
|
+
end
|
|
9162
|
+
end
|
|
9163
|
+
@SortBy = params['SortBy']
|
|
9164
|
+
@Sorting = params['Sorting']
|
|
9165
|
+
@StartTime = params['StartTime']
|
|
9166
|
+
@EndTime = params['EndTime']
|
|
9167
|
+
@DataEngineName = params['DataEngineName']
|
|
9168
|
+
@ResourceGroupName = params['ResourceGroupName']
|
|
9169
|
+
@HouseIds = params['HouseIds']
|
|
9170
|
+
end
|
|
9171
|
+
end
|
|
9172
|
+
|
|
9173
|
+
# DescribeTaskList返回参数结构体
|
|
9174
|
+
class DescribeTaskListResponse < TencentCloud::Common::AbstractModel
|
|
9175
|
+
# @param TaskList: 任务对象列表。
|
|
9176
|
+
# @type TaskList: Array
|
|
9177
|
+
# @param TotalCount: 实例总数。
|
|
9178
|
+
# @type TotalCount: Integer
|
|
9179
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9180
|
+
# @type RequestId: String
|
|
9181
|
+
|
|
9182
|
+
attr_accessor :TaskList, :TotalCount, :RequestId
|
|
9183
|
+
|
|
9184
|
+
def initialize(tasklist=nil, totalcount=nil, requestid=nil)
|
|
9185
|
+
@TaskList = tasklist
|
|
9186
|
+
@TotalCount = totalcount
|
|
9187
|
+
@RequestId = requestid
|
|
9188
|
+
end
|
|
9189
|
+
|
|
9190
|
+
def deserialize(params)
|
|
9191
|
+
unless params['TaskList'].nil?
|
|
9192
|
+
@TaskList = []
|
|
9193
|
+
params['TaskList'].each do |i|
|
|
9194
|
+
taskfullrespinfo_tmp = TaskFullRespInfo.new
|
|
9195
|
+
taskfullrespinfo_tmp.deserialize(i)
|
|
9196
|
+
@TaskList << taskfullrespinfo_tmp
|
|
9197
|
+
end
|
|
9198
|
+
end
|
|
9199
|
+
@TotalCount = params['TotalCount']
|
|
9200
|
+
@RequestId = params['RequestId']
|
|
9201
|
+
end
|
|
9202
|
+
end
|
|
9203
|
+
|
|
9097
9204
|
# DescribeTaskLog请求参数结构体
|
|
9098
9205
|
class DescribeTaskLogRequest < TencentCloud::Common::AbstractModel
|
|
9099
9206
|
# @param TaskId: 列表返回的Id
|
|
@@ -9912,10 +10019,12 @@ module TencentCloud
|
|
|
9912
10019
|
# @type Limit: Integer
|
|
9913
10020
|
# @param Offset: 偏移量,默认为0
|
|
9914
10021
|
# @type Offset: Integer
|
|
10022
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
10023
|
+
# @type AccountType: String
|
|
9915
10024
|
|
|
9916
|
-
attr_accessor :UserId, :Type, :Filters, :SortBy, :Sorting, :Limit, :Offset
|
|
10025
|
+
attr_accessor :UserId, :Type, :Filters, :SortBy, :Sorting, :Limit, :Offset, :AccountType
|
|
9917
10026
|
|
|
9918
|
-
def initialize(userid=nil, type=nil, filters=nil, sortby=nil, sorting=nil, limit=nil, offset=nil)
|
|
10027
|
+
def initialize(userid=nil, type=nil, filters=nil, sortby=nil, sorting=nil, limit=nil, offset=nil, accounttype=nil)
|
|
9919
10028
|
@UserId = userid
|
|
9920
10029
|
@Type = type
|
|
9921
10030
|
@Filters = filters
|
|
@@ -9923,6 +10032,7 @@ module TencentCloud
|
|
|
9923
10032
|
@Sorting = sorting
|
|
9924
10033
|
@Limit = limit
|
|
9925
10034
|
@Offset = offset
|
|
10035
|
+
@AccountType = accounttype
|
|
9926
10036
|
end
|
|
9927
10037
|
|
|
9928
10038
|
def deserialize(params)
|
|
@@ -9940,6 +10050,7 @@ module TencentCloud
|
|
|
9940
10050
|
@Sorting = params['Sorting']
|
|
9941
10051
|
@Limit = params['Limit']
|
|
9942
10052
|
@Offset = params['Offset']
|
|
10053
|
+
@AccountType = params['AccountType']
|
|
9943
10054
|
end
|
|
9944
10055
|
end
|
|
9945
10056
|
|
|
@@ -10073,15 +10184,19 @@ module TencentCloud
|
|
|
10073
10184
|
class DescribeUserTypeRequest < TencentCloud::Common::AbstractModel
|
|
10074
10185
|
# @param UserId: 用户ID(UIN),如果不填默认为调用方的子UIN
|
|
10075
10186
|
# @type UserId: String
|
|
10187
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
10188
|
+
# @type AccountType: String
|
|
10076
10189
|
|
|
10077
|
-
attr_accessor :UserId
|
|
10190
|
+
attr_accessor :UserId, :AccountType
|
|
10078
10191
|
|
|
10079
|
-
def initialize(userid=nil)
|
|
10192
|
+
def initialize(userid=nil, accounttype=nil)
|
|
10080
10193
|
@UserId = userid
|
|
10194
|
+
@AccountType = accounttype
|
|
10081
10195
|
end
|
|
10082
10196
|
|
|
10083
10197
|
def deserialize(params)
|
|
10084
10198
|
@UserId = params['UserId']
|
|
10199
|
+
@AccountType = params['AccountType']
|
|
10085
10200
|
end
|
|
10086
10201
|
end
|
|
10087
10202
|
|
|
@@ -10171,16 +10286,19 @@ module TencentCloud
|
|
|
10171
10286
|
# @type Sorting: String
|
|
10172
10287
|
# @param Filters: 过滤条件,支持如下字段类型,user-type:根据用户类型过滤。user-keyword:根据用户名称过滤
|
|
10173
10288
|
# @type Filters: Array
|
|
10289
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
10290
|
+
# @type AccountType: String
|
|
10174
10291
|
|
|
10175
|
-
attr_accessor :UserId, :Offset, :Limit, :SortBy, :Sorting, :Filters
|
|
10292
|
+
attr_accessor :UserId, :Offset, :Limit, :SortBy, :Sorting, :Filters, :AccountType
|
|
10176
10293
|
|
|
10177
|
-
def initialize(userid=nil, offset=nil, limit=nil, sortby=nil, sorting=nil, filters=nil)
|
|
10294
|
+
def initialize(userid=nil, offset=nil, limit=nil, sortby=nil, sorting=nil, filters=nil, accounttype=nil)
|
|
10178
10295
|
@UserId = userid
|
|
10179
10296
|
@Offset = offset
|
|
10180
10297
|
@Limit = limit
|
|
10181
10298
|
@SortBy = sortby
|
|
10182
10299
|
@Sorting = sorting
|
|
10183
10300
|
@Filters = filters
|
|
10301
|
+
@AccountType = accounttype
|
|
10184
10302
|
end
|
|
10185
10303
|
|
|
10186
10304
|
def deserialize(params)
|
|
@@ -10197,6 +10315,7 @@ module TencentCloud
|
|
|
10197
10315
|
@Filters << filter_tmp
|
|
10198
10316
|
end
|
|
10199
10317
|
end
|
|
10318
|
+
@AccountType = params['AccountType']
|
|
10200
10319
|
end
|
|
10201
10320
|
end
|
|
10202
10321
|
|
|
@@ -10499,12 +10618,15 @@ module TencentCloud
|
|
|
10499
10618
|
# @type UserId: String
|
|
10500
10619
|
# @param PolicySet: 解绑的权限集合
|
|
10501
10620
|
# @type PolicySet: Array
|
|
10621
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
10622
|
+
# @type AccountType: String
|
|
10502
10623
|
|
|
10503
|
-
attr_accessor :UserId, :PolicySet
|
|
10624
|
+
attr_accessor :UserId, :PolicySet, :AccountType
|
|
10504
10625
|
|
|
10505
|
-
def initialize(userid=nil, policyset=nil)
|
|
10626
|
+
def initialize(userid=nil, policyset=nil, accounttype=nil)
|
|
10506
10627
|
@UserId = userid
|
|
10507
10628
|
@PolicySet = policyset
|
|
10629
|
+
@AccountType = accounttype
|
|
10508
10630
|
end
|
|
10509
10631
|
|
|
10510
10632
|
def deserialize(params)
|
|
@@ -10517,6 +10639,7 @@ module TencentCloud
|
|
|
10517
10639
|
@PolicySet << policy_tmp
|
|
10518
10640
|
end
|
|
10519
10641
|
end
|
|
10642
|
+
@AccountType = params['AccountType']
|
|
10520
10643
|
end
|
|
10521
10644
|
end
|
|
10522
10645
|
|
|
@@ -12302,17 +12425,21 @@ module TencentCloud
|
|
|
12302
12425
|
# @type UserId: String
|
|
12303
12426
|
# @param UserDescription: 用户描述
|
|
12304
12427
|
# @type UserDescription: String
|
|
12428
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
12429
|
+
# @type AccountType: String
|
|
12305
12430
|
|
|
12306
|
-
attr_accessor :UserId, :UserDescription
|
|
12431
|
+
attr_accessor :UserId, :UserDescription, :AccountType
|
|
12307
12432
|
|
|
12308
|
-
def initialize(userid=nil, userdescription=nil)
|
|
12433
|
+
def initialize(userid=nil, userdescription=nil, accounttype=nil)
|
|
12309
12434
|
@UserId = userid
|
|
12310
12435
|
@UserDescription = userdescription
|
|
12436
|
+
@AccountType = accounttype
|
|
12311
12437
|
end
|
|
12312
12438
|
|
|
12313
12439
|
def deserialize(params)
|
|
12314
12440
|
@UserId = params['UserId']
|
|
12315
12441
|
@UserDescription = params['UserDescription']
|
|
12442
|
+
@AccountType = params['AccountType']
|
|
12316
12443
|
end
|
|
12317
12444
|
end
|
|
12318
12445
|
|
|
@@ -12338,17 +12465,21 @@ module TencentCloud
|
|
|
12338
12465
|
# @type UserId: String
|
|
12339
12466
|
# @param UserType: 用户要修改到的类型,ADMIN:管理员,COMMON:一般用户。
|
|
12340
12467
|
# @type UserType: String
|
|
12468
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
12469
|
+
# @type AccountType: String
|
|
12341
12470
|
|
|
12342
|
-
attr_accessor :UserId, :UserType
|
|
12471
|
+
attr_accessor :UserId, :UserType, :AccountType
|
|
12343
12472
|
|
|
12344
|
-
def initialize(userid=nil, usertype=nil)
|
|
12473
|
+
def initialize(userid=nil, usertype=nil, accounttype=nil)
|
|
12345
12474
|
@UserId = userid
|
|
12346
12475
|
@UserType = usertype
|
|
12476
|
+
@AccountType = accounttype
|
|
12347
12477
|
end
|
|
12348
12478
|
|
|
12349
12479
|
def deserialize(params)
|
|
12350
12480
|
@UserId = params['UserId']
|
|
12351
12481
|
@UserType = params['UserType']
|
|
12482
|
+
@AccountType = params['AccountType']
|
|
12352
12483
|
end
|
|
12353
12484
|
end
|
|
12354
12485
|
|
|
@@ -13211,10 +13342,12 @@ module TencentCloud
|
|
|
13211
13342
|
# @type Id: Integer
|
|
13212
13343
|
# @param EngineGeneration: 引擎类型
|
|
13213
13344
|
# @type EngineGeneration: String
|
|
13345
|
+
# @param Model: 需要授权的Model名,填 * 代表当前Database下所有表。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定数据表。
|
|
13346
|
+
# @type Model: String
|
|
13214
13347
|
|
|
13215
|
-
attr_accessor :Database, :Catalog, :Table, :Operation, :PolicyType, :Function, :View, :Column, :DataEngine, :ReAuth, :Source, :Mode, :Operator, :CreateTime, :SourceId, :SourceName, :Id, :EngineGeneration
|
|
13348
|
+
attr_accessor :Database, :Catalog, :Table, :Operation, :PolicyType, :Function, :View, :Column, :DataEngine, :ReAuth, :Source, :Mode, :Operator, :CreateTime, :SourceId, :SourceName, :Id, :EngineGeneration, :Model
|
|
13216
13349
|
|
|
13217
|
-
def initialize(database=nil, catalog=nil, table=nil, operation=nil, policytype=nil, function=nil, view=nil, column=nil, dataengine=nil, reauth=nil, source=nil, mode=nil, operator=nil, createtime=nil, sourceid=nil, sourcename=nil, id=nil, enginegeneration=nil)
|
|
13350
|
+
def initialize(database=nil, catalog=nil, table=nil, operation=nil, policytype=nil, function=nil, view=nil, column=nil, dataengine=nil, reauth=nil, source=nil, mode=nil, operator=nil, createtime=nil, sourceid=nil, sourcename=nil, id=nil, enginegeneration=nil, model=nil)
|
|
13218
13351
|
@Database = database
|
|
13219
13352
|
@Catalog = catalog
|
|
13220
13353
|
@Table = table
|
|
@@ -13233,6 +13366,7 @@ module TencentCloud
|
|
|
13233
13366
|
@SourceName = sourcename
|
|
13234
13367
|
@Id = id
|
|
13235
13368
|
@EngineGeneration = enginegeneration
|
|
13369
|
+
@Model = model
|
|
13236
13370
|
end
|
|
13237
13371
|
|
|
13238
13372
|
def deserialize(params)
|
|
@@ -13254,6 +13388,7 @@ module TencentCloud
|
|
|
13254
13388
|
@SourceName = params['SourceName']
|
|
13255
13389
|
@Id = params['Id']
|
|
13256
13390
|
@EngineGeneration = params['EngineGeneration']
|
|
13391
|
+
@Model = params['Model']
|
|
13257
13392
|
end
|
|
13258
13393
|
end
|
|
13259
13394
|
|
|
@@ -13648,7 +13783,23 @@ module TencentCloud
|
|
|
13648
13783
|
end
|
|
13649
13784
|
end
|
|
13650
13785
|
|
|
13651
|
-
#
|
|
13786
|
+
# 数据治理资源配置项
|
|
13787
|
+
class ResourceConf < TencentCloud::Common::AbstractModel
|
|
13788
|
+
# @param Parallelism: 当为TCLake优化资源时,优化任务的并行度
|
|
13789
|
+
# @type Parallelism: Integer
|
|
13790
|
+
|
|
13791
|
+
attr_accessor :Parallelism
|
|
13792
|
+
|
|
13793
|
+
def initialize(parallelism=nil)
|
|
13794
|
+
@Parallelism = parallelism
|
|
13795
|
+
end
|
|
13796
|
+
|
|
13797
|
+
def deserialize(params)
|
|
13798
|
+
@Parallelism = params['Parallelism']
|
|
13799
|
+
end
|
|
13800
|
+
end
|
|
13801
|
+
|
|
13802
|
+
# 数据优化资源信息结构
|
|
13652
13803
|
class ResourceInfo < TencentCloud::Common::AbstractModel
|
|
13653
13804
|
# @param AttributionType: 归属类型
|
|
13654
13805
|
# @type AttributionType: String
|
|
@@ -13665,10 +13816,12 @@ module TencentCloud
|
|
|
13665
13816
|
# @type Status: Integer
|
|
13666
13817
|
# @param ResourceGroupName: 标准引擎资源组信息
|
|
13667
13818
|
# @type ResourceGroupName: String
|
|
13819
|
+
# @param ResourceConf: 资源配置信息
|
|
13820
|
+
# @type ResourceConf: :class:`Tencentcloud::Dlc.v20210125.models.ResourceConf`
|
|
13668
13821
|
|
|
13669
|
-
attr_accessor :AttributionType, :ResourceType, :Name, :Instance, :Favor, :Status, :ResourceGroupName
|
|
13822
|
+
attr_accessor :AttributionType, :ResourceType, :Name, :Instance, :Favor, :Status, :ResourceGroupName, :ResourceConf
|
|
13670
13823
|
|
|
13671
|
-
def initialize(attributiontype=nil, resourcetype=nil, name=nil, instance=nil, favor=nil, status=nil, resourcegroupname=nil)
|
|
13824
|
+
def initialize(attributiontype=nil, resourcetype=nil, name=nil, instance=nil, favor=nil, status=nil, resourcegroupname=nil, resourceconf=nil)
|
|
13672
13825
|
@AttributionType = attributiontype
|
|
13673
13826
|
@ResourceType = resourcetype
|
|
13674
13827
|
@Name = name
|
|
@@ -13676,6 +13829,7 @@ module TencentCloud
|
|
|
13676
13829
|
@Favor = favor
|
|
13677
13830
|
@Status = status
|
|
13678
13831
|
@ResourceGroupName = resourcegroupname
|
|
13832
|
+
@ResourceConf = resourceconf
|
|
13679
13833
|
end
|
|
13680
13834
|
|
|
13681
13835
|
def deserialize(params)
|
|
@@ -13693,6 +13847,10 @@ module TencentCloud
|
|
|
13693
13847
|
end
|
|
13694
13848
|
@Status = params['Status']
|
|
13695
13849
|
@ResourceGroupName = params['ResourceGroupName']
|
|
13850
|
+
unless params['ResourceConf'].nil?
|
|
13851
|
+
@ResourceConf = ResourceConf.new
|
|
13852
|
+
@ResourceConf.deserialize(params['ResourceConf'])
|
|
13853
|
+
end
|
|
13696
13854
|
end
|
|
13697
13855
|
end
|
|
13698
13856
|
|
|
@@ -15441,6 +15599,328 @@ module TencentCloud
|
|
|
15441
15599
|
end
|
|
15442
15600
|
end
|
|
15443
15601
|
|
|
15602
|
+
# 任务实例。
|
|
15603
|
+
class TaskFullRespInfo < TencentCloud::Common::AbstractModel
|
|
15604
|
+
# @param DatabaseName: 任务所属Database的名称。
|
|
15605
|
+
# @type DatabaseName: String
|
|
15606
|
+
# @param DataAmount: 任务数据量。
|
|
15607
|
+
# @type DataAmount: Integer
|
|
15608
|
+
# @param Id: 任务Id。
|
|
15609
|
+
# @type Id: String
|
|
15610
|
+
# @param UsedTime: 计算耗时,单位: ms
|
|
15611
|
+
# @type UsedTime: Integer
|
|
15612
|
+
# @param OutputPath: 任务输出路径。
|
|
15613
|
+
# @type OutputPath: String
|
|
15614
|
+
# @param CreateTime: 任务创建时间。
|
|
15615
|
+
# @type CreateTime: String
|
|
15616
|
+
# @param State: 任务状态:0 初始化, 1 执行中, 2 执行成功,3 数据写入中,4 排队中。-1 执行失败,-3 已取消。
|
|
15617
|
+
# @type State: Integer
|
|
15618
|
+
# @param SQLType: 任务SQL类型,DDL|DML等
|
|
15619
|
+
# @type SQLType: String
|
|
15620
|
+
# @param SQL: 任务SQL语句
|
|
15621
|
+
# @type SQL: String
|
|
15622
|
+
# @param ResultExpired: 结果是否过期。
|
|
15623
|
+
# @type ResultExpired: Boolean
|
|
15624
|
+
# @param RowAffectInfo: 数据影响统计信息。
|
|
15625
|
+
# @type RowAffectInfo: String
|
|
15626
|
+
# @param DataSet: 任务结果数据表。
|
|
15627
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15628
|
+
# @type DataSet: String
|
|
15629
|
+
# @param Error: 失败信息, 例如:errorMessage。该字段已废弃。
|
|
15630
|
+
# @type Error: String
|
|
15631
|
+
# @param Percentage: 任务执行进度num/100(%)
|
|
15632
|
+
# @type Percentage: Integer
|
|
15633
|
+
# @param OutputMessage: 任务执行输出信息。
|
|
15634
|
+
# @type OutputMessage: String
|
|
15635
|
+
# @param TaskType: 执行SQL的引擎类型
|
|
15636
|
+
# @type TaskType: String
|
|
15637
|
+
# @param ProgressDetail: 任务进度明细
|
|
15638
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15639
|
+
# @type ProgressDetail: String
|
|
15640
|
+
# @param UpdateTime: 任务结束时间
|
|
15641
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15642
|
+
# @type UpdateTime: String
|
|
15643
|
+
# @param DataEngineId: 计算资源id
|
|
15644
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15645
|
+
# @type DataEngineId: String
|
|
15646
|
+
# @param OperateUin: 执行sql的子uin
|
|
15647
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15648
|
+
# @type OperateUin: String
|
|
15649
|
+
# @param DataEngineName: 计算资源名字
|
|
15650
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15651
|
+
# @type DataEngineName: String
|
|
15652
|
+
# @param InputType: 导入类型是本地导入还是cos
|
|
15653
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15654
|
+
# @type InputType: String
|
|
15655
|
+
# @param InputConf: 导入配置
|
|
15656
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15657
|
+
# @type InputConf: String
|
|
15658
|
+
# @param DataNumber: 数据条数
|
|
15659
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15660
|
+
# @type DataNumber: Integer
|
|
15661
|
+
# @param CanDownload: 查询数据能不能下载
|
|
15662
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15663
|
+
# @type CanDownload: Boolean
|
|
15664
|
+
# @param UserAlias: 用户别名
|
|
15665
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15666
|
+
# @type UserAlias: String
|
|
15667
|
+
# @param SparkJobName: spark应用作业名
|
|
15668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15669
|
+
# @type SparkJobName: String
|
|
15670
|
+
# @param SparkJobId: spark应用作业Id
|
|
15671
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15672
|
+
# @type SparkJobId: String
|
|
15673
|
+
# @param SparkJobFile: spark应用入口jar文件
|
|
15674
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15675
|
+
# @type SparkJobFile: String
|
|
15676
|
+
# @param UiUrl: spark ui url
|
|
15677
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15678
|
+
# @type UiUrl: String
|
|
15679
|
+
# @param TotalTime: 任务耗时,单位: ms
|
|
15680
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15681
|
+
# @type TotalTime: Integer
|
|
15682
|
+
# @param CmdArgs: spark app job执行task的程序入口参数
|
|
15683
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15684
|
+
# @type CmdArgs: String
|
|
15685
|
+
# @param ImageVersion: 集群镜像大版本名称
|
|
15686
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15687
|
+
# @type ImageVersion: String
|
|
15688
|
+
# @param DriverSize: driver规格:small,medium,large,xlarge;内存型(引擎类型):m.small,m.medium,m.large,m.xlarge
|
|
15689
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15690
|
+
# @type DriverSize: String
|
|
15691
|
+
# @param ExecutorSize: executor规格:small,medium,large,xlarge;内存型(引擎类型):m.small,m.medium,m.large,m.xlarge
|
|
15692
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15693
|
+
# @type ExecutorSize: String
|
|
15694
|
+
# @param ExecutorNums: 指定executor数量,最小值为1,最大值小于集群规格
|
|
15695
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15696
|
+
# @type ExecutorNums: Integer
|
|
15697
|
+
# @param ExecutorMaxNumbers: 指定executor max数量(动态配置场景下),最小值为1,最大值小于集群规格(当ExecutorMaxNumbers小于ExecutorNums时,改值设定为ExecutorNums)
|
|
15698
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15699
|
+
# @type ExecutorMaxNumbers: Integer
|
|
15700
|
+
# @param CommonMetrics: 任务公共指标数据
|
|
15701
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15702
|
+
# @type CommonMetrics: :class:`Tencentcloud::Dlc.v20210125.models.CommonMetrics`
|
|
15703
|
+
# @param SparkMonitorMetrics: spark任务指标数据
|
|
15704
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15705
|
+
# @type SparkMonitorMetrics: :class:`Tencentcloud::Dlc.v20210125.models.SparkMonitorMetrics`
|
|
15706
|
+
# @param PrestoMonitorMetrics: presto任务指标数据
|
|
15707
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15708
|
+
# @type PrestoMonitorMetrics: :class:`Tencentcloud::Dlc.v20210125.models.PrestoMonitorMetrics`
|
|
15709
|
+
# @param ResultFormat: 结果文件格式:默认为csv
|
|
15710
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15711
|
+
# @type ResultFormat: String
|
|
15712
|
+
# @param EngineTypeDetail: 引擎类型,SparkSQL:SparkSQL 引擎;SparkBatch:Spark作业引擎;PrestoSQL:Presto引擎
|
|
15713
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15714
|
+
# @type EngineTypeDetail: String
|
|
15715
|
+
# @param ResourceGroupName: spark引擎资源组名称
|
|
15716
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15717
|
+
# @type ResourceGroupName: String
|
|
15718
|
+
# @param Source: 任务来源信息,如thirdPartyApi,dataExploration, sparkAppTask等
|
|
15719
|
+
# @type Source: String
|
|
15720
|
+
# @param SourceExtra: 子渠道信息,一般由第三方调用定义
|
|
15721
|
+
# @type SourceExtra: String
|
|
15722
|
+
# @param CreatorUin: 创建人uin
|
|
15723
|
+
# @type CreatorUin: String
|
|
15724
|
+
# @param CreatorAlias: 创建人名字
|
|
15725
|
+
# @type CreatorAlias: String
|
|
15726
|
+
# @param CustomizedConf: 引擎参数
|
|
15727
|
+
# @type CustomizedConf: String
|
|
15728
|
+
# @param TaskTimeSum: 单位秒,累计 CPU* 秒 ( 累计 CPU * 时 = 累计 CPU* 秒/ 3600),统计参与计算所用 Spark Executor 每个 core 的 CPU 执行时长总和
|
|
15729
|
+
# 示例值:4329
|
|
15730
|
+
# @type TaskTimeSum: Integer
|
|
15731
|
+
# @param StageStartTime: 引擎执行时间
|
|
15732
|
+
# @type StageStartTime: Integer
|
|
15733
|
+
# @param InputRecordsSum: 数据扫描条数
|
|
15734
|
+
# @type InputRecordsSum: Integer
|
|
15735
|
+
# @param AnalysisStatusType: 健康状态
|
|
15736
|
+
# @type AnalysisStatusType: Integer
|
|
15737
|
+
# @param OutputRecordsSum: 输出总行数
|
|
15738
|
+
# @type OutputRecordsSum: Integer
|
|
15739
|
+
# @param OutputBytesSum: 输出总大小
|
|
15740
|
+
# @type OutputBytesSum: Integer
|
|
15741
|
+
# @param OutputFilesNum: 输出文件个数
|
|
15742
|
+
# @type OutputFilesNum: Integer
|
|
15743
|
+
# @param OutputSmallFilesNum: 输出小文件个数
|
|
15744
|
+
# @type OutputSmallFilesNum: Integer
|
|
15745
|
+
# @param ShuffleReadRecordsSum: 数据shuffle行数
|
|
15746
|
+
# @type ShuffleReadRecordsSum: Integer
|
|
15747
|
+
# @param ShuffleReadBytesSum: 数据shuffle大小
|
|
15748
|
+
# @type ShuffleReadBytesSum: Integer
|
|
15749
|
+
# @param SparkAppId: spark作业id
|
|
15750
|
+
# @type SparkAppId: String
|
|
15751
|
+
# @param TaskCategory: 任务大类,DLC2.0中任务区分为两大类,sql任务和作业任务
|
|
15752
|
+
# @type TaskCategory: String
|
|
15753
|
+
# @param TaskName: 任务名称
|
|
15754
|
+
# @type TaskName: String
|
|
15755
|
+
# @param EngineType: 引擎类型,用做任务详情页跳转引擎tab
|
|
15756
|
+
# @type EngineType: String
|
|
15757
|
+
# @param EngineHasListenerConfig: 引擎是否支持洞察数据采集
|
|
15758
|
+
# @type EngineHasListenerConfig: Boolean
|
|
15759
|
+
# @param ResourceGroupId: spark引擎资源组id
|
|
15760
|
+
# @type ResourceGroupId: String
|
|
15761
|
+
# @param JobTimeSum: 任务计算耗时
|
|
15762
|
+
# @type JobTimeSum: Integer
|
|
15763
|
+
# @param LaunchTime: 任务启动耗时
|
|
15764
|
+
# @type LaunchTime: String
|
|
15765
|
+
# @param GpuDriverSize: Gpu Driver 规格
|
|
15766
|
+
# @type GpuDriverSize: Integer
|
|
15767
|
+
# @param GpuExecutorSize: Gpu Executor 规格
|
|
15768
|
+
# @type GpuExecutorSize: Integer
|
|
15769
|
+
|
|
15770
|
+
attr_accessor :DatabaseName, :DataAmount, :Id, :UsedTime, :OutputPath, :CreateTime, :State, :SQLType, :SQL, :ResultExpired, :RowAffectInfo, :DataSet, :Error, :Percentage, :OutputMessage, :TaskType, :ProgressDetail, :UpdateTime, :DataEngineId, :OperateUin, :DataEngineName, :InputType, :InputConf, :DataNumber, :CanDownload, :UserAlias, :SparkJobName, :SparkJobId, :SparkJobFile, :UiUrl, :TotalTime, :CmdArgs, :ImageVersion, :DriverSize, :ExecutorSize, :ExecutorNums, :ExecutorMaxNumbers, :CommonMetrics, :SparkMonitorMetrics, :PrestoMonitorMetrics, :ResultFormat, :EngineTypeDetail, :ResourceGroupName, :Source, :SourceExtra, :CreatorUin, :CreatorAlias, :CustomizedConf, :TaskTimeSum, :StageStartTime, :InputRecordsSum, :AnalysisStatusType, :OutputRecordsSum, :OutputBytesSum, :OutputFilesNum, :OutputSmallFilesNum, :ShuffleReadRecordsSum, :ShuffleReadBytesSum, :SparkAppId, :TaskCategory, :TaskName, :EngineType, :EngineHasListenerConfig, :ResourceGroupId, :JobTimeSum, :LaunchTime, :GpuDriverSize, :GpuExecutorSize
|
|
15771
|
+
|
|
15772
|
+
def initialize(databasename=nil, dataamount=nil, id=nil, usedtime=nil, outputpath=nil, createtime=nil, state=nil, sqltype=nil, sql=nil, resultexpired=nil, rowaffectinfo=nil, dataset=nil, error=nil, percentage=nil, outputmessage=nil, tasktype=nil, progressdetail=nil, updatetime=nil, dataengineid=nil, operateuin=nil, dataenginename=nil, inputtype=nil, inputconf=nil, datanumber=nil, candownload=nil, useralias=nil, sparkjobname=nil, sparkjobid=nil, sparkjobfile=nil, uiurl=nil, totaltime=nil, cmdargs=nil, imageversion=nil, driversize=nil, executorsize=nil, executornums=nil, executormaxnumbers=nil, commonmetrics=nil, sparkmonitormetrics=nil, prestomonitormetrics=nil, resultformat=nil, enginetypedetail=nil, resourcegroupname=nil, source=nil, sourceextra=nil, creatoruin=nil, creatoralias=nil, customizedconf=nil, tasktimesum=nil, stagestarttime=nil, inputrecordssum=nil, analysisstatustype=nil, outputrecordssum=nil, outputbytessum=nil, outputfilesnum=nil, outputsmallfilesnum=nil, shufflereadrecordssum=nil, shufflereadbytessum=nil, sparkappid=nil, taskcategory=nil, taskname=nil, enginetype=nil, enginehaslistenerconfig=nil, resourcegroupid=nil, jobtimesum=nil, launchtime=nil, gpudriversize=nil, gpuexecutorsize=nil)
|
|
15773
|
+
@DatabaseName = databasename
|
|
15774
|
+
@DataAmount = dataamount
|
|
15775
|
+
@Id = id
|
|
15776
|
+
@UsedTime = usedtime
|
|
15777
|
+
@OutputPath = outputpath
|
|
15778
|
+
@CreateTime = createtime
|
|
15779
|
+
@State = state
|
|
15780
|
+
@SQLType = sqltype
|
|
15781
|
+
@SQL = sql
|
|
15782
|
+
@ResultExpired = resultexpired
|
|
15783
|
+
@RowAffectInfo = rowaffectinfo
|
|
15784
|
+
@DataSet = dataset
|
|
15785
|
+
@Error = error
|
|
15786
|
+
@Percentage = percentage
|
|
15787
|
+
@OutputMessage = outputmessage
|
|
15788
|
+
@TaskType = tasktype
|
|
15789
|
+
@ProgressDetail = progressdetail
|
|
15790
|
+
@UpdateTime = updatetime
|
|
15791
|
+
@DataEngineId = dataengineid
|
|
15792
|
+
@OperateUin = operateuin
|
|
15793
|
+
@DataEngineName = dataenginename
|
|
15794
|
+
@InputType = inputtype
|
|
15795
|
+
@InputConf = inputconf
|
|
15796
|
+
@DataNumber = datanumber
|
|
15797
|
+
@CanDownload = candownload
|
|
15798
|
+
@UserAlias = useralias
|
|
15799
|
+
@SparkJobName = sparkjobname
|
|
15800
|
+
@SparkJobId = sparkjobid
|
|
15801
|
+
@SparkJobFile = sparkjobfile
|
|
15802
|
+
@UiUrl = uiurl
|
|
15803
|
+
@TotalTime = totaltime
|
|
15804
|
+
@CmdArgs = cmdargs
|
|
15805
|
+
@ImageVersion = imageversion
|
|
15806
|
+
@DriverSize = driversize
|
|
15807
|
+
@ExecutorSize = executorsize
|
|
15808
|
+
@ExecutorNums = executornums
|
|
15809
|
+
@ExecutorMaxNumbers = executormaxnumbers
|
|
15810
|
+
@CommonMetrics = commonmetrics
|
|
15811
|
+
@SparkMonitorMetrics = sparkmonitormetrics
|
|
15812
|
+
@PrestoMonitorMetrics = prestomonitormetrics
|
|
15813
|
+
@ResultFormat = resultformat
|
|
15814
|
+
@EngineTypeDetail = enginetypedetail
|
|
15815
|
+
@ResourceGroupName = resourcegroupname
|
|
15816
|
+
@Source = source
|
|
15817
|
+
@SourceExtra = sourceextra
|
|
15818
|
+
@CreatorUin = creatoruin
|
|
15819
|
+
@CreatorAlias = creatoralias
|
|
15820
|
+
@CustomizedConf = customizedconf
|
|
15821
|
+
@TaskTimeSum = tasktimesum
|
|
15822
|
+
@StageStartTime = stagestarttime
|
|
15823
|
+
@InputRecordsSum = inputrecordssum
|
|
15824
|
+
@AnalysisStatusType = analysisstatustype
|
|
15825
|
+
@OutputRecordsSum = outputrecordssum
|
|
15826
|
+
@OutputBytesSum = outputbytessum
|
|
15827
|
+
@OutputFilesNum = outputfilesnum
|
|
15828
|
+
@OutputSmallFilesNum = outputsmallfilesnum
|
|
15829
|
+
@ShuffleReadRecordsSum = shufflereadrecordssum
|
|
15830
|
+
@ShuffleReadBytesSum = shufflereadbytessum
|
|
15831
|
+
@SparkAppId = sparkappid
|
|
15832
|
+
@TaskCategory = taskcategory
|
|
15833
|
+
@TaskName = taskname
|
|
15834
|
+
@EngineType = enginetype
|
|
15835
|
+
@EngineHasListenerConfig = enginehaslistenerconfig
|
|
15836
|
+
@ResourceGroupId = resourcegroupid
|
|
15837
|
+
@JobTimeSum = jobtimesum
|
|
15838
|
+
@LaunchTime = launchtime
|
|
15839
|
+
@GpuDriverSize = gpudriversize
|
|
15840
|
+
@GpuExecutorSize = gpuexecutorsize
|
|
15841
|
+
end
|
|
15842
|
+
|
|
15843
|
+
def deserialize(params)
|
|
15844
|
+
@DatabaseName = params['DatabaseName']
|
|
15845
|
+
@DataAmount = params['DataAmount']
|
|
15846
|
+
@Id = params['Id']
|
|
15847
|
+
@UsedTime = params['UsedTime']
|
|
15848
|
+
@OutputPath = params['OutputPath']
|
|
15849
|
+
@CreateTime = params['CreateTime']
|
|
15850
|
+
@State = params['State']
|
|
15851
|
+
@SQLType = params['SQLType']
|
|
15852
|
+
@SQL = params['SQL']
|
|
15853
|
+
@ResultExpired = params['ResultExpired']
|
|
15854
|
+
@RowAffectInfo = params['RowAffectInfo']
|
|
15855
|
+
@DataSet = params['DataSet']
|
|
15856
|
+
@Error = params['Error']
|
|
15857
|
+
@Percentage = params['Percentage']
|
|
15858
|
+
@OutputMessage = params['OutputMessage']
|
|
15859
|
+
@TaskType = params['TaskType']
|
|
15860
|
+
@ProgressDetail = params['ProgressDetail']
|
|
15861
|
+
@UpdateTime = params['UpdateTime']
|
|
15862
|
+
@DataEngineId = params['DataEngineId']
|
|
15863
|
+
@OperateUin = params['OperateUin']
|
|
15864
|
+
@DataEngineName = params['DataEngineName']
|
|
15865
|
+
@InputType = params['InputType']
|
|
15866
|
+
@InputConf = params['InputConf']
|
|
15867
|
+
@DataNumber = params['DataNumber']
|
|
15868
|
+
@CanDownload = params['CanDownload']
|
|
15869
|
+
@UserAlias = params['UserAlias']
|
|
15870
|
+
@SparkJobName = params['SparkJobName']
|
|
15871
|
+
@SparkJobId = params['SparkJobId']
|
|
15872
|
+
@SparkJobFile = params['SparkJobFile']
|
|
15873
|
+
@UiUrl = params['UiUrl']
|
|
15874
|
+
@TotalTime = params['TotalTime']
|
|
15875
|
+
@CmdArgs = params['CmdArgs']
|
|
15876
|
+
@ImageVersion = params['ImageVersion']
|
|
15877
|
+
@DriverSize = params['DriverSize']
|
|
15878
|
+
@ExecutorSize = params['ExecutorSize']
|
|
15879
|
+
@ExecutorNums = params['ExecutorNums']
|
|
15880
|
+
@ExecutorMaxNumbers = params['ExecutorMaxNumbers']
|
|
15881
|
+
unless params['CommonMetrics'].nil?
|
|
15882
|
+
@CommonMetrics = CommonMetrics.new
|
|
15883
|
+
@CommonMetrics.deserialize(params['CommonMetrics'])
|
|
15884
|
+
end
|
|
15885
|
+
unless params['SparkMonitorMetrics'].nil?
|
|
15886
|
+
@SparkMonitorMetrics = SparkMonitorMetrics.new
|
|
15887
|
+
@SparkMonitorMetrics.deserialize(params['SparkMonitorMetrics'])
|
|
15888
|
+
end
|
|
15889
|
+
unless params['PrestoMonitorMetrics'].nil?
|
|
15890
|
+
@PrestoMonitorMetrics = PrestoMonitorMetrics.new
|
|
15891
|
+
@PrestoMonitorMetrics.deserialize(params['PrestoMonitorMetrics'])
|
|
15892
|
+
end
|
|
15893
|
+
@ResultFormat = params['ResultFormat']
|
|
15894
|
+
@EngineTypeDetail = params['EngineTypeDetail']
|
|
15895
|
+
@ResourceGroupName = params['ResourceGroupName']
|
|
15896
|
+
@Source = params['Source']
|
|
15897
|
+
@SourceExtra = params['SourceExtra']
|
|
15898
|
+
@CreatorUin = params['CreatorUin']
|
|
15899
|
+
@CreatorAlias = params['CreatorAlias']
|
|
15900
|
+
@CustomizedConf = params['CustomizedConf']
|
|
15901
|
+
@TaskTimeSum = params['TaskTimeSum']
|
|
15902
|
+
@StageStartTime = params['StageStartTime']
|
|
15903
|
+
@InputRecordsSum = params['InputRecordsSum']
|
|
15904
|
+
@AnalysisStatusType = params['AnalysisStatusType']
|
|
15905
|
+
@OutputRecordsSum = params['OutputRecordsSum']
|
|
15906
|
+
@OutputBytesSum = params['OutputBytesSum']
|
|
15907
|
+
@OutputFilesNum = params['OutputFilesNum']
|
|
15908
|
+
@OutputSmallFilesNum = params['OutputSmallFilesNum']
|
|
15909
|
+
@ShuffleReadRecordsSum = params['ShuffleReadRecordsSum']
|
|
15910
|
+
@ShuffleReadBytesSum = params['ShuffleReadBytesSum']
|
|
15911
|
+
@SparkAppId = params['SparkAppId']
|
|
15912
|
+
@TaskCategory = params['TaskCategory']
|
|
15913
|
+
@TaskName = params['TaskName']
|
|
15914
|
+
@EngineType = params['EngineType']
|
|
15915
|
+
@EngineHasListenerConfig = params['EngineHasListenerConfig']
|
|
15916
|
+
@ResourceGroupId = params['ResourceGroupId']
|
|
15917
|
+
@JobTimeSum = params['JobTimeSum']
|
|
15918
|
+
@LaunchTime = params['LaunchTime']
|
|
15919
|
+
@GpuDriverSize = params['GpuDriverSize']
|
|
15920
|
+
@GpuExecutorSize = params['GpuExecutorSize']
|
|
15921
|
+
end
|
|
15922
|
+
end
|
|
15923
|
+
|
|
15444
15924
|
# 任务监控信息
|
|
15445
15925
|
class TaskMonitorInfo < TencentCloud::Common::AbstractModel
|
|
15446
15926
|
# @param TaskId: 任务id
|
|
@@ -16758,10 +17238,12 @@ module TencentCloud
|
|
|
16758
17238
|
# @param CatalogPolicyInfo: 数据源权限集合
|
|
16759
17239
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16760
17240
|
# @type CatalogPolicyInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
|
|
17241
|
+
# @param ModelPolicyInfo: 模型权限集合
|
|
17242
|
+
# @type ModelPolicyInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
|
|
16761
17243
|
|
|
16762
|
-
attr_accessor :UserId, :Type, :UserType, :UserDescription, :DataPolicyInfo, :EnginePolicyInfo, :WorkGroupInfo, :UserAlias, :RowFilterInfo, :AccountType, :CatalogPolicyInfo
|
|
17244
|
+
attr_accessor :UserId, :Type, :UserType, :UserDescription, :DataPolicyInfo, :EnginePolicyInfo, :WorkGroupInfo, :UserAlias, :RowFilterInfo, :AccountType, :CatalogPolicyInfo, :ModelPolicyInfo
|
|
16763
17245
|
|
|
16764
|
-
def initialize(userid=nil, type=nil, usertype=nil, userdescription=nil, datapolicyinfo=nil, enginepolicyinfo=nil, workgroupinfo=nil, useralias=nil, rowfilterinfo=nil, accounttype=nil, catalogpolicyinfo=nil)
|
|
17246
|
+
def initialize(userid=nil, type=nil, usertype=nil, userdescription=nil, datapolicyinfo=nil, enginepolicyinfo=nil, workgroupinfo=nil, useralias=nil, rowfilterinfo=nil, accounttype=nil, catalogpolicyinfo=nil, modelpolicyinfo=nil)
|
|
16765
17247
|
@UserId = userid
|
|
16766
17248
|
@Type = type
|
|
16767
17249
|
@UserType = usertype
|
|
@@ -16773,6 +17255,7 @@ module TencentCloud
|
|
|
16773
17255
|
@RowFilterInfo = rowfilterinfo
|
|
16774
17256
|
@AccountType = accounttype
|
|
16775
17257
|
@CatalogPolicyInfo = catalogpolicyinfo
|
|
17258
|
+
@ModelPolicyInfo = modelpolicyinfo
|
|
16776
17259
|
end
|
|
16777
17260
|
|
|
16778
17261
|
def deserialize(params)
|
|
@@ -16802,6 +17285,10 @@ module TencentCloud
|
|
|
16802
17285
|
@CatalogPolicyInfo = Policys.new
|
|
16803
17286
|
@CatalogPolicyInfo.deserialize(params['CatalogPolicyInfo'])
|
|
16804
17287
|
end
|
|
17288
|
+
unless params['ModelPolicyInfo'].nil?
|
|
17289
|
+
@ModelPolicyInfo = Policys.new
|
|
17290
|
+
@ModelPolicyInfo.deserialize(params['ModelPolicyInfo'])
|
|
17291
|
+
end
|
|
16805
17292
|
end
|
|
16806
17293
|
end
|
|
16807
17294
|
|
|
@@ -16906,15 +17393,18 @@ module TencentCloud
|
|
|
16906
17393
|
# @type CreateTime: String
|
|
16907
17394
|
# @param UserAlias: 用户别名
|
|
16908
17395
|
# @type UserAlias: String
|
|
17396
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
17397
|
+
# @type AccountType: String
|
|
16909
17398
|
|
|
16910
|
-
attr_accessor :UserId, :UserDescription, :Creator, :CreateTime, :UserAlias
|
|
17399
|
+
attr_accessor :UserId, :UserDescription, :Creator, :CreateTime, :UserAlias, :AccountType
|
|
16911
17400
|
|
|
16912
|
-
def initialize(userid=nil, userdescription=nil, creator=nil, createtime=nil, useralias=nil)
|
|
17401
|
+
def initialize(userid=nil, userdescription=nil, creator=nil, createtime=nil, useralias=nil, accounttype=nil)
|
|
16913
17402
|
@UserId = userid
|
|
16914
17403
|
@UserDescription = userdescription
|
|
16915
17404
|
@Creator = creator
|
|
16916
17405
|
@CreateTime = createtime
|
|
16917
17406
|
@UserAlias = useralias
|
|
17407
|
+
@AccountType = accounttype
|
|
16918
17408
|
end
|
|
16919
17409
|
|
|
16920
17410
|
def deserialize(params)
|
|
@@ -16923,6 +17413,7 @@ module TencentCloud
|
|
|
16923
17413
|
@Creator = params['Creator']
|
|
16924
17414
|
@CreateTime = params['CreateTime']
|
|
16925
17415
|
@UserAlias = params['UserAlias']
|
|
17416
|
+
@AccountType = params['AccountType']
|
|
16926
17417
|
end
|
|
16927
17418
|
end
|
|
16928
17419
|
|
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.1174
|
|
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-11-
|
|
11
|
+
date: 2025-11-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,8 +33,8 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/v20210125/client.rb
|
|
37
36
|
- lib/v20210125/models.rb
|
|
37
|
+
- lib/v20210125/client.rb
|
|
38
38
|
- lib/tencentcloud-sdk-dlc.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|