tencentcloud-sdk-omics 3.0.686 → 3.0.688
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 +214 -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: 081232eb60d631e1c21fbf06ccfc725eac3cdbcb
|
4
|
+
data.tar.gz: 0c25845195332ef533d018fa9a8b48e65429d43e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb02e1c54dcceb8f3490b2db72d6e8733fb857b22b9a81746dc05a2d78b60a949333c37694c3771e706f93df90cee28e75c71c32cd34cb8a9b8aba516d5d350e
|
7
|
+
data.tar.gz: f4d7da0636aab956ced8473624fe52ff4ef6e4233fa66fd1251faaf8842c234af73a6e5e4dc034e966ffbde371cb41359cd494bf023eb7c294a46768b9abfc55
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.688
|
data/lib/v20221128/client.rb
CHANGED
@@ -221,6 +221,30 @@ module TencentCloud
|
|
221
221
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
222
|
end
|
223
223
|
|
224
|
+
# 查询任务详情文件。
|
225
|
+
|
226
|
+
# @param request: Request instance for GetRunMetadataFile.
|
227
|
+
# @type request: :class:`Tencentcloud::omics::V20221128::GetRunMetadataFileRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::omics::V20221128::GetRunMetadataFileResponse`
|
229
|
+
def GetRunMetadataFile(request)
|
230
|
+
body = send_request('GetRunMetadataFile', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = GetRunMetadataFileResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
224
248
|
# 查询任务详情。
|
225
249
|
|
226
250
|
# @param request: Request instance for GetRunStatus.
|
@@ -317,6 +341,54 @@ module TencentCloud
|
|
317
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
342
|
end
|
319
343
|
|
344
|
+
# 运行工作流。
|
345
|
+
|
346
|
+
# @param request: Request instance for RunWorkflow.
|
347
|
+
# @type request: :class:`Tencentcloud::omics::V20221128::RunWorkflowRequest`
|
348
|
+
# @rtype: :class:`Tencentcloud::omics::V20221128::RunWorkflowResponse`
|
349
|
+
def RunWorkflow(request)
|
350
|
+
body = send_request('RunWorkflow', request.serialize)
|
351
|
+
response = JSON.parse(body)
|
352
|
+
if response['Response'].key?('Error') == false
|
353
|
+
model = RunWorkflowResponse.new
|
354
|
+
model.deserialize(response['Response'])
|
355
|
+
model
|
356
|
+
else
|
357
|
+
code = response['Response']['Error']['Code']
|
358
|
+
message = response['Response']['Error']['Message']
|
359
|
+
reqid = response['Response']['RequestId']
|
360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
361
|
+
end
|
362
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
363
|
+
raise e
|
364
|
+
rescue StandardError => e
|
365
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
|
+
end
|
367
|
+
|
368
|
+
# 终止任务批次。
|
369
|
+
|
370
|
+
# @param request: Request instance for TerminateRunGroup.
|
371
|
+
# @type request: :class:`Tencentcloud::omics::V20221128::TerminateRunGroupRequest`
|
372
|
+
# @rtype: :class:`Tencentcloud::omics::V20221128::TerminateRunGroupResponse`
|
373
|
+
def TerminateRunGroup(request)
|
374
|
+
body = send_request('TerminateRunGroup', request.serialize)
|
375
|
+
response = JSON.parse(body)
|
376
|
+
if response['Response'].key?('Error') == false
|
377
|
+
model = TerminateRunGroupResponse.new
|
378
|
+
model.deserialize(response['Response'])
|
379
|
+
model
|
380
|
+
else
|
381
|
+
code = response['Response']['Error']['Code']
|
382
|
+
message = response['Response']['Error']['Message']
|
383
|
+
reqid = response['Response']['RequestId']
|
384
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
385
|
+
end
|
386
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
387
|
+
raise e
|
388
|
+
rescue StandardError => e
|
389
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
|
+
end
|
391
|
+
|
320
392
|
|
321
393
|
end
|
322
394
|
end
|
data/lib/v20221128/models.rb
CHANGED
@@ -313,6 +313,7 @@ module TencentCloud
|
|
313
313
|
# DescribeRunGroups请求参数结构体
|
314
314
|
class DescribeRunGroupsRequest < TencentCloud::Common::AbstractModel
|
315
315
|
# @param ProjectId: 项目ID。
|
316
|
+
# (不填使用指定地域下的默认项目)
|
316
317
|
# @type ProjectId: String
|
317
318
|
# @param Limit: 返回数量,默认为10,最大值为100。
|
318
319
|
# @type Limit: Integer
|
@@ -382,6 +383,7 @@ module TencentCloud
|
|
382
383
|
# DescribeRuns请求参数结构体
|
383
384
|
class DescribeRunsRequest < TencentCloud::Common::AbstractModel
|
384
385
|
# @param ProjectId: 项目ID。
|
386
|
+
# (不填使用指定地域下的默认项目)
|
385
387
|
# @type ProjectId: String
|
386
388
|
# @param Limit: 返回数量,默认为10,最大值为100。
|
387
389
|
# @type Limit: Integer
|
@@ -763,6 +765,7 @@ module TencentCloud
|
|
763
765
|
# @param Path: 作业路径
|
764
766
|
# @type Path: String
|
765
767
|
# @param ProjectId: 项目ID。
|
768
|
+
# (不填使用指定地域下的默认项目)
|
766
769
|
# @type ProjectId: String
|
767
770
|
|
768
771
|
attr_accessor :RunUuid, :Path, :ProjectId
|
@@ -807,11 +810,66 @@ module TencentCloud
|
|
807
810
|
end
|
808
811
|
end
|
809
812
|
|
813
|
+
# GetRunMetadataFile请求参数结构体
|
814
|
+
class GetRunMetadataFileRequest < TencentCloud::Common::AbstractModel
|
815
|
+
# @param RunUuid: 任务Uuid。
|
816
|
+
# @type RunUuid: String
|
817
|
+
# @param Key: 需要获取的文件名。
|
818
|
+
|
819
|
+
# 默认支持以下文件:
|
820
|
+
# - nextflow.log
|
821
|
+
|
822
|
+
# 提交时NFOption中report指定为true时,额外支持以下文件:
|
823
|
+
# - execution_report.html
|
824
|
+
# - execution_timeline.html
|
825
|
+
# - execution_trace.txt
|
826
|
+
# - pipeline_dag.html
|
827
|
+
# @type Key: String
|
828
|
+
# @param ProjectId: 项目ID。
|
829
|
+
# (不填使用指定地域下的默认项目)
|
830
|
+
# @type ProjectId: String
|
831
|
+
|
832
|
+
attr_accessor :RunUuid, :Key, :ProjectId
|
833
|
+
|
834
|
+
def initialize(runuuid=nil, key=nil, projectid=nil)
|
835
|
+
@RunUuid = runuuid
|
836
|
+
@Key = key
|
837
|
+
@ProjectId = projectid
|
838
|
+
end
|
839
|
+
|
840
|
+
def deserialize(params)
|
841
|
+
@RunUuid = params['RunUuid']
|
842
|
+
@Key = params['Key']
|
843
|
+
@ProjectId = params['ProjectId']
|
844
|
+
end
|
845
|
+
end
|
846
|
+
|
847
|
+
# GetRunMetadataFile返回参数结构体
|
848
|
+
class GetRunMetadataFileResponse < TencentCloud::Common::AbstractModel
|
849
|
+
# @param CosSignedUrl: 文件预签名链接,一分钟内有效。
|
850
|
+
# @type CosSignedUrl: String
|
851
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
852
|
+
# @type RequestId: String
|
853
|
+
|
854
|
+
attr_accessor :CosSignedUrl, :RequestId
|
855
|
+
|
856
|
+
def initialize(cossignedurl=nil, requestid=nil)
|
857
|
+
@CosSignedUrl = cossignedurl
|
858
|
+
@RequestId = requestid
|
859
|
+
end
|
860
|
+
|
861
|
+
def deserialize(params)
|
862
|
+
@CosSignedUrl = params['CosSignedUrl']
|
863
|
+
@RequestId = params['RequestId']
|
864
|
+
end
|
865
|
+
end
|
866
|
+
|
810
867
|
# GetRunStatus请求参数结构体
|
811
868
|
class GetRunStatusRequest < TencentCloud::Common::AbstractModel
|
812
869
|
# @param RunUuid: 任务Uuid。
|
813
870
|
# @type RunUuid: String
|
814
871
|
# @param ProjectId: 项目ID。
|
872
|
+
# (不填使用指定地域下的默认项目)
|
815
873
|
# @type ProjectId: String
|
816
874
|
|
817
875
|
attr_accessor :RunUuid, :ProjectId
|
@@ -850,6 +908,38 @@ module TencentCloud
|
|
850
908
|
end
|
851
909
|
end
|
852
910
|
|
911
|
+
# Git信息。
|
912
|
+
class GitInfo < TencentCloud::Common::AbstractModel
|
913
|
+
# @param GitHttpPath: Git地址。
|
914
|
+
# @type GitHttpPath: String
|
915
|
+
# @param GitUserName: Git用户名。
|
916
|
+
# @type GitUserName: String
|
917
|
+
# @param GitTokenOrPassword: Git密码或者Token。
|
918
|
+
# @type GitTokenOrPassword: String
|
919
|
+
# @param Branch: 分支。
|
920
|
+
# @type Branch: String
|
921
|
+
# @param Tag: 标签。
|
922
|
+
# @type Tag: String
|
923
|
+
|
924
|
+
attr_accessor :GitHttpPath, :GitUserName, :GitTokenOrPassword, :Branch, :Tag
|
925
|
+
|
926
|
+
def initialize(githttppath=nil, gitusername=nil, gittokenorpassword=nil, branch=nil, tag=nil)
|
927
|
+
@GitHttpPath = githttppath
|
928
|
+
@GitUserName = gitusername
|
929
|
+
@GitTokenOrPassword = gittokenorpassword
|
930
|
+
@Branch = branch
|
931
|
+
@Tag = tag
|
932
|
+
end
|
933
|
+
|
934
|
+
def deserialize(params)
|
935
|
+
@GitHttpPath = params['GitHttpPath']
|
936
|
+
@GitUserName = params['GitUserName']
|
937
|
+
@GitTokenOrPassword = params['GitTokenOrPassword']
|
938
|
+
@Branch = params['Branch']
|
939
|
+
@Tag = params['Tag']
|
940
|
+
end
|
941
|
+
end
|
942
|
+
|
853
943
|
# ImportTableFile请求参数结构体
|
854
944
|
class ImportTableFileRequest < TencentCloud::Common::AbstractModel
|
855
945
|
# @param ProjectId: 表格关联的项目ID。
|
@@ -1066,6 +1156,9 @@ module TencentCloud
|
|
1066
1156
|
# @type UpdateTime: String
|
1067
1157
|
|
1068
1158
|
attr_accessor :RunUuid, :ProjectId, :ApplicationId, :RunGroupId, :EnvironmentId, :UserDefinedId, :TableId, :TableRowUuid, :Status, :Input, :Option, :ExecutionTime, :Cache, :ErrorMessage, :CreateTime, :UpdateTime
|
1159
|
+
extend Gem::Deprecate
|
1160
|
+
deprecate :Option, :none, 2023, 10
|
1161
|
+
deprecate :Option=, :none, 2023, 10
|
1069
1162
|
|
1070
1163
|
def initialize(runuuid=nil, projectid=nil, applicationid=nil, rungroupid=nil, environmentid=nil, userdefinedid=nil, tableid=nil, tablerowuuid=nil, status=nil, input=nil, option=nil, executiontime=nil, cache=nil, errormessage=nil, createtime=nil, updatetime=nil)
|
1071
1164
|
@RunUuid = runuuid
|
@@ -1504,6 +1597,90 @@ module TencentCloud
|
|
1504
1597
|
end
|
1505
1598
|
end
|
1506
1599
|
|
1600
|
+
# RunWorkflow请求参数结构体
|
1601
|
+
class RunWorkflowRequest < TencentCloud::Common::AbstractModel
|
1602
|
+
# @param Name: 任务批次名称。
|
1603
|
+
# @type Name: String
|
1604
|
+
# @param EnvironmentId: 投递环境ID。
|
1605
|
+
# @type EnvironmentId: String
|
1606
|
+
# @param GitSource: 工作流Git仓库信息。
|
1607
|
+
# @type GitSource: :class:`Tencentcloud::Omics.v20221128.models.GitInfo`
|
1608
|
+
# @param Type: 工作流类型。
|
1609
|
+
|
1610
|
+
# 支持类型:
|
1611
|
+
# - NEXTFLOW
|
1612
|
+
# @type Type: String
|
1613
|
+
# @param NFOption: Nextflow选项。
|
1614
|
+
# @type NFOption: :class:`Tencentcloud::Omics.v20221128.models.NFOption`
|
1615
|
+
# @param ProjectId: 项目ID。
|
1616
|
+
# (不填使用指定地域下的默认项目)
|
1617
|
+
# @type ProjectId: String
|
1618
|
+
# @param Description: 任务批次描述。
|
1619
|
+
# @type Description: String
|
1620
|
+
# @param InputBase64: 任务输入JSON。需要进行base64编码。
|
1621
|
+
# (InputBase64和InputCosUri必选其一)
|
1622
|
+
# @type InputBase64: String
|
1623
|
+
# @param InputCosUri: 任务输入COS地址。
|
1624
|
+
# (InputBase64和InputCosUri必选其一)
|
1625
|
+
# @type InputCosUri: String
|
1626
|
+
# @param CacheClearDelay: 任务缓存清理时间。不填表示不清理。
|
1627
|
+
# @type CacheClearDelay: Integer
|
1628
|
+
|
1629
|
+
attr_accessor :Name, :EnvironmentId, :GitSource, :Type, :NFOption, :ProjectId, :Description, :InputBase64, :InputCosUri, :CacheClearDelay
|
1630
|
+
|
1631
|
+
def initialize(name=nil, environmentid=nil, gitsource=nil, type=nil, nfoption=nil, projectid=nil, description=nil, inputbase64=nil, inputcosuri=nil, cachecleardelay=nil)
|
1632
|
+
@Name = name
|
1633
|
+
@EnvironmentId = environmentid
|
1634
|
+
@GitSource = gitsource
|
1635
|
+
@Type = type
|
1636
|
+
@NFOption = nfoption
|
1637
|
+
@ProjectId = projectid
|
1638
|
+
@Description = description
|
1639
|
+
@InputBase64 = inputbase64
|
1640
|
+
@InputCosUri = inputcosuri
|
1641
|
+
@CacheClearDelay = cachecleardelay
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
def deserialize(params)
|
1645
|
+
@Name = params['Name']
|
1646
|
+
@EnvironmentId = params['EnvironmentId']
|
1647
|
+
unless params['GitSource'].nil?
|
1648
|
+
@GitSource = GitInfo.new
|
1649
|
+
@GitSource.deserialize(params['GitSource'])
|
1650
|
+
end
|
1651
|
+
@Type = params['Type']
|
1652
|
+
unless params['NFOption'].nil?
|
1653
|
+
@NFOption = NFOption.new
|
1654
|
+
@NFOption.deserialize(params['NFOption'])
|
1655
|
+
end
|
1656
|
+
@ProjectId = params['ProjectId']
|
1657
|
+
@Description = params['Description']
|
1658
|
+
@InputBase64 = params['InputBase64']
|
1659
|
+
@InputCosUri = params['InputCosUri']
|
1660
|
+
@CacheClearDelay = params['CacheClearDelay']
|
1661
|
+
end
|
1662
|
+
end
|
1663
|
+
|
1664
|
+
# RunWorkflow返回参数结构体
|
1665
|
+
class RunWorkflowResponse < TencentCloud::Common::AbstractModel
|
1666
|
+
# @param RunGroupId: 任务批次ID。
|
1667
|
+
# @type RunGroupId: String
|
1668
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1669
|
+
# @type RequestId: String
|
1670
|
+
|
1671
|
+
attr_accessor :RunGroupId, :RequestId
|
1672
|
+
|
1673
|
+
def initialize(rungroupid=nil, requestid=nil)
|
1674
|
+
@RunGroupId = rungroupid
|
1675
|
+
@RequestId = requestid
|
1676
|
+
end
|
1677
|
+
|
1678
|
+
def deserialize(params)
|
1679
|
+
@RunGroupId = params['RunGroupId']
|
1680
|
+
@RequestId = params['RequestId']
|
1681
|
+
end
|
1682
|
+
end
|
1683
|
+
|
1507
1684
|
# 文件存储配置。
|
1508
1685
|
class StorageOption < TencentCloud::Common::AbstractModel
|
1509
1686
|
# @param StorageType: 文件存储类型,取值范围:
|
@@ -1632,6 +1809,43 @@ module TencentCloud
|
|
1632
1809
|
end
|
1633
1810
|
end
|
1634
1811
|
|
1812
|
+
# TerminateRunGroup请求参数结构体
|
1813
|
+
class TerminateRunGroupRequest < TencentCloud::Common::AbstractModel
|
1814
|
+
# @param RunGroupId: 任务批次ID。
|
1815
|
+
# @type RunGroupId: String
|
1816
|
+
# @param ProjectId: 项目ID。
|
1817
|
+
# (不填使用指定地域下的默认项目)
|
1818
|
+
# @type ProjectId: String
|
1819
|
+
|
1820
|
+
attr_accessor :RunGroupId, :ProjectId
|
1821
|
+
|
1822
|
+
def initialize(rungroupid=nil, projectid=nil)
|
1823
|
+
@RunGroupId = rungroupid
|
1824
|
+
@ProjectId = projectid
|
1825
|
+
end
|
1826
|
+
|
1827
|
+
def deserialize(params)
|
1828
|
+
@RunGroupId = params['RunGroupId']
|
1829
|
+
@ProjectId = params['ProjectId']
|
1830
|
+
end
|
1831
|
+
end
|
1832
|
+
|
1833
|
+
# TerminateRunGroup返回参数结构体
|
1834
|
+
class TerminateRunGroupResponse < TencentCloud::Common::AbstractModel
|
1835
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1836
|
+
# @type RequestId: String
|
1837
|
+
|
1838
|
+
attr_accessor :RequestId
|
1839
|
+
|
1840
|
+
def initialize(requestid=nil)
|
1841
|
+
@RequestId = requestid
|
1842
|
+
end
|
1843
|
+
|
1844
|
+
def deserialize(params)
|
1845
|
+
@RequestId = params['RequestId']
|
1846
|
+
end
|
1847
|
+
end
|
1848
|
+
|
1635
1849
|
# 私有网络配置。
|
1636
1850
|
class VPCOption < TencentCloud::Common::AbstractModel
|
1637
1851
|
# @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.688
|
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-10-
|
11
|
+
date: 2023-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|