tencentcloud-sdk-wedata 3.0.381 → 3.0.384
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/v20210820/client.rb +840 -0
- data/lib/v20210820/models.rb +3635 -184
- metadata +2 -2
data/lib/v20210820/models.rb
CHANGED
@@ -17,102 +17,139 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Wedata
|
19
19
|
module V20210820
|
20
|
-
#
|
21
|
-
class
|
22
|
-
# @param
|
20
|
+
# 任务告警信息
|
21
|
+
class AlarmInfo < TencentCloud::Common::AbstractModel
|
22
|
+
# @param TaskIds: 关联任务id
|
23
|
+
# @type TaskIds: String
|
24
|
+
# @param AlarmType: 告警类别;failure表示失败告警;overtime表示超时告警
|
25
|
+
# @type AlarmType: String
|
26
|
+
# @param AlarmWay: 告警方式;SMS表示短信;Email表示邮件;HTTP 表示接口方式;Wechat表示微信方式
|
27
|
+
# @type AlarmWay: String
|
28
|
+
# @param AlarmRecipient: 告警接收人,多个告警接收人以;分割
|
29
|
+
# @type AlarmRecipient: String
|
30
|
+
# @param AlarmRecipientId: 告警接收人id,多个告警接收人id以;分割
|
31
|
+
# @type AlarmRecipientId: String
|
32
|
+
# @param Hours: 预计运行的小时,取值范围0-23
|
33
|
+
# @type Hours: Integer
|
34
|
+
# @param Minutes: 预计运行分钟,取值范围0-59
|
35
|
+
# @type Minutes: Integer
|
36
|
+
# @param TriggerType: 告警出发时机;1表示第一次运行失败;2表示所有重试完成后失败;
|
37
|
+
# @type TriggerType: Integer
|
38
|
+
# @param AlarmId: 告警信息id
|
39
|
+
# @type AlarmId: String
|
40
|
+
# @param Status: 告警状态设置;1表示可用;0表示不可用,默认可用
|
41
|
+
# @type Status: Integer
|
42
|
+
|
43
|
+
attr_accessor :TaskIds, :AlarmType, :AlarmWay, :AlarmRecipient, :AlarmRecipientId, :Hours, :Minutes, :TriggerType, :AlarmId, :Status
|
44
|
+
|
45
|
+
def initialize(taskids=nil, alarmtype=nil, alarmway=nil, alarmrecipient=nil, alarmrecipientid=nil, hours=nil, minutes=nil, triggertype=nil, alarmid=nil, status=nil)
|
46
|
+
@TaskIds = taskids
|
47
|
+
@AlarmType = alarmtype
|
48
|
+
@AlarmWay = alarmway
|
49
|
+
@AlarmRecipient = alarmrecipient
|
50
|
+
@AlarmRecipientId = alarmrecipientid
|
51
|
+
@Hours = hours
|
52
|
+
@Minutes = minutes
|
53
|
+
@TriggerType = triggertype
|
54
|
+
@AlarmId = alarmid
|
55
|
+
@Status = status
|
56
|
+
end
|
57
|
+
|
58
|
+
def deserialize(params)
|
59
|
+
@TaskIds = params['TaskIds']
|
60
|
+
@AlarmType = params['AlarmType']
|
61
|
+
@AlarmWay = params['AlarmWay']
|
62
|
+
@AlarmRecipient = params['AlarmRecipient']
|
63
|
+
@AlarmRecipientId = params['AlarmRecipientId']
|
64
|
+
@Hours = params['Hours']
|
65
|
+
@Minutes = params['Minutes']
|
66
|
+
@TriggerType = params['TriggerType']
|
67
|
+
@AlarmId = params['AlarmId']
|
68
|
+
@Status = params['Status']
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
# BatchDeleteTasksNew请求参数结构体
|
73
|
+
class BatchDeleteTasksNewRequest < TencentCloud::Common::AbstractModel
|
74
|
+
# @param TaskIdList: 批量删除的任务TaskId
|
75
|
+
# @type TaskIdList: Array
|
76
|
+
# @param DeleteMode: true : 删除后下游任务可正常运行
|
77
|
+
# false:删除后下游任务不可运行
|
78
|
+
# @type DeleteMode: Boolean
|
79
|
+
# @param EnableNotify: true:通知下游任务责任人
|
80
|
+
# false: 不通知下游任务责任人
|
81
|
+
# @type EnableNotify: Boolean
|
82
|
+
# @param ProjectId: 项目Id
|
23
83
|
# @type ProjectId: String
|
24
|
-
# @param DescribeClusters: 是否展示关联集群信息
|
25
|
-
# @type DescribeClusters: Boolean
|
26
|
-
# @param DescribeExecutors: 是否展示关联执行组的信息,仅部分信息。
|
27
|
-
# @type DescribeExecutors: Boolean
|
28
|
-
# @param DescribeAdminUsers: 默认不展示项目管理员信息
|
29
|
-
# @type DescribeAdminUsers: Boolean
|
30
|
-
# @param DescribeMemberCount: 默认不统计项目人员数量
|
31
|
-
# @type DescribeMemberCount: Boolean
|
32
|
-
# @param DescribeCreator: 默认不查询创建者的信息
|
33
|
-
# @type DescribeCreator: Boolean
|
34
|
-
# @param ProjectName: 项目名只在租户内唯一,一般用来转化为项目ID。
|
35
|
-
# @type ProjectName: String
|
36
84
|
|
37
|
-
attr_accessor :
|
85
|
+
attr_accessor :TaskIdList, :DeleteMode, :EnableNotify, :ProjectId
|
38
86
|
|
39
|
-
def initialize(
|
87
|
+
def initialize(taskidlist=nil, deletemode=nil, enablenotify=nil, projectid=nil)
|
88
|
+
@TaskIdList = taskidlist
|
89
|
+
@DeleteMode = deletemode
|
90
|
+
@EnableNotify = enablenotify
|
40
91
|
@ProjectId = projectid
|
41
|
-
@DescribeClusters = describeclusters
|
42
|
-
@DescribeExecutors = describeexecutors
|
43
|
-
@DescribeAdminUsers = describeadminusers
|
44
|
-
@DescribeMemberCount = describemembercount
|
45
|
-
@DescribeCreator = describecreator
|
46
|
-
@ProjectName = projectname
|
47
92
|
end
|
48
93
|
|
49
94
|
def deserialize(params)
|
95
|
+
@TaskIdList = params['TaskIdList']
|
96
|
+
@DeleteMode = params['DeleteMode']
|
97
|
+
@EnableNotify = params['EnableNotify']
|
50
98
|
@ProjectId = params['ProjectId']
|
51
|
-
@DescribeClusters = params['DescribeClusters']
|
52
|
-
@DescribeExecutors = params['DescribeExecutors']
|
53
|
-
@DescribeAdminUsers = params['DescribeAdminUsers']
|
54
|
-
@DescribeMemberCount = params['DescribeMemberCount']
|
55
|
-
@DescribeCreator = params['DescribeCreator']
|
56
|
-
@ProjectName = params['ProjectName']
|
57
99
|
end
|
58
100
|
end
|
59
101
|
|
60
|
-
#
|
61
|
-
class
|
102
|
+
# BatchDeleteTasksNew返回参数结构体
|
103
|
+
class BatchDeleteTasksNewResponse < TencentCloud::Common::AbstractModel
|
104
|
+
# @param Data: 返回批量操作成功个数、失败个数、操作总数
|
105
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.BatchOperateResult`
|
62
106
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
63
107
|
# @type RequestId: String
|
64
108
|
|
65
|
-
attr_accessor :RequestId
|
109
|
+
attr_accessor :Data, :RequestId
|
66
110
|
|
67
|
-
def initialize(requestid=nil)
|
111
|
+
def initialize(data=nil, requestid=nil)
|
112
|
+
@Data = data
|
68
113
|
@RequestId = requestid
|
69
114
|
end
|
70
115
|
|
71
116
|
def deserialize(params)
|
117
|
+
unless params['Data'].nil?
|
118
|
+
@Data = BatchOperateResult.new
|
119
|
+
@Data.deserialize(params['Data'])
|
120
|
+
end
|
72
121
|
@RequestId = params['RequestId']
|
73
122
|
end
|
74
123
|
end
|
75
124
|
|
76
|
-
#
|
77
|
-
class
|
78
|
-
# @param
|
125
|
+
# BatchModifyOwnersNew请求参数结构体
|
126
|
+
class BatchModifyOwnersNewRequest < TencentCloud::Common::AbstractModel
|
127
|
+
# @param TaskIdList: 需要更新责任人的TaskId数组
|
128
|
+
# @type TaskIdList: Array
|
129
|
+
# @param Owners: 需要更新的责任人
|
130
|
+
# @type Owners: String
|
131
|
+
# @param ProjectId: 项目Id
|
79
132
|
# @type ProjectId: String
|
80
|
-
# @param CurRunDate: 数据时间,格式yyyy-MM-dd HH:mm:ss
|
81
|
-
# @type CurRunDate: String
|
82
|
-
# @param TaskId: 任务id
|
83
|
-
# @type TaskId: Integer
|
84
|
-
# @param Depth: 距离当前任务的层级距离,-1表示取父节点,1表示子节点
|
85
|
-
# @type Depth: Integer
|
86
|
-
# @param PageNumber: 页号,默认为1
|
87
|
-
# @type PageNumber: Integer
|
88
|
-
# @param PageSize: 页大小,默认为10,最大不超过200
|
89
|
-
# @type PageSize: Integer
|
90
133
|
|
91
|
-
attr_accessor :
|
134
|
+
attr_accessor :TaskIdList, :Owners, :ProjectId
|
92
135
|
|
93
|
-
def initialize(
|
136
|
+
def initialize(taskidlist=nil, owners=nil, projectid=nil)
|
137
|
+
@TaskIdList = taskidlist
|
138
|
+
@Owners = owners
|
94
139
|
@ProjectId = projectid
|
95
|
-
@CurRunDate = currundate
|
96
|
-
@TaskId = taskid
|
97
|
-
@Depth = depth
|
98
|
-
@PageNumber = pagenumber
|
99
|
-
@PageSize = pagesize
|
100
140
|
end
|
101
141
|
|
102
142
|
def deserialize(params)
|
143
|
+
@TaskIdList = params['TaskIdList']
|
144
|
+
@Owners = params['Owners']
|
103
145
|
@ProjectId = params['ProjectId']
|
104
|
-
@CurRunDate = params['CurRunDate']
|
105
|
-
@TaskId = params['TaskId']
|
106
|
-
@Depth = params['Depth']
|
107
|
-
@PageNumber = params['PageNumber']
|
108
|
-
@PageSize = params['PageSize']
|
109
146
|
end
|
110
147
|
end
|
111
148
|
|
112
|
-
#
|
113
|
-
class
|
114
|
-
# @param Data:
|
115
|
-
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.
|
149
|
+
# BatchModifyOwnersNew返回参数结构体
|
150
|
+
class BatchModifyOwnersNewResponse < TencentCloud::Common::AbstractModel
|
151
|
+
# @param Data: 返回批量操作成功个数、失败个数、操作总数
|
152
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.BatchOperateResult`
|
116
153
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
117
154
|
# @type RequestId: String
|
118
155
|
|
@@ -125,167 +162,3423 @@ module TencentCloud
|
|
125
162
|
|
126
163
|
def deserialize(params)
|
127
164
|
unless params['Data'].nil?
|
128
|
-
@Data =
|
165
|
+
@Data = BatchOperateResult.new
|
129
166
|
@Data.deserialize(params['Data'])
|
130
167
|
end
|
131
168
|
@RequestId = params['RequestId']
|
132
169
|
end
|
133
170
|
end
|
134
171
|
|
135
|
-
#
|
136
|
-
class
|
137
|
-
# @param
|
138
|
-
# @type
|
139
|
-
# @param
|
172
|
+
# 批量操作的结果返回
|
173
|
+
class BatchOperateResult < TencentCloud::Common::AbstractModel
|
174
|
+
# @param SuccessCount: 批量操作成功数
|
175
|
+
# @type SuccessCount: Integer
|
176
|
+
# @param FailedCount: 批量操作失败数
|
177
|
+
# @type FailedCount: Integer
|
178
|
+
# @param TotalCount: 批量操作的总数
|
140
179
|
# @type TotalCount: Integer
|
141
|
-
# @param PageNumber: 页号
|
142
|
-
# @type PageNumber: Integer
|
143
|
-
# @param PageSize: 页大小
|
144
|
-
# @type PageSize: Integer
|
145
180
|
|
146
|
-
attr_accessor :
|
181
|
+
attr_accessor :SuccessCount, :FailedCount, :TotalCount
|
147
182
|
|
148
|
-
def initialize(
|
149
|
-
@
|
183
|
+
def initialize(successcount=nil, failedcount=nil, totalcount=nil)
|
184
|
+
@SuccessCount = successcount
|
185
|
+
@FailedCount = failedcount
|
150
186
|
@TotalCount = totalcount
|
151
|
-
@PageNumber = pagenumber
|
152
|
-
@PageSize = pagesize
|
153
187
|
end
|
154
188
|
|
155
189
|
def deserialize(params)
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
190
|
+
@SuccessCount = params['SuccessCount']
|
191
|
+
@FailedCount = params['FailedCount']
|
192
|
+
@TotalCount = params['TotalCount']
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
# 批量操作结果
|
197
|
+
class BatchResult < TencentCloud::Common::AbstractModel
|
198
|
+
# @param Running: 正在运行的任务数
|
199
|
+
# @type Running: Integer
|
200
|
+
# @param Success: 执行成功的任务数
|
201
|
+
# @type Success: Integer
|
202
|
+
# @param Failed: 执行失败的任务数
|
203
|
+
# @type Failed: Integer
|
204
|
+
# @param Total: 总任务数
|
205
|
+
# @type Total: Integer
|
206
|
+
|
207
|
+
attr_accessor :Running, :Success, :Failed, :Total
|
208
|
+
|
209
|
+
def initialize(running=nil, success=nil, failed=nil, total=nil)
|
210
|
+
@Running = running
|
211
|
+
@Success = success
|
212
|
+
@Failed = failed
|
213
|
+
@Total = total
|
214
|
+
end
|
215
|
+
|
216
|
+
def deserialize(params)
|
217
|
+
@Running = params['Running']
|
218
|
+
@Success = params['Success']
|
219
|
+
@Failed = params['Failed']
|
220
|
+
@Total = params['Total']
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
# 操作结果
|
225
|
+
class BatchReturn < TencentCloud::Common::AbstractModel
|
226
|
+
# @param Result: 执行结果
|
227
|
+
# @type Result: Boolean
|
228
|
+
# @param ErrorDesc: 执行情况备注
|
229
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
230
|
+
# @type ErrorDesc: String
|
231
|
+
# @param ErrorId: 执行情况id
|
232
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
233
|
+
# @type ErrorId: String
|
234
|
+
|
235
|
+
attr_accessor :Result, :ErrorDesc, :ErrorId
|
236
|
+
|
237
|
+
def initialize(result=nil, errordesc=nil, errorid=nil)
|
238
|
+
@Result = result
|
239
|
+
@ErrorDesc = errordesc
|
240
|
+
@ErrorId = errorid
|
241
|
+
end
|
242
|
+
|
243
|
+
def deserialize(params)
|
244
|
+
@Result = params['Result']
|
245
|
+
@ErrorDesc = params['ErrorDesc']
|
246
|
+
@ErrorId = params['ErrorId']
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
# BatchStopTasksNew请求参数结构体
|
251
|
+
class BatchStopTasksNewRequest < TencentCloud::Common::AbstractModel
|
252
|
+
# @param TaskIdList: 批量停止任务的TaskId
|
253
|
+
# @type TaskIdList: Array
|
254
|
+
# @param ProjectId: 项目Id
|
255
|
+
# @type ProjectId: String
|
256
|
+
|
257
|
+
attr_accessor :TaskIdList, :ProjectId
|
258
|
+
|
259
|
+
def initialize(taskidlist=nil, projectid=nil)
|
260
|
+
@TaskIdList = taskidlist
|
261
|
+
@ProjectId = projectid
|
262
|
+
end
|
263
|
+
|
264
|
+
def deserialize(params)
|
265
|
+
@TaskIdList = params['TaskIdList']
|
266
|
+
@ProjectId = params['ProjectId']
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
# BatchStopTasksNew返回参数结构体
|
271
|
+
class BatchStopTasksNewResponse < TencentCloud::Common::AbstractModel
|
272
|
+
# @param Data: 返回批量操作成功个数、失败个数、操作总数
|
273
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.BatchOperateResult`
|
274
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
275
|
+
# @type RequestId: String
|
276
|
+
|
277
|
+
attr_accessor :Data, :RequestId
|
278
|
+
|
279
|
+
def initialize(data=nil, requestid=nil)
|
280
|
+
@Data = data
|
281
|
+
@RequestId = requestid
|
282
|
+
end
|
283
|
+
|
284
|
+
def deserialize(params)
|
285
|
+
unless params['Data'].nil?
|
286
|
+
@Data = BatchOperateResult.new
|
287
|
+
@Data.deserialize(params['Data'])
|
288
|
+
end
|
289
|
+
@RequestId = params['RequestId']
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
# 画布所需的信息
|
294
|
+
class CanvasInfo < TencentCloud::Common::AbstractModel
|
295
|
+
# @param TasksList: 画布任务信息
|
296
|
+
# @type TasksList: Array
|
297
|
+
# @param LinksList: 画布任务链接信息
|
298
|
+
# @type LinksList: Array
|
299
|
+
|
300
|
+
attr_accessor :TasksList, :LinksList
|
301
|
+
|
302
|
+
def initialize(taskslist=nil, linkslist=nil)
|
303
|
+
@TasksList = taskslist
|
304
|
+
@LinksList = linkslist
|
305
|
+
end
|
306
|
+
|
307
|
+
def deserialize(params)
|
308
|
+
unless params['TasksList'].nil?
|
309
|
+
@TasksList = []
|
310
|
+
params['TasksList'].each do |i|
|
311
|
+
taskcanvasinfo_tmp = TaskCanvasInfo.new
|
312
|
+
taskcanvasinfo_tmp.deserialize(i)
|
313
|
+
@TasksList << taskcanvasinfo_tmp
|
314
|
+
end
|
315
|
+
end
|
316
|
+
unless params['LinksList'].nil?
|
317
|
+
@LinksList = []
|
318
|
+
params['LinksList'].each do |i|
|
319
|
+
tasklinkinfo_tmp = TaskLinkInfo.new
|
320
|
+
tasklinkinfo_tmp.deserialize(i)
|
321
|
+
@LinksList << tasklinkinfo_tmp
|
322
|
+
end
|
323
|
+
end
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
# 内容详情
|
328
|
+
class CommonContent < TencentCloud::Common::AbstractModel
|
329
|
+
# @param Content: 详情内容
|
330
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
331
|
+
# @type Content: String
|
332
|
+
|
333
|
+
attr_accessor :Content
|
334
|
+
|
335
|
+
def initialize(content=nil)
|
336
|
+
@Content = content
|
337
|
+
end
|
338
|
+
|
339
|
+
def deserialize(params)
|
340
|
+
@Content = params['Content']
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
344
|
+
# Id包装对象
|
345
|
+
class CommonId < TencentCloud::Common::AbstractModel
|
346
|
+
# @param Id: Id值
|
347
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
348
|
+
# @type Id: String
|
349
|
+
|
350
|
+
attr_accessor :Id
|
351
|
+
|
352
|
+
def initialize(id=nil)
|
353
|
+
@Id = id
|
354
|
+
end
|
355
|
+
|
356
|
+
def deserialize(params)
|
357
|
+
@Id = params['Id']
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
361
|
+
# CreateFolder请求参数结构体
|
362
|
+
class CreateFolderRequest < TencentCloud::Common::AbstractModel
|
363
|
+
# @param ProjectId: 项目Id
|
364
|
+
# @type ProjectId: String
|
365
|
+
# @param FolderName: 文件夹名称
|
366
|
+
# @type FolderName: String
|
367
|
+
# @param ParentsFolderId: 父文件夹ID
|
368
|
+
# @type ParentsFolderId: String
|
369
|
+
|
370
|
+
attr_accessor :ProjectId, :FolderName, :ParentsFolderId
|
371
|
+
|
372
|
+
def initialize(projectid=nil, foldername=nil, parentsfolderid=nil)
|
373
|
+
@ProjectId = projectid
|
374
|
+
@FolderName = foldername
|
375
|
+
@ParentsFolderId = parentsfolderid
|
376
|
+
end
|
377
|
+
|
378
|
+
def deserialize(params)
|
379
|
+
@ProjectId = params['ProjectId']
|
380
|
+
@FolderName = params['FolderName']
|
381
|
+
@ParentsFolderId = params['ParentsFolderId']
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
385
|
+
# CreateFolder返回参数结构体
|
386
|
+
class CreateFolderResponse < TencentCloud::Common::AbstractModel
|
387
|
+
# @param Data: 文件夹Id,null则创建失败
|
388
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
389
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.CommonId`
|
390
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
391
|
+
# @type RequestId: String
|
392
|
+
|
393
|
+
attr_accessor :Data, :RequestId
|
394
|
+
|
395
|
+
def initialize(data=nil, requestid=nil)
|
396
|
+
@Data = data
|
397
|
+
@RequestId = requestid
|
398
|
+
end
|
399
|
+
|
400
|
+
def deserialize(params)
|
401
|
+
unless params['Data'].nil?
|
402
|
+
@Data = CommonId.new
|
403
|
+
@Data.deserialize(params['Data'])
|
404
|
+
end
|
405
|
+
@RequestId = params['RequestId']
|
406
|
+
end
|
407
|
+
end
|
408
|
+
|
409
|
+
# CreateTask请求参数结构体
|
410
|
+
class CreateTaskRequest < TencentCloud::Common::AbstractModel
|
411
|
+
# @param ProjectId: 项目Id
|
412
|
+
# @type ProjectId: String
|
413
|
+
# @param WorkflowId: 工作流id
|
414
|
+
# @type WorkflowId: String
|
415
|
+
# @param TaskName: 任务名
|
416
|
+
# @type TaskName: String
|
417
|
+
# @param TaskType: 26离线同步,30Python,31PySpark,32DLC,33Impala,34Hive SQL,35Shell,36Spark SQL,39Spark,40CDW PG,92MapReduce
|
418
|
+
# @type TaskType: Integer
|
419
|
+
# @param TaskExt: 扩展属性
|
420
|
+
# @type TaskExt: Array
|
421
|
+
|
422
|
+
attr_accessor :ProjectId, :WorkflowId, :TaskName, :TaskType, :TaskExt
|
423
|
+
|
424
|
+
def initialize(projectid=nil, workflowid=nil, taskname=nil, tasktype=nil, taskext=nil)
|
425
|
+
@ProjectId = projectid
|
426
|
+
@WorkflowId = workflowid
|
427
|
+
@TaskName = taskname
|
428
|
+
@TaskType = tasktype
|
429
|
+
@TaskExt = taskext
|
430
|
+
end
|
431
|
+
|
432
|
+
def deserialize(params)
|
433
|
+
@ProjectId = params['ProjectId']
|
434
|
+
@WorkflowId = params['WorkflowId']
|
435
|
+
@TaskName = params['TaskName']
|
436
|
+
@TaskType = params['TaskType']
|
437
|
+
unless params['TaskExt'].nil?
|
438
|
+
@TaskExt = []
|
439
|
+
params['TaskExt'].each do |i|
|
440
|
+
taskextinfo_tmp = TaskExtInfo.new
|
441
|
+
taskextinfo_tmp.deserialize(i)
|
442
|
+
@TaskExt << taskextinfo_tmp
|
443
|
+
end
|
444
|
+
end
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
448
|
+
# CreateTask返回参数结构体
|
449
|
+
class CreateTaskResponse < TencentCloud::Common::AbstractModel
|
450
|
+
# @param Data: 返回任务Id
|
451
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
452
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.CommonId`
|
453
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
454
|
+
# @type RequestId: String
|
455
|
+
|
456
|
+
attr_accessor :Data, :RequestId
|
457
|
+
|
458
|
+
def initialize(data=nil, requestid=nil)
|
459
|
+
@Data = data
|
460
|
+
@RequestId = requestid
|
461
|
+
end
|
462
|
+
|
463
|
+
def deserialize(params)
|
464
|
+
unless params['Data'].nil?
|
465
|
+
@Data = CommonId.new
|
466
|
+
@Data.deserialize(params['Data'])
|
467
|
+
end
|
468
|
+
@RequestId = params['RequestId']
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
# CreateWorkflow请求参数结构体
|
473
|
+
class CreateWorkflowRequest < TencentCloud::Common::AbstractModel
|
474
|
+
# @param ProjectId: 项目Id
|
475
|
+
# @type ProjectId: String
|
476
|
+
# @param WorkflowName: 工作流名称
|
477
|
+
# @type WorkflowName: String
|
478
|
+
# @param FolderId: 所属文件夹id
|
479
|
+
# @type FolderId: String
|
480
|
+
|
481
|
+
attr_accessor :ProjectId, :WorkflowName, :FolderId
|
482
|
+
|
483
|
+
def initialize(projectid=nil, workflowname=nil, folderid=nil)
|
484
|
+
@ProjectId = projectid
|
485
|
+
@WorkflowName = workflowname
|
486
|
+
@FolderId = folderid
|
487
|
+
end
|
488
|
+
|
489
|
+
def deserialize(params)
|
490
|
+
@ProjectId = params['ProjectId']
|
491
|
+
@WorkflowName = params['WorkflowName']
|
492
|
+
@FolderId = params['FolderId']
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
# CreateWorkflow返回参数结构体
|
497
|
+
class CreateWorkflowResponse < TencentCloud::Common::AbstractModel
|
498
|
+
# @param Data: 返回工作流Id
|
499
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
500
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.CommonId`
|
501
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
502
|
+
# @type RequestId: String
|
503
|
+
|
504
|
+
attr_accessor :Data, :RequestId
|
505
|
+
|
506
|
+
def initialize(data=nil, requestid=nil)
|
507
|
+
@Data = data
|
508
|
+
@RequestId = requestid
|
509
|
+
end
|
510
|
+
|
511
|
+
def deserialize(params)
|
512
|
+
unless params['Data'].nil?
|
513
|
+
@Data = CommonId.new
|
514
|
+
@Data.deserialize(params['Data'])
|
515
|
+
end
|
516
|
+
@RequestId = params['RequestId']
|
517
|
+
end
|
518
|
+
end
|
519
|
+
|
520
|
+
# DeleteFolder请求参数结构体
|
521
|
+
class DeleteFolderRequest < TencentCloud::Common::AbstractModel
|
522
|
+
# @param ProjectId: 项目Id
|
523
|
+
# @type ProjectId: String
|
524
|
+
# @param FolderId: 文件夹ID
|
525
|
+
# @type FolderId: String
|
526
|
+
|
527
|
+
attr_accessor :ProjectId, :FolderId
|
528
|
+
|
529
|
+
def initialize(projectid=nil, folderid=nil)
|
530
|
+
@ProjectId = projectid
|
531
|
+
@FolderId = folderid
|
532
|
+
end
|
533
|
+
|
534
|
+
def deserialize(params)
|
535
|
+
@ProjectId = params['ProjectId']
|
536
|
+
@FolderId = params['FolderId']
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
540
|
+
# DeleteFolder返回参数结构体
|
541
|
+
class DeleteFolderResponse < TencentCloud::Common::AbstractModel
|
542
|
+
# @param Data: true代表删除成功,false代表删除失败
|
543
|
+
# @type Data: Boolean
|
544
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
545
|
+
# @type RequestId: String
|
546
|
+
|
547
|
+
attr_accessor :Data, :RequestId
|
548
|
+
|
549
|
+
def initialize(data=nil, requestid=nil)
|
550
|
+
@Data = data
|
551
|
+
@RequestId = requestid
|
552
|
+
end
|
553
|
+
|
554
|
+
def deserialize(params)
|
555
|
+
@Data = params['Data']
|
556
|
+
@RequestId = params['RequestId']
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
560
|
+
# DeleteWorkflowNew请求参数结构体
|
561
|
+
class DeleteWorkflowNewRequest < TencentCloud::Common::AbstractModel
|
562
|
+
# @param WorkFlowId: 工作流id
|
563
|
+
# @type WorkFlowId: String
|
564
|
+
# @param DeleteMode: true : 删除后下游任务可正常运行
|
565
|
+
# false:删除后下游任务不可运行
|
566
|
+
# @type DeleteMode: Boolean
|
567
|
+
# @param EnableNotify: true:通知下游任务责任人
|
568
|
+
# false: 不通知下游任务责任人
|
569
|
+
# @type EnableNotify: Boolean
|
570
|
+
# @param ProjectId: 项目Id
|
571
|
+
# @type ProjectId: String
|
572
|
+
|
573
|
+
attr_accessor :WorkFlowId, :DeleteMode, :EnableNotify, :ProjectId
|
574
|
+
|
575
|
+
def initialize(workflowid=nil, deletemode=nil, enablenotify=nil, projectid=nil)
|
576
|
+
@WorkFlowId = workflowid
|
577
|
+
@DeleteMode = deletemode
|
578
|
+
@EnableNotify = enablenotify
|
579
|
+
@ProjectId = projectid
|
580
|
+
end
|
581
|
+
|
582
|
+
def deserialize(params)
|
583
|
+
@WorkFlowId = params['WorkFlowId']
|
584
|
+
@DeleteMode = params['DeleteMode']
|
585
|
+
@EnableNotify = params['EnableNotify']
|
586
|
+
@ProjectId = params['ProjectId']
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
# DeleteWorkflowNew返回参数结构体
|
591
|
+
class DeleteWorkflowNewResponse < TencentCloud::Common::AbstractModel
|
592
|
+
# @param Data: 返回删除结果
|
593
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.OperateResult`
|
594
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
595
|
+
# @type RequestId: String
|
596
|
+
|
597
|
+
attr_accessor :Data, :RequestId
|
598
|
+
|
599
|
+
def initialize(data=nil, requestid=nil)
|
600
|
+
@Data = data
|
601
|
+
@RequestId = requestid
|
602
|
+
end
|
603
|
+
|
604
|
+
def deserialize(params)
|
605
|
+
unless params['Data'].nil?
|
606
|
+
@Data = OperateResult.new
|
607
|
+
@Data.deserialize(params['Data'])
|
608
|
+
end
|
609
|
+
@RequestId = params['RequestId']
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
613
|
+
# 依赖配置
|
614
|
+
class DependencyConfig < TencentCloud::Common::AbstractModel
|
615
|
+
# @param DependConfType: 仅五种周期运行依赖配置: HOUR,DAY,WEEK,MONTH,YEAR,CRONTAB,MINUTE
|
616
|
+
# @type DependConfType: String
|
617
|
+
# @param SubordinateCyclicType: 依赖配置从属周期类型,CURRENT_HOUR,PREVIOUS_HOUR,CURRENT_DAY,PREVIOUS_DAY,PREVIOUS_WEEK,PREVIOUS_FRIDAY,PREVIOUS_WEEKEND,CURRENT_MONTH,PREVIOUS_MONTH,PREVIOUS_END_OF_MONTH
|
618
|
+
# * PREVIOUS_BEGIN_OF_MONTH,ALL_MONTH_OF_YEAR,ALL_DAY_OF_YEAR,CURRENT_YEAR,CURRENT,CURRENT_MINUTE,PREVIOUS_MINUTE_CYCLE,PREVIOUS_HOUR_CYCLE
|
619
|
+
# @type SubordinateCyclicType: String
|
620
|
+
# @param DependencyStrategy: WAITING,等待(默认策略)EXECUTING:执行
|
621
|
+
# @type DependencyStrategy: String
|
622
|
+
# @param ParentTask: 父任务信息
|
623
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
624
|
+
# @type ParentTask: :class:`Tencentcloud::Wedata.v20210820.models.TaskInnerInfo`
|
625
|
+
# @param SonTask: 子任务信息
|
626
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
627
|
+
# @type SonTask: :class:`Tencentcloud::Wedata.v20210820.models.TaskInnerInfo`
|
628
|
+
|
629
|
+
attr_accessor :DependConfType, :SubordinateCyclicType, :DependencyStrategy, :ParentTask, :SonTask
|
630
|
+
|
631
|
+
def initialize(dependconftype=nil, subordinatecyclictype=nil, dependencystrategy=nil, parenttask=nil, sontask=nil)
|
632
|
+
@DependConfType = dependconftype
|
633
|
+
@SubordinateCyclicType = subordinatecyclictype
|
634
|
+
@DependencyStrategy = dependencystrategy
|
635
|
+
@ParentTask = parenttask
|
636
|
+
@SonTask = sontask
|
637
|
+
end
|
638
|
+
|
639
|
+
def deserialize(params)
|
640
|
+
@DependConfType = params['DependConfType']
|
641
|
+
@SubordinateCyclicType = params['SubordinateCyclicType']
|
642
|
+
@DependencyStrategy = params['DependencyStrategy']
|
643
|
+
unless params['ParentTask'].nil?
|
644
|
+
@ParentTask = TaskInnerInfo.new
|
645
|
+
@ParentTask.deserialize(params['ParentTask'])
|
646
|
+
end
|
647
|
+
unless params['SonTask'].nil?
|
648
|
+
@SonTask = TaskInnerInfo.new
|
649
|
+
@SonTask.deserialize(params['SonTask'])
|
650
|
+
end
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
# DescribeDependTasksNew请求参数结构体
|
655
|
+
class DescribeDependTasksNewRequest < TencentCloud::Common::AbstractModel
|
656
|
+
# @param TaskId: 任务Id
|
657
|
+
# @type TaskId: String
|
658
|
+
# @param Deep: 上游/下游层级1-6级
|
659
|
+
# @type Deep: Integer
|
660
|
+
# @param Up: 1: 表示查询上游节点;0:表示查询下游节点;2:表示查询上游和下游节点
|
661
|
+
# @type Up: Integer
|
662
|
+
# @param ProjectId: 项目id
|
663
|
+
# @type ProjectId: String
|
664
|
+
# @param WorkflowId: 任务工作流id
|
665
|
+
# @type WorkflowId: String
|
666
|
+
|
667
|
+
attr_accessor :TaskId, :Deep, :Up, :ProjectId, :WorkflowId
|
668
|
+
|
669
|
+
def initialize(taskid=nil, deep=nil, up=nil, projectid=nil, workflowid=nil)
|
670
|
+
@TaskId = taskid
|
671
|
+
@Deep = deep
|
672
|
+
@Up = up
|
673
|
+
@ProjectId = projectid
|
674
|
+
@WorkflowId = workflowid
|
675
|
+
end
|
676
|
+
|
677
|
+
def deserialize(params)
|
678
|
+
@TaskId = params['TaskId']
|
679
|
+
@Deep = params['Deep']
|
680
|
+
@Up = params['Up']
|
681
|
+
@ProjectId = params['ProjectId']
|
682
|
+
@WorkflowId = params['WorkflowId']
|
683
|
+
end
|
684
|
+
end
|
685
|
+
|
686
|
+
# DescribeDependTasksNew返回参数结构体
|
687
|
+
class DescribeDependTasksNewResponse < TencentCloud::Common::AbstractModel
|
688
|
+
# @param Data: 画布任务和链接信息
|
689
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.CanvasInfo`
|
690
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
691
|
+
# @type RequestId: String
|
692
|
+
|
693
|
+
attr_accessor :Data, :RequestId
|
694
|
+
|
695
|
+
def initialize(data=nil, requestid=nil)
|
696
|
+
@Data = data
|
697
|
+
@RequestId = requestid
|
698
|
+
end
|
699
|
+
|
700
|
+
def deserialize(params)
|
701
|
+
unless params['Data'].nil?
|
702
|
+
@Data = CanvasInfo.new
|
703
|
+
@Data.deserialize(params['Data'])
|
704
|
+
end
|
705
|
+
@RequestId = params['RequestId']
|
706
|
+
end
|
707
|
+
end
|
708
|
+
|
709
|
+
# 文件夹分页信息
|
710
|
+
class DescribeFolderListData < TencentCloud::Common::AbstractModel
|
711
|
+
# @param Items: 文件夹信息列表
|
712
|
+
# @type Items: Array
|
713
|
+
# @param TotalCount: 总条数
|
714
|
+
# @type TotalCount: Integer
|
715
|
+
# @param PageNumber: 页号
|
716
|
+
# @type PageNumber: Integer
|
717
|
+
# @param PageSize: 页大小
|
718
|
+
# @type PageSize: Integer
|
719
|
+
|
720
|
+
attr_accessor :Items, :TotalCount, :PageNumber, :PageSize
|
721
|
+
|
722
|
+
def initialize(items=nil, totalcount=nil, pagenumber=nil, pagesize=nil)
|
723
|
+
@Items = items
|
724
|
+
@TotalCount = totalcount
|
725
|
+
@PageNumber = pagenumber
|
726
|
+
@PageSize = pagesize
|
727
|
+
end
|
728
|
+
|
729
|
+
def deserialize(params)
|
730
|
+
unless params['Items'].nil?
|
731
|
+
@Items = []
|
732
|
+
params['Items'].each do |i|
|
733
|
+
folder_tmp = Folder.new
|
734
|
+
folder_tmp.deserialize(i)
|
735
|
+
@Items << folder_tmp
|
736
|
+
end
|
737
|
+
end
|
738
|
+
@TotalCount = params['TotalCount']
|
739
|
+
@PageNumber = params['PageNumber']
|
740
|
+
@PageSize = params['PageSize']
|
741
|
+
end
|
742
|
+
end
|
743
|
+
|
744
|
+
# DescribeFolderList请求参数结构体
|
745
|
+
class DescribeFolderListRequest < TencentCloud::Common::AbstractModel
|
746
|
+
# @param ProjectId: 项目Id
|
747
|
+
# @type ProjectId: String
|
748
|
+
# @param ParentsFolderId: 文件夹ID
|
749
|
+
# @type ParentsFolderId: String
|
750
|
+
# @param KeyWords: 关键字
|
751
|
+
# @type KeyWords: String
|
752
|
+
# @param PageNumber: 页码,默认1
|
753
|
+
# @type PageNumber: Integer
|
754
|
+
# @param PageSize: 页大小,默认10
|
755
|
+
# @type PageSize: Integer
|
756
|
+
|
757
|
+
attr_accessor :ProjectId, :ParentsFolderId, :KeyWords, :PageNumber, :PageSize
|
758
|
+
|
759
|
+
def initialize(projectid=nil, parentsfolderid=nil, keywords=nil, pagenumber=nil, pagesize=nil)
|
760
|
+
@ProjectId = projectid
|
761
|
+
@ParentsFolderId = parentsfolderid
|
762
|
+
@KeyWords = keywords
|
763
|
+
@PageNumber = pagenumber
|
764
|
+
@PageSize = pagesize
|
765
|
+
end
|
766
|
+
|
767
|
+
def deserialize(params)
|
768
|
+
@ProjectId = params['ProjectId']
|
769
|
+
@ParentsFolderId = params['ParentsFolderId']
|
770
|
+
@KeyWords = params['KeyWords']
|
771
|
+
@PageNumber = params['PageNumber']
|
772
|
+
@PageSize = params['PageSize']
|
773
|
+
end
|
774
|
+
end
|
775
|
+
|
776
|
+
# DescribeFolderList返回参数结构体
|
777
|
+
class DescribeFolderListResponse < TencentCloud::Common::AbstractModel
|
778
|
+
# @param Data: 无
|
779
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
780
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.DescribeFolderListData`
|
781
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
782
|
+
# @type RequestId: String
|
783
|
+
|
784
|
+
attr_accessor :Data, :RequestId
|
785
|
+
|
786
|
+
def initialize(data=nil, requestid=nil)
|
787
|
+
@Data = data
|
788
|
+
@RequestId = requestid
|
789
|
+
end
|
790
|
+
|
791
|
+
def deserialize(params)
|
792
|
+
unless params['Data'].nil?
|
793
|
+
@Data = DescribeFolderListData.new
|
794
|
+
@Data.deserialize(params['Data'])
|
795
|
+
end
|
796
|
+
@RequestId = params['RequestId']
|
797
|
+
end
|
798
|
+
end
|
799
|
+
|
800
|
+
# 文件夹分页信息
|
801
|
+
class DescribeFolderWorkflowListData < TencentCloud::Common::AbstractModel
|
802
|
+
# @param Items: 工作流信息列表
|
803
|
+
# @type Items: Array
|
804
|
+
# @param TotalCount: 总条数
|
805
|
+
# @type TotalCount: Integer
|
806
|
+
# @param PageNumber: 页号
|
807
|
+
# @type PageNumber: Integer
|
808
|
+
# @param PageSize: 页大小
|
809
|
+
# @type PageSize: Integer
|
810
|
+
|
811
|
+
attr_accessor :Items, :TotalCount, :PageNumber, :PageSize
|
812
|
+
|
813
|
+
def initialize(items=nil, totalcount=nil, pagenumber=nil, pagesize=nil)
|
814
|
+
@Items = items
|
815
|
+
@TotalCount = totalcount
|
816
|
+
@PageNumber = pagenumber
|
817
|
+
@PageSize = pagesize
|
818
|
+
end
|
819
|
+
|
820
|
+
def deserialize(params)
|
821
|
+
unless params['Items'].nil?
|
822
|
+
@Items = []
|
823
|
+
params['Items'].each do |i|
|
824
|
+
workflow_tmp = Workflow.new
|
825
|
+
workflow_tmp.deserialize(i)
|
826
|
+
@Items << workflow_tmp
|
827
|
+
end
|
828
|
+
end
|
829
|
+
@TotalCount = params['TotalCount']
|
830
|
+
@PageNumber = params['PageNumber']
|
831
|
+
@PageSize = params['PageSize']
|
832
|
+
end
|
833
|
+
end
|
834
|
+
|
835
|
+
# DescribeFolderWorkflowList请求参数结构体
|
836
|
+
class DescribeFolderWorkflowListRequest < TencentCloud::Common::AbstractModel
|
837
|
+
# @param ProjectId: 项目Id
|
838
|
+
# @type ProjectId: String
|
839
|
+
# @param ParentsFolderId: 父文件夹ID
|
840
|
+
# @type ParentsFolderId: String
|
841
|
+
# @param KeyWords: 关键字
|
842
|
+
# @type KeyWords: String
|
843
|
+
# @param PageNumber: 页码,默认1
|
844
|
+
# @type PageNumber: Integer
|
845
|
+
# @param PageSize: 页大小,默认10
|
846
|
+
# @type PageSize: Integer
|
847
|
+
|
848
|
+
attr_accessor :ProjectId, :ParentsFolderId, :KeyWords, :PageNumber, :PageSize
|
849
|
+
|
850
|
+
def initialize(projectid=nil, parentsfolderid=nil, keywords=nil, pagenumber=nil, pagesize=nil)
|
851
|
+
@ProjectId = projectid
|
852
|
+
@ParentsFolderId = parentsfolderid
|
853
|
+
@KeyWords = keywords
|
854
|
+
@PageNumber = pagenumber
|
855
|
+
@PageSize = pagesize
|
856
|
+
end
|
857
|
+
|
858
|
+
def deserialize(params)
|
859
|
+
@ProjectId = params['ProjectId']
|
860
|
+
@ParentsFolderId = params['ParentsFolderId']
|
861
|
+
@KeyWords = params['KeyWords']
|
862
|
+
@PageNumber = params['PageNumber']
|
863
|
+
@PageSize = params['PageSize']
|
864
|
+
end
|
865
|
+
end
|
866
|
+
|
867
|
+
# DescribeFolderWorkflowList返回参数结构体
|
868
|
+
class DescribeFolderWorkflowListResponse < TencentCloud::Common::AbstractModel
|
869
|
+
# @param Data: 无
|
870
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
871
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.DescribeFolderWorkflowListData`
|
872
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
873
|
+
# @type RequestId: String
|
874
|
+
|
875
|
+
attr_accessor :Data, :RequestId
|
876
|
+
|
877
|
+
def initialize(data=nil, requestid=nil)
|
878
|
+
@Data = data
|
879
|
+
@RequestId = requestid
|
880
|
+
end
|
881
|
+
|
882
|
+
def deserialize(params)
|
883
|
+
unless params['Data'].nil?
|
884
|
+
@Data = DescribeFolderWorkflowListData.new
|
885
|
+
@Data.deserialize(params['Data'])
|
886
|
+
end
|
887
|
+
@RequestId = params['RequestId']
|
888
|
+
end
|
889
|
+
end
|
890
|
+
|
891
|
+
# DescribeInstanceLogs请求参数结构体
|
892
|
+
class DescribeInstanceLogsRequest < TencentCloud::Common::AbstractModel
|
893
|
+
# @param ProjectId: 项目Id
|
894
|
+
# @type ProjectId: String
|
895
|
+
# @param TaskId: 任务ID
|
896
|
+
# @type TaskId: String
|
897
|
+
# @param CurRunDate: 数据时间
|
898
|
+
# @type CurRunDate: String
|
899
|
+
|
900
|
+
attr_accessor :ProjectId, :TaskId, :CurRunDate
|
901
|
+
|
902
|
+
def initialize(projectid=nil, taskid=nil, currundate=nil)
|
903
|
+
@ProjectId = projectid
|
904
|
+
@TaskId = taskid
|
905
|
+
@CurRunDate = currundate
|
906
|
+
end
|
907
|
+
|
908
|
+
def deserialize(params)
|
909
|
+
@ProjectId = params['ProjectId']
|
910
|
+
@TaskId = params['TaskId']
|
911
|
+
@CurRunDate = params['CurRunDate']
|
912
|
+
end
|
913
|
+
end
|
914
|
+
|
915
|
+
# DescribeInstanceLogs返回参数结构体
|
916
|
+
class DescribeInstanceLogsResponse < TencentCloud::Common::AbstractModel
|
917
|
+
# @param Data: 返回日志列表
|
918
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
919
|
+
# @type Data: Array
|
920
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
921
|
+
# @type RequestId: String
|
922
|
+
|
923
|
+
attr_accessor :Data, :RequestId
|
924
|
+
|
925
|
+
def initialize(data=nil, requestid=nil)
|
926
|
+
@Data = data
|
927
|
+
@RequestId = requestid
|
928
|
+
end
|
929
|
+
|
930
|
+
def deserialize(params)
|
931
|
+
unless params['Data'].nil?
|
932
|
+
@Data = []
|
933
|
+
params['Data'].each do |i|
|
934
|
+
instancelog_tmp = InstanceLog.new
|
935
|
+
instancelog_tmp.deserialize(i)
|
936
|
+
@Data << instancelog_tmp
|
937
|
+
end
|
938
|
+
end
|
939
|
+
@RequestId = params['RequestId']
|
940
|
+
end
|
941
|
+
end
|
942
|
+
|
943
|
+
# DescribeProject请求参数结构体
|
944
|
+
class DescribeProjectRequest < TencentCloud::Common::AbstractModel
|
945
|
+
# @param ProjectId: 项目id。一般使用项目Id来查询,与projectName必须存在一个。
|
946
|
+
# @type ProjectId: String
|
947
|
+
# @param DescribeClusters: 是否展示关联集群信息
|
948
|
+
# @type DescribeClusters: Boolean
|
949
|
+
# @param DescribeExecutors: 是否展示关联执行组的信息,仅部分信息。
|
950
|
+
# @type DescribeExecutors: Boolean
|
951
|
+
# @param DescribeAdminUsers: 默认不展示项目管理员信息
|
952
|
+
# @type DescribeAdminUsers: Boolean
|
953
|
+
# @param DescribeMemberCount: 默认不统计项目人员数量
|
954
|
+
# @type DescribeMemberCount: Boolean
|
955
|
+
# @param DescribeCreator: 默认不查询创建者的信息
|
956
|
+
# @type DescribeCreator: Boolean
|
957
|
+
# @param ProjectName: 项目名只在租户内唯一,一般用来转化为项目ID。
|
958
|
+
# @type ProjectName: String
|
959
|
+
|
960
|
+
attr_accessor :ProjectId, :DescribeClusters, :DescribeExecutors, :DescribeAdminUsers, :DescribeMemberCount, :DescribeCreator, :ProjectName
|
961
|
+
|
962
|
+
def initialize(projectid=nil, describeclusters=nil, describeexecutors=nil, describeadminusers=nil, describemembercount=nil, describecreator=nil, projectname=nil)
|
963
|
+
@ProjectId = projectid
|
964
|
+
@DescribeClusters = describeclusters
|
965
|
+
@DescribeExecutors = describeexecutors
|
966
|
+
@DescribeAdminUsers = describeadminusers
|
967
|
+
@DescribeMemberCount = describemembercount
|
968
|
+
@DescribeCreator = describecreator
|
969
|
+
@ProjectName = projectname
|
970
|
+
end
|
971
|
+
|
972
|
+
def deserialize(params)
|
973
|
+
@ProjectId = params['ProjectId']
|
974
|
+
@DescribeClusters = params['DescribeClusters']
|
975
|
+
@DescribeExecutors = params['DescribeExecutors']
|
976
|
+
@DescribeAdminUsers = params['DescribeAdminUsers']
|
977
|
+
@DescribeMemberCount = params['DescribeMemberCount']
|
978
|
+
@DescribeCreator = params['DescribeCreator']
|
979
|
+
@ProjectName = params['ProjectName']
|
980
|
+
end
|
981
|
+
end
|
982
|
+
|
983
|
+
# DescribeProject返回参数结构体
|
984
|
+
class DescribeProjectResponse < TencentCloud::Common::AbstractModel
|
985
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
986
|
+
# @type RequestId: String
|
987
|
+
|
988
|
+
attr_accessor :RequestId
|
989
|
+
|
990
|
+
def initialize(requestid=nil)
|
991
|
+
@RequestId = requestid
|
992
|
+
end
|
993
|
+
|
994
|
+
def deserialize(params)
|
995
|
+
@RequestId = params['RequestId']
|
996
|
+
end
|
997
|
+
end
|
998
|
+
|
999
|
+
# DescribeRelatedInstances请求参数结构体
|
1000
|
+
class DescribeRelatedInstancesRequest < TencentCloud::Common::AbstractModel
|
1001
|
+
# @param ProjectId: 项目id
|
1002
|
+
# @type ProjectId: String
|
1003
|
+
# @param CurRunDate: 数据时间,格式yyyy-MM-dd HH:mm:ss
|
1004
|
+
# @type CurRunDate: String
|
1005
|
+
# @param TaskId: 任务id
|
1006
|
+
# @type TaskId: Integer
|
1007
|
+
# @param Depth: 距离当前任务的层级距离,-1表示取父节点,1表示子节点
|
1008
|
+
# @type Depth: Integer
|
1009
|
+
# @param PageNumber: 页号,默认为1
|
1010
|
+
# @type PageNumber: Integer
|
1011
|
+
# @param PageSize: 页大小,默认为10,最大不超过200
|
1012
|
+
# @type PageSize: Integer
|
1013
|
+
|
1014
|
+
attr_accessor :ProjectId, :CurRunDate, :TaskId, :Depth, :PageNumber, :PageSize
|
1015
|
+
|
1016
|
+
def initialize(projectid=nil, currundate=nil, taskid=nil, depth=nil, pagenumber=nil, pagesize=nil)
|
1017
|
+
@ProjectId = projectid
|
1018
|
+
@CurRunDate = currundate
|
1019
|
+
@TaskId = taskid
|
1020
|
+
@Depth = depth
|
1021
|
+
@PageNumber = pagenumber
|
1022
|
+
@PageSize = pagesize
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
def deserialize(params)
|
1026
|
+
@ProjectId = params['ProjectId']
|
1027
|
+
@CurRunDate = params['CurRunDate']
|
1028
|
+
@TaskId = params['TaskId']
|
1029
|
+
@Depth = params['Depth']
|
1030
|
+
@PageNumber = params['PageNumber']
|
1031
|
+
@PageSize = params['PageSize']
|
1032
|
+
end
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
# DescribeRelatedInstances返回参数结构体
|
1036
|
+
class DescribeRelatedInstancesResponse < TencentCloud::Common::AbstractModel
|
1037
|
+
# @param Data: 无
|
1038
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.DescribeTaskInstancesData`
|
1039
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1040
|
+
# @type RequestId: String
|
1041
|
+
|
1042
|
+
attr_accessor :Data, :RequestId
|
1043
|
+
|
1044
|
+
def initialize(data=nil, requestid=nil)
|
1045
|
+
@Data = data
|
1046
|
+
@RequestId = requestid
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
def deserialize(params)
|
1050
|
+
unless params['Data'].nil?
|
1051
|
+
@Data = DescribeTaskInstancesData.new
|
1052
|
+
@Data.deserialize(params['Data'])
|
1053
|
+
end
|
1054
|
+
@RequestId = params['RequestId']
|
1055
|
+
end
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
# DescribeTaskDetail请求参数结构体
|
1059
|
+
class DescribeTaskDetailRequest < TencentCloud::Common::AbstractModel
|
1060
|
+
# @param ProjectId: 项目Id
|
1061
|
+
# @type ProjectId: String
|
1062
|
+
# @param TaskId: 任务ID
|
1063
|
+
# @type TaskId: String
|
1064
|
+
# @param TaskAlarmStatus: 任务告警状态
|
1065
|
+
# @type TaskAlarmStatus: Integer
|
1066
|
+
|
1067
|
+
attr_accessor :ProjectId, :TaskId, :TaskAlarmStatus
|
1068
|
+
|
1069
|
+
def initialize(projectid=nil, taskid=nil, taskalarmstatus=nil)
|
1070
|
+
@ProjectId = projectid
|
1071
|
+
@TaskId = taskid
|
1072
|
+
@TaskAlarmStatus = taskalarmstatus
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
def deserialize(params)
|
1076
|
+
@ProjectId = params['ProjectId']
|
1077
|
+
@TaskId = params['TaskId']
|
1078
|
+
@TaskAlarmStatus = params['TaskAlarmStatus']
|
1079
|
+
end
|
1080
|
+
end
|
1081
|
+
|
1082
|
+
# DescribeTaskDetail返回参数结构体
|
1083
|
+
class DescribeTaskDetailResponse < TencentCloud::Common::AbstractModel
|
1084
|
+
# @param Data: 任务详情1
|
1085
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1086
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.TaskInfoData`
|
1087
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1088
|
+
# @type RequestId: String
|
1089
|
+
|
1090
|
+
attr_accessor :Data, :RequestId
|
1091
|
+
|
1092
|
+
def initialize(data=nil, requestid=nil)
|
1093
|
+
@Data = data
|
1094
|
+
@RequestId = requestid
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
def deserialize(params)
|
1098
|
+
unless params['Data'].nil?
|
1099
|
+
@Data = TaskInfoData.new
|
1100
|
+
@Data.deserialize(params['Data'])
|
1101
|
+
end
|
1102
|
+
@RequestId = params['RequestId']
|
1103
|
+
end
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
# 查询任务实例列表
|
1107
|
+
class DescribeTaskInstancesData < TencentCloud::Common::AbstractModel
|
1108
|
+
# @param Items: 实例列表
|
1109
|
+
# @type Items: Array
|
1110
|
+
# @param TotalCount: 总条数
|
1111
|
+
# @type TotalCount: Integer
|
1112
|
+
# @param PageNumber: 页号
|
1113
|
+
# @type PageNumber: Integer
|
1114
|
+
# @param PageSize: 页大小
|
1115
|
+
# @type PageSize: Integer
|
1116
|
+
|
1117
|
+
attr_accessor :Items, :TotalCount, :PageNumber, :PageSize
|
1118
|
+
|
1119
|
+
def initialize(items=nil, totalcount=nil, pagenumber=nil, pagesize=nil)
|
1120
|
+
@Items = items
|
1121
|
+
@TotalCount = totalcount
|
1122
|
+
@PageNumber = pagenumber
|
1123
|
+
@PageSize = pagesize
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
def deserialize(params)
|
1127
|
+
unless params['Items'].nil?
|
1128
|
+
@Items = []
|
1129
|
+
params['Items'].each do |i|
|
1130
|
+
taskinstanceinfo_tmp = TaskInstanceInfo.new
|
1131
|
+
taskinstanceinfo_tmp.deserialize(i)
|
1132
|
+
@Items << taskinstanceinfo_tmp
|
1133
|
+
end
|
1134
|
+
end
|
1135
|
+
@TotalCount = params['TotalCount']
|
1136
|
+
@PageNumber = params['PageNumber']
|
1137
|
+
@PageSize = params['PageSize']
|
1138
|
+
end
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
# DescribeTaskInstances请求参数结构体
|
1142
|
+
class DescribeTaskInstancesRequest < TencentCloud::Common::AbstractModel
|
1143
|
+
# @param ProjectId: 项目id
|
1144
|
+
# @type ProjectId: String
|
1145
|
+
# @param PageNumber: 页号,默认为1
|
1146
|
+
# @type PageNumber: Integer
|
1147
|
+
# @param PageSize: 页大小,默认为10,最大不超过200
|
1148
|
+
# @type PageSize: Integer
|
1149
|
+
# @param WorkflowIdList: 工作流id列表
|
1150
|
+
# @type WorkflowIdList: Array
|
1151
|
+
# @param WorkflowNameList: 工作流名称列表,支持模糊搜索
|
1152
|
+
# @type WorkflowNameList: Array
|
1153
|
+
# @param DateFrom: 起始数据时间,格式yyyy-MM-dd HH:mm:ss
|
1154
|
+
# @type DateFrom: String
|
1155
|
+
# @param DateTo: 结束数据时间,格式yyyy-MM-dd HH:mm:ss
|
1156
|
+
# @type DateTo: String
|
1157
|
+
# @param TaskIdList: 任务id列表
|
1158
|
+
# @type TaskIdList: Array
|
1159
|
+
# @param TaskNameList: 任务名称列表,支持模糊搜索
|
1160
|
+
# @type TaskNameList: Array
|
1161
|
+
# @param InChargeList: 责任人名称列表
|
1162
|
+
# @type InChargeList: Array
|
1163
|
+
# @param TaskTypeIdList: 任务类型码列表,26离线同步,30Python,31PySpark,32DLC,33Impala,34Hive SQL,35Shell,36Spark SQL,39Spark,40CDW PG,92MapReduce
|
1164
|
+
# @type TaskTypeIdList: Array
|
1165
|
+
# @param StateList: 实例状态列表,0等待事件,1等待上游,2等待运行,3运行中,4正在终止,5失败重试,6失败,7成功
|
1166
|
+
# @type StateList: Array
|
1167
|
+
# @param TaskCycleUnitList: 周期类型列表,I分钟,H小时,D天,W周,M月,Y年,O一次性,C crontab
|
1168
|
+
# @type TaskCycleUnitList: Array
|
1169
|
+
# @param InstanceType: 实例类型,0补录实例,1周期实例,2非周期实例
|
1170
|
+
# @type InstanceType: Integer
|
1171
|
+
# @param OrderFields: 排序字段信息列表,ScheduleDateTime / CostTime / StartTime / EndTime
|
1172
|
+
# @type OrderFields: Array
|
1173
|
+
|
1174
|
+
attr_accessor :ProjectId, :PageNumber, :PageSize, :WorkflowIdList, :WorkflowNameList, :DateFrom, :DateTo, :TaskIdList, :TaskNameList, :InChargeList, :TaskTypeIdList, :StateList, :TaskCycleUnitList, :InstanceType, :OrderFields
|
1175
|
+
|
1176
|
+
def initialize(projectid=nil, pagenumber=nil, pagesize=nil, workflowidlist=nil, workflownamelist=nil, datefrom=nil, dateto=nil, taskidlist=nil, tasknamelist=nil, inchargelist=nil, tasktypeidlist=nil, statelist=nil, taskcycleunitlist=nil, instancetype=nil, orderfields=nil)
|
1177
|
+
@ProjectId = projectid
|
1178
|
+
@PageNumber = pagenumber
|
1179
|
+
@PageSize = pagesize
|
1180
|
+
@WorkflowIdList = workflowidlist
|
1181
|
+
@WorkflowNameList = workflownamelist
|
1182
|
+
@DateFrom = datefrom
|
1183
|
+
@DateTo = dateto
|
1184
|
+
@TaskIdList = taskidlist
|
1185
|
+
@TaskNameList = tasknamelist
|
1186
|
+
@InChargeList = inchargelist
|
1187
|
+
@TaskTypeIdList = tasktypeidlist
|
1188
|
+
@StateList = statelist
|
1189
|
+
@TaskCycleUnitList = taskcycleunitlist
|
1190
|
+
@InstanceType = instancetype
|
1191
|
+
@OrderFields = orderfields
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
def deserialize(params)
|
1195
|
+
@ProjectId = params['ProjectId']
|
1196
|
+
@PageNumber = params['PageNumber']
|
1197
|
+
@PageSize = params['PageSize']
|
1198
|
+
@WorkflowIdList = params['WorkflowIdList']
|
1199
|
+
@WorkflowNameList = params['WorkflowNameList']
|
1200
|
+
@DateFrom = params['DateFrom']
|
1201
|
+
@DateTo = params['DateTo']
|
1202
|
+
@TaskIdList = params['TaskIdList']
|
1203
|
+
@TaskNameList = params['TaskNameList']
|
1204
|
+
@InChargeList = params['InChargeList']
|
1205
|
+
@TaskTypeIdList = params['TaskTypeIdList']
|
1206
|
+
@StateList = params['StateList']
|
1207
|
+
@TaskCycleUnitList = params['TaskCycleUnitList']
|
1208
|
+
@InstanceType = params['InstanceType']
|
1209
|
+
unless params['OrderFields'].nil?
|
1210
|
+
@OrderFields = []
|
1211
|
+
params['OrderFields'].each do |i|
|
1212
|
+
orderfield_tmp = OrderField.new
|
1213
|
+
orderfield_tmp.deserialize(i)
|
1214
|
+
@OrderFields << orderfield_tmp
|
1215
|
+
end
|
1216
|
+
end
|
1217
|
+
end
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
# DescribeTaskInstances返回参数结构体
|
1221
|
+
class DescribeTaskInstancesResponse < TencentCloud::Common::AbstractModel
|
1222
|
+
# @param Data: 无
|
1223
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.DescribeTaskInstancesData`
|
1224
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1225
|
+
# @type RequestId: String
|
1226
|
+
|
1227
|
+
attr_accessor :Data, :RequestId
|
1228
|
+
|
1229
|
+
def initialize(data=nil, requestid=nil)
|
1230
|
+
@Data = data
|
1231
|
+
@RequestId = requestid
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
def deserialize(params)
|
1235
|
+
unless params['Data'].nil?
|
1236
|
+
@Data = DescribeTaskInstancesData.new
|
1237
|
+
@Data.deserialize(params['Data'])
|
1238
|
+
end
|
1239
|
+
@RequestId = params['RequestId']
|
1240
|
+
end
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
# DescribeTaskScript请求参数结构体
|
1244
|
+
class DescribeTaskScriptRequest < TencentCloud::Common::AbstractModel
|
1245
|
+
# @param ProjectId: 项目Id
|
1246
|
+
# @type ProjectId: String
|
1247
|
+
# @param TaskId: 任务ID
|
1248
|
+
# @type TaskId: String
|
1249
|
+
|
1250
|
+
attr_accessor :ProjectId, :TaskId
|
1251
|
+
|
1252
|
+
def initialize(projectid=nil, taskid=nil)
|
1253
|
+
@ProjectId = projectid
|
1254
|
+
@TaskId = taskid
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
def deserialize(params)
|
1258
|
+
@ProjectId = params['ProjectId']
|
1259
|
+
@TaskId = params['TaskId']
|
1260
|
+
end
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
# DescribeTaskScript返回参数结构体
|
1264
|
+
class DescribeTaskScriptResponse < TencentCloud::Common::AbstractModel
|
1265
|
+
# @param Data: 任务脚本内容
|
1266
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1267
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.TaskScriptContent`
|
1268
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1269
|
+
# @type RequestId: String
|
1270
|
+
|
1271
|
+
attr_accessor :Data, :RequestId
|
1272
|
+
|
1273
|
+
def initialize(data=nil, requestid=nil)
|
1274
|
+
@Data = data
|
1275
|
+
@RequestId = requestid
|
1276
|
+
end
|
1277
|
+
|
1278
|
+
def deserialize(params)
|
1279
|
+
unless params['Data'].nil?
|
1280
|
+
@Data = TaskScriptContent.new
|
1281
|
+
@Data.deserialize(params['Data'])
|
1282
|
+
end
|
1283
|
+
@RequestId = params['RequestId']
|
1284
|
+
end
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
# DescribeTasksByPage请求参数结构体
|
1288
|
+
class DescribeTasksByPageRequest < TencentCloud::Common::AbstractModel
|
1289
|
+
# @param ProjectId: 项目Id
|
1290
|
+
# @type ProjectId: String
|
1291
|
+
# @param WorkflowId: 工作流ID
|
1292
|
+
# @type WorkflowId: String
|
1293
|
+
# @param PageNumber: 页码,默认1
|
1294
|
+
# @type PageNumber: Integer
|
1295
|
+
# @param PageSize: 页大小,默认10
|
1296
|
+
# @type PageSize: Integer
|
1297
|
+
|
1298
|
+
attr_accessor :ProjectId, :WorkflowId, :PageNumber, :PageSize
|
1299
|
+
|
1300
|
+
def initialize(projectid=nil, workflowid=nil, pagenumber=nil, pagesize=nil)
|
1301
|
+
@ProjectId = projectid
|
1302
|
+
@WorkflowId = workflowid
|
1303
|
+
@PageNumber = pagenumber
|
1304
|
+
@PageSize = pagesize
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
def deserialize(params)
|
1308
|
+
@ProjectId = params['ProjectId']
|
1309
|
+
@WorkflowId = params['WorkflowId']
|
1310
|
+
@PageNumber = params['PageNumber']
|
1311
|
+
@PageSize = params['PageSize']
|
1312
|
+
end
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
# DescribeTasksByPage返回参数结构体
|
1316
|
+
class DescribeTasksByPageResponse < TencentCloud::Common::AbstractModel
|
1317
|
+
# @param Data: 无1
|
1318
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1319
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.TaskInfoDataPage`
|
1320
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1321
|
+
# @type RequestId: String
|
1322
|
+
|
1323
|
+
attr_accessor :Data, :RequestId
|
1324
|
+
|
1325
|
+
def initialize(data=nil, requestid=nil)
|
1326
|
+
@Data = data
|
1327
|
+
@RequestId = requestid
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
def deserialize(params)
|
1331
|
+
unless params['Data'].nil?
|
1332
|
+
@Data = TaskInfoDataPage.new
|
1333
|
+
@Data.deserialize(params['Data'])
|
1334
|
+
end
|
1335
|
+
@RequestId = params['RequestId']
|
1336
|
+
end
|
1337
|
+
end
|
1338
|
+
|
1339
|
+
# 文件夹信息
|
1340
|
+
class Folder < TencentCloud::Common::AbstractModel
|
1341
|
+
# @param Id: 文件ID
|
1342
|
+
# @type Id: String
|
1343
|
+
# @param Name: 文件夹名称
|
1344
|
+
# @type Name: String
|
1345
|
+
# @param CreateTime: 创建时间
|
1346
|
+
# @type CreateTime: String
|
1347
|
+
# @param ProjectId: 所属项目id
|
1348
|
+
# @type ProjectId: String
|
1349
|
+
# @param UpdateTime: 更新时间
|
1350
|
+
# @type UpdateTime: String
|
1351
|
+
|
1352
|
+
attr_accessor :Id, :Name, :CreateTime, :ProjectId, :UpdateTime
|
1353
|
+
|
1354
|
+
def initialize(id=nil, name=nil, createtime=nil, projectid=nil, updatetime=nil)
|
1355
|
+
@Id = id
|
1356
|
+
@Name = name
|
1357
|
+
@CreateTime = createtime
|
1358
|
+
@ProjectId = projectid
|
1359
|
+
@UpdateTime = updatetime
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
def deserialize(params)
|
1363
|
+
@Id = params['Id']
|
1364
|
+
@Name = params['Name']
|
1365
|
+
@CreateTime = params['CreateTime']
|
1366
|
+
@ProjectId = params['ProjectId']
|
1367
|
+
@UpdateTime = params['UpdateTime']
|
1368
|
+
end
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
# ForceSucInstances请求参数结构体
|
1372
|
+
class ForceSucInstancesRequest < TencentCloud::Common::AbstractModel
|
1373
|
+
# @param ProjectId: 项目Id
|
1374
|
+
# @type ProjectId: String
|
1375
|
+
# @param Instances: 实例嵌套集合
|
1376
|
+
# @type Instances: Array
|
1377
|
+
|
1378
|
+
attr_accessor :ProjectId, :Instances
|
1379
|
+
|
1380
|
+
def initialize(projectid=nil, instances=nil)
|
1381
|
+
@ProjectId = projectid
|
1382
|
+
@Instances = instances
|
1383
|
+
end
|
1384
|
+
|
1385
|
+
def deserialize(params)
|
1386
|
+
@ProjectId = params['ProjectId']
|
1387
|
+
unless params['Instances'].nil?
|
1388
|
+
@Instances = []
|
1389
|
+
params['Instances'].each do |i|
|
1390
|
+
instanceinfo_tmp = InstanceInfo.new
|
1391
|
+
instanceinfo_tmp.deserialize(i)
|
1392
|
+
@Instances << instanceinfo_tmp
|
1393
|
+
end
|
1394
|
+
end
|
1395
|
+
end
|
1396
|
+
end
|
1397
|
+
|
1398
|
+
# ForceSucInstances返回参数结构体
|
1399
|
+
class ForceSucInstancesResponse < TencentCloud::Common::AbstractModel
|
1400
|
+
# @param Data: 返回实例批量终止结果
|
1401
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.OperateResult`
|
1402
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1403
|
+
# @type RequestId: String
|
1404
|
+
|
1405
|
+
attr_accessor :Data, :RequestId
|
1406
|
+
|
1407
|
+
def initialize(data=nil, requestid=nil)
|
1408
|
+
@Data = data
|
1409
|
+
@RequestId = requestid
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
def deserialize(params)
|
1413
|
+
unless params['Data'].nil?
|
1414
|
+
@Data = OperateResult.new
|
1415
|
+
@Data.deserialize(params['Data'])
|
1416
|
+
end
|
1417
|
+
@RequestId = params['RequestId']
|
1418
|
+
end
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
# FreezeTasksByMultiWorkflow请求参数结构体
|
1422
|
+
class FreezeTasksByMultiWorkflowRequest < TencentCloud::Common::AbstractModel
|
1423
|
+
# @param WorkFlowIds: 工作流Id集合
|
1424
|
+
# @type WorkFlowIds: Array
|
1425
|
+
|
1426
|
+
attr_accessor :WorkFlowIds
|
1427
|
+
|
1428
|
+
def initialize(workflowids=nil)
|
1429
|
+
@WorkFlowIds = workflowids
|
1430
|
+
end
|
1431
|
+
|
1432
|
+
def deserialize(params)
|
1433
|
+
@WorkFlowIds = params['WorkFlowIds']
|
1434
|
+
end
|
1435
|
+
end
|
1436
|
+
|
1437
|
+
# FreezeTasksByMultiWorkflow返回参数结构体
|
1438
|
+
class FreezeTasksByMultiWorkflowResponse < TencentCloud::Common::AbstractModel
|
1439
|
+
# @param Data: 操作结果
|
1440
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.OperateResult`
|
1441
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1442
|
+
# @type RequestId: String
|
1443
|
+
|
1444
|
+
attr_accessor :Data, :RequestId
|
1445
|
+
|
1446
|
+
def initialize(data=nil, requestid=nil)
|
1447
|
+
@Data = data
|
1448
|
+
@RequestId = requestid
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
def deserialize(params)
|
1452
|
+
unless params['Data'].nil?
|
1453
|
+
@Data = OperateResult.new
|
1454
|
+
@Data.deserialize(params['Data'])
|
1455
|
+
end
|
1456
|
+
@RequestId = params['RequestId']
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
# FreezeTasks请求参数结构体
|
1461
|
+
class FreezeTasksRequest < TencentCloud::Common::AbstractModel
|
1462
|
+
# @param Tasks: 任务列表
|
1463
|
+
# @type Tasks: Array
|
1464
|
+
# @param OperateIsInform: 任务操作是否消息通知下游任务责任人
|
1465
|
+
# @type OperateIsInform: Boolean
|
1466
|
+
|
1467
|
+
attr_accessor :Tasks, :OperateIsInform
|
1468
|
+
|
1469
|
+
def initialize(tasks=nil, operateisinform=nil)
|
1470
|
+
@Tasks = tasks
|
1471
|
+
@OperateIsInform = operateisinform
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
def deserialize(params)
|
1475
|
+
unless params['Tasks'].nil?
|
1476
|
+
@Tasks = []
|
1477
|
+
params['Tasks'].each do |i|
|
1478
|
+
simpletaskinfo_tmp = SimpleTaskInfo.new
|
1479
|
+
simpletaskinfo_tmp.deserialize(i)
|
1480
|
+
@Tasks << simpletaskinfo_tmp
|
1481
|
+
end
|
1482
|
+
end
|
1483
|
+
@OperateIsInform = params['OperateIsInform']
|
1484
|
+
end
|
1485
|
+
end
|
1486
|
+
|
1487
|
+
# FreezeTasks返回参数结构体
|
1488
|
+
class FreezeTasksResponse < TencentCloud::Common::AbstractModel
|
1489
|
+
# @param Data: 操作结果
|
1490
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.OperateResult`
|
1491
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1492
|
+
# @type RequestId: String
|
1493
|
+
|
1494
|
+
attr_accessor :Data, :RequestId
|
1495
|
+
|
1496
|
+
def initialize(data=nil, requestid=nil)
|
1497
|
+
@Data = data
|
1498
|
+
@RequestId = requestid
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
def deserialize(params)
|
1502
|
+
unless params['Data'].nil?
|
1503
|
+
@Data = OperateResult.new
|
1504
|
+
@Data.deserialize(params['Data'])
|
1505
|
+
end
|
1506
|
+
@RequestId = params['RequestId']
|
1507
|
+
end
|
1508
|
+
end
|
1509
|
+
|
1510
|
+
# Spark SQL配置参数
|
1511
|
+
class GeneralTaskParam < TencentCloud::Common::AbstractModel
|
1512
|
+
# @param Type: 通用任务参数类型,例:SPARK_SQL
|
1513
|
+
# @type Type: String
|
1514
|
+
# @param Value: 通用任务参数内容,直接作用于任务的参数。不同参数用;
|
1515
|
+
# 分割
|
1516
|
+
# @type Value: String
|
1517
|
+
|
1518
|
+
attr_accessor :Type, :Value
|
1519
|
+
|
1520
|
+
def initialize(type=nil, value=nil)
|
1521
|
+
@Type = type
|
1522
|
+
@Value = value
|
1523
|
+
end
|
1524
|
+
|
1525
|
+
def deserialize(params)
|
1526
|
+
@Type = params['Type']
|
1527
|
+
@Value = params['Value']
|
1528
|
+
end
|
1529
|
+
end
|
1530
|
+
|
1531
|
+
# 实例请求实体
|
1532
|
+
class InstanceInfo < TencentCloud::Common::AbstractModel
|
1533
|
+
# @param TaskId: 任务ID
|
1534
|
+
# @type TaskId: String
|
1535
|
+
# @param CurRunDate: 数据时间
|
1536
|
+
# @type CurRunDate: String
|
1537
|
+
|
1538
|
+
attr_accessor :TaskId, :CurRunDate
|
1539
|
+
|
1540
|
+
def initialize(taskid=nil, currundate=nil)
|
1541
|
+
@TaskId = taskid
|
1542
|
+
@CurRunDate = currundate
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
def deserialize(params)
|
1546
|
+
@TaskId = params['TaskId']
|
1547
|
+
@CurRunDate = params['CurRunDate']
|
1548
|
+
end
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
# 实例日志实体
|
1552
|
+
class InstanceLog < TencentCloud::Common::AbstractModel
|
1553
|
+
# @param TaskId: 任务ID
|
1554
|
+
# @type TaskId: String
|
1555
|
+
# @param CurRunDate: 数据时间
|
1556
|
+
# @type CurRunDate: String
|
1557
|
+
# @param Tries: 尝试运行次数
|
1558
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1559
|
+
# @type Tries: String
|
1560
|
+
# @param LastUpdate: 日志更新时间
|
1561
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1562
|
+
# @type LastUpdate: String
|
1563
|
+
# @param BrokerIp: 日志所在节点
|
1564
|
+
# @type BrokerIp: String
|
1565
|
+
# @param OriginFileName: 文件名 含全路径
|
1566
|
+
# @type OriginFileName: String
|
1567
|
+
# @param CreateTime: 日志创建时间
|
1568
|
+
# @type CreateTime: String
|
1569
|
+
# @param InstanceLogType: 实例日志类型, run: 运行; kill: 终止
|
1570
|
+
# @type InstanceLogType: String
|
1571
|
+
# @param CostTime: 运行耗时
|
1572
|
+
# @type CostTime: Float
|
1573
|
+
|
1574
|
+
attr_accessor :TaskId, :CurRunDate, :Tries, :LastUpdate, :BrokerIp, :OriginFileName, :CreateTime, :InstanceLogType, :CostTime
|
1575
|
+
|
1576
|
+
def initialize(taskid=nil, currundate=nil, tries=nil, lastupdate=nil, brokerip=nil, originfilename=nil, createtime=nil, instancelogtype=nil, costtime=nil)
|
1577
|
+
@TaskId = taskid
|
1578
|
+
@CurRunDate = currundate
|
1579
|
+
@Tries = tries
|
1580
|
+
@LastUpdate = lastupdate
|
1581
|
+
@BrokerIp = brokerip
|
1582
|
+
@OriginFileName = originfilename
|
1583
|
+
@CreateTime = createtime
|
1584
|
+
@InstanceLogType = instancelogtype
|
1585
|
+
@CostTime = costtime
|
1586
|
+
end
|
1587
|
+
|
1588
|
+
def deserialize(params)
|
1589
|
+
@TaskId = params['TaskId']
|
1590
|
+
@CurRunDate = params['CurRunDate']
|
1591
|
+
@Tries = params['Tries']
|
1592
|
+
@LastUpdate = params['LastUpdate']
|
1593
|
+
@BrokerIp = params['BrokerIp']
|
1594
|
+
@OriginFileName = params['OriginFileName']
|
1595
|
+
@CreateTime = params['CreateTime']
|
1596
|
+
@InstanceLogType = params['InstanceLogType']
|
1597
|
+
@CostTime = params['CostTime']
|
1598
|
+
end
|
1599
|
+
end
|
1600
|
+
|
1601
|
+
# 集成节点详情
|
1602
|
+
class IntegrationNodeDetail < TencentCloud::Common::AbstractModel
|
1603
|
+
# @param Name: 集成节点名称
|
1604
|
+
# @type Name: String
|
1605
|
+
# @param NodeType: 集成节点类型
|
1606
|
+
# @type NodeType: String
|
1607
|
+
# @param DataSourceType: 节点数据源类型
|
1608
|
+
# @type DataSourceType: String
|
1609
|
+
# @param Description: 节点描述
|
1610
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1611
|
+
# @type Description: String
|
1612
|
+
# @param DatasourceId: 数据源id
|
1613
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1614
|
+
# @type DatasourceId: String
|
1615
|
+
# @param Config: 节点配置信息
|
1616
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1617
|
+
# @type Config: Array
|
1618
|
+
# @param ExtConfig: 节点扩展配置信息
|
1619
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1620
|
+
# @type ExtConfig: Array
|
1621
|
+
# @param Schema: 节点schema
|
1622
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1623
|
+
# @type Schema: Array
|
1624
|
+
# @param NodeMapping: 节点映射
|
1625
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1626
|
+
# @type NodeMapping: :class:`Tencentcloud::Wedata.v20210820.models.IntegrationNodeMapping`
|
1627
|
+
# @param OwnerUin: owner uin
|
1628
|
+
# @type OwnerUin: String
|
1629
|
+
|
1630
|
+
attr_accessor :Name, :NodeType, :DataSourceType, :Description, :DatasourceId, :Config, :ExtConfig, :Schema, :NodeMapping, :OwnerUin
|
1631
|
+
|
1632
|
+
def initialize(name=nil, nodetype=nil, datasourcetype=nil, description=nil, datasourceid=nil, config=nil, extconfig=nil, schema=nil, nodemapping=nil, owneruin=nil)
|
1633
|
+
@Name = name
|
1634
|
+
@NodeType = nodetype
|
1635
|
+
@DataSourceType = datasourcetype
|
1636
|
+
@Description = description
|
1637
|
+
@DatasourceId = datasourceid
|
1638
|
+
@Config = config
|
1639
|
+
@ExtConfig = extconfig
|
1640
|
+
@Schema = schema
|
1641
|
+
@NodeMapping = nodemapping
|
1642
|
+
@OwnerUin = owneruin
|
1643
|
+
end
|
1644
|
+
|
1645
|
+
def deserialize(params)
|
1646
|
+
@Name = params['Name']
|
1647
|
+
@NodeType = params['NodeType']
|
1648
|
+
@DataSourceType = params['DataSourceType']
|
1649
|
+
@Description = params['Description']
|
1650
|
+
@DatasourceId = params['DatasourceId']
|
1651
|
+
unless params['Config'].nil?
|
1652
|
+
@Config = []
|
1653
|
+
params['Config'].each do |i|
|
1654
|
+
recordfield_tmp = RecordField.new
|
1655
|
+
recordfield_tmp.deserialize(i)
|
1656
|
+
@Config << recordfield_tmp
|
1657
|
+
end
|
1658
|
+
end
|
1659
|
+
unless params['ExtConfig'].nil?
|
1660
|
+
@ExtConfig = []
|
1661
|
+
params['ExtConfig'].each do |i|
|
1662
|
+
recordfield_tmp = RecordField.new
|
1663
|
+
recordfield_tmp.deserialize(i)
|
1664
|
+
@ExtConfig << recordfield_tmp
|
1665
|
+
end
|
1666
|
+
end
|
1667
|
+
unless params['Schema'].nil?
|
1668
|
+
@Schema = []
|
1669
|
+
params['Schema'].each do |i|
|
1670
|
+
integrationnodeschema_tmp = IntegrationNodeSchema.new
|
1671
|
+
integrationnodeschema_tmp.deserialize(i)
|
1672
|
+
@Schema << integrationnodeschema_tmp
|
1673
|
+
end
|
1674
|
+
end
|
1675
|
+
unless params['NodeMapping'].nil?
|
1676
|
+
@NodeMapping = IntegrationNodeMapping.new
|
1677
|
+
@NodeMapping.deserialize(params['NodeMapping'])
|
1678
|
+
end
|
1679
|
+
@OwnerUin = params['OwnerUin']
|
1680
|
+
end
|
1681
|
+
end
|
1682
|
+
|
1683
|
+
# 集成节点映射
|
1684
|
+
class IntegrationNodeMapping < TencentCloud::Common::AbstractModel
|
1685
|
+
# @param SourceId: 源节点id
|
1686
|
+
# @type SourceId: String
|
1687
|
+
# @param SinkId: 目标节点id
|
1688
|
+
# @type SinkId: String
|
1689
|
+
# @param SourceSchema: 源节点schema
|
1690
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1691
|
+
# @type SourceSchema: Array
|
1692
|
+
# @param SchemaMappings: 节点schema映射
|
1693
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1694
|
+
# @type SchemaMappings: Array
|
1695
|
+
# @param ExtConfig: 节点映射扩展信息
|
1696
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1697
|
+
# @type ExtConfig: Array
|
1698
|
+
|
1699
|
+
attr_accessor :SourceId, :SinkId, :SourceSchema, :SchemaMappings, :ExtConfig
|
1700
|
+
|
1701
|
+
def initialize(sourceid=nil, sinkid=nil, sourceschema=nil, schemamappings=nil, extconfig=nil)
|
1702
|
+
@SourceId = sourceid
|
1703
|
+
@SinkId = sinkid
|
1704
|
+
@SourceSchema = sourceschema
|
1705
|
+
@SchemaMappings = schemamappings
|
1706
|
+
@ExtConfig = extconfig
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
def deserialize(params)
|
1710
|
+
@SourceId = params['SourceId']
|
1711
|
+
@SinkId = params['SinkId']
|
1712
|
+
unless params['SourceSchema'].nil?
|
1713
|
+
@SourceSchema = []
|
1714
|
+
params['SourceSchema'].each do |i|
|
1715
|
+
integrationnodeschema_tmp = IntegrationNodeSchema.new
|
1716
|
+
integrationnodeschema_tmp.deserialize(i)
|
1717
|
+
@SourceSchema << integrationnodeschema_tmp
|
1718
|
+
end
|
1719
|
+
end
|
1720
|
+
unless params['SchemaMappings'].nil?
|
1721
|
+
@SchemaMappings = []
|
1722
|
+
params['SchemaMappings'].each do |i|
|
1723
|
+
integrationnodeschemamapping_tmp = IntegrationNodeSchemaMapping.new
|
1724
|
+
integrationnodeschemamapping_tmp.deserialize(i)
|
1725
|
+
@SchemaMappings << integrationnodeschemamapping_tmp
|
1726
|
+
end
|
1727
|
+
end
|
1728
|
+
unless params['ExtConfig'].nil?
|
1729
|
+
@ExtConfig = []
|
1730
|
+
params['ExtConfig'].each do |i|
|
1731
|
+
recordfield_tmp = RecordField.new
|
1732
|
+
recordfield_tmp.deserialize(i)
|
1733
|
+
@ExtConfig << recordfield_tmp
|
1734
|
+
end
|
1735
|
+
end
|
1736
|
+
end
|
1737
|
+
end
|
1738
|
+
|
1739
|
+
# 集成节点schema
|
1740
|
+
class IntegrationNodeSchema < TencentCloud::Common::AbstractModel
|
1741
|
+
# @param Id: schema id
|
1742
|
+
# @type Id: String
|
1743
|
+
# @param Name: schema名称
|
1744
|
+
# @type Name: String
|
1745
|
+
# @param Type: schema类型
|
1746
|
+
# @type Type: String
|
1747
|
+
# @param Value: schema值
|
1748
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1749
|
+
# @type Value: String
|
1750
|
+
# @param Properties: schema拓展属性
|
1751
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1752
|
+
# @type Properties: Array
|
1753
|
+
|
1754
|
+
attr_accessor :Id, :Name, :Type, :Value, :Properties
|
1755
|
+
|
1756
|
+
def initialize(id=nil, name=nil, type=nil, value=nil, properties=nil)
|
1757
|
+
@Id = id
|
1758
|
+
@Name = name
|
1759
|
+
@Type = type
|
1760
|
+
@Value = value
|
1761
|
+
@Properties = properties
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
def deserialize(params)
|
1765
|
+
@Id = params['Id']
|
1766
|
+
@Name = params['Name']
|
1767
|
+
@Type = params['Type']
|
1768
|
+
@Value = params['Value']
|
1769
|
+
unless params['Properties'].nil?
|
1770
|
+
@Properties = []
|
1771
|
+
params['Properties'].each do |i|
|
1772
|
+
recordfield_tmp = RecordField.new
|
1773
|
+
recordfield_tmp.deserialize(i)
|
1774
|
+
@Properties << recordfield_tmp
|
1775
|
+
end
|
1776
|
+
end
|
1777
|
+
end
|
1778
|
+
end
|
1779
|
+
|
1780
|
+
# 集成节点schema映射
|
1781
|
+
class IntegrationNodeSchemaMapping < TencentCloud::Common::AbstractModel
|
1782
|
+
# @param SourceSchemaId: 源schema id
|
1783
|
+
# @type SourceSchemaId: String
|
1784
|
+
# @param SinkSchemaId: 目标schema id
|
1785
|
+
# @type SinkSchemaId: String
|
1786
|
+
|
1787
|
+
attr_accessor :SourceSchemaId, :SinkSchemaId
|
1788
|
+
|
1789
|
+
def initialize(sourceschemaid=nil, sinkschemaid=nil)
|
1790
|
+
@SourceSchemaId = sourceschemaid
|
1791
|
+
@SinkSchemaId = sinkschemaid
|
1792
|
+
end
|
1793
|
+
|
1794
|
+
def deserialize(params)
|
1795
|
+
@SourceSchemaId = params['SourceSchemaId']
|
1796
|
+
@SinkSchemaId = params['SinkSchemaId']
|
1797
|
+
end
|
1798
|
+
end
|
1799
|
+
|
1800
|
+
# KillInstances请求参数结构体
|
1801
|
+
class KillInstancesRequest < TencentCloud::Common::AbstractModel
|
1802
|
+
# @param ProjectId: 项目Id
|
1803
|
+
# @type ProjectId: String
|
1804
|
+
# @param Instances: 实例嵌套集合
|
1805
|
+
# @type Instances: Array
|
1806
|
+
|
1807
|
+
attr_accessor :ProjectId, :Instances
|
1808
|
+
|
1809
|
+
def initialize(projectid=nil, instances=nil)
|
1810
|
+
@ProjectId = projectid
|
1811
|
+
@Instances = instances
|
1812
|
+
end
|
1813
|
+
|
1814
|
+
def deserialize(params)
|
1815
|
+
@ProjectId = params['ProjectId']
|
1816
|
+
unless params['Instances'].nil?
|
1817
|
+
@Instances = []
|
1818
|
+
params['Instances'].each do |i|
|
1819
|
+
instanceinfo_tmp = InstanceInfo.new
|
1820
|
+
instanceinfo_tmp.deserialize(i)
|
1821
|
+
@Instances << instanceinfo_tmp
|
1822
|
+
end
|
1823
|
+
end
|
1824
|
+
end
|
1825
|
+
end
|
1826
|
+
|
1827
|
+
# KillInstances返回参数结构体
|
1828
|
+
class KillInstancesResponse < TencentCloud::Common::AbstractModel
|
1829
|
+
# @param Data: 返回实例批量终止结果
|
1830
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.OperateResult`
|
1831
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1832
|
+
# @type RequestId: String
|
1833
|
+
|
1834
|
+
attr_accessor :Data, :RequestId
|
1835
|
+
|
1836
|
+
def initialize(data=nil, requestid=nil)
|
1837
|
+
@Data = data
|
1838
|
+
@RequestId = requestid
|
1839
|
+
end
|
1840
|
+
|
1841
|
+
def deserialize(params)
|
1842
|
+
unless params['Data'].nil?
|
1843
|
+
@Data = OperateResult.new
|
1844
|
+
@Data.deserialize(params['Data'])
|
1845
|
+
end
|
1846
|
+
@RequestId = params['RequestId']
|
1847
|
+
end
|
1848
|
+
end
|
1849
|
+
|
1850
|
+
# MakeUpTasksNew请求参数结构体
|
1851
|
+
class MakeUpTasksNewRequest < TencentCloud::Common::AbstractModel
|
1852
|
+
# @param TaskIdList: 补录的当前任务的taskId数组
|
1853
|
+
# @type TaskIdList: Array
|
1854
|
+
# @param StartTime: 补录开始时间
|
1855
|
+
# @type StartTime: String
|
1856
|
+
# @param EndTime: 补录结束时间
|
1857
|
+
# @type EndTime: String
|
1858
|
+
# @param MakeUpType: 补录选项标识,1表示当前任务;2表示当前及下游任务;3表示下游任务
|
1859
|
+
# @type MakeUpType: Integer
|
1860
|
+
# @param ProjectId: 项目Id
|
1861
|
+
# @type ProjectId: String
|
1862
|
+
# @param CheckParent: true: 检查父任务实例状态;false: 不检查父任务实例状态
|
1863
|
+
# @type CheckParent: Boolean
|
1864
|
+
|
1865
|
+
attr_accessor :TaskIdList, :StartTime, :EndTime, :MakeUpType, :ProjectId, :CheckParent
|
1866
|
+
|
1867
|
+
def initialize(taskidlist=nil, starttime=nil, endtime=nil, makeuptype=nil, projectid=nil, checkparent=nil)
|
1868
|
+
@TaskIdList = taskidlist
|
1869
|
+
@StartTime = starttime
|
1870
|
+
@EndTime = endtime
|
1871
|
+
@MakeUpType = makeuptype
|
1872
|
+
@ProjectId = projectid
|
1873
|
+
@CheckParent = checkparent
|
1874
|
+
end
|
1875
|
+
|
1876
|
+
def deserialize(params)
|
1877
|
+
@TaskIdList = params['TaskIdList']
|
1878
|
+
@StartTime = params['StartTime']
|
1879
|
+
@EndTime = params['EndTime']
|
1880
|
+
@MakeUpType = params['MakeUpType']
|
1881
|
+
@ProjectId = params['ProjectId']
|
1882
|
+
@CheckParent = params['CheckParent']
|
1883
|
+
end
|
1884
|
+
end
|
1885
|
+
|
1886
|
+
# MakeUpTasksNew返回参数结构体
|
1887
|
+
class MakeUpTasksNewResponse < TencentCloud::Common::AbstractModel
|
1888
|
+
# @param Data: 返回批量操作成功个数、失败个数、操作总数
|
1889
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.BatchOperateResult`
|
1890
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1891
|
+
# @type RequestId: String
|
1892
|
+
|
1893
|
+
attr_accessor :Data, :RequestId
|
1894
|
+
|
1895
|
+
def initialize(data=nil, requestid=nil)
|
1896
|
+
@Data = data
|
1897
|
+
@RequestId = requestid
|
1898
|
+
end
|
1899
|
+
|
1900
|
+
def deserialize(params)
|
1901
|
+
unless params['Data'].nil?
|
1902
|
+
@Data = BatchOperateResult.new
|
1903
|
+
@Data.deserialize(params['Data'])
|
1904
|
+
end
|
1905
|
+
@RequestId = params['RequestId']
|
1906
|
+
end
|
1907
|
+
end
|
1908
|
+
|
1909
|
+
# MakeUpWorkflowNew请求参数结构体
|
1910
|
+
class MakeUpWorkflowNewRequest < TencentCloud::Common::AbstractModel
|
1911
|
+
# @param WorkFlowId: 工作流id
|
1912
|
+
# @type WorkFlowId: String
|
1913
|
+
# @param StartTime: 补录开始时间
|
1914
|
+
# @type StartTime: String
|
1915
|
+
# @param EndTime: 补录结束时间
|
1916
|
+
# @type EndTime: String
|
1917
|
+
# @param ProjectId: 项目id
|
1918
|
+
# @type ProjectId: String
|
1919
|
+
|
1920
|
+
attr_accessor :WorkFlowId, :StartTime, :EndTime, :ProjectId
|
1921
|
+
|
1922
|
+
def initialize(workflowid=nil, starttime=nil, endtime=nil, projectid=nil)
|
1923
|
+
@WorkFlowId = workflowid
|
1924
|
+
@StartTime = starttime
|
1925
|
+
@EndTime = endtime
|
1926
|
+
@ProjectId = projectid
|
1927
|
+
end
|
1928
|
+
|
1929
|
+
def deserialize(params)
|
1930
|
+
@WorkFlowId = params['WorkFlowId']
|
1931
|
+
@StartTime = params['StartTime']
|
1932
|
+
@EndTime = params['EndTime']
|
1933
|
+
@ProjectId = params['ProjectId']
|
1934
|
+
end
|
1935
|
+
end
|
1936
|
+
|
1937
|
+
# MakeUpWorkflowNew返回参数结构体
|
1938
|
+
class MakeUpWorkflowNewResponse < TencentCloud::Common::AbstractModel
|
1939
|
+
# @param Data: 返回补录成功或失败的任务数
|
1940
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.BatchOperateResult`
|
1941
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1942
|
+
# @type RequestId: String
|
1943
|
+
|
1944
|
+
attr_accessor :Data, :RequestId
|
1945
|
+
|
1946
|
+
def initialize(data=nil, requestid=nil)
|
1947
|
+
@Data = data
|
1948
|
+
@RequestId = requestid
|
1949
|
+
end
|
1950
|
+
|
1951
|
+
def deserialize(params)
|
1952
|
+
unless params['Data'].nil?
|
1953
|
+
@Data = BatchOperateResult.new
|
1954
|
+
@Data.deserialize(params['Data'])
|
1955
|
+
end
|
1956
|
+
@RequestId = params['RequestId']
|
1957
|
+
end
|
1958
|
+
end
|
1959
|
+
|
1960
|
+
# ModifyFolder请求参数结构体
|
1961
|
+
class ModifyFolderRequest < TencentCloud::Common::AbstractModel
|
1962
|
+
# @param ProjectId: 项目Id
|
1963
|
+
# @type ProjectId: String
|
1964
|
+
# @param FolderName: 文件夹名称
|
1965
|
+
# @type FolderName: String
|
1966
|
+
# @param FolderId: 文件夹Id
|
1967
|
+
# @type FolderId: String
|
1968
|
+
# @param ParentsFolderId: 父文件夹ID
|
1969
|
+
# @type ParentsFolderId: String
|
1970
|
+
|
1971
|
+
attr_accessor :ProjectId, :FolderName, :FolderId, :ParentsFolderId
|
1972
|
+
|
1973
|
+
def initialize(projectid=nil, foldername=nil, folderid=nil, parentsfolderid=nil)
|
1974
|
+
@ProjectId = projectid
|
1975
|
+
@FolderName = foldername
|
1976
|
+
@FolderId = folderid
|
1977
|
+
@ParentsFolderId = parentsfolderid
|
1978
|
+
end
|
1979
|
+
|
1980
|
+
def deserialize(params)
|
1981
|
+
@ProjectId = params['ProjectId']
|
1982
|
+
@FolderName = params['FolderName']
|
1983
|
+
@FolderId = params['FolderId']
|
1984
|
+
@ParentsFolderId = params['ParentsFolderId']
|
1985
|
+
end
|
1986
|
+
end
|
1987
|
+
|
1988
|
+
# ModifyFolder返回参数结构体
|
1989
|
+
class ModifyFolderResponse < TencentCloud::Common::AbstractModel
|
1990
|
+
# @param Data: true代表成功,false代表失败
|
1991
|
+
# @type Data: Boolean
|
1992
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1993
|
+
# @type RequestId: String
|
1994
|
+
|
1995
|
+
attr_accessor :Data, :RequestId
|
1996
|
+
|
1997
|
+
def initialize(data=nil, requestid=nil)
|
1998
|
+
@Data = data
|
1999
|
+
@RequestId = requestid
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
def deserialize(params)
|
2003
|
+
@Data = params['Data']
|
2004
|
+
@RequestId = params['RequestId']
|
2005
|
+
end
|
2006
|
+
end
|
2007
|
+
|
2008
|
+
# ModifyTaskInfo请求参数结构体
|
2009
|
+
class ModifyTaskInfoRequest < TencentCloud::Common::AbstractModel
|
2010
|
+
# @param ProjectId: 项目Id
|
2011
|
+
# @type ProjectId: String
|
2012
|
+
# @param TaskId: 任务ID
|
2013
|
+
# @type TaskId: String
|
2014
|
+
# @param DelayTime: 执行时间,单位分钟,天/周/月/年调度才有。比如天调度,每天的02:00点执行一次,delayTime就是120分钟
|
2015
|
+
# @type DelayTime: Integer
|
2016
|
+
# @param StartupTime: 启动时间
|
2017
|
+
# @type StartupTime: Integer
|
2018
|
+
# @param SelfDepend: 自依赖类型 1:有序串行 一次一个 排队, 2: 无序串行 一次一个 不排队, 3:并行 一次多个
|
2019
|
+
# @type SelfDepend: Integer
|
2020
|
+
# @param StartTime: 生效开始时间,格式 yyyy-MM-dd HH:mm:ss
|
2021
|
+
# @type StartTime: String
|
2022
|
+
# @param EndTime: 生效结束时间,格式 yyyy-MM-dd HH:mm:ss
|
2023
|
+
# @type EndTime: String
|
2024
|
+
# @param TaskAction: 调度配置-弹性周期配置,小时/周/月/年调度才有,小时任务指定每天的0点3点4点跑,则为'0,3,4'。
|
2025
|
+
# @type TaskAction: String
|
2026
|
+
# @param CycleType: "周期类型 0:crontab类型, 1:分钟,2:小时,3:天,4:周,5:月,6:一次性,7:用户驱动,10:弹性周期 周,11:弹性周期 月,12:年,13:即时触发Instant类型,与正常周期调度任务逻辑隔离
|
2027
|
+
# @type CycleType: Integer
|
2028
|
+
# @param CycleStep: 步长,间隔时间,最小1
|
2029
|
+
# @type CycleStep: Integer
|
2030
|
+
# @param CrontabExpression: cron表达式 周期类型为crontab调度才需要
|
2031
|
+
# @type CrontabExpression: String
|
2032
|
+
# @param ExecutionStartTime: 执行时间左闭区间,格式:HH:mm 小时调度才有,例如小时任务, 每日固定区间生效
|
2033
|
+
# @type ExecutionStartTime: String
|
2034
|
+
# @param ExecutionEndTime: 执行时间右闭区间,格式:HH:mm 小时调度才有,例如小时任务, 每日固定区间生效
|
2035
|
+
# @type ExecutionEndTime: String
|
2036
|
+
# @param TaskName: 新的任务名
|
2037
|
+
# @type TaskName: String
|
2038
|
+
# @param RetryWait: 失败重试间隔,单位分钟,创建任务的时候已经给了默认值
|
2039
|
+
# @type RetryWait: Integer
|
2040
|
+
# @param TryLimit: 失败重试次数,创建任务的时候已经给了默认值
|
2041
|
+
# @type TryLimit: Integer
|
2042
|
+
# @param Retriable: 是否可重试,1代表可以重试
|
2043
|
+
# @type Retriable: Integer
|
2044
|
+
# @param RunPriority: 运行优先级,4高 5中 6低
|
2045
|
+
# @type RunPriority: Integer
|
2046
|
+
# @param TaskExt: 任务的扩展配置
|
2047
|
+
# @type TaskExt: Array
|
2048
|
+
# @param ResourceGroup: 执行资源组id,需要去资源管理服务上创建调度资源组,并且绑定cvm机器
|
2049
|
+
# @type ResourceGroup: String
|
2050
|
+
# @param YarnQueue: 资源池队列名称
|
2051
|
+
# @type YarnQueue: String
|
2052
|
+
# @param BrokerIp: 资源组下具体执行机,any 表示可以跑在任意一台。
|
2053
|
+
# @type BrokerIp: String
|
2054
|
+
# @param InCharge: 责任人
|
2055
|
+
# @type InCharge: String
|
2056
|
+
# @param Notes: 任务备注
|
2057
|
+
# @type Notes: String
|
2058
|
+
# @param TaskParamInfos: 任务参数
|
2059
|
+
# @type TaskParamInfos: Array
|
2060
|
+
# @param SourceServer: 源数据源
|
2061
|
+
# @type SourceServer: String
|
2062
|
+
# @param TargetServer: 目标数据源
|
2063
|
+
# @type TargetServer: String
|
2064
|
+
# @param DependencyWorkflow: 是否支持工作流依赖 yes / no 默认 no
|
2065
|
+
# @type DependencyWorkflow: String
|
2066
|
+
# @param DependencyConfigDTOs: 依赖配置
|
2067
|
+
# @type DependencyConfigDTOs: Array
|
2068
|
+
|
2069
|
+
attr_accessor :ProjectId, :TaskId, :DelayTime, :StartupTime, :SelfDepend, :StartTime, :EndTime, :TaskAction, :CycleType, :CycleStep, :CrontabExpression, :ExecutionStartTime, :ExecutionEndTime, :TaskName, :RetryWait, :TryLimit, :Retriable, :RunPriority, :TaskExt, :ResourceGroup, :YarnQueue, :BrokerIp, :InCharge, :Notes, :TaskParamInfos, :SourceServer, :TargetServer, :DependencyWorkflow, :DependencyConfigDTOs
|
2070
|
+
|
2071
|
+
def initialize(projectid=nil, taskid=nil, delaytime=nil, startuptime=nil, selfdepend=nil, starttime=nil, endtime=nil, taskaction=nil, cycletype=nil, cyclestep=nil, crontabexpression=nil, executionstarttime=nil, executionendtime=nil, taskname=nil, retrywait=nil, trylimit=nil, retriable=nil, runpriority=nil, taskext=nil, resourcegroup=nil, yarnqueue=nil, brokerip=nil, incharge=nil, notes=nil, taskparaminfos=nil, sourceserver=nil, targetserver=nil, dependencyworkflow=nil, dependencyconfigdtos=nil)
|
2072
|
+
@ProjectId = projectid
|
2073
|
+
@TaskId = taskid
|
2074
|
+
@DelayTime = delaytime
|
2075
|
+
@StartupTime = startuptime
|
2076
|
+
@SelfDepend = selfdepend
|
2077
|
+
@StartTime = starttime
|
2078
|
+
@EndTime = endtime
|
2079
|
+
@TaskAction = taskaction
|
2080
|
+
@CycleType = cycletype
|
2081
|
+
@CycleStep = cyclestep
|
2082
|
+
@CrontabExpression = crontabexpression
|
2083
|
+
@ExecutionStartTime = executionstarttime
|
2084
|
+
@ExecutionEndTime = executionendtime
|
2085
|
+
@TaskName = taskname
|
2086
|
+
@RetryWait = retrywait
|
2087
|
+
@TryLimit = trylimit
|
2088
|
+
@Retriable = retriable
|
2089
|
+
@RunPriority = runpriority
|
2090
|
+
@TaskExt = taskext
|
2091
|
+
@ResourceGroup = resourcegroup
|
2092
|
+
@YarnQueue = yarnqueue
|
2093
|
+
@BrokerIp = brokerip
|
2094
|
+
@InCharge = incharge
|
2095
|
+
@Notes = notes
|
2096
|
+
@TaskParamInfos = taskparaminfos
|
2097
|
+
@SourceServer = sourceserver
|
2098
|
+
@TargetServer = targetserver
|
2099
|
+
@DependencyWorkflow = dependencyworkflow
|
2100
|
+
@DependencyConfigDTOs = dependencyconfigdtos
|
2101
|
+
end
|
2102
|
+
|
2103
|
+
def deserialize(params)
|
2104
|
+
@ProjectId = params['ProjectId']
|
2105
|
+
@TaskId = params['TaskId']
|
2106
|
+
@DelayTime = params['DelayTime']
|
2107
|
+
@StartupTime = params['StartupTime']
|
2108
|
+
@SelfDepend = params['SelfDepend']
|
2109
|
+
@StartTime = params['StartTime']
|
2110
|
+
@EndTime = params['EndTime']
|
2111
|
+
@TaskAction = params['TaskAction']
|
2112
|
+
@CycleType = params['CycleType']
|
2113
|
+
@CycleStep = params['CycleStep']
|
2114
|
+
@CrontabExpression = params['CrontabExpression']
|
2115
|
+
@ExecutionStartTime = params['ExecutionStartTime']
|
2116
|
+
@ExecutionEndTime = params['ExecutionEndTime']
|
2117
|
+
@TaskName = params['TaskName']
|
2118
|
+
@RetryWait = params['RetryWait']
|
2119
|
+
@TryLimit = params['TryLimit']
|
2120
|
+
@Retriable = params['Retriable']
|
2121
|
+
@RunPriority = params['RunPriority']
|
2122
|
+
unless params['TaskExt'].nil?
|
2123
|
+
@TaskExt = []
|
2124
|
+
params['TaskExt'].each do |i|
|
2125
|
+
taskextinfo_tmp = TaskExtInfo.new
|
2126
|
+
taskextinfo_tmp.deserialize(i)
|
2127
|
+
@TaskExt << taskextinfo_tmp
|
2128
|
+
end
|
2129
|
+
end
|
2130
|
+
@ResourceGroup = params['ResourceGroup']
|
2131
|
+
@YarnQueue = params['YarnQueue']
|
2132
|
+
@BrokerIp = params['BrokerIp']
|
2133
|
+
@InCharge = params['InCharge']
|
2134
|
+
@Notes = params['Notes']
|
2135
|
+
unless params['TaskParamInfos'].nil?
|
2136
|
+
@TaskParamInfos = []
|
2137
|
+
params['TaskParamInfos'].each do |i|
|
2138
|
+
paraminfo_tmp = ParamInfo.new
|
2139
|
+
paraminfo_tmp.deserialize(i)
|
2140
|
+
@TaskParamInfos << paraminfo_tmp
|
2141
|
+
end
|
2142
|
+
end
|
2143
|
+
@SourceServer = params['SourceServer']
|
2144
|
+
@TargetServer = params['TargetServer']
|
2145
|
+
@DependencyWorkflow = params['DependencyWorkflow']
|
2146
|
+
unless params['DependencyConfigDTOs'].nil?
|
2147
|
+
@DependencyConfigDTOs = []
|
2148
|
+
params['DependencyConfigDTOs'].each do |i|
|
2149
|
+
dependencyconfig_tmp = DependencyConfig.new
|
2150
|
+
dependencyconfig_tmp.deserialize(i)
|
2151
|
+
@DependencyConfigDTOs << dependencyconfig_tmp
|
2152
|
+
end
|
2153
|
+
end
|
2154
|
+
end
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
# ModifyTaskInfo返回参数结构体
|
2158
|
+
class ModifyTaskInfoResponse < TencentCloud::Common::AbstractModel
|
2159
|
+
# @param Data: 执行结果
|
2160
|
+
# @type Data: Boolean
|
2161
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2162
|
+
# @type RequestId: String
|
2163
|
+
|
2164
|
+
attr_accessor :Data, :RequestId
|
2165
|
+
|
2166
|
+
def initialize(data=nil, requestid=nil)
|
2167
|
+
@Data = data
|
2168
|
+
@RequestId = requestid
|
2169
|
+
end
|
2170
|
+
|
2171
|
+
def deserialize(params)
|
2172
|
+
@Data = params['Data']
|
2173
|
+
@RequestId = params['RequestId']
|
2174
|
+
end
|
2175
|
+
end
|
2176
|
+
|
2177
|
+
# ModifyTaskLinks请求参数结构体
|
2178
|
+
class ModifyTaskLinksRequest < TencentCloud::Common::AbstractModel
|
2179
|
+
# @param ProjectId: 项目Id
|
2180
|
+
# @type ProjectId: String
|
2181
|
+
# @param TaskFrom: 父任务ID
|
2182
|
+
# @type TaskFrom: String
|
2183
|
+
# @param TaskTo: 子任务ID
|
2184
|
+
# @type TaskTo: String
|
2185
|
+
# @param WorkflowId: 子任务工作流
|
2186
|
+
# @type WorkflowId: String
|
2187
|
+
# @param RealFromWorkflowId: 父任务工作流
|
2188
|
+
# @type RealFromWorkflowId: String
|
2189
|
+
# @param LinkDependencyType: 父子任务之间的依赖关系
|
2190
|
+
# @type LinkDependencyType: String
|
2191
|
+
|
2192
|
+
attr_accessor :ProjectId, :TaskFrom, :TaskTo, :WorkflowId, :RealFromWorkflowId, :LinkDependencyType
|
2193
|
+
|
2194
|
+
def initialize(projectid=nil, taskfrom=nil, taskto=nil, workflowid=nil, realfromworkflowid=nil, linkdependencytype=nil)
|
2195
|
+
@ProjectId = projectid
|
2196
|
+
@TaskFrom = taskfrom
|
2197
|
+
@TaskTo = taskto
|
2198
|
+
@WorkflowId = workflowid
|
2199
|
+
@RealFromWorkflowId = realfromworkflowid
|
2200
|
+
@LinkDependencyType = linkdependencytype
|
2201
|
+
end
|
2202
|
+
|
2203
|
+
def deserialize(params)
|
2204
|
+
@ProjectId = params['ProjectId']
|
2205
|
+
@TaskFrom = params['TaskFrom']
|
2206
|
+
@TaskTo = params['TaskTo']
|
2207
|
+
@WorkflowId = params['WorkflowId']
|
2208
|
+
@RealFromWorkflowId = params['RealFromWorkflowId']
|
2209
|
+
@LinkDependencyType = params['LinkDependencyType']
|
2210
|
+
end
|
2211
|
+
end
|
2212
|
+
|
2213
|
+
# ModifyTaskLinks返回参数结构体
|
2214
|
+
class ModifyTaskLinksResponse < TencentCloud::Common::AbstractModel
|
2215
|
+
# @param Data: 成功或者失败
|
2216
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2217
|
+
# @type Data: Boolean
|
2218
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2219
|
+
# @type RequestId: String
|
2220
|
+
|
2221
|
+
attr_accessor :Data, :RequestId
|
2222
|
+
|
2223
|
+
def initialize(data=nil, requestid=nil)
|
2224
|
+
@Data = data
|
2225
|
+
@RequestId = requestid
|
2226
|
+
end
|
2227
|
+
|
2228
|
+
def deserialize(params)
|
2229
|
+
@Data = params['Data']
|
2230
|
+
@RequestId = params['RequestId']
|
2231
|
+
end
|
2232
|
+
end
|
2233
|
+
|
2234
|
+
# ModifyTaskScript请求参数结构体
|
2235
|
+
class ModifyTaskScriptRequest < TencentCloud::Common::AbstractModel
|
2236
|
+
# @param ProjectId: 项目Id
|
2237
|
+
# @type ProjectId: String
|
2238
|
+
# @param TaskId: 任务ID
|
2239
|
+
# @type TaskId: String
|
2240
|
+
# @param ScriptContent: 脚本内容 base64编码
|
2241
|
+
# @type ScriptContent: String
|
2242
|
+
# @param IntegrationNodeDetails: 集成任务脚本配置
|
2243
|
+
# @type IntegrationNodeDetails: Array
|
2244
|
+
|
2245
|
+
attr_accessor :ProjectId, :TaskId, :ScriptContent, :IntegrationNodeDetails
|
2246
|
+
|
2247
|
+
def initialize(projectid=nil, taskid=nil, scriptcontent=nil, integrationnodedetails=nil)
|
2248
|
+
@ProjectId = projectid
|
2249
|
+
@TaskId = taskid
|
2250
|
+
@ScriptContent = scriptcontent
|
2251
|
+
@IntegrationNodeDetails = integrationnodedetails
|
2252
|
+
end
|
2253
|
+
|
2254
|
+
def deserialize(params)
|
2255
|
+
@ProjectId = params['ProjectId']
|
2256
|
+
@TaskId = params['TaskId']
|
2257
|
+
@ScriptContent = params['ScriptContent']
|
2258
|
+
unless params['IntegrationNodeDetails'].nil?
|
2259
|
+
@IntegrationNodeDetails = []
|
2260
|
+
params['IntegrationNodeDetails'].each do |i|
|
2261
|
+
integrationnodedetail_tmp = IntegrationNodeDetail.new
|
2262
|
+
integrationnodedetail_tmp.deserialize(i)
|
2263
|
+
@IntegrationNodeDetails << integrationnodedetail_tmp
|
2264
|
+
end
|
2265
|
+
end
|
2266
|
+
end
|
2267
|
+
end
|
2268
|
+
|
2269
|
+
# ModifyTaskScript返回参数结构体
|
2270
|
+
class ModifyTaskScriptResponse < TencentCloud::Common::AbstractModel
|
2271
|
+
# @param Data: 详情
|
2272
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2273
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.CommonContent`
|
2274
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2275
|
+
# @type RequestId: String
|
2276
|
+
|
2277
|
+
attr_accessor :Data, :RequestId
|
2278
|
+
|
2279
|
+
def initialize(data=nil, requestid=nil)
|
2280
|
+
@Data = data
|
2281
|
+
@RequestId = requestid
|
2282
|
+
end
|
2283
|
+
|
2284
|
+
def deserialize(params)
|
2285
|
+
unless params['Data'].nil?
|
2286
|
+
@Data = CommonContent.new
|
2287
|
+
@Data.deserialize(params['Data'])
|
2288
|
+
end
|
2289
|
+
@RequestId = params['RequestId']
|
2290
|
+
end
|
2291
|
+
end
|
2292
|
+
|
2293
|
+
# ModifyWorkflowInfo请求参数结构体
|
2294
|
+
class ModifyWorkflowInfoRequest < TencentCloud::Common::AbstractModel
|
2295
|
+
# @param ProjectId: 项目Id
|
2296
|
+
# @type ProjectId: String
|
2297
|
+
# @param WorkflowId: 工作流id
|
2298
|
+
# @type WorkflowId: String
|
2299
|
+
# @param Owner: 责任人
|
2300
|
+
# @type Owner: String
|
2301
|
+
# @param OwnerId: 责任人id
|
2302
|
+
# @type OwnerId: String
|
2303
|
+
# @param WorkflowDesc: 备注
|
2304
|
+
# @type WorkflowDesc: String
|
2305
|
+
# @param WorkflowName: 工作流名称
|
2306
|
+
# @type WorkflowName: String
|
2307
|
+
# @param FolderId: 所属文件夹id
|
2308
|
+
# @type FolderId: String
|
2309
|
+
# @param UserGroupId: 工作流所属用户分组id 若有多个,分号隔开: a;b;c
|
2310
|
+
# @type UserGroupId: String
|
2311
|
+
# @param UserGroupName: 工作流所属用户分组名称 若有多个,分号隔开: a;b;c
|
2312
|
+
# @type UserGroupName: String
|
2313
|
+
# @param WorkflowParams: 工作流参数列表
|
2314
|
+
# @type WorkflowParams: Array
|
2315
|
+
# @param GeneralTaskParams: 用于配置优化参数(线程、内存、CPU核数等),仅作用于Spark SQL节点。多个参数用英文分号分隔。
|
2316
|
+
# @type GeneralTaskParams: Array
|
2317
|
+
|
2318
|
+
attr_accessor :ProjectId, :WorkflowId, :Owner, :OwnerId, :WorkflowDesc, :WorkflowName, :FolderId, :UserGroupId, :UserGroupName, :WorkflowParams, :GeneralTaskParams
|
2319
|
+
|
2320
|
+
def initialize(projectid=nil, workflowid=nil, owner=nil, ownerid=nil, workflowdesc=nil, workflowname=nil, folderid=nil, usergroupid=nil, usergroupname=nil, workflowparams=nil, generaltaskparams=nil)
|
2321
|
+
@ProjectId = projectid
|
2322
|
+
@WorkflowId = workflowid
|
2323
|
+
@Owner = owner
|
2324
|
+
@OwnerId = ownerid
|
2325
|
+
@WorkflowDesc = workflowdesc
|
2326
|
+
@WorkflowName = workflowname
|
2327
|
+
@FolderId = folderid
|
2328
|
+
@UserGroupId = usergroupid
|
2329
|
+
@UserGroupName = usergroupname
|
2330
|
+
@WorkflowParams = workflowparams
|
2331
|
+
@GeneralTaskParams = generaltaskparams
|
2332
|
+
end
|
2333
|
+
|
2334
|
+
def deserialize(params)
|
2335
|
+
@ProjectId = params['ProjectId']
|
2336
|
+
@WorkflowId = params['WorkflowId']
|
2337
|
+
@Owner = params['Owner']
|
2338
|
+
@OwnerId = params['OwnerId']
|
2339
|
+
@WorkflowDesc = params['WorkflowDesc']
|
2340
|
+
@WorkflowName = params['WorkflowName']
|
2341
|
+
@FolderId = params['FolderId']
|
2342
|
+
@UserGroupId = params['UserGroupId']
|
2343
|
+
@UserGroupName = params['UserGroupName']
|
2344
|
+
unless params['WorkflowParams'].nil?
|
2345
|
+
@WorkflowParams = []
|
2346
|
+
params['WorkflowParams'].each do |i|
|
2347
|
+
paraminfo_tmp = ParamInfo.new
|
2348
|
+
paraminfo_tmp.deserialize(i)
|
2349
|
+
@WorkflowParams << paraminfo_tmp
|
2350
|
+
end
|
2351
|
+
end
|
2352
|
+
unless params['GeneralTaskParams'].nil?
|
2353
|
+
@GeneralTaskParams = []
|
2354
|
+
params['GeneralTaskParams'].each do |i|
|
2355
|
+
generaltaskparam_tmp = GeneralTaskParam.new
|
2356
|
+
generaltaskparam_tmp.deserialize(i)
|
2357
|
+
@GeneralTaskParams << generaltaskparam_tmp
|
2358
|
+
end
|
2359
|
+
end
|
2360
|
+
end
|
2361
|
+
end
|
2362
|
+
|
2363
|
+
# ModifyWorkflowInfo返回参数结构体
|
2364
|
+
class ModifyWorkflowInfoResponse < TencentCloud::Common::AbstractModel
|
2365
|
+
# @param Data: true代表成功,false代表失败
|
2366
|
+
# @type Data: Boolean
|
2367
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2368
|
+
# @type RequestId: String
|
2369
|
+
|
2370
|
+
attr_accessor :Data, :RequestId
|
2371
|
+
|
2372
|
+
def initialize(data=nil, requestid=nil)
|
2373
|
+
@Data = data
|
2374
|
+
@RequestId = requestid
|
2375
|
+
end
|
2376
|
+
|
2377
|
+
def deserialize(params)
|
2378
|
+
@Data = params['Data']
|
2379
|
+
@RequestId = params['RequestId']
|
2380
|
+
end
|
2381
|
+
end
|
2382
|
+
|
2383
|
+
# ModifyWorkflowSchedule请求参数结构体
|
2384
|
+
class ModifyWorkflowScheduleRequest < TencentCloud::Common::AbstractModel
|
2385
|
+
# @param ProjectId: 项目Id
|
2386
|
+
# @type ProjectId: String
|
2387
|
+
# @param WorkflowId: 工作流id
|
2388
|
+
# @type WorkflowId: String
|
2389
|
+
# @param DelayTime: 延迟时间,单位分钟
|
2390
|
+
# @type DelayTime: Integer
|
2391
|
+
# @param StartupTime: 启动时间
|
2392
|
+
# @type StartupTime: Integer
|
2393
|
+
# @param SelfDepend: 自依赖类型 1:有序串行 一次一个 排队, 2: 无序串行 一次一个 不排队, 3:并行 一次多个
|
2394
|
+
# @type SelfDepend: Integer
|
2395
|
+
# @param CycleType: "周期类型 0:crontab类型, 1:分钟,2:小时,3:天,4:周,5:月,6:一次性,7:用户驱动,10:弹性周期 周,11:弹性周期 月,12:年,13:即时触发Instant类型,与正常周期调度任务逻辑隔离
|
2396
|
+
# @type CycleType: Integer
|
2397
|
+
# @param CycleStep: 步长,间隔时间,最小1
|
2398
|
+
# @type CycleStep: Integer
|
2399
|
+
# @param StartTime: 生效开始时间,格式 yyyy-MM-dd HH:mm:ss
|
2400
|
+
# @type StartTime: String
|
2401
|
+
# @param EndTime: 生效结束时间,格式 yyyy-MM-dd HH:mm:ss
|
2402
|
+
# @type EndTime: String
|
2403
|
+
# @param TaskAction: 调度配置-弹性周期配置,小时/周/月/年调度才有,小时任务指定每天的0点3点4点跑,则为'0,3,4'。
|
2404
|
+
# @type TaskAction: String
|
2405
|
+
# @param CrontabExpression: cron表达式 周期类型为crontab调度才需要
|
2406
|
+
# @type CrontabExpression: String
|
2407
|
+
# @param ExecutionStartTime: 执行时间左闭区间,格式:HH:mm 小时调度才有,例如小时任务, 每日固定区间生效
|
2408
|
+
# @type ExecutionStartTime: String
|
2409
|
+
# @param ExecutionEndTime: 执行时间右闭区间,格式:HH:mm 小时调度才有,例如小时任务, 每日固定区间生效
|
2410
|
+
# @type ExecutionEndTime: String
|
2411
|
+
# @param DependencyWorkflow: 工作流依赖 ,yes 或者no
|
2412
|
+
# @type DependencyWorkflow: String
|
2413
|
+
|
2414
|
+
attr_accessor :ProjectId, :WorkflowId, :DelayTime, :StartupTime, :SelfDepend, :CycleType, :CycleStep, :StartTime, :EndTime, :TaskAction, :CrontabExpression, :ExecutionStartTime, :ExecutionEndTime, :DependencyWorkflow
|
2415
|
+
|
2416
|
+
def initialize(projectid=nil, workflowid=nil, delaytime=nil, startuptime=nil, selfdepend=nil, cycletype=nil, cyclestep=nil, starttime=nil, endtime=nil, taskaction=nil, crontabexpression=nil, executionstarttime=nil, executionendtime=nil, dependencyworkflow=nil)
|
2417
|
+
@ProjectId = projectid
|
2418
|
+
@WorkflowId = workflowid
|
2419
|
+
@DelayTime = delaytime
|
2420
|
+
@StartupTime = startuptime
|
2421
|
+
@SelfDepend = selfdepend
|
2422
|
+
@CycleType = cycletype
|
2423
|
+
@CycleStep = cyclestep
|
2424
|
+
@StartTime = starttime
|
2425
|
+
@EndTime = endtime
|
2426
|
+
@TaskAction = taskaction
|
2427
|
+
@CrontabExpression = crontabexpression
|
2428
|
+
@ExecutionStartTime = executionstarttime
|
2429
|
+
@ExecutionEndTime = executionendtime
|
2430
|
+
@DependencyWorkflow = dependencyworkflow
|
2431
|
+
end
|
2432
|
+
|
2433
|
+
def deserialize(params)
|
2434
|
+
@ProjectId = params['ProjectId']
|
2435
|
+
@WorkflowId = params['WorkflowId']
|
2436
|
+
@DelayTime = params['DelayTime']
|
2437
|
+
@StartupTime = params['StartupTime']
|
2438
|
+
@SelfDepend = params['SelfDepend']
|
2439
|
+
@CycleType = params['CycleType']
|
2440
|
+
@CycleStep = params['CycleStep']
|
2441
|
+
@StartTime = params['StartTime']
|
2442
|
+
@EndTime = params['EndTime']
|
2443
|
+
@TaskAction = params['TaskAction']
|
2444
|
+
@CrontabExpression = params['CrontabExpression']
|
2445
|
+
@ExecutionStartTime = params['ExecutionStartTime']
|
2446
|
+
@ExecutionEndTime = params['ExecutionEndTime']
|
2447
|
+
@DependencyWorkflow = params['DependencyWorkflow']
|
2448
|
+
end
|
2449
|
+
end
|
2450
|
+
|
2451
|
+
# ModifyWorkflowSchedule返回参数结构体
|
2452
|
+
class ModifyWorkflowScheduleResponse < TencentCloud::Common::AbstractModel
|
2453
|
+
# @param Data: 执行结果
|
2454
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.BatchResult`
|
2455
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2456
|
+
# @type RequestId: String
|
2457
|
+
|
2458
|
+
attr_accessor :Data, :RequestId
|
2459
|
+
|
2460
|
+
def initialize(data=nil, requestid=nil)
|
2461
|
+
@Data = data
|
2462
|
+
@RequestId = requestid
|
2463
|
+
end
|
2464
|
+
|
2465
|
+
def deserialize(params)
|
2466
|
+
unless params['Data'].nil?
|
2467
|
+
@Data = BatchResult.new
|
2468
|
+
@Data.deserialize(params['Data'])
|
2469
|
+
end
|
2470
|
+
@RequestId = params['RequestId']
|
2471
|
+
end
|
2472
|
+
end
|
2473
|
+
|
2474
|
+
# 操作结果
|
2475
|
+
class OperateResult < TencentCloud::Common::AbstractModel
|
2476
|
+
# @param Result: 操作结果;true表示成功;false表示失败
|
2477
|
+
# @type Result: Boolean
|
2478
|
+
# @param ErrorId: 错误编号
|
2479
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2480
|
+
# @type ErrorId: String
|
2481
|
+
# @param ErrorDesc: 操作信息
|
2482
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2483
|
+
# @type ErrorDesc: String
|
2484
|
+
|
2485
|
+
attr_accessor :Result, :ErrorId, :ErrorDesc
|
2486
|
+
|
2487
|
+
def initialize(result=nil, errorid=nil, errordesc=nil)
|
2488
|
+
@Result = result
|
2489
|
+
@ErrorId = errorid
|
2490
|
+
@ErrorDesc = errordesc
|
2491
|
+
end
|
2492
|
+
|
2493
|
+
def deserialize(params)
|
2494
|
+
@Result = params['Result']
|
2495
|
+
@ErrorId = params['ErrorId']
|
2496
|
+
@ErrorDesc = params['ErrorDesc']
|
2497
|
+
end
|
2498
|
+
end
|
2499
|
+
|
2500
|
+
# 通用排序字段
|
2501
|
+
class OrderField < TencentCloud::Common::AbstractModel
|
2502
|
+
# @param Name: 排序字段名称
|
2503
|
+
# @type Name: String
|
2504
|
+
# @param Direction: 排序方向:ASC|DESC
|
2505
|
+
# @type Direction: String
|
2506
|
+
|
2507
|
+
attr_accessor :Name, :Direction
|
2508
|
+
|
2509
|
+
def initialize(name=nil, direction=nil)
|
2510
|
+
@Name = name
|
2511
|
+
@Direction = direction
|
2512
|
+
end
|
2513
|
+
|
2514
|
+
def deserialize(params)
|
2515
|
+
@Name = params['Name']
|
2516
|
+
@Direction = params['Direction']
|
2517
|
+
end
|
2518
|
+
end
|
2519
|
+
|
2520
|
+
# 参数参数
|
2521
|
+
class ParamInfo < TencentCloud::Common::AbstractModel
|
2522
|
+
# @param ParamKey: 参数名
|
2523
|
+
# @type ParamKey: String
|
2524
|
+
# @param ParamValue: 参数值
|
2525
|
+
# @type ParamValue: String
|
2526
|
+
|
2527
|
+
attr_accessor :ParamKey, :ParamValue
|
2528
|
+
|
2529
|
+
def initialize(paramkey=nil, paramvalue=nil)
|
2530
|
+
@ParamKey = paramkey
|
2531
|
+
@ParamValue = paramvalue
|
2532
|
+
end
|
2533
|
+
|
2534
|
+
def deserialize(params)
|
2535
|
+
@ParamKey = params['ParamKey']
|
2536
|
+
@ParamValue = params['ParamValue']
|
2537
|
+
end
|
2538
|
+
end
|
2539
|
+
|
2540
|
+
# 通用记录字段
|
2541
|
+
class RecordField < TencentCloud::Common::AbstractModel
|
2542
|
+
# @param Name: 字段名称
|
2543
|
+
# @type Name: String
|
2544
|
+
# @param Value: 字段值
|
2545
|
+
# @type Value: String
|
2546
|
+
|
2547
|
+
attr_accessor :Name, :Value
|
2548
|
+
|
2549
|
+
def initialize(name=nil, value=nil)
|
2550
|
+
@Name = name
|
2551
|
+
@Value = value
|
2552
|
+
end
|
2553
|
+
|
2554
|
+
def deserialize(params)
|
2555
|
+
@Name = params['Name']
|
2556
|
+
@Value = params['Value']
|
2557
|
+
end
|
2558
|
+
end
|
2559
|
+
|
2560
|
+
# RegisterEventListener请求参数结构体
|
2561
|
+
class RegisterEventListenerRequest < TencentCloud::Common::AbstractModel
|
2562
|
+
# @param Key: 关键字,如果是任务,则传任务Id
|
2563
|
+
# @type Key: String
|
2564
|
+
# @param EventName: 事件名称
|
2565
|
+
# @type EventName: String
|
2566
|
+
# @param ProjectId: 项目id
|
2567
|
+
# @type ProjectId: String
|
2568
|
+
# @param Type: 事件类型,默认 REST_API
|
2569
|
+
# @type Type: String
|
2570
|
+
# @param Properties: 配置信息,比如最长等待时间1天配置json:{"maxWaitEventTime":1,"maxWaitEventTimeUnit":"DAYS"}
|
2571
|
+
# @type Properties: String
|
2572
|
+
|
2573
|
+
attr_accessor :Key, :EventName, :ProjectId, :Type, :Properties
|
2574
|
+
|
2575
|
+
def initialize(key=nil, eventname=nil, projectid=nil, type=nil, properties=nil)
|
2576
|
+
@Key = key
|
2577
|
+
@EventName = eventname
|
2578
|
+
@ProjectId = projectid
|
2579
|
+
@Type = type
|
2580
|
+
@Properties = properties
|
2581
|
+
end
|
2582
|
+
|
2583
|
+
def deserialize(params)
|
2584
|
+
@Key = params['Key']
|
2585
|
+
@EventName = params['EventName']
|
2586
|
+
@ProjectId = params['ProjectId']
|
2587
|
+
@Type = params['Type']
|
2588
|
+
@Properties = params['Properties']
|
2589
|
+
end
|
2590
|
+
end
|
2591
|
+
|
2592
|
+
# RegisterEventListener返回参数结构体
|
2593
|
+
class RegisterEventListenerResponse < TencentCloud::Common::AbstractModel
|
2594
|
+
# @param Data: 成功或者失败
|
2595
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2596
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.BatchReturn`
|
2597
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2598
|
+
# @type RequestId: String
|
2599
|
+
|
2600
|
+
attr_accessor :Data, :RequestId
|
2601
|
+
|
2602
|
+
def initialize(data=nil, requestid=nil)
|
2603
|
+
@Data = data
|
2604
|
+
@RequestId = requestid
|
2605
|
+
end
|
2606
|
+
|
2607
|
+
def deserialize(params)
|
2608
|
+
unless params['Data'].nil?
|
2609
|
+
@Data = BatchReturn.new
|
2610
|
+
@Data.deserialize(params['Data'])
|
2611
|
+
end
|
2612
|
+
@RequestId = params['RequestId']
|
2613
|
+
end
|
2614
|
+
end
|
2615
|
+
|
2616
|
+
# RegisterEvent请求参数结构体
|
2617
|
+
class RegisterEventRequest < TencentCloud::Common::AbstractModel
|
2618
|
+
# @param ProjectId: 项目Id
|
2619
|
+
# @type ProjectId: String
|
2620
|
+
# @param Name: 事件名称,支持英文、数字和下划线,最长20个字符, 不能以数字下划线开头。
|
2621
|
+
# @type Name: String
|
2622
|
+
# @param EventSubType: 事件分割类型,周期类型: DAY,HOUR,MIN,SECOND
|
2623
|
+
# @type EventSubType: String
|
2624
|
+
# @param EventBroadcastType: 广播:BROADCAST,单播:SINGLE
|
2625
|
+
# @type EventBroadcastType: String
|
2626
|
+
# @param TimeUnit: 周期类型为天和小时为HOURS ,周期类型为分钟 :MINUTES,周期类型为秒:SECONDS
|
2627
|
+
# @type TimeUnit: String
|
2628
|
+
# @param Owner: TBDS 事件所属人
|
2629
|
+
# @type Owner: String
|
2630
|
+
# @param EventType: 事件类型,默认值:TIME_SERIES
|
2631
|
+
# @type EventType: String
|
2632
|
+
# @param DimensionFormat: 对应day: yyyyMMdd,对应HOUR:yyyyMMddHH,对应MIN:yyyyMMddHHmm,对应SECOND:yyyyMMddHHmmss
|
2633
|
+
# @type DimensionFormat: String
|
2634
|
+
# @param TimeToLive: 存活时间
|
2635
|
+
# @type TimeToLive: Integer
|
2636
|
+
# @param Description: 事件描述
|
2637
|
+
# @type Description: String
|
2638
|
+
|
2639
|
+
attr_accessor :ProjectId, :Name, :EventSubType, :EventBroadcastType, :TimeUnit, :Owner, :EventType, :DimensionFormat, :TimeToLive, :Description
|
2640
|
+
|
2641
|
+
def initialize(projectid=nil, name=nil, eventsubtype=nil, eventbroadcasttype=nil, timeunit=nil, owner=nil, eventtype=nil, dimensionformat=nil, timetolive=nil, description=nil)
|
2642
|
+
@ProjectId = projectid
|
2643
|
+
@Name = name
|
2644
|
+
@EventSubType = eventsubtype
|
2645
|
+
@EventBroadcastType = eventbroadcasttype
|
2646
|
+
@TimeUnit = timeunit
|
2647
|
+
@Owner = owner
|
2648
|
+
@EventType = eventtype
|
2649
|
+
@DimensionFormat = dimensionformat
|
2650
|
+
@TimeToLive = timetolive
|
2651
|
+
@Description = description
|
2652
|
+
end
|
2653
|
+
|
2654
|
+
def deserialize(params)
|
2655
|
+
@ProjectId = params['ProjectId']
|
2656
|
+
@Name = params['Name']
|
2657
|
+
@EventSubType = params['EventSubType']
|
2658
|
+
@EventBroadcastType = params['EventBroadcastType']
|
2659
|
+
@TimeUnit = params['TimeUnit']
|
2660
|
+
@Owner = params['Owner']
|
2661
|
+
@EventType = params['EventType']
|
2662
|
+
@DimensionFormat = params['DimensionFormat']
|
2663
|
+
@TimeToLive = params['TimeToLive']
|
2664
|
+
@Description = params['Description']
|
2665
|
+
end
|
2666
|
+
end
|
2667
|
+
|
2668
|
+
# RegisterEvent返回参数结构体
|
2669
|
+
class RegisterEventResponse < TencentCloud::Common::AbstractModel
|
2670
|
+
# @param Data: 成功或者失败
|
2671
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2672
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.BatchReturn`
|
2673
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2674
|
+
# @type RequestId: String
|
2675
|
+
|
2676
|
+
attr_accessor :Data, :RequestId
|
2677
|
+
|
2678
|
+
def initialize(data=nil, requestid=nil)
|
2679
|
+
@Data = data
|
2680
|
+
@RequestId = requestid
|
2681
|
+
end
|
2682
|
+
|
2683
|
+
def deserialize(params)
|
2684
|
+
unless params['Data'].nil?
|
2685
|
+
@Data = BatchReturn.new
|
2686
|
+
@Data.deserialize(params['Data'])
|
2687
|
+
end
|
2688
|
+
@RequestId = params['RequestId']
|
2689
|
+
end
|
2690
|
+
end
|
2691
|
+
|
2692
|
+
# RerunInstances请求参数结构体
|
2693
|
+
class RerunInstancesRequest < TencentCloud::Common::AbstractModel
|
2694
|
+
# @param ProjectId: 项目Id
|
2695
|
+
# @type ProjectId: String
|
2696
|
+
# @param Instances: 实例嵌套集合
|
2697
|
+
# @type Instances: Array
|
2698
|
+
# @param CheckFather: 检查父任务类型, true: 检查父任务; false: 不检查父任务
|
2699
|
+
# @type CheckFather: Boolean
|
2700
|
+
# @param RerunType: 重跑类型, 1: 自身; 3: 孩子; 2: 自身以及孩子
|
2701
|
+
# @type RerunType: String
|
2702
|
+
# @param DependentWay: 实例依赖方式, 1: 自依赖; 2: 任务依赖; 3: 自依赖及父子依赖
|
2703
|
+
# @type DependentWay: String
|
2704
|
+
# @param SkipEventListening: 重跑忽略事件监听与否
|
2705
|
+
# @type SkipEventListening: Boolean
|
2706
|
+
# @param SonInstanceType: 下游实例范围 1: 所在工作流 2: 所在项目 3: 所有跨工作流依赖的项目
|
2707
|
+
# @type SonInstanceType: String
|
2708
|
+
|
2709
|
+
attr_accessor :ProjectId, :Instances, :CheckFather, :RerunType, :DependentWay, :SkipEventListening, :SonInstanceType
|
2710
|
+
|
2711
|
+
def initialize(projectid=nil, instances=nil, checkfather=nil, reruntype=nil, dependentway=nil, skipeventlistening=nil, soninstancetype=nil)
|
2712
|
+
@ProjectId = projectid
|
2713
|
+
@Instances = instances
|
2714
|
+
@CheckFather = checkfather
|
2715
|
+
@RerunType = reruntype
|
2716
|
+
@DependentWay = dependentway
|
2717
|
+
@SkipEventListening = skipeventlistening
|
2718
|
+
@SonInstanceType = soninstancetype
|
2719
|
+
end
|
2720
|
+
|
2721
|
+
def deserialize(params)
|
2722
|
+
@ProjectId = params['ProjectId']
|
2723
|
+
unless params['Instances'].nil?
|
2724
|
+
@Instances = []
|
2725
|
+
params['Instances'].each do |i|
|
2726
|
+
instanceinfo_tmp = InstanceInfo.new
|
2727
|
+
instanceinfo_tmp.deserialize(i)
|
2728
|
+
@Instances << instanceinfo_tmp
|
2729
|
+
end
|
2730
|
+
end
|
2731
|
+
@CheckFather = params['CheckFather']
|
2732
|
+
@RerunType = params['RerunType']
|
2733
|
+
@DependentWay = params['DependentWay']
|
2734
|
+
@SkipEventListening = params['SkipEventListening']
|
2735
|
+
@SonInstanceType = params['SonInstanceType']
|
2736
|
+
end
|
2737
|
+
end
|
2738
|
+
|
2739
|
+
# RerunInstances返回参数结构体
|
2740
|
+
class RerunInstancesResponse < TencentCloud::Common::AbstractModel
|
2741
|
+
# @param Data: 返回实例批量终止结果
|
2742
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.OperateResult`
|
2743
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2744
|
+
# @type RequestId: String
|
2745
|
+
|
2746
|
+
attr_accessor :Data, :RequestId
|
2747
|
+
|
2748
|
+
def initialize(data=nil, requestid=nil)
|
2749
|
+
@Data = data
|
2750
|
+
@RequestId = requestid
|
2751
|
+
end
|
2752
|
+
|
2753
|
+
def deserialize(params)
|
2754
|
+
unless params['Data'].nil?
|
2755
|
+
@Data = OperateResult.new
|
2756
|
+
@Data.deserialize(params['Data'])
|
2757
|
+
end
|
2758
|
+
@RequestId = params['RequestId']
|
2759
|
+
end
|
2760
|
+
end
|
2761
|
+
|
2762
|
+
# RunTask请求参数结构体
|
2763
|
+
class RunTaskRequest < TencentCloud::Common::AbstractModel
|
2764
|
+
# @param ProjectId: 项目Id
|
2765
|
+
# @type ProjectId: String
|
2766
|
+
# @param TaskId: 任务ID
|
2767
|
+
# @type TaskId: String
|
2768
|
+
|
2769
|
+
attr_accessor :ProjectId, :TaskId
|
2770
|
+
|
2771
|
+
def initialize(projectid=nil, taskid=nil)
|
2772
|
+
@ProjectId = projectid
|
2773
|
+
@TaskId = taskid
|
2774
|
+
end
|
2775
|
+
|
2776
|
+
def deserialize(params)
|
2777
|
+
@ProjectId = params['ProjectId']
|
2778
|
+
@TaskId = params['TaskId']
|
2779
|
+
end
|
2780
|
+
end
|
2781
|
+
|
2782
|
+
# RunTask返回参数结构体
|
2783
|
+
class RunTaskResponse < TencentCloud::Common::AbstractModel
|
2784
|
+
# @param Data: 运行成功或者失败
|
2785
|
+
# @type Data: Boolean
|
2786
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2787
|
+
# @type RequestId: String
|
2788
|
+
|
2789
|
+
attr_accessor :Data, :RequestId
|
2790
|
+
|
2791
|
+
def initialize(data=nil, requestid=nil)
|
2792
|
+
@Data = data
|
2793
|
+
@RequestId = requestid
|
2794
|
+
end
|
2795
|
+
|
2796
|
+
def deserialize(params)
|
2797
|
+
@Data = params['Data']
|
2798
|
+
@RequestId = params['RequestId']
|
2799
|
+
end
|
2800
|
+
end
|
2801
|
+
|
2802
|
+
# SetTaskAlarmNew请求参数结构体
|
2803
|
+
class SetTaskAlarmNewRequest < TencentCloud::Common::AbstractModel
|
2804
|
+
# @param AlarmInfoList: 设置任务超时告警和失败告警信息
|
2805
|
+
# @type AlarmInfoList: Array
|
2806
|
+
# @param ProjectId: 项目Id
|
2807
|
+
# @type ProjectId: String
|
2808
|
+
|
2809
|
+
attr_accessor :AlarmInfoList, :ProjectId
|
2810
|
+
|
2811
|
+
def initialize(alarminfolist=nil, projectid=nil)
|
2812
|
+
@AlarmInfoList = alarminfolist
|
2813
|
+
@ProjectId = projectid
|
2814
|
+
end
|
2815
|
+
|
2816
|
+
def deserialize(params)
|
2817
|
+
unless params['AlarmInfoList'].nil?
|
2818
|
+
@AlarmInfoList = []
|
2819
|
+
params['AlarmInfoList'].each do |i|
|
2820
|
+
alarminfo_tmp = AlarmInfo.new
|
2821
|
+
alarminfo_tmp.deserialize(i)
|
2822
|
+
@AlarmInfoList << alarminfo_tmp
|
2823
|
+
end
|
2824
|
+
end
|
2825
|
+
@ProjectId = params['ProjectId']
|
2826
|
+
end
|
2827
|
+
end
|
2828
|
+
|
2829
|
+
# SetTaskAlarmNew返回参数结构体
|
2830
|
+
class SetTaskAlarmNewResponse < TencentCloud::Common::AbstractModel
|
2831
|
+
# @param Data: 返回批量操作成功个数、失败个数、操作总数
|
2832
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.BatchOperateResult`
|
2833
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2834
|
+
# @type RequestId: String
|
2835
|
+
|
2836
|
+
attr_accessor :Data, :RequestId
|
2837
|
+
|
2838
|
+
def initialize(data=nil, requestid=nil)
|
2839
|
+
@Data = data
|
2840
|
+
@RequestId = requestid
|
2841
|
+
end
|
2842
|
+
|
2843
|
+
def deserialize(params)
|
2844
|
+
unless params['Data'].nil?
|
2845
|
+
@Data = BatchOperateResult.new
|
2846
|
+
@Data.deserialize(params['Data'])
|
2847
|
+
end
|
2848
|
+
@RequestId = params['RequestId']
|
2849
|
+
end
|
2850
|
+
end
|
2851
|
+
|
2852
|
+
# 简单Task信息
|
2853
|
+
class SimpleTaskInfo < TencentCloud::Common::AbstractModel
|
2854
|
+
# @param TaskId: 任务ID
|
2855
|
+
# @type TaskId: String
|
2856
|
+
# @param TaskName: 任务名
|
2857
|
+
# @type TaskName: String
|
2858
|
+
|
2859
|
+
attr_accessor :TaskId, :TaskName
|
2860
|
+
|
2861
|
+
def initialize(taskid=nil, taskname=nil)
|
2862
|
+
@TaskId = taskid
|
2863
|
+
@TaskName = taskname
|
2864
|
+
end
|
2865
|
+
|
2866
|
+
def deserialize(params)
|
2867
|
+
@TaskId = params['TaskId']
|
2868
|
+
@TaskName = params['TaskName']
|
2869
|
+
end
|
2870
|
+
end
|
2871
|
+
|
2872
|
+
# SubmitTask请求参数结构体
|
2873
|
+
class SubmitTaskRequest < TencentCloud::Common::AbstractModel
|
2874
|
+
# @param ProjectId: 项目Id
|
2875
|
+
# @type ProjectId: String
|
2876
|
+
# @param TaskId: 任务ID
|
2877
|
+
# @type TaskId: String
|
2878
|
+
# @param VersionRemark: 版本备注
|
2879
|
+
# @type VersionRemark: String
|
2880
|
+
# @param StartScheduling: 是否启动调度
|
2881
|
+
# @type StartScheduling: Boolean
|
2882
|
+
|
2883
|
+
attr_accessor :ProjectId, :TaskId, :VersionRemark, :StartScheduling
|
2884
|
+
|
2885
|
+
def initialize(projectid=nil, taskid=nil, versionremark=nil, startscheduling=nil)
|
2886
|
+
@ProjectId = projectid
|
2887
|
+
@TaskId = taskid
|
2888
|
+
@VersionRemark = versionremark
|
2889
|
+
@StartScheduling = startscheduling
|
2890
|
+
end
|
2891
|
+
|
2892
|
+
def deserialize(params)
|
2893
|
+
@ProjectId = params['ProjectId']
|
2894
|
+
@TaskId = params['TaskId']
|
2895
|
+
@VersionRemark = params['VersionRemark']
|
2896
|
+
@StartScheduling = params['StartScheduling']
|
2897
|
+
end
|
2898
|
+
end
|
2899
|
+
|
2900
|
+
# SubmitTask返回参数结构体
|
2901
|
+
class SubmitTaskResponse < TencentCloud::Common::AbstractModel
|
2902
|
+
# @param Data: 成功或者失败
|
2903
|
+
# @type Data: Boolean
|
2904
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2905
|
+
# @type RequestId: String
|
2906
|
+
|
2907
|
+
attr_accessor :Data, :RequestId
|
2908
|
+
|
2909
|
+
def initialize(data=nil, requestid=nil)
|
2910
|
+
@Data = data
|
2911
|
+
@RequestId = requestid
|
2912
|
+
end
|
2913
|
+
|
2914
|
+
def deserialize(params)
|
2915
|
+
@Data = params['Data']
|
2916
|
+
@RequestId = params['RequestId']
|
2917
|
+
end
|
2918
|
+
end
|
2919
|
+
|
2920
|
+
# 提交工作流实体
|
2921
|
+
class SubmitWorkflow < TencentCloud::Common::AbstractModel
|
2922
|
+
# @param TaskIds: 被提交的任务id集合
|
2923
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2924
|
+
# @type TaskIds: Array
|
2925
|
+
# @param Result: 执行结果
|
2926
|
+
# @type Result: Boolean
|
2927
|
+
# @param ErrorDesc: 执行情况备注
|
2928
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2929
|
+
# @type ErrorDesc: String
|
2930
|
+
# @param ErrorId: 执行情况id
|
2931
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2932
|
+
# @type ErrorId: String
|
2933
|
+
|
2934
|
+
attr_accessor :TaskIds, :Result, :ErrorDesc, :ErrorId
|
2935
|
+
|
2936
|
+
def initialize(taskids=nil, result=nil, errordesc=nil, errorid=nil)
|
2937
|
+
@TaskIds = taskids
|
2938
|
+
@Result = result
|
2939
|
+
@ErrorDesc = errordesc
|
2940
|
+
@ErrorId = errorid
|
2941
|
+
end
|
2942
|
+
|
2943
|
+
def deserialize(params)
|
2944
|
+
@TaskIds = params['TaskIds']
|
2945
|
+
@Result = params['Result']
|
2946
|
+
@ErrorDesc = params['ErrorDesc']
|
2947
|
+
@ErrorId = params['ErrorId']
|
2948
|
+
end
|
2949
|
+
end
|
2950
|
+
|
2951
|
+
# SubmitWorkflow请求参数结构体
|
2952
|
+
class SubmitWorkflowRequest < TencentCloud::Common::AbstractModel
|
2953
|
+
# @param ProjectId: 项目Id
|
2954
|
+
# @type ProjectId: String
|
2955
|
+
# @param WorkflowId: 工作流id
|
2956
|
+
# @type WorkflowId: String
|
2957
|
+
# @param VersionRemark: 提交的版本备注
|
2958
|
+
# @type VersionRemark: String
|
2959
|
+
# @param StartScheduling: 是否启动调度
|
2960
|
+
# @type StartScheduling: Boolean
|
2961
|
+
|
2962
|
+
attr_accessor :ProjectId, :WorkflowId, :VersionRemark, :StartScheduling
|
2963
|
+
|
2964
|
+
def initialize(projectid=nil, workflowid=nil, versionremark=nil, startscheduling=nil)
|
2965
|
+
@ProjectId = projectid
|
2966
|
+
@WorkflowId = workflowid
|
2967
|
+
@VersionRemark = versionremark
|
2968
|
+
@StartScheduling = startscheduling
|
2969
|
+
end
|
2970
|
+
|
2971
|
+
def deserialize(params)
|
2972
|
+
@ProjectId = params['ProjectId']
|
2973
|
+
@WorkflowId = params['WorkflowId']
|
2974
|
+
@VersionRemark = params['VersionRemark']
|
2975
|
+
@StartScheduling = params['StartScheduling']
|
2976
|
+
end
|
2977
|
+
end
|
2978
|
+
|
2979
|
+
# SubmitWorkflow返回参数结构体
|
2980
|
+
class SubmitWorkflowResponse < TencentCloud::Common::AbstractModel
|
2981
|
+
# @param Data: 执行结果
|
2982
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.SubmitWorkflow`
|
2983
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2984
|
+
# @type RequestId: String
|
2985
|
+
|
2986
|
+
attr_accessor :Data, :RequestId
|
2987
|
+
|
2988
|
+
def initialize(data=nil, requestid=nil)
|
2989
|
+
@Data = data
|
2990
|
+
@RequestId = requestid
|
2991
|
+
end
|
2992
|
+
|
2993
|
+
def deserialize(params)
|
2994
|
+
unless params['Data'].nil?
|
2995
|
+
@Data = SubmitWorkflow.new
|
2996
|
+
@Data.deserialize(params['Data'])
|
2997
|
+
end
|
2998
|
+
@RequestId = params['RequestId']
|
2999
|
+
end
|
3000
|
+
end
|
3001
|
+
|
3002
|
+
# 任务信息
|
3003
|
+
class TaskCanvasInfo < TencentCloud::Common::AbstractModel
|
3004
|
+
# @param TaskId: 任务Id
|
3005
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3006
|
+
# @type TaskId: String
|
3007
|
+
# @param TaskName: 任务名称
|
3008
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3009
|
+
# @type TaskName: String
|
3010
|
+
# @param WorkflowId: 工作流id
|
3011
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3012
|
+
# @type WorkflowId: String
|
3013
|
+
# @param WorkflowName: 工作流名称
|
3014
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3015
|
+
# @type WorkflowName: String
|
3016
|
+
# @param ProjectName: 项目名称
|
3017
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3018
|
+
# @type ProjectName: String
|
3019
|
+
# @param ProjectIdent: 项目标识
|
3020
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3021
|
+
# @type ProjectIdent: String
|
3022
|
+
# @param Status: 任务状态,'Y','F','O','T','INVALID' 分别表示调度中、已停止、已暂停、停止中、已失效
|
3023
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3024
|
+
# @type Status: String
|
3025
|
+
# @param TaskTypeId: 任务类型id
|
3026
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3027
|
+
# @type TaskTypeId: Integer
|
3028
|
+
# @param TaskTypeDesc: 任务类型描述,其中任务类型id和任务类型描述的对应的关系为
|
3029
|
+
# 20 通用数据同步任务
|
3030
|
+
# 21 JDBC SQL
|
3031
|
+
# 22 Tbase
|
3032
|
+
# 25 数据ETL
|
3033
|
+
# 30 Python
|
3034
|
+
# 31 PySpark
|
3035
|
+
# 34 Hive SQL
|
3036
|
+
# 35 Shell
|
3037
|
+
# 36 Spark SQL
|
3038
|
+
# 37 HDFS到HBase
|
3039
|
+
# 38 SHELL
|
3040
|
+
# 39 Spark
|
3041
|
+
# 45 DATA_QUALITY
|
3042
|
+
# 55 THIVE到MYSQL
|
3043
|
+
# 56 THIVE到PG
|
3044
|
+
# 66 HDFS到PG
|
3045
|
+
# 67 HDFS到Oracle
|
3046
|
+
# 68 HDFS到MYSQL
|
3047
|
+
# 69 FTP到HDFS
|
3048
|
+
# 70 HIVE SQL
|
3049
|
+
# 72 HIVE到HDFS
|
3050
|
+
# 75 HDFS到HIVE
|
3051
|
+
# 81 PYTHONSQL脚本
|
3052
|
+
# 82 SPARKSCALA计算
|
3053
|
+
# 83 虫洞任务
|
3054
|
+
# 84 校验对账文件
|
3055
|
+
# 85 HDFS到THIVE
|
3056
|
+
# 86 TDW到HDFS
|
3057
|
+
# 87 HDFS到TDW
|
3058
|
+
# 88 校验对账文件
|
3059
|
+
# 91 FLINK任务
|
3060
|
+
# 92 MapReduce
|
3061
|
+
# 98 custom topology
|
3062
|
+
# 99 kafkatoHDFS
|
3063
|
+
# 100 kafkatoHbase
|
3064
|
+
# 101 MYSQL导入至HIVE(DX)
|
3065
|
+
# 104 MYSQL到HIVE
|
3066
|
+
# 105 HIVE到MYSQL
|
3067
|
+
# 106 SQL SERVER到HIVE
|
3068
|
+
# 107 HIVE到SQL SERVER
|
3069
|
+
# 108 ORACLE到HIVE
|
3070
|
+
# 109 HIVE到ORACLE
|
3071
|
+
# 111 HIVE到MYSQL(NEW)
|
3072
|
+
# 112 HIVE到PG
|
3073
|
+
# 113 HIVE到PHOENIX
|
3074
|
+
# 118 MYSQL到HDFS
|
3075
|
+
# 119 PG到HDFS
|
3076
|
+
# 120 ORACLE到HDFS
|
3077
|
+
# 121 数据质量
|
3078
|
+
# 10000 自定义业务
|
3079
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3080
|
+
# @type TaskTypeDesc: String
|
3081
|
+
# @param ProjectId: 项目id
|
3082
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3083
|
+
# @type ProjectId: String
|
3084
|
+
# @param FolderName: 文件夹名称
|
3085
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3086
|
+
# @type FolderName: String
|
3087
|
+
# @param FolderId: 文件夹id
|
3088
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3089
|
+
# @type FolderId: String
|
3090
|
+
# @param FirstSubmitTime: 最近提交时间
|
3091
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3092
|
+
# @type FirstSubmitTime: String
|
3093
|
+
# @param FirstRunTime: 首次运行时间
|
3094
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3095
|
+
# @type FirstRunTime: String
|
3096
|
+
# @param ScheduleDesc: 调度计划展示描述信息
|
3097
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3098
|
+
# @type ScheduleDesc: String
|
3099
|
+
# @param InCharge: 负责人
|
3100
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3101
|
+
# @type InCharge: String
|
3102
|
+
# @param CycleUnit: 调度周期类型
|
3103
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3104
|
+
# @type CycleUnit: String
|
3105
|
+
# @param LeftCoordinate: 画布x轴坐标点
|
3106
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3107
|
+
# @type LeftCoordinate: Float
|
3108
|
+
# @param TopCoordinate: 画布y轴坐标点
|
3109
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3110
|
+
# @type TopCoordinate: Float
|
3111
|
+
# @param VirtualFlag: 跨工作流虚拟任务标识;true标识跨工作流任务;false标识本工作流任务
|
3112
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3113
|
+
# @type VirtualFlag: Boolean
|
3114
|
+
# @param TaskAction: 弹性周期配置
|
3115
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3116
|
+
# @type TaskAction: String
|
3117
|
+
# @param DelayTime: 延迟时间
|
3118
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3119
|
+
# @type DelayTime: Integer
|
3120
|
+
|
3121
|
+
attr_accessor :TaskId, :TaskName, :WorkflowId, :WorkflowName, :ProjectName, :ProjectIdent, :Status, :TaskTypeId, :TaskTypeDesc, :ProjectId, :FolderName, :FolderId, :FirstSubmitTime, :FirstRunTime, :ScheduleDesc, :InCharge, :CycleUnit, :LeftCoordinate, :TopCoordinate, :VirtualFlag, :TaskAction, :DelayTime
|
3122
|
+
|
3123
|
+
def initialize(taskid=nil, taskname=nil, workflowid=nil, workflowname=nil, projectname=nil, projectident=nil, status=nil, tasktypeid=nil, tasktypedesc=nil, projectid=nil, foldername=nil, folderid=nil, firstsubmittime=nil, firstruntime=nil, scheduledesc=nil, incharge=nil, cycleunit=nil, leftcoordinate=nil, topcoordinate=nil, virtualflag=nil, taskaction=nil, delaytime=nil)
|
3124
|
+
@TaskId = taskid
|
3125
|
+
@TaskName = taskname
|
3126
|
+
@WorkflowId = workflowid
|
3127
|
+
@WorkflowName = workflowname
|
3128
|
+
@ProjectName = projectname
|
3129
|
+
@ProjectIdent = projectident
|
3130
|
+
@Status = status
|
3131
|
+
@TaskTypeId = tasktypeid
|
3132
|
+
@TaskTypeDesc = tasktypedesc
|
3133
|
+
@ProjectId = projectid
|
3134
|
+
@FolderName = foldername
|
3135
|
+
@FolderId = folderid
|
3136
|
+
@FirstSubmitTime = firstsubmittime
|
3137
|
+
@FirstRunTime = firstruntime
|
3138
|
+
@ScheduleDesc = scheduledesc
|
3139
|
+
@InCharge = incharge
|
3140
|
+
@CycleUnit = cycleunit
|
3141
|
+
@LeftCoordinate = leftcoordinate
|
3142
|
+
@TopCoordinate = topcoordinate
|
3143
|
+
@VirtualFlag = virtualflag
|
3144
|
+
@TaskAction = taskaction
|
3145
|
+
@DelayTime = delaytime
|
3146
|
+
end
|
3147
|
+
|
3148
|
+
def deserialize(params)
|
3149
|
+
@TaskId = params['TaskId']
|
3150
|
+
@TaskName = params['TaskName']
|
3151
|
+
@WorkflowId = params['WorkflowId']
|
3152
|
+
@WorkflowName = params['WorkflowName']
|
3153
|
+
@ProjectName = params['ProjectName']
|
3154
|
+
@ProjectIdent = params['ProjectIdent']
|
3155
|
+
@Status = params['Status']
|
3156
|
+
@TaskTypeId = params['TaskTypeId']
|
3157
|
+
@TaskTypeDesc = params['TaskTypeDesc']
|
3158
|
+
@ProjectId = params['ProjectId']
|
3159
|
+
@FolderName = params['FolderName']
|
3160
|
+
@FolderId = params['FolderId']
|
3161
|
+
@FirstSubmitTime = params['FirstSubmitTime']
|
3162
|
+
@FirstRunTime = params['FirstRunTime']
|
3163
|
+
@ScheduleDesc = params['ScheduleDesc']
|
3164
|
+
@InCharge = params['InCharge']
|
3165
|
+
@CycleUnit = params['CycleUnit']
|
3166
|
+
@LeftCoordinate = params['LeftCoordinate']
|
3167
|
+
@TopCoordinate = params['TopCoordinate']
|
3168
|
+
@VirtualFlag = params['VirtualFlag']
|
3169
|
+
@TaskAction = params['TaskAction']
|
3170
|
+
@DelayTime = params['DelayTime']
|
3171
|
+
end
|
3172
|
+
end
|
3173
|
+
|
3174
|
+
# 任务扩展信息
|
3175
|
+
class TaskExtInfo < TencentCloud::Common::AbstractModel
|
3176
|
+
# @param Key: 键
|
3177
|
+
# @type Key: String
|
3178
|
+
# @param Value: 值
|
3179
|
+
# @type Value: String
|
3180
|
+
|
3181
|
+
attr_accessor :Key, :Value
|
3182
|
+
|
3183
|
+
def initialize(key=nil, value=nil)
|
3184
|
+
@Key = key
|
3185
|
+
@Value = value
|
3186
|
+
end
|
3187
|
+
|
3188
|
+
def deserialize(params)
|
3189
|
+
@Key = params['Key']
|
3190
|
+
@Value = params['Value']
|
3191
|
+
end
|
3192
|
+
end
|
3193
|
+
|
3194
|
+
# 任务信息数据
|
3195
|
+
class TaskInfoData < TencentCloud::Common::AbstractModel
|
3196
|
+
# @param TaskId: 任务Id
|
3197
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3198
|
+
# @type TaskId: String
|
3199
|
+
# @param TaskName: 任务名称
|
3200
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3201
|
+
# @type TaskName: String
|
3202
|
+
# @param WorkflowId: 工作流id
|
3203
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3204
|
+
# @type WorkflowId: String
|
3205
|
+
# @param WorkflowName: 工作流名称
|
3206
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3207
|
+
# @type WorkflowName: String
|
3208
|
+
# @param ProjectName: 项目名称
|
3209
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3210
|
+
# @type ProjectName: String
|
3211
|
+
# @param ProjectIdent: 项目标识
|
3212
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3213
|
+
# @type ProjectIdent: String
|
3214
|
+
# @param Status: 任务状态,'Y','F','O','T','INVALID' 分别表示调度中、已停止、已暂停、停止中、已失效
|
3215
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3216
|
+
# @type Status: String
|
3217
|
+
# @param ProjectId: 项目id
|
3218
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3219
|
+
# @type ProjectId: String
|
3220
|
+
# @param FolderName: 文件夹名称
|
3221
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3222
|
+
# @type FolderName: String
|
3223
|
+
# @param FolderId: 文件夹id
|
3224
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3225
|
+
# @type FolderId: String
|
3226
|
+
# @param InCharge: 负责人
|
3227
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3228
|
+
# @type InCharge: String
|
3229
|
+
# @param VirtualFlag: 跨工作流虚拟任务标识;true标识跨工作流任务;false标识本工作流任务
|
3230
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3231
|
+
# @type VirtualFlag: Boolean
|
3232
|
+
# @param DelayTime: 延时实例生成时间(延时调度),转换为分钟
|
3233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3234
|
+
# @type DelayTime: Integer
|
3235
|
+
# @param CrontabExpression: crontab表达式
|
3236
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3237
|
+
# @type CrontabExpression: String
|
3238
|
+
# @param CreateTime: 创建时间
|
3239
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3240
|
+
# @type CreateTime: String
|
3241
|
+
# @param LastUpdate: 更新时间
|
3242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3243
|
+
# @type LastUpdate: String
|
3244
|
+
# @param StartTime: 生效日期
|
3245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3246
|
+
# @type StartTime: String
|
3247
|
+
# @param EndTime: 结束日期
|
3248
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3249
|
+
# @type EndTime: String
|
3250
|
+
# @param ExecutionStartTime: 执行时间左闭区间
|
3251
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3252
|
+
# @type ExecutionStartTime: String
|
3253
|
+
# @param ExecutionEndTime: 执行时间右闭区间
|
3254
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3255
|
+
# @type ExecutionEndTime: String
|
3256
|
+
# @param CycleType: 周期类型
|
3257
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3258
|
+
# @type CycleType: Integer
|
3259
|
+
# @param CycleStep: 步长
|
3260
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3261
|
+
# @type CycleStep: Integer
|
3262
|
+
# @param StartupTime: 延时执行时间(延时执行) 对应为 开始时间 状态为分钟
|
3263
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3264
|
+
# @type StartupTime: Integer
|
3265
|
+
# @param RetryWait: 重试等待时间,单位分钟
|
3266
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3267
|
+
# @type RetryWait: Integer
|
3268
|
+
# @param Retriable: 是否可重试
|
3269
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3270
|
+
# @type Retriable: Integer
|
3271
|
+
# @param TaskAction: 调度扩展信息
|
3272
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3273
|
+
# @type TaskAction: String
|
3274
|
+
# @param TryLimit: 运行次数限制
|
3275
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3276
|
+
# @type TryLimit: Integer
|
3277
|
+
# @param RunPriority: 运行优先级
|
3278
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3279
|
+
# @type RunPriority: Integer
|
3280
|
+
# @param TaskType: 任务类型
|
3281
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3282
|
+
# @type TaskType: Integer
|
3283
|
+
# @param BrokerIp: 指定的运行节点
|
3284
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3285
|
+
# @type BrokerIp: String
|
3286
|
+
# @param ClusterId: 集群
|
3287
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3288
|
+
# @type ClusterId: String
|
3289
|
+
# @param MinDateTime: 最小数据时间
|
3290
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3291
|
+
# @type MinDateTime: String
|
3292
|
+
# @param MaxDateTime: 最大数据时间
|
3293
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3294
|
+
# @type MaxDateTime: String
|
3295
|
+
# @param SelfDepend: 是否自身依赖 是1 否2 并行3
|
3296
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3297
|
+
# @type SelfDepend: Integer
|
3298
|
+
# @param TaskExt: 扩展属性
|
3299
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3300
|
+
# @type TaskExt: Array
|
3301
|
+
# @param Notes: 任务备注
|
3302
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3303
|
+
# @type Notes: String
|
3304
|
+
# @param YarnQueue: 队列
|
3305
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3306
|
+
# @type YarnQueue: String
|
3307
|
+
# @param Submit: 任务版本是否已提交
|
3308
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3309
|
+
# @type Submit: Boolean
|
3310
|
+
# @param LastSchedulerCommitTime: 最新调度计划变更时间 仅生产态
|
3311
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3312
|
+
# @type LastSchedulerCommitTime: String
|
3313
|
+
# @param NormalizedJobStartTime: 仅生产态存储于生产态序列化任务信息, 减少base CPU重复密集计算
|
3314
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3315
|
+
# @type NormalizedJobStartTime: String
|
3316
|
+
# @param SourceServer: 源数据源
|
3317
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3318
|
+
# @type SourceServer: String
|
3319
|
+
# @param Creater: 创建者
|
3320
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3321
|
+
# @type Creater: String
|
3322
|
+
# @param DependencyRel: 分支,依赖关系,and/or, 默认and
|
3323
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3324
|
+
# @type DependencyRel: String
|
3325
|
+
# @param DependencyWorkflow: 是否支持工作流依赖 yes / no 默认 no
|
3326
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3327
|
+
# @type DependencyWorkflow: String
|
3328
|
+
# @param Params: 任务参数
|
3329
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3330
|
+
# @type Params: Array
|
3331
|
+
# @param UpdateUser: 最后修改的人
|
3332
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3333
|
+
# @type UpdateUser: String
|
3334
|
+
# @param UpdateTime: 最后修改的时间
|
3335
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3336
|
+
# @type UpdateTime: String
|
3337
|
+
# @param UpdateUserId: 最后修改的人Id
|
3338
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3339
|
+
# @type UpdateUserId: String
|
3340
|
+
# @param SchedulerDesc: 调度计划
|
3341
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3342
|
+
# @type SchedulerDesc: String
|
3343
|
+
# @param ResourceGroup: 资源组信息
|
3344
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3345
|
+
# @type ResourceGroup: String
|
3346
|
+
# @param VersionDesc: 版本提交说明
|
3347
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3348
|
+
# @type VersionDesc: String
|
3349
|
+
# @param RealWorkflowId: 真实工作流Id
|
3350
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3351
|
+
# @type RealWorkflowId: String
|
3352
|
+
# @param TargetServer: 目标数据源
|
3353
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3354
|
+
# @type TargetServer: String
|
3355
|
+
# @param DependencyConfigs: 依赖配置
|
3356
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3357
|
+
# @type DependencyConfigs: Array
|
3358
|
+
# @param VirtualTaskStatus: 虚拟任务状态1
|
3359
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3360
|
+
# @type VirtualTaskStatus: String
|
3361
|
+
# @param VirtualTaskId: 虚拟任务id
|
3362
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3363
|
+
# @type VirtualTaskId: String
|
3364
|
+
|
3365
|
+
attr_accessor :TaskId, :TaskName, :WorkflowId, :WorkflowName, :ProjectName, :ProjectIdent, :Status, :ProjectId, :FolderName, :FolderId, :InCharge, :VirtualFlag, :DelayTime, :CrontabExpression, :CreateTime, :LastUpdate, :StartTime, :EndTime, :ExecutionStartTime, :ExecutionEndTime, :CycleType, :CycleStep, :StartupTime, :RetryWait, :Retriable, :TaskAction, :TryLimit, :RunPriority, :TaskType, :BrokerIp, :ClusterId, :MinDateTime, :MaxDateTime, :SelfDepend, :TaskExt, :Notes, :YarnQueue, :Submit, :LastSchedulerCommitTime, :NormalizedJobStartTime, :SourceServer, :Creater, :DependencyRel, :DependencyWorkflow, :Params, :UpdateUser, :UpdateTime, :UpdateUserId, :SchedulerDesc, :ResourceGroup, :VersionDesc, :RealWorkflowId, :TargetServer, :DependencyConfigs, :VirtualTaskStatus, :VirtualTaskId
|
3366
|
+
|
3367
|
+
def initialize(taskid=nil, taskname=nil, workflowid=nil, workflowname=nil, projectname=nil, projectident=nil, status=nil, projectid=nil, foldername=nil, folderid=nil, incharge=nil, virtualflag=nil, delaytime=nil, crontabexpression=nil, createtime=nil, lastupdate=nil, starttime=nil, endtime=nil, executionstarttime=nil, executionendtime=nil, cycletype=nil, cyclestep=nil, startuptime=nil, retrywait=nil, retriable=nil, taskaction=nil, trylimit=nil, runpriority=nil, tasktype=nil, brokerip=nil, clusterid=nil, mindatetime=nil, maxdatetime=nil, selfdepend=nil, taskext=nil, notes=nil, yarnqueue=nil, submit=nil, lastschedulercommittime=nil, normalizedjobstarttime=nil, sourceserver=nil, creater=nil, dependencyrel=nil, dependencyworkflow=nil, params=nil, updateuser=nil, updatetime=nil, updateuserid=nil, schedulerdesc=nil, resourcegroup=nil, versiondesc=nil, realworkflowid=nil, targetserver=nil, dependencyconfigs=nil, virtualtaskstatus=nil, virtualtaskid=nil)
|
3368
|
+
@TaskId = taskid
|
3369
|
+
@TaskName = taskname
|
3370
|
+
@WorkflowId = workflowid
|
3371
|
+
@WorkflowName = workflowname
|
3372
|
+
@ProjectName = projectname
|
3373
|
+
@ProjectIdent = projectident
|
3374
|
+
@Status = status
|
3375
|
+
@ProjectId = projectid
|
3376
|
+
@FolderName = foldername
|
3377
|
+
@FolderId = folderid
|
3378
|
+
@InCharge = incharge
|
3379
|
+
@VirtualFlag = virtualflag
|
3380
|
+
@DelayTime = delaytime
|
3381
|
+
@CrontabExpression = crontabexpression
|
3382
|
+
@CreateTime = createtime
|
3383
|
+
@LastUpdate = lastupdate
|
3384
|
+
@StartTime = starttime
|
3385
|
+
@EndTime = endtime
|
3386
|
+
@ExecutionStartTime = executionstarttime
|
3387
|
+
@ExecutionEndTime = executionendtime
|
3388
|
+
@CycleType = cycletype
|
3389
|
+
@CycleStep = cyclestep
|
3390
|
+
@StartupTime = startuptime
|
3391
|
+
@RetryWait = retrywait
|
3392
|
+
@Retriable = retriable
|
3393
|
+
@TaskAction = taskaction
|
3394
|
+
@TryLimit = trylimit
|
3395
|
+
@RunPriority = runpriority
|
3396
|
+
@TaskType = tasktype
|
3397
|
+
@BrokerIp = brokerip
|
3398
|
+
@ClusterId = clusterid
|
3399
|
+
@MinDateTime = mindatetime
|
3400
|
+
@MaxDateTime = maxdatetime
|
3401
|
+
@SelfDepend = selfdepend
|
3402
|
+
@TaskExt = taskext
|
3403
|
+
@Notes = notes
|
3404
|
+
@YarnQueue = yarnqueue
|
3405
|
+
@Submit = submit
|
3406
|
+
@LastSchedulerCommitTime = lastschedulercommittime
|
3407
|
+
@NormalizedJobStartTime = normalizedjobstarttime
|
3408
|
+
@SourceServer = sourceserver
|
3409
|
+
@Creater = creater
|
3410
|
+
@DependencyRel = dependencyrel
|
3411
|
+
@DependencyWorkflow = dependencyworkflow
|
3412
|
+
@Params = params
|
3413
|
+
@UpdateUser = updateuser
|
3414
|
+
@UpdateTime = updatetime
|
3415
|
+
@UpdateUserId = updateuserid
|
3416
|
+
@SchedulerDesc = schedulerdesc
|
3417
|
+
@ResourceGroup = resourcegroup
|
3418
|
+
@VersionDesc = versiondesc
|
3419
|
+
@RealWorkflowId = realworkflowid
|
3420
|
+
@TargetServer = targetserver
|
3421
|
+
@DependencyConfigs = dependencyconfigs
|
3422
|
+
@VirtualTaskStatus = virtualtaskstatus
|
3423
|
+
@VirtualTaskId = virtualtaskid
|
3424
|
+
end
|
3425
|
+
|
3426
|
+
def deserialize(params)
|
3427
|
+
@TaskId = params['TaskId']
|
3428
|
+
@TaskName = params['TaskName']
|
3429
|
+
@WorkflowId = params['WorkflowId']
|
3430
|
+
@WorkflowName = params['WorkflowName']
|
3431
|
+
@ProjectName = params['ProjectName']
|
3432
|
+
@ProjectIdent = params['ProjectIdent']
|
3433
|
+
@Status = params['Status']
|
3434
|
+
@ProjectId = params['ProjectId']
|
3435
|
+
@FolderName = params['FolderName']
|
3436
|
+
@FolderId = params['FolderId']
|
3437
|
+
@InCharge = params['InCharge']
|
3438
|
+
@VirtualFlag = params['VirtualFlag']
|
3439
|
+
@DelayTime = params['DelayTime']
|
3440
|
+
@CrontabExpression = params['CrontabExpression']
|
3441
|
+
@CreateTime = params['CreateTime']
|
3442
|
+
@LastUpdate = params['LastUpdate']
|
3443
|
+
@StartTime = params['StartTime']
|
3444
|
+
@EndTime = params['EndTime']
|
3445
|
+
@ExecutionStartTime = params['ExecutionStartTime']
|
3446
|
+
@ExecutionEndTime = params['ExecutionEndTime']
|
3447
|
+
@CycleType = params['CycleType']
|
3448
|
+
@CycleStep = params['CycleStep']
|
3449
|
+
@StartupTime = params['StartupTime']
|
3450
|
+
@RetryWait = params['RetryWait']
|
3451
|
+
@Retriable = params['Retriable']
|
3452
|
+
@TaskAction = params['TaskAction']
|
3453
|
+
@TryLimit = params['TryLimit']
|
3454
|
+
@RunPriority = params['RunPriority']
|
3455
|
+
@TaskType = params['TaskType']
|
3456
|
+
@BrokerIp = params['BrokerIp']
|
3457
|
+
@ClusterId = params['ClusterId']
|
3458
|
+
@MinDateTime = params['MinDateTime']
|
3459
|
+
@MaxDateTime = params['MaxDateTime']
|
3460
|
+
@SelfDepend = params['SelfDepend']
|
3461
|
+
unless params['TaskExt'].nil?
|
3462
|
+
@TaskExt = []
|
3463
|
+
params['TaskExt'].each do |i|
|
3464
|
+
taskextinfo_tmp = TaskExtInfo.new
|
3465
|
+
taskextinfo_tmp.deserialize(i)
|
3466
|
+
@TaskExt << taskextinfo_tmp
|
162
3467
|
end
|
163
3468
|
end
|
164
|
-
@
|
165
|
-
@
|
166
|
-
@
|
3469
|
+
@Notes = params['Notes']
|
3470
|
+
@YarnQueue = params['YarnQueue']
|
3471
|
+
@Submit = params['Submit']
|
3472
|
+
@LastSchedulerCommitTime = params['LastSchedulerCommitTime']
|
3473
|
+
@NormalizedJobStartTime = params['NormalizedJobStartTime']
|
3474
|
+
@SourceServer = params['SourceServer']
|
3475
|
+
@Creater = params['Creater']
|
3476
|
+
@DependencyRel = params['DependencyRel']
|
3477
|
+
@DependencyWorkflow = params['DependencyWorkflow']
|
3478
|
+
unless params['Params'].nil?
|
3479
|
+
@Params = []
|
3480
|
+
params['Params'].each do |i|
|
3481
|
+
paraminfo_tmp = ParamInfo.new
|
3482
|
+
paraminfo_tmp.deserialize(i)
|
3483
|
+
@Params << paraminfo_tmp
|
3484
|
+
end
|
3485
|
+
end
|
3486
|
+
@UpdateUser = params['UpdateUser']
|
3487
|
+
@UpdateTime = params['UpdateTime']
|
3488
|
+
@UpdateUserId = params['UpdateUserId']
|
3489
|
+
@SchedulerDesc = params['SchedulerDesc']
|
3490
|
+
@ResourceGroup = params['ResourceGroup']
|
3491
|
+
@VersionDesc = params['VersionDesc']
|
3492
|
+
@RealWorkflowId = params['RealWorkflowId']
|
3493
|
+
@TargetServer = params['TargetServer']
|
3494
|
+
unless params['DependencyConfigs'].nil?
|
3495
|
+
@DependencyConfigs = []
|
3496
|
+
params['DependencyConfigs'].each do |i|
|
3497
|
+
dependencyconfig_tmp = DependencyConfig.new
|
3498
|
+
dependencyconfig_tmp.deserialize(i)
|
3499
|
+
@DependencyConfigs << dependencyconfig_tmp
|
3500
|
+
end
|
3501
|
+
end
|
3502
|
+
@VirtualTaskStatus = params['VirtualTaskStatus']
|
3503
|
+
@VirtualTaskId = params['VirtualTaskId']
|
167
3504
|
end
|
168
3505
|
end
|
169
3506
|
|
170
|
-
#
|
171
|
-
class
|
172
|
-
# @param
|
173
|
-
# @type ProjectId: String
|
174
|
-
# @param PageNumber: 页号,默认为1
|
3507
|
+
# 任务分页数据查询
|
3508
|
+
class TaskInfoDataPage < TencentCloud::Common::AbstractModel
|
3509
|
+
# @param PageNumber: 页号
|
175
3510
|
# @type PageNumber: Integer
|
176
|
-
# @param PageSize:
|
3511
|
+
# @param PageSize: 页大小
|
177
3512
|
# @type PageSize: Integer
|
178
|
-
# @param
|
179
|
-
# @type
|
180
|
-
# @param
|
181
|
-
# @type
|
182
|
-
# @param DateFrom: 起始数据时间,格式yyyy-MM-dd HH:mm:ss
|
183
|
-
# @type DateFrom: String
|
184
|
-
# @param DateTo: 结束数据时间,格式yyyy-MM-dd HH:mm:ss
|
185
|
-
# @type DateTo: String
|
186
|
-
# @param TaskIdList: 任务id列表
|
187
|
-
# @type TaskIdList: Array
|
188
|
-
# @param TaskNameList: 任务名称列表,支持模糊搜索
|
189
|
-
# @type TaskNameList: Array
|
190
|
-
# @param InChargeList: 责任人名称列表
|
191
|
-
# @type InChargeList: Array
|
192
|
-
# @param TaskTypeIdList: 任务类型码列表,26离线同步,30Python,31PySpark,32DLC,33Impala,34Hive SQL,35Shell,36Spark SQL,39Spark,40CDW PG,92MapReduce
|
193
|
-
# @type TaskTypeIdList: Array
|
194
|
-
# @param StateList: 实例状态列表,0等待事件,1等待上游,2等待运行,3运行中,4正在终止,5失败重试,6失败,7成功
|
195
|
-
# @type StateList: Array
|
196
|
-
# @param TaskCycleUnitList: 周期类型列表,I分钟,H小时,D天,W周,M月,Y年,O一次性,C crontab
|
197
|
-
# @type TaskCycleUnitList: Array
|
198
|
-
# @param InstanceType: 实例类型,0补录实例,1周期实例,2非周期实例
|
199
|
-
# @type InstanceType: Integer
|
200
|
-
# @param OrderFields: 排序字段信息列表,ScheduleDateTime / CostTime / StartTime / EndTime
|
201
|
-
# @type OrderFields: Array
|
3513
|
+
# @param Items: 任务集合信息
|
3514
|
+
# @type Items: Array
|
3515
|
+
# @param TotalCount: 总页数1
|
3516
|
+
# @type TotalCount: Integer
|
202
3517
|
|
203
|
-
attr_accessor :
|
3518
|
+
attr_accessor :PageNumber, :PageSize, :Items, :TotalCount
|
204
3519
|
|
205
|
-
def initialize(
|
206
|
-
@ProjectId = projectid
|
3520
|
+
def initialize(pagenumber=nil, pagesize=nil, items=nil, totalcount=nil)
|
207
3521
|
@PageNumber = pagenumber
|
208
3522
|
@PageSize = pagesize
|
209
|
-
@
|
210
|
-
@
|
211
|
-
@DateFrom = datefrom
|
212
|
-
@DateTo = dateto
|
213
|
-
@TaskIdList = taskidlist
|
214
|
-
@TaskNameList = tasknamelist
|
215
|
-
@InChargeList = inchargelist
|
216
|
-
@TaskTypeIdList = tasktypeidlist
|
217
|
-
@StateList = statelist
|
218
|
-
@TaskCycleUnitList = taskcycleunitlist
|
219
|
-
@InstanceType = instancetype
|
220
|
-
@OrderFields = orderfields
|
3523
|
+
@Items = items
|
3524
|
+
@TotalCount = totalcount
|
221
3525
|
end
|
222
3526
|
|
223
3527
|
def deserialize(params)
|
224
|
-
@ProjectId = params['ProjectId']
|
225
3528
|
@PageNumber = params['PageNumber']
|
226
3529
|
@PageSize = params['PageSize']
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
@InChargeList = params['InChargeList']
|
234
|
-
@TaskTypeIdList = params['TaskTypeIdList']
|
235
|
-
@StateList = params['StateList']
|
236
|
-
@TaskCycleUnitList = params['TaskCycleUnitList']
|
237
|
-
@InstanceType = params['InstanceType']
|
238
|
-
unless params['OrderFields'].nil?
|
239
|
-
@OrderFields = []
|
240
|
-
params['OrderFields'].each do |i|
|
241
|
-
orderfield_tmp = OrderField.new
|
242
|
-
orderfield_tmp.deserialize(i)
|
243
|
-
@OrderFields << orderfield_tmp
|
3530
|
+
unless params['Items'].nil?
|
3531
|
+
@Items = []
|
3532
|
+
params['Items'].each do |i|
|
3533
|
+
taskinfodata_tmp = TaskInfoData.new
|
3534
|
+
taskinfodata_tmp.deserialize(i)
|
3535
|
+
@Items << taskinfodata_tmp
|
244
3536
|
end
|
245
3537
|
end
|
3538
|
+
@TotalCount = params['TotalCount']
|
246
3539
|
end
|
247
3540
|
end
|
248
3541
|
|
249
|
-
#
|
250
|
-
class
|
251
|
-
# @param
|
252
|
-
# @type
|
253
|
-
# @param
|
254
|
-
# @type
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
@RequestId = params['RequestId']
|
269
|
-
end
|
270
|
-
end
|
271
|
-
|
272
|
-
# 通用排序字段
|
273
|
-
class OrderField < TencentCloud::Common::AbstractModel
|
274
|
-
# @param Name: 排序字段名称
|
275
|
-
# @type Name: String
|
276
|
-
# @param Direction: 排序方向:ASC|DESC
|
277
|
-
# @type Direction: String
|
3542
|
+
# 任务属性
|
3543
|
+
class TaskInnerInfo < TencentCloud::Common::AbstractModel
|
3544
|
+
# @param TaskId: 任务ID
|
3545
|
+
# @type TaskId: String
|
3546
|
+
# @param TaskName: 任务名
|
3547
|
+
# @type TaskName: String
|
3548
|
+
# @param WorkflowId: 工作流id
|
3549
|
+
# @type WorkflowId: String
|
3550
|
+
# @param CycleType: 周期类型 0:crontab类型, 1:分钟,2:小时,3:天,4:周,5:月,6:一次性,7:用户驱动,10:弹性周期 周,11:弹性周期 月,12:年,13:即时触发Instant类型,与正常周期调度任务逻辑隔离
|
3551
|
+
# @type CycleType: Integer
|
3552
|
+
# @param VirtualTaskId: 虚拟任务id
|
3553
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3554
|
+
# @type VirtualTaskId: String
|
3555
|
+
# @param VirtualFlag: 虚拟任务标记
|
3556
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3557
|
+
# @type VirtualFlag: Boolean
|
3558
|
+
# @param RealWorkflowId: 真实任务工作流id
|
3559
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3560
|
+
# @type RealWorkflowId: String
|
278
3561
|
|
279
|
-
attr_accessor :
|
3562
|
+
attr_accessor :TaskId, :TaskName, :WorkflowId, :CycleType, :VirtualTaskId, :VirtualFlag, :RealWorkflowId
|
280
3563
|
|
281
|
-
def initialize(
|
282
|
-
@
|
283
|
-
@
|
3564
|
+
def initialize(taskid=nil, taskname=nil, workflowid=nil, cycletype=nil, virtualtaskid=nil, virtualflag=nil, realworkflowid=nil)
|
3565
|
+
@TaskId = taskid
|
3566
|
+
@TaskName = taskname
|
3567
|
+
@WorkflowId = workflowid
|
3568
|
+
@CycleType = cycletype
|
3569
|
+
@VirtualTaskId = virtualtaskid
|
3570
|
+
@VirtualFlag = virtualflag
|
3571
|
+
@RealWorkflowId = realworkflowid
|
284
3572
|
end
|
285
3573
|
|
286
3574
|
def deserialize(params)
|
287
|
-
@
|
288
|
-
@
|
3575
|
+
@TaskId = params['TaskId']
|
3576
|
+
@TaskName = params['TaskName']
|
3577
|
+
@WorkflowId = params['WorkflowId']
|
3578
|
+
@CycleType = params['CycleType']
|
3579
|
+
@VirtualTaskId = params['VirtualTaskId']
|
3580
|
+
@VirtualFlag = params['VirtualFlag']
|
3581
|
+
@RealWorkflowId = params['RealWorkflowId']
|
289
3582
|
end
|
290
3583
|
end
|
291
3584
|
|
@@ -411,6 +3704,164 @@ module TencentCloud
|
|
411
3704
|
end
|
412
3705
|
end
|
413
3706
|
|
3707
|
+
# 任务依赖的边信息
|
3708
|
+
class TaskLinkInfo < TencentCloud::Common::AbstractModel
|
3709
|
+
# @param TaskTo: 下游任务id
|
3710
|
+
# @type TaskTo: String
|
3711
|
+
# @param TaskFrom: 上游任务id
|
3712
|
+
# @type TaskFrom: String
|
3713
|
+
# @param LinkType: 依赖边类型 1、“real_real”表示任务->任务;2、"virtual_real" 跨工作流任务->任务
|
3714
|
+
# @type LinkType: String
|
3715
|
+
# @param LinkId: 依赖边id
|
3716
|
+
# @type LinkId: String
|
3717
|
+
|
3718
|
+
attr_accessor :TaskTo, :TaskFrom, :LinkType, :LinkId
|
3719
|
+
|
3720
|
+
def initialize(taskto=nil, taskfrom=nil, linktype=nil, linkid=nil)
|
3721
|
+
@TaskTo = taskto
|
3722
|
+
@TaskFrom = taskfrom
|
3723
|
+
@LinkType = linktype
|
3724
|
+
@LinkId = linkid
|
3725
|
+
end
|
3726
|
+
|
3727
|
+
def deserialize(params)
|
3728
|
+
@TaskTo = params['TaskTo']
|
3729
|
+
@TaskFrom = params['TaskFrom']
|
3730
|
+
@LinkType = params['LinkType']
|
3731
|
+
@LinkId = params['LinkId']
|
3732
|
+
end
|
3733
|
+
end
|
3734
|
+
|
3735
|
+
# 任务执行脚本
|
3736
|
+
class TaskScriptContent < TencentCloud::Common::AbstractModel
|
3737
|
+
# @param ScriptContent: 脚本内容 base64编码
|
3738
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3739
|
+
# @type ScriptContent: String
|
3740
|
+
|
3741
|
+
attr_accessor :ScriptContent
|
3742
|
+
|
3743
|
+
def initialize(scriptcontent=nil)
|
3744
|
+
@ScriptContent = scriptcontent
|
3745
|
+
end
|
3746
|
+
|
3747
|
+
def deserialize(params)
|
3748
|
+
@ScriptContent = params['ScriptContent']
|
3749
|
+
end
|
3750
|
+
end
|
3751
|
+
|
3752
|
+
# TriggerEvent请求参数结构体
|
3753
|
+
class TriggerEventRequest < TencentCloud::Common::AbstractModel
|
3754
|
+
# @param ProjectId: 项目Id
|
3755
|
+
# @type ProjectId: String
|
3756
|
+
# @param Name: 案例名称
|
3757
|
+
# @type Name: String
|
3758
|
+
# @param Dimension: 时间格式:如果选择触发时间:2022年6月21,则设置为20220621
|
3759
|
+
# @type Dimension: String
|
3760
|
+
# @param Description: 描述信息
|
3761
|
+
# @type Description: String
|
3762
|
+
|
3763
|
+
attr_accessor :ProjectId, :Name, :Dimension, :Description
|
3764
|
+
|
3765
|
+
def initialize(projectid=nil, name=nil, dimension=nil, description=nil)
|
3766
|
+
@ProjectId = projectid
|
3767
|
+
@Name = name
|
3768
|
+
@Dimension = dimension
|
3769
|
+
@Description = description
|
3770
|
+
end
|
3771
|
+
|
3772
|
+
def deserialize(params)
|
3773
|
+
@ProjectId = params['ProjectId']
|
3774
|
+
@Name = params['Name']
|
3775
|
+
@Dimension = params['Dimension']
|
3776
|
+
@Description = params['Description']
|
3777
|
+
end
|
3778
|
+
end
|
3779
|
+
|
3780
|
+
# TriggerEvent返回参数结构体
|
3781
|
+
class TriggerEventResponse < TencentCloud::Common::AbstractModel
|
3782
|
+
# @param Data: 成功或者失败
|
3783
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3784
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.BatchReturn`
|
3785
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3786
|
+
# @type RequestId: String
|
3787
|
+
|
3788
|
+
attr_accessor :Data, :RequestId
|
3789
|
+
|
3790
|
+
def initialize(data=nil, requestid=nil)
|
3791
|
+
@Data = data
|
3792
|
+
@RequestId = requestid
|
3793
|
+
end
|
3794
|
+
|
3795
|
+
def deserialize(params)
|
3796
|
+
unless params['Data'].nil?
|
3797
|
+
@Data = BatchReturn.new
|
3798
|
+
@Data.deserialize(params['Data'])
|
3799
|
+
end
|
3800
|
+
@RequestId = params['RequestId']
|
3801
|
+
end
|
3802
|
+
end
|
3803
|
+
|
3804
|
+
# 工作流信息
|
3805
|
+
class Workflow < TencentCloud::Common::AbstractModel
|
3806
|
+
# @param WorkflowId: 工作流id
|
3807
|
+
# @type WorkflowId: String
|
3808
|
+
# @param Owner: 责任人
|
3809
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3810
|
+
# @type Owner: String
|
3811
|
+
# @param OwnerId: 责任人Id
|
3812
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3813
|
+
# @type OwnerId: String
|
3814
|
+
# @param ProjectId: 项目id
|
3815
|
+
# @type ProjectId: String
|
3816
|
+
# @param ProjectIdent: 项目标识
|
3817
|
+
# @type ProjectIdent: String
|
3818
|
+
# @param ProjectName: 项目名称
|
3819
|
+
# @type ProjectName: String
|
3820
|
+
# @param WorkflowDesc: 备注
|
3821
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3822
|
+
# @type WorkflowDesc: String
|
3823
|
+
# @param WorkflowName: 工作流名称
|
3824
|
+
# @type WorkflowName: String
|
3825
|
+
# @param FolderId: 所属文件夹id
|
3826
|
+
# @type FolderId: String
|
3827
|
+
# @param UserGroupId: 工作流所属用户分组id 若有多个,分号隔开: a;b;c
|
3828
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3829
|
+
# @type UserGroupId: String
|
3830
|
+
# @param UserGroupName: 工作流所属用户分组名称 若有多个,分号隔开: a;b;c
|
3831
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3832
|
+
# @type UserGroupName: String
|
3833
|
+
|
3834
|
+
attr_accessor :WorkflowId, :Owner, :OwnerId, :ProjectId, :ProjectIdent, :ProjectName, :WorkflowDesc, :WorkflowName, :FolderId, :UserGroupId, :UserGroupName
|
3835
|
+
|
3836
|
+
def initialize(workflowid=nil, owner=nil, ownerid=nil, projectid=nil, projectident=nil, projectname=nil, workflowdesc=nil, workflowname=nil, folderid=nil, usergroupid=nil, usergroupname=nil)
|
3837
|
+
@WorkflowId = workflowid
|
3838
|
+
@Owner = owner
|
3839
|
+
@OwnerId = ownerid
|
3840
|
+
@ProjectId = projectid
|
3841
|
+
@ProjectIdent = projectident
|
3842
|
+
@ProjectName = projectname
|
3843
|
+
@WorkflowDesc = workflowdesc
|
3844
|
+
@WorkflowName = workflowname
|
3845
|
+
@FolderId = folderid
|
3846
|
+
@UserGroupId = usergroupid
|
3847
|
+
@UserGroupName = usergroupname
|
3848
|
+
end
|
3849
|
+
|
3850
|
+
def deserialize(params)
|
3851
|
+
@WorkflowId = params['WorkflowId']
|
3852
|
+
@Owner = params['Owner']
|
3853
|
+
@OwnerId = params['OwnerId']
|
3854
|
+
@ProjectId = params['ProjectId']
|
3855
|
+
@ProjectIdent = params['ProjectIdent']
|
3856
|
+
@ProjectName = params['ProjectName']
|
3857
|
+
@WorkflowDesc = params['WorkflowDesc']
|
3858
|
+
@WorkflowName = params['WorkflowName']
|
3859
|
+
@FolderId = params['FolderId']
|
3860
|
+
@UserGroupId = params['UserGroupId']
|
3861
|
+
@UserGroupName = params['UserGroupName']
|
3862
|
+
end
|
3863
|
+
end
|
3864
|
+
|
414
3865
|
end
|
415
3866
|
end
|
416
3867
|
end
|