tencentcloud-sdk-omics 3.0.566 → 3.0.568
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/v20221128/client.rb +72 -0
- data/lib/v20221128/models.rb +286 -2
- 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: 02baabeb657e11cb6089dd54750ac87d8508a6b0
|
4
|
+
data.tar.gz: 646650cc8a648e59db2030bfe685d3c9ae0f86c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 411c07a5c7cbe41f00d16100aa20f0090dc1e070fe61f4465bfdbd408d557ed20f3ed47e8f2916894cc7e8d40ef53a9ce969b487aece0ac8f59c284f78e47141
|
7
|
+
data.tar.gz: c3f019b82fd0721f1c1c29ac0fd5c1aa014c428ef690acedb519c7bdcc3da72dd04c3591982c9607020c32f26db0262cd0c3e4b95f9e96490bbf7a46138a188b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.568
|
data/lib/v20221128/client.rb
CHANGED
@@ -149,6 +149,54 @@ module TencentCloud
|
|
149
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
150
|
end
|
151
151
|
|
152
|
+
# 查询表格。
|
153
|
+
|
154
|
+
# @param request: Request instance for DescribeTables.
|
155
|
+
# @type request: :class:`Tencentcloud::omics::V20221128::DescribeTablesRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::omics::V20221128::DescribeTablesResponse`
|
157
|
+
def DescribeTables(request)
|
158
|
+
body = send_request('DescribeTables', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = DescribeTablesResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
176
|
+
# 查询表格行数据。
|
177
|
+
|
178
|
+
# @param request: Request instance for DescribeTablesRows.
|
179
|
+
# @type request: :class:`Tencentcloud::omics::V20221128::DescribeTablesRowsRequest`
|
180
|
+
# @rtype: :class:`Tencentcloud::omics::V20221128::DescribeTablesRowsResponse`
|
181
|
+
def DescribeTablesRows(request)
|
182
|
+
body = send_request('DescribeTablesRows', request.serialize)
|
183
|
+
response = JSON.parse(body)
|
184
|
+
if response['Response'].key?('Error') == false
|
185
|
+
model = DescribeTablesRowsResponse.new
|
186
|
+
model.deserialize(response['Response'])
|
187
|
+
model
|
188
|
+
else
|
189
|
+
code = response['Response']['Error']['Code']
|
190
|
+
message = response['Response']['Error']['Message']
|
191
|
+
reqid = response['Response']['RequestId']
|
192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
193
|
+
end
|
194
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
195
|
+
raise e
|
196
|
+
rescue StandardError => e
|
197
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
|
+
end
|
199
|
+
|
152
200
|
# 查询作业详情。
|
153
201
|
|
154
202
|
# @param request: Request instance for GetRunCalls.
|
@@ -221,6 +269,30 @@ module TencentCloud
|
|
221
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
270
|
end
|
223
271
|
|
272
|
+
# 重试任务。
|
273
|
+
|
274
|
+
# @param request: Request instance for RetryRuns.
|
275
|
+
# @type request: :class:`Tencentcloud::omics::V20221128::RetryRunsRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::omics::V20221128::RetryRunsResponse`
|
277
|
+
def RetryRuns(request)
|
278
|
+
body = send_request('RetryRuns', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = RetryRunsResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
224
296
|
# 运行应用。
|
225
297
|
|
226
298
|
# @param request: Request instance for RunApplication.
|
data/lib/v20221128/models.rb
CHANGED
@@ -365,6 +365,146 @@ module TencentCloud
|
|
365
365
|
end
|
366
366
|
end
|
367
367
|
|
368
|
+
# DescribeTables请求参数结构体
|
369
|
+
class DescribeTablesRequest < TencentCloud::Common::AbstractModel
|
370
|
+
# @param ProjectId: 项目ID。
|
371
|
+
# @type ProjectId: String
|
372
|
+
# @param Limit: 返回数量,默认为10,最大值为100。
|
373
|
+
# @type Limit: Integer
|
374
|
+
# @param Offset: 偏移量,默认为0。
|
375
|
+
# @type Offset: Integer
|
376
|
+
# @param Filters: 过滤器,支持过滤字段:
|
377
|
+
# - Name:表格名称
|
378
|
+
# - TableId:表格ID
|
379
|
+
# @type Filters: Array
|
380
|
+
|
381
|
+
attr_accessor :ProjectId, :Limit, :Offset, :Filters
|
382
|
+
|
383
|
+
def initialize(projectid=nil, limit=nil, offset=nil, filters=nil)
|
384
|
+
@ProjectId = projectid
|
385
|
+
@Limit = limit
|
386
|
+
@Offset = offset
|
387
|
+
@Filters = filters
|
388
|
+
end
|
389
|
+
|
390
|
+
def deserialize(params)
|
391
|
+
@ProjectId = params['ProjectId']
|
392
|
+
@Limit = params['Limit']
|
393
|
+
@Offset = params['Offset']
|
394
|
+
unless params['Filters'].nil?
|
395
|
+
@Filters = []
|
396
|
+
params['Filters'].each do |i|
|
397
|
+
filter_tmp = Filter.new
|
398
|
+
filter_tmp.deserialize(i)
|
399
|
+
@Filters << filter_tmp
|
400
|
+
end
|
401
|
+
end
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
# DescribeTables返回参数结构体
|
406
|
+
class DescribeTablesResponse < TencentCloud::Common::AbstractModel
|
407
|
+
# @param TotalCount: 结果总数。
|
408
|
+
# @type TotalCount: Integer
|
409
|
+
# @param Tables: 表格列表。
|
410
|
+
# @type Tables: Array
|
411
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
412
|
+
# @type RequestId: String
|
413
|
+
|
414
|
+
attr_accessor :TotalCount, :Tables, :RequestId
|
415
|
+
|
416
|
+
def initialize(totalcount=nil, tables=nil, requestid=nil)
|
417
|
+
@TotalCount = totalcount
|
418
|
+
@Tables = tables
|
419
|
+
@RequestId = requestid
|
420
|
+
end
|
421
|
+
|
422
|
+
def deserialize(params)
|
423
|
+
@TotalCount = params['TotalCount']
|
424
|
+
unless params['Tables'].nil?
|
425
|
+
@Tables = []
|
426
|
+
params['Tables'].each do |i|
|
427
|
+
table_tmp = Table.new
|
428
|
+
table_tmp.deserialize(i)
|
429
|
+
@Tables << table_tmp
|
430
|
+
end
|
431
|
+
end
|
432
|
+
@RequestId = params['RequestId']
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
# DescribeTablesRows请求参数结构体
|
437
|
+
class DescribeTablesRowsRequest < TencentCloud::Common::AbstractModel
|
438
|
+
# @param ProjectId: 项目ID。
|
439
|
+
# @type ProjectId: String
|
440
|
+
# @param TableId: 表格ID。
|
441
|
+
# @type TableId: String
|
442
|
+
# @param Limit: 返回数量,默认为10,最大值为100。
|
443
|
+
# @type Limit: Integer
|
444
|
+
# @param Offset: 偏移量,默认为0。
|
445
|
+
# @type Offset: Integer
|
446
|
+
# @param Filters: 过滤器,支持过滤字段:
|
447
|
+
# - Tr:表格数据,支持模糊查询
|
448
|
+
# - TableRowUuid:表格行UUID
|
449
|
+
# @type Filters: Array
|
450
|
+
|
451
|
+
attr_accessor :ProjectId, :TableId, :Limit, :Offset, :Filters
|
452
|
+
|
453
|
+
def initialize(projectid=nil, tableid=nil, limit=nil, offset=nil, filters=nil)
|
454
|
+
@ProjectId = projectid
|
455
|
+
@TableId = tableid
|
456
|
+
@Limit = limit
|
457
|
+
@Offset = offset
|
458
|
+
@Filters = filters
|
459
|
+
end
|
460
|
+
|
461
|
+
def deserialize(params)
|
462
|
+
@ProjectId = params['ProjectId']
|
463
|
+
@TableId = params['TableId']
|
464
|
+
@Limit = params['Limit']
|
465
|
+
@Offset = params['Offset']
|
466
|
+
unless params['Filters'].nil?
|
467
|
+
@Filters = []
|
468
|
+
params['Filters'].each do |i|
|
469
|
+
filter_tmp = Filter.new
|
470
|
+
filter_tmp.deserialize(i)
|
471
|
+
@Filters << filter_tmp
|
472
|
+
end
|
473
|
+
end
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
# DescribeTablesRows返回参数结构体
|
478
|
+
class DescribeTablesRowsResponse < TencentCloud::Common::AbstractModel
|
479
|
+
# @param TotalCount: 结果总数。
|
480
|
+
# @type TotalCount: Integer
|
481
|
+
# @param Rows: 表格行列表。
|
482
|
+
# @type Rows: Array
|
483
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
484
|
+
# @type RequestId: String
|
485
|
+
|
486
|
+
attr_accessor :TotalCount, :Rows, :RequestId
|
487
|
+
|
488
|
+
def initialize(totalcount=nil, rows=nil, requestid=nil)
|
489
|
+
@TotalCount = totalcount
|
490
|
+
@Rows = rows
|
491
|
+
@RequestId = requestid
|
492
|
+
end
|
493
|
+
|
494
|
+
def deserialize(params)
|
495
|
+
@TotalCount = params['TotalCount']
|
496
|
+
unless params['Rows'].nil?
|
497
|
+
@Rows = []
|
498
|
+
params['Rows'].each do |i|
|
499
|
+
tablerow_tmp = TableRow.new
|
500
|
+
tablerow_tmp.deserialize(i)
|
501
|
+
@Rows << tablerow_tmp
|
502
|
+
end
|
503
|
+
end
|
504
|
+
@RequestId = params['RequestId']
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
368
508
|
# 组学平台环境详情。
|
369
509
|
class Environment < TencentCloud::Common::AbstractModel
|
370
510
|
# @param EnvironmentId: 环境ID。
|
@@ -734,6 +874,42 @@ module TencentCloud
|
|
734
874
|
end
|
735
875
|
end
|
736
876
|
|
877
|
+
# RetryRuns请求参数结构体
|
878
|
+
class RetryRunsRequest < TencentCloud::Common::AbstractModel
|
879
|
+
# @param ProjectId: 关联项目ID。
|
880
|
+
# @type ProjectId: String
|
881
|
+
# @param RunUuids: 任务UUID。
|
882
|
+
# @type RunUuids: Array
|
883
|
+
|
884
|
+
attr_accessor :ProjectId, :RunUuids
|
885
|
+
|
886
|
+
def initialize(projectid=nil, runuuids=nil)
|
887
|
+
@ProjectId = projectid
|
888
|
+
@RunUuids = runuuids
|
889
|
+
end
|
890
|
+
|
891
|
+
def deserialize(params)
|
892
|
+
@ProjectId = params['ProjectId']
|
893
|
+
@RunUuids = params['RunUuids']
|
894
|
+
end
|
895
|
+
end
|
896
|
+
|
897
|
+
# RetryRuns返回参数结构体
|
898
|
+
class RetryRunsResponse < TencentCloud::Common::AbstractModel
|
899
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
900
|
+
# @type RequestId: String
|
901
|
+
|
902
|
+
attr_accessor :RequestId
|
903
|
+
|
904
|
+
def initialize(requestid=nil)
|
905
|
+
@RequestId = requestid
|
906
|
+
end
|
907
|
+
|
908
|
+
def deserialize(params)
|
909
|
+
@RequestId = params['RequestId']
|
910
|
+
end
|
911
|
+
end
|
912
|
+
|
737
913
|
# 任务。
|
738
914
|
class Run < TencentCloud::Common::AbstractModel
|
739
915
|
# @param RunUuid: 任务UUID。
|
@@ -1118,19 +1294,29 @@ module TencentCloud
|
|
1118
1294
|
# @type UseCallCache: Boolean
|
1119
1295
|
# @param UseErrorOnHold: 是否使用错误挂起功能。
|
1120
1296
|
# @type UseErrorOnHold: Boolean
|
1297
|
+
# @param FinalWorkflowOutputsDir: 输出归档COS路径。
|
1298
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1299
|
+
# @type FinalWorkflowOutputsDir: String
|
1300
|
+
# @param UseRelativeOutputPaths: 是否使用相对目录归档输出。
|
1301
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1302
|
+
# @type UseRelativeOutputPaths: Boolean
|
1121
1303
|
|
1122
|
-
attr_accessor :FailureMode, :UseCallCache, :UseErrorOnHold
|
1304
|
+
attr_accessor :FailureMode, :UseCallCache, :UseErrorOnHold, :FinalWorkflowOutputsDir, :UseRelativeOutputPaths
|
1123
1305
|
|
1124
|
-
def initialize(failuremode=nil, usecallcache=nil, useerroronhold=nil)
|
1306
|
+
def initialize(failuremode=nil, usecallcache=nil, useerroronhold=nil, finalworkflowoutputsdir=nil, userelativeoutputpaths=nil)
|
1125
1307
|
@FailureMode = failuremode
|
1126
1308
|
@UseCallCache = usecallcache
|
1127
1309
|
@UseErrorOnHold = useerroronhold
|
1310
|
+
@FinalWorkflowOutputsDir = finalworkflowoutputsdir
|
1311
|
+
@UseRelativeOutputPaths = userelativeoutputpaths
|
1128
1312
|
end
|
1129
1313
|
|
1130
1314
|
def deserialize(params)
|
1131
1315
|
@FailureMode = params['FailureMode']
|
1132
1316
|
@UseCallCache = params['UseCallCache']
|
1133
1317
|
@UseErrorOnHold = params['UseErrorOnHold']
|
1318
|
+
@FinalWorkflowOutputsDir = params['FinalWorkflowOutputsDir']
|
1319
|
+
@UseRelativeOutputPaths = params['UseRelativeOutputPaths']
|
1134
1320
|
end
|
1135
1321
|
end
|
1136
1322
|
|
@@ -1184,6 +1370,104 @@ module TencentCloud
|
|
1184
1370
|
end
|
1185
1371
|
end
|
1186
1372
|
|
1373
|
+
# 表格。
|
1374
|
+
class Table < TencentCloud::Common::AbstractModel
|
1375
|
+
# @param TableId: 表格ID
|
1376
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1377
|
+
# @type TableId: String
|
1378
|
+
# @param ProjectId: 关联项目ID
|
1379
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1380
|
+
# @type ProjectId: String
|
1381
|
+
# @param Name: 表格名称
|
1382
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1383
|
+
# @type Name: String
|
1384
|
+
# @param Description: 表格描述
|
1385
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1386
|
+
# @type Description: String
|
1387
|
+
# @param Columns: 表格列
|
1388
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1389
|
+
# @type Columns: Array
|
1390
|
+
# @param CreateTime: 创建时间
|
1391
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1392
|
+
# @type CreateTime: String
|
1393
|
+
# @param Creator: 创建人
|
1394
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1395
|
+
# @type Creator: String
|
1396
|
+
|
1397
|
+
attr_accessor :TableId, :ProjectId, :Name, :Description, :Columns, :CreateTime, :Creator
|
1398
|
+
|
1399
|
+
def initialize(tableid=nil, projectid=nil, name=nil, description=nil, columns=nil, createtime=nil, creator=nil)
|
1400
|
+
@TableId = tableid
|
1401
|
+
@ProjectId = projectid
|
1402
|
+
@Name = name
|
1403
|
+
@Description = description
|
1404
|
+
@Columns = columns
|
1405
|
+
@CreateTime = createtime
|
1406
|
+
@Creator = creator
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
def deserialize(params)
|
1410
|
+
@TableId = params['TableId']
|
1411
|
+
@ProjectId = params['ProjectId']
|
1412
|
+
@Name = params['Name']
|
1413
|
+
@Description = params['Description']
|
1414
|
+
unless params['Columns'].nil?
|
1415
|
+
@Columns = []
|
1416
|
+
params['Columns'].each do |i|
|
1417
|
+
tablecolumn_tmp = TableColumn.new
|
1418
|
+
tablecolumn_tmp.deserialize(i)
|
1419
|
+
@Columns << tablecolumn_tmp
|
1420
|
+
end
|
1421
|
+
end
|
1422
|
+
@CreateTime = params['CreateTime']
|
1423
|
+
@Creator = params['Creator']
|
1424
|
+
end
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
# 表格列。
|
1428
|
+
class TableColumn < TencentCloud::Common::AbstractModel
|
1429
|
+
# @param Header: 列名称
|
1430
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1431
|
+
# @type Header: String
|
1432
|
+
# @param DataType: 列数据类型
|
1433
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1434
|
+
# @type DataType: String
|
1435
|
+
|
1436
|
+
attr_accessor :Header, :DataType
|
1437
|
+
|
1438
|
+
def initialize(header=nil, datatype=nil)
|
1439
|
+
@Header = header
|
1440
|
+
@DataType = datatype
|
1441
|
+
end
|
1442
|
+
|
1443
|
+
def deserialize(params)
|
1444
|
+
@Header = params['Header']
|
1445
|
+
@DataType = params['DataType']
|
1446
|
+
end
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
# 表格行。
|
1450
|
+
class TableRow < TencentCloud::Common::AbstractModel
|
1451
|
+
# @param TableRowUuid: 表格行UUID。
|
1452
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1453
|
+
# @type TableRowUuid: String
|
1454
|
+
# @param Content: 表格行内容。
|
1455
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1456
|
+
# @type Content: Array
|
1457
|
+
|
1458
|
+
attr_accessor :TableRowUuid, :Content
|
1459
|
+
|
1460
|
+
def initialize(tablerowuuid=nil, content=nil)
|
1461
|
+
@TableRowUuid = tablerowuuid
|
1462
|
+
@Content = content
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
def deserialize(params)
|
1466
|
+
@TableRowUuid = params['TableRowUuid']
|
1467
|
+
@Content = params['Content']
|
1468
|
+
end
|
1469
|
+
end
|
1470
|
+
|
1187
1471
|
# 私有网络配置。
|
1188
1472
|
class VPCOption < TencentCloud::Common::AbstractModel
|
1189
1473
|
# @param SubnetZone: 子网可用区。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-omics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.568
|
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-05-
|
11
|
+
date: 2023-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|