tencentcloud-sdk-wedata 3.0.607 → 3.0.608
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 +24 -0
- data/lib/v20210820/models.rb +232 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf50f1549f2819e1a0b29b7992ed81acda7bdbd8
|
4
|
+
data.tar.gz: f2d612d9b4b330d345a63f39d07f03765fc45029
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d2eecf233743b902735e18a6ee8d9931c573e4692f672aaf2bc4081d7d542b182ab90cd3b2749ef7b87fe953faa8895e4e3dced12dbfdf932576da6cabcb21a
|
7
|
+
data.tar.gz: 895e0d0e7a5b04242eda6524616a99e2c3c354c51a3122b275ade634a9867ee244345b34bd7cd93ec9b972c98c85461a11565a23f7ad30c53a536d0c5dd12b3f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.608
|
data/lib/v20210820/client.rb
CHANGED
@@ -1335,6 +1335,30 @@ module TencentCloud
|
|
1335
1335
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1336
1336
|
end
|
1337
1337
|
|
1338
|
+
# 批量操作任务列表
|
1339
|
+
|
1340
|
+
# @param request: Request instance for DescribeBatchOperateTask.
|
1341
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeBatchOperateTaskRequest`
|
1342
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeBatchOperateTaskResponse`
|
1343
|
+
def DescribeBatchOperateTask(request)
|
1344
|
+
body = send_request('DescribeBatchOperateTask', request.serialize)
|
1345
|
+
response = JSON.parse(body)
|
1346
|
+
if response['Response'].key?('Error') == false
|
1347
|
+
model = DescribeBatchOperateTaskResponse.new
|
1348
|
+
model.deserialize(response['Response'])
|
1349
|
+
model
|
1350
|
+
else
|
1351
|
+
code = response['Response']['Error']['Code']
|
1352
|
+
message = response['Response']['Error']['Message']
|
1353
|
+
reqid = response['Response']['RequestId']
|
1354
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1355
|
+
end
|
1356
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1357
|
+
raise e
|
1358
|
+
rescue StandardError => e
|
1359
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1360
|
+
end
|
1361
|
+
|
1338
1362
|
# 获取集群命名空间列表
|
1339
1363
|
|
1340
1364
|
# @param request: Request instance for DescribeClusterNamespaceList.
|
data/lib/v20210820/models.rb
CHANGED
@@ -4035,6 +4035,238 @@ module TencentCloud
|
|
4035
4035
|
end
|
4036
4036
|
end
|
4037
4037
|
|
4038
|
+
# 批量操作任务列表
|
4039
|
+
class DescribeBatchOperateTaskDTO < TencentCloud::Common::AbstractModel
|
4040
|
+
# @param TaskId: 任务ID
|
4041
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4042
|
+
# @type TaskId: String
|
4043
|
+
# @param TaskName: 任务名
|
4044
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4045
|
+
# @type TaskName: String
|
4046
|
+
# @param WorkflowId: 工作流Id
|
4047
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4048
|
+
# @type WorkflowId: String
|
4049
|
+
# @param WorkflowName: 工作流名
|
4050
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4051
|
+
# @type WorkflowName: String
|
4052
|
+
# @param Status: 状态
|
4053
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4054
|
+
# @type Status: String
|
4055
|
+
# @param TaskTypeId: 任务ID
|
4056
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4057
|
+
# @type TaskTypeId: Integer
|
4058
|
+
# @param TaskTypeDesc: 任务类型
|
4059
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4060
|
+
# @type TaskTypeDesc: String
|
4061
|
+
# @param FolderName: 文件夹名
|
4062
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4063
|
+
# @type FolderName: String
|
4064
|
+
# @param FolderId: 文件夹ID
|
4065
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4066
|
+
# @type FolderId: String
|
4067
|
+
# @param InCharge: 负责人
|
4068
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4069
|
+
# @type InCharge: String
|
4070
|
+
# @param Submit: 是否提交
|
4071
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4072
|
+
# @type Submit: Integer
|
4073
|
+
# @param DataEngine: 引擎:
|
4074
|
+
# presto\SparkJob\SparkSql
|
4075
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4076
|
+
# @type DataEngine: String
|
4077
|
+
# @param UpdateTime: 更新时间
|
4078
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4079
|
+
# @type UpdateTime: String
|
4080
|
+
# @param CreateTime: 创造时间
|
4081
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4082
|
+
# @type CreateTime: String
|
4083
|
+
|
4084
|
+
attr_accessor :TaskId, :TaskName, :WorkflowId, :WorkflowName, :Status, :TaskTypeId, :TaskTypeDesc, :FolderName, :FolderId, :InCharge, :Submit, :DataEngine, :UpdateTime, :CreateTime
|
4085
|
+
|
4086
|
+
def initialize(taskid=nil, taskname=nil, workflowid=nil, workflowname=nil, status=nil, tasktypeid=nil, tasktypedesc=nil, foldername=nil, folderid=nil, incharge=nil, submit=nil, dataengine=nil, updatetime=nil, createtime=nil)
|
4087
|
+
@TaskId = taskid
|
4088
|
+
@TaskName = taskname
|
4089
|
+
@WorkflowId = workflowid
|
4090
|
+
@WorkflowName = workflowname
|
4091
|
+
@Status = status
|
4092
|
+
@TaskTypeId = tasktypeid
|
4093
|
+
@TaskTypeDesc = tasktypedesc
|
4094
|
+
@FolderName = foldername
|
4095
|
+
@FolderId = folderid
|
4096
|
+
@InCharge = incharge
|
4097
|
+
@Submit = submit
|
4098
|
+
@DataEngine = dataengine
|
4099
|
+
@UpdateTime = updatetime
|
4100
|
+
@CreateTime = createtime
|
4101
|
+
end
|
4102
|
+
|
4103
|
+
def deserialize(params)
|
4104
|
+
@TaskId = params['TaskId']
|
4105
|
+
@TaskName = params['TaskName']
|
4106
|
+
@WorkflowId = params['WorkflowId']
|
4107
|
+
@WorkflowName = params['WorkflowName']
|
4108
|
+
@Status = params['Status']
|
4109
|
+
@TaskTypeId = params['TaskTypeId']
|
4110
|
+
@TaskTypeDesc = params['TaskTypeDesc']
|
4111
|
+
@FolderName = params['FolderName']
|
4112
|
+
@FolderId = params['FolderId']
|
4113
|
+
@InCharge = params['InCharge']
|
4114
|
+
@Submit = params['Submit']
|
4115
|
+
@DataEngine = params['DataEngine']
|
4116
|
+
@UpdateTime = params['UpdateTime']
|
4117
|
+
@CreateTime = params['CreateTime']
|
4118
|
+
end
|
4119
|
+
end
|
4120
|
+
|
4121
|
+
# 批量操作任务列表分页
|
4122
|
+
class DescribeBatchOperateTaskPage < TencentCloud::Common::AbstractModel
|
4123
|
+
# @param PageCount: 总页码数
|
4124
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4125
|
+
# @type PageCount: Integer
|
4126
|
+
# @param Items: 内容
|
4127
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4128
|
+
# @type Items: Array
|
4129
|
+
# @param TotalCount: 总个数
|
4130
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4131
|
+
# @type TotalCount: Integer
|
4132
|
+
|
4133
|
+
attr_accessor :PageCount, :Items, :TotalCount
|
4134
|
+
|
4135
|
+
def initialize(pagecount=nil, items=nil, totalcount=nil)
|
4136
|
+
@PageCount = pagecount
|
4137
|
+
@Items = items
|
4138
|
+
@TotalCount = totalcount
|
4139
|
+
end
|
4140
|
+
|
4141
|
+
def deserialize(params)
|
4142
|
+
@PageCount = params['PageCount']
|
4143
|
+
unless params['Items'].nil?
|
4144
|
+
@Items = []
|
4145
|
+
params['Items'].each do |i|
|
4146
|
+
describebatchoperatetaskdto_tmp = DescribeBatchOperateTaskDTO.new
|
4147
|
+
describebatchoperatetaskdto_tmp.deserialize(i)
|
4148
|
+
@Items << describebatchoperatetaskdto_tmp
|
4149
|
+
end
|
4150
|
+
end
|
4151
|
+
@TotalCount = params['TotalCount']
|
4152
|
+
end
|
4153
|
+
end
|
4154
|
+
|
4155
|
+
# DescribeBatchOperateTask请求参数结构体
|
4156
|
+
class DescribeBatchOperateTaskRequest < TencentCloud::Common::AbstractModel
|
4157
|
+
# @param ProjectId: 项目Id
|
4158
|
+
# @type ProjectId: String
|
4159
|
+
# @param Page: 页码
|
4160
|
+
# @type Page: String
|
4161
|
+
# @param Size: 页号
|
4162
|
+
# @type Size: String
|
4163
|
+
# @param StatusList: 状态列表
|
4164
|
+
# 草稿:'NS','N','P','R'
|
4165
|
+
# 运行:''Y'
|
4166
|
+
# 停止:'F'
|
4167
|
+
# 冻结:'O'
|
4168
|
+
# 停止中:'T'
|
4169
|
+
# @type StatusList: Array
|
4170
|
+
# @param OwnerNameList: 责任人名列表
|
4171
|
+
# @type OwnerNameList: Array
|
4172
|
+
# @param WorkflowIdList: 工作流列表
|
4173
|
+
# @type WorkflowIdList: Array
|
4174
|
+
# @param TaskNameFilter: 任务名称搜索
|
4175
|
+
# @type TaskNameFilter: String
|
4176
|
+
# @param TaskTypeList: 任务类型列表
|
4177
|
+
# @type TaskTypeList: Array
|
4178
|
+
# @param FordIdList: 文件夹列表
|
4179
|
+
# @type FordIdList: Array
|
4180
|
+
# @param TaskIdFilter: 任务Id搜索
|
4181
|
+
# @type TaskIdFilter: String
|
4182
|
+
# @param OwnerNameFilter: 责任人搜索
|
4183
|
+
# @type OwnerNameFilter: String
|
4184
|
+
# @param SortItem: 排序字段:
|
4185
|
+
# UpdateTime
|
4186
|
+
# CreateTime
|
4187
|
+
# @type SortItem: String
|
4188
|
+
# @param SortType: asc:升序
|
4189
|
+
# desc:降序
|
4190
|
+
# @type SortType: String
|
4191
|
+
# @param DataEngineList: 引擎类型列表:三种
|
4192
|
+
# SparkJob
|
4193
|
+
# SparkSql
|
4194
|
+
# presto
|
4195
|
+
# @type DataEngineList: Array
|
4196
|
+
# @param UserId: 操作人名
|
4197
|
+
# @type UserId: String
|
4198
|
+
# @param OwnerId: 1
|
4199
|
+
# @type OwnerId: String
|
4200
|
+
# @param TenantId: 1
|
4201
|
+
# @type TenantId: String
|
4202
|
+
|
4203
|
+
attr_accessor :ProjectId, :Page, :Size, :StatusList, :OwnerNameList, :WorkflowIdList, :TaskNameFilter, :TaskTypeList, :FordIdList, :TaskIdFilter, :OwnerNameFilter, :SortItem, :SortType, :DataEngineList, :UserId, :OwnerId, :TenantId
|
4204
|
+
|
4205
|
+
def initialize(projectid=nil, page=nil, size=nil, statuslist=nil, ownernamelist=nil, workflowidlist=nil, tasknamefilter=nil, tasktypelist=nil, fordidlist=nil, taskidfilter=nil, ownernamefilter=nil, sortitem=nil, sorttype=nil, dataenginelist=nil, userid=nil, ownerid=nil, tenantid=nil)
|
4206
|
+
@ProjectId = projectid
|
4207
|
+
@Page = page
|
4208
|
+
@Size = size
|
4209
|
+
@StatusList = statuslist
|
4210
|
+
@OwnerNameList = ownernamelist
|
4211
|
+
@WorkflowIdList = workflowidlist
|
4212
|
+
@TaskNameFilter = tasknamefilter
|
4213
|
+
@TaskTypeList = tasktypelist
|
4214
|
+
@FordIdList = fordidlist
|
4215
|
+
@TaskIdFilter = taskidfilter
|
4216
|
+
@OwnerNameFilter = ownernamefilter
|
4217
|
+
@SortItem = sortitem
|
4218
|
+
@SortType = sorttype
|
4219
|
+
@DataEngineList = dataenginelist
|
4220
|
+
@UserId = userid
|
4221
|
+
@OwnerId = ownerid
|
4222
|
+
@TenantId = tenantid
|
4223
|
+
end
|
4224
|
+
|
4225
|
+
def deserialize(params)
|
4226
|
+
@ProjectId = params['ProjectId']
|
4227
|
+
@Page = params['Page']
|
4228
|
+
@Size = params['Size']
|
4229
|
+
@StatusList = params['StatusList']
|
4230
|
+
@OwnerNameList = params['OwnerNameList']
|
4231
|
+
@WorkflowIdList = params['WorkflowIdList']
|
4232
|
+
@TaskNameFilter = params['TaskNameFilter']
|
4233
|
+
@TaskTypeList = params['TaskTypeList']
|
4234
|
+
@FordIdList = params['FordIdList']
|
4235
|
+
@TaskIdFilter = params['TaskIdFilter']
|
4236
|
+
@OwnerNameFilter = params['OwnerNameFilter']
|
4237
|
+
@SortItem = params['SortItem']
|
4238
|
+
@SortType = params['SortType']
|
4239
|
+
@DataEngineList = params['DataEngineList']
|
4240
|
+
@UserId = params['UserId']
|
4241
|
+
@OwnerId = params['OwnerId']
|
4242
|
+
@TenantId = params['TenantId']
|
4243
|
+
end
|
4244
|
+
end
|
4245
|
+
|
4246
|
+
# DescribeBatchOperateTask返回参数结构体
|
4247
|
+
class DescribeBatchOperateTaskResponse < TencentCloud::Common::AbstractModel
|
4248
|
+
# @param Data: 无
|
4249
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4250
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.DescribeBatchOperateTaskPage`
|
4251
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4252
|
+
# @type RequestId: String
|
4253
|
+
|
4254
|
+
attr_accessor :Data, :RequestId
|
4255
|
+
|
4256
|
+
def initialize(data=nil, requestid=nil)
|
4257
|
+
@Data = data
|
4258
|
+
@RequestId = requestid
|
4259
|
+
end
|
4260
|
+
|
4261
|
+
def deserialize(params)
|
4262
|
+
unless params['Data'].nil?
|
4263
|
+
@Data = DescribeBatchOperateTaskPage.new
|
4264
|
+
@Data.deserialize(params['Data'])
|
4265
|
+
end
|
4266
|
+
@RequestId = params['RequestId']
|
4267
|
+
end
|
4268
|
+
end
|
4269
|
+
|
4038
4270
|
# DescribeClusterNamespaceList请求参数结构体
|
4039
4271
|
class DescribeClusterNamespaceListRequest < TencentCloud::Common::AbstractModel
|
4040
4272
|
# @param ClusterId: 集群ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-wedata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.608
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|