tencentcloud-sdk-omics 3.0.535
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-omics.rb +11 -0
- data/lib/v20221128/client.rb +180 -0
- data/lib/v20221128/models.rb +779 -0
- metadata +66 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7f555542580bf741a0af892ae616f86340756105
|
4
|
+
data.tar.gz: 8406b20634b0b6c68bb6d634598c28e212283c84
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2163ca553bba9dbdaed95f23ac857a9d4aa718e41a4dc94e0fb820558914bdf895d4e5c6307a114dda903c84e40d35de5e83bcf3cd65eee74f1c68645cfcfec1
|
7
|
+
data.tar.gz: ec2fc4c5953e86bdff7719dae58ff26a9a6d58d8d30c0af87f4a2562de42c24c1eb24124ab2105ca4655e855281e8f5d9851dd3068edc38f32bb36001dfbe37e
|
data/lib/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.0.535
|
@@ -0,0 +1,180 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
require 'json'
|
18
|
+
|
19
|
+
module TencentCloud
|
20
|
+
module Omics
|
21
|
+
module V20221128
|
22
|
+
class Client < TencentCloud::Common::AbstractClient
|
23
|
+
|
24
|
+
def initialize(credential, region, profile = nil)
|
25
|
+
api_version = '2022-11-28'
|
26
|
+
api_endpoint = 'omics.tencentcloudapi.com'
|
27
|
+
sdk_version = 'OMICS_' + File.read(File.expand_path('../VERSION', __dir__)).strip
|
28
|
+
super(credential, region, api_version, api_endpoint, sdk_version, profile)
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
# 查询任务批次列表。
|
33
|
+
|
34
|
+
# @param request: Request instance for DescribeRunGroups.
|
35
|
+
# @type request: :class:`Tencentcloud::omics::V20221128::DescribeRunGroupsRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::omics::V20221128::DescribeRunGroupsResponse`
|
37
|
+
def DescribeRunGroups(request)
|
38
|
+
body = send_request('DescribeRunGroups', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = DescribeRunGroupsResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
56
|
+
# 查询任务列表。
|
57
|
+
|
58
|
+
# @param request: Request instance for DescribeRuns.
|
59
|
+
# @type request: :class:`Tencentcloud::omics::V20221128::DescribeRunsRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::omics::V20221128::DescribeRunsResponse`
|
61
|
+
def DescribeRuns(request)
|
62
|
+
body = send_request('DescribeRuns', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = DescribeRunsResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
80
|
+
# 查询作业详情。
|
81
|
+
|
82
|
+
# @param request: Request instance for GetRunCalls.
|
83
|
+
# @type request: :class:`Tencentcloud::omics::V20221128::GetRunCallsRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::omics::V20221128::GetRunCallsResponse`
|
85
|
+
def GetRunCalls(request)
|
86
|
+
body = send_request('GetRunCalls', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = GetRunCallsResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
104
|
+
# 查询任务详情。
|
105
|
+
|
106
|
+
# @param request: Request instance for GetRunStatus.
|
107
|
+
# @type request: :class:`Tencentcloud::omics::V20221128::GetRunStatusRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::omics::V20221128::GetRunStatusResponse`
|
109
|
+
def GetRunStatus(request)
|
110
|
+
body = send_request('GetRunStatus', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = GetRunStatusResponse.new
|
114
|
+
model.deserialize(response['Response'])
|
115
|
+
model
|
116
|
+
else
|
117
|
+
code = response['Response']['Error']['Code']
|
118
|
+
message = response['Response']['Error']['Message']
|
119
|
+
reqid = response['Response']['RequestId']
|
120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
121
|
+
end
|
122
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
123
|
+
raise e
|
124
|
+
rescue StandardError => e
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
|
+
end
|
127
|
+
|
128
|
+
# 导入表格文件。
|
129
|
+
|
130
|
+
# @param request: Request instance for ImportTableFile.
|
131
|
+
# @type request: :class:`Tencentcloud::omics::V20221128::ImportTableFileRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::omics::V20221128::ImportTableFileResponse`
|
133
|
+
def ImportTableFile(request)
|
134
|
+
body = send_request('ImportTableFile', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = ImportTableFileResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
152
|
+
# 运行应用。
|
153
|
+
|
154
|
+
# @param request: Request instance for RunApplication.
|
155
|
+
# @type request: :class:`Tencentcloud::omics::V20221128::RunApplicationRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::omics::V20221128::RunApplicationResponse`
|
157
|
+
def RunApplication(request)
|
158
|
+
body = send_request('RunApplication', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = RunApplicationResponse.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
|
+
end
|
178
|
+
end
|
179
|
+
end
|
180
|
+
end
|
@@ -0,0 +1,779 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Omics
|
19
|
+
module V20221128
|
20
|
+
# DescribeRunGroups请求参数结构体
|
21
|
+
class DescribeRunGroupsRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param ProjectId: 项目ID。
|
23
|
+
# @type ProjectId: String
|
24
|
+
# @param Limit: 返回数量,默认为10,最大值为100。
|
25
|
+
# @type Limit: Integer
|
26
|
+
# @param Offset: 偏移量,默认为0。
|
27
|
+
# @type Offset: Integer
|
28
|
+
# @param Filters: 过滤器,支持过滤字段:
|
29
|
+
# - Name:任务批次名称
|
30
|
+
# - RunGroupId:任务批次ID
|
31
|
+
# - Status:任务批次状态
|
32
|
+
# @type Filters: Array
|
33
|
+
|
34
|
+
attr_accessor :ProjectId, :Limit, :Offset, :Filters
|
35
|
+
|
36
|
+
def initialize(projectid=nil, limit=nil, offset=nil, filters=nil)
|
37
|
+
@ProjectId = projectid
|
38
|
+
@Limit = limit
|
39
|
+
@Offset = offset
|
40
|
+
@Filters = filters
|
41
|
+
end
|
42
|
+
|
43
|
+
def deserialize(params)
|
44
|
+
@ProjectId = params['ProjectId']
|
45
|
+
@Limit = params['Limit']
|
46
|
+
@Offset = params['Offset']
|
47
|
+
unless params['Filters'].nil?
|
48
|
+
@Filters = []
|
49
|
+
params['Filters'].each do |i|
|
50
|
+
filter_tmp = Filter.new
|
51
|
+
filter_tmp.deserialize(i)
|
52
|
+
@Filters << filter_tmp
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# DescribeRunGroups返回参数结构体
|
59
|
+
class DescribeRunGroupsResponse < TencentCloud::Common::AbstractModel
|
60
|
+
# @param TotalCount: 符合条件的数量。
|
61
|
+
# @type TotalCount: Integer
|
62
|
+
# @param RunGroups: 任务批次列表。
|
63
|
+
# @type RunGroups: Array
|
64
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
65
|
+
# @type RequestId: String
|
66
|
+
|
67
|
+
attr_accessor :TotalCount, :RunGroups, :RequestId
|
68
|
+
|
69
|
+
def initialize(totalcount=nil, rungroups=nil, requestid=nil)
|
70
|
+
@TotalCount = totalcount
|
71
|
+
@RunGroups = rungroups
|
72
|
+
@RequestId = requestid
|
73
|
+
end
|
74
|
+
|
75
|
+
def deserialize(params)
|
76
|
+
@TotalCount = params['TotalCount']
|
77
|
+
unless params['RunGroups'].nil?
|
78
|
+
@RunGroups = []
|
79
|
+
params['RunGroups'].each do |i|
|
80
|
+
rungroup_tmp = RunGroup.new
|
81
|
+
rungroup_tmp.deserialize(i)
|
82
|
+
@RunGroups << rungroup_tmp
|
83
|
+
end
|
84
|
+
end
|
85
|
+
@RequestId = params['RequestId']
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
# DescribeRuns请求参数结构体
|
90
|
+
class DescribeRunsRequest < TencentCloud::Common::AbstractModel
|
91
|
+
# @param ProjectId: 项目ID。
|
92
|
+
# @type ProjectId: String
|
93
|
+
# @param Limit: 返回数量,默认为10,最大值为100。
|
94
|
+
# @type Limit: Integer
|
95
|
+
# @param Offset: 偏移量,默认为0。
|
96
|
+
# @type Offset: Integer
|
97
|
+
# @param Filters: 过滤器,支持过滤字段:
|
98
|
+
# - RunGroupId:任务批次ID
|
99
|
+
# - Status:任务状态
|
100
|
+
# - RunUuid:任务UUID
|
101
|
+
# - UserDefinedId:用户定义ID
|
102
|
+
# @type Filters: Array
|
103
|
+
|
104
|
+
attr_accessor :ProjectId, :Limit, :Offset, :Filters
|
105
|
+
|
106
|
+
def initialize(projectid=nil, limit=nil, offset=nil, filters=nil)
|
107
|
+
@ProjectId = projectid
|
108
|
+
@Limit = limit
|
109
|
+
@Offset = offset
|
110
|
+
@Filters = filters
|
111
|
+
end
|
112
|
+
|
113
|
+
def deserialize(params)
|
114
|
+
@ProjectId = params['ProjectId']
|
115
|
+
@Limit = params['Limit']
|
116
|
+
@Offset = params['Offset']
|
117
|
+
unless params['Filters'].nil?
|
118
|
+
@Filters = []
|
119
|
+
params['Filters'].each do |i|
|
120
|
+
filter_tmp = Filter.new
|
121
|
+
filter_tmp.deserialize(i)
|
122
|
+
@Filters << filter_tmp
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
# DescribeRuns返回参数结构体
|
129
|
+
class DescribeRunsResponse < TencentCloud::Common::AbstractModel
|
130
|
+
# @param TotalCount: 符合条件的数量。
|
131
|
+
# @type TotalCount: Integer
|
132
|
+
# @param Runs: 任务列表。
|
133
|
+
# @type Runs: Array
|
134
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
135
|
+
# @type RequestId: String
|
136
|
+
|
137
|
+
attr_accessor :TotalCount, :Runs, :RequestId
|
138
|
+
|
139
|
+
def initialize(totalcount=nil, runs=nil, requestid=nil)
|
140
|
+
@TotalCount = totalcount
|
141
|
+
@Runs = runs
|
142
|
+
@RequestId = requestid
|
143
|
+
end
|
144
|
+
|
145
|
+
def deserialize(params)
|
146
|
+
@TotalCount = params['TotalCount']
|
147
|
+
unless params['Runs'].nil?
|
148
|
+
@Runs = []
|
149
|
+
params['Runs'].each do |i|
|
150
|
+
run_tmp = Run.new
|
151
|
+
run_tmp.deserialize(i)
|
152
|
+
@Runs << run_tmp
|
153
|
+
end
|
154
|
+
end
|
155
|
+
@RequestId = params['RequestId']
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# 执行时间。
|
160
|
+
class ExecutionTime < TencentCloud::Common::AbstractModel
|
161
|
+
# @param SubmitTime: 提交时间。
|
162
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
163
|
+
# @type SubmitTime: String
|
164
|
+
# @param StartTime: 开始时间。
|
165
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
166
|
+
# @type StartTime: String
|
167
|
+
# @param EndTime: 结束时间。
|
168
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
169
|
+
# @type EndTime: String
|
170
|
+
|
171
|
+
attr_accessor :SubmitTime, :StartTime, :EndTime
|
172
|
+
|
173
|
+
def initialize(submittime=nil, starttime=nil, endtime=nil)
|
174
|
+
@SubmitTime = submittime
|
175
|
+
@StartTime = starttime
|
176
|
+
@EndTime = endtime
|
177
|
+
end
|
178
|
+
|
179
|
+
def deserialize(params)
|
180
|
+
@SubmitTime = params['SubmitTime']
|
181
|
+
@StartTime = params['StartTime']
|
182
|
+
@EndTime = params['EndTime']
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
# 描述键值对过滤器,用于条件过滤查询。
|
187
|
+
|
188
|
+
# - 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
189
|
+
|
190
|
+
# - 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
191
|
+
class Filter < TencentCloud::Common::AbstractModel
|
192
|
+
# @param Name: 过滤字段。
|
193
|
+
# @type Name: String
|
194
|
+
# @param Values: 过滤字段值。
|
195
|
+
# @type Values: Array
|
196
|
+
|
197
|
+
attr_accessor :Name, :Values
|
198
|
+
|
199
|
+
def initialize(name=nil, values=nil)
|
200
|
+
@Name = name
|
201
|
+
@Values = values
|
202
|
+
end
|
203
|
+
|
204
|
+
def deserialize(params)
|
205
|
+
@Name = params['Name']
|
206
|
+
@Values = params['Values']
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
# GetRunCalls请求参数结构体
|
211
|
+
class GetRunCallsRequest < TencentCloud::Common::AbstractModel
|
212
|
+
# @param RunUuid: 任务Uuid。
|
213
|
+
# @type RunUuid: String
|
214
|
+
# @param ProjectId: 项目ID。
|
215
|
+
# @type ProjectId: String
|
216
|
+
# @param Path: 作业路径
|
217
|
+
# @type Path: String
|
218
|
+
|
219
|
+
attr_accessor :RunUuid, :ProjectId, :Path
|
220
|
+
|
221
|
+
def initialize(runuuid=nil, projectid=nil, path=nil)
|
222
|
+
@RunUuid = runuuid
|
223
|
+
@ProjectId = projectid
|
224
|
+
@Path = path
|
225
|
+
end
|
226
|
+
|
227
|
+
def deserialize(params)
|
228
|
+
@RunUuid = params['RunUuid']
|
229
|
+
@ProjectId = params['ProjectId']
|
230
|
+
@Path = params['Path']
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
# GetRunCalls返回参数结构体
|
235
|
+
class GetRunCallsResponse < TencentCloud::Common::AbstractModel
|
236
|
+
# @param Calls: 作业详情。
|
237
|
+
# @type Calls: Array
|
238
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
239
|
+
# @type RequestId: String
|
240
|
+
|
241
|
+
attr_accessor :Calls, :RequestId
|
242
|
+
|
243
|
+
def initialize(calls=nil, requestid=nil)
|
244
|
+
@Calls = calls
|
245
|
+
@RequestId = requestid
|
246
|
+
end
|
247
|
+
|
248
|
+
def deserialize(params)
|
249
|
+
unless params['Calls'].nil?
|
250
|
+
@Calls = []
|
251
|
+
params['Calls'].each do |i|
|
252
|
+
runmetadata_tmp = RunMetadata.new
|
253
|
+
runmetadata_tmp.deserialize(i)
|
254
|
+
@Calls << runmetadata_tmp
|
255
|
+
end
|
256
|
+
end
|
257
|
+
@RequestId = params['RequestId']
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
# GetRunStatus请求参数结构体
|
262
|
+
class GetRunStatusRequest < TencentCloud::Common::AbstractModel
|
263
|
+
# @param RunUuid: 任务Uuid。
|
264
|
+
# @type RunUuid: String
|
265
|
+
# @param ProjectId: 项目ID。
|
266
|
+
# @type ProjectId: String
|
267
|
+
|
268
|
+
attr_accessor :RunUuid, :ProjectId
|
269
|
+
|
270
|
+
def initialize(runuuid=nil, projectid=nil)
|
271
|
+
@RunUuid = runuuid
|
272
|
+
@ProjectId = projectid
|
273
|
+
end
|
274
|
+
|
275
|
+
def deserialize(params)
|
276
|
+
@RunUuid = params['RunUuid']
|
277
|
+
@ProjectId = params['ProjectId']
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
# GetRunStatus返回参数结构体
|
282
|
+
class GetRunStatusResponse < TencentCloud::Common::AbstractModel
|
283
|
+
# @param Metadata: 作业详情。
|
284
|
+
# @type Metadata: :class:`Tencentcloud::Omics.v20221128.models.RunMetadata`
|
285
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
286
|
+
# @type RequestId: String
|
287
|
+
|
288
|
+
attr_accessor :Metadata, :RequestId
|
289
|
+
|
290
|
+
def initialize(metadata=nil, requestid=nil)
|
291
|
+
@Metadata = metadata
|
292
|
+
@RequestId = requestid
|
293
|
+
end
|
294
|
+
|
295
|
+
def deserialize(params)
|
296
|
+
unless params['Metadata'].nil?
|
297
|
+
@Metadata = RunMetadata.new
|
298
|
+
@Metadata.deserialize(params['Metadata'])
|
299
|
+
end
|
300
|
+
@RequestId = params['RequestId']
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
# ImportTableFile请求参数结构体
|
305
|
+
class ImportTableFileRequest < TencentCloud::Common::AbstractModel
|
306
|
+
# @param ProjectId: 表格关联的项目ID。
|
307
|
+
# @type ProjectId: String
|
308
|
+
# @param Name: 表格名称,支持20个字符内的英文字符、数字和下划线。
|
309
|
+
# @type Name: String
|
310
|
+
# @param CosUri: 表格文件Cos对象路径。
|
311
|
+
# @type CosUri: String
|
312
|
+
# @param DataType: 表格文件中每列的数据类型,支持的类型包括:Int、String、File、Array[File]
|
313
|
+
# @type DataType: Array
|
314
|
+
# @param Description: 表格描述。
|
315
|
+
# @type Description: String
|
316
|
+
|
317
|
+
attr_accessor :ProjectId, :Name, :CosUri, :DataType, :Description
|
318
|
+
|
319
|
+
def initialize(projectid=nil, name=nil, cosuri=nil, datatype=nil, description=nil)
|
320
|
+
@ProjectId = projectid
|
321
|
+
@Name = name
|
322
|
+
@CosUri = cosuri
|
323
|
+
@DataType = datatype
|
324
|
+
@Description = description
|
325
|
+
end
|
326
|
+
|
327
|
+
def deserialize(params)
|
328
|
+
@ProjectId = params['ProjectId']
|
329
|
+
@Name = params['Name']
|
330
|
+
@CosUri = params['CosUri']
|
331
|
+
@DataType = params['DataType']
|
332
|
+
@Description = params['Description']
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
# ImportTableFile返回参数结构体
|
337
|
+
class ImportTableFileResponse < TencentCloud::Common::AbstractModel
|
338
|
+
# @param TableId: 表格ID。
|
339
|
+
# @type TableId: String
|
340
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
341
|
+
# @type RequestId: String
|
342
|
+
|
343
|
+
attr_accessor :TableId, :RequestId
|
344
|
+
|
345
|
+
def initialize(tableid=nil, requestid=nil)
|
346
|
+
@TableId = tableid
|
347
|
+
@RequestId = requestid
|
348
|
+
end
|
349
|
+
|
350
|
+
def deserialize(params)
|
351
|
+
@TableId = params['TableId']
|
352
|
+
@RequestId = params['RequestId']
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
# 任务。
|
357
|
+
class Run < TencentCloud::Common::AbstractModel
|
358
|
+
# @param RunUuid: 任务UUID。
|
359
|
+
# @type RunUuid: String
|
360
|
+
# @param ProjectId: 项目ID。
|
361
|
+
# @type ProjectId: String
|
362
|
+
# @param ApplicationId: 应用ID。
|
363
|
+
# @type ApplicationId: String
|
364
|
+
# @param RunGroupId: 任务批次ID。
|
365
|
+
# @type RunGroupId: String
|
366
|
+
# @param EnvironmentId: 环境ID。
|
367
|
+
# @type EnvironmentId: String
|
368
|
+
# @param UserDefinedId: 用户定义ID,单例运行为空。
|
369
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
370
|
+
# @type UserDefinedId: String
|
371
|
+
# @param TableId: 表格ID,单例运行为空。
|
372
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
373
|
+
# @type TableId: String
|
374
|
+
# @param TableRowUuid: 表格行UUID,单例运行为空。
|
375
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
376
|
+
# @type TableRowUuid: String
|
377
|
+
# @param Status: 任务状态。
|
378
|
+
# @type Status: String
|
379
|
+
# @param Input: 任务输入。
|
380
|
+
# @type Input: String
|
381
|
+
# @param Option: 运行选项。
|
382
|
+
# @type Option: :class:`Tencentcloud::Omics.v20221128.models.RunOption`
|
383
|
+
# @param ExecutionTime: 执行时间。
|
384
|
+
# @type ExecutionTime: :class:`Tencentcloud::Omics.v20221128.models.ExecutionTime`
|
385
|
+
# @param ErrorMessage: 错误信息。
|
386
|
+
# @type ErrorMessage: String
|
387
|
+
# @param CreateTime: 创建时间。
|
388
|
+
# @type CreateTime: String
|
389
|
+
# @param UpdateTime: 更新时间。
|
390
|
+
# @type UpdateTime: String
|
391
|
+
|
392
|
+
attr_accessor :RunUuid, :ProjectId, :ApplicationId, :RunGroupId, :EnvironmentId, :UserDefinedId, :TableId, :TableRowUuid, :Status, :Input, :Option, :ExecutionTime, :ErrorMessage, :CreateTime, :UpdateTime
|
393
|
+
|
394
|
+
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, errormessage=nil, createtime=nil, updatetime=nil)
|
395
|
+
@RunUuid = runuuid
|
396
|
+
@ProjectId = projectid
|
397
|
+
@ApplicationId = applicationid
|
398
|
+
@RunGroupId = rungroupid
|
399
|
+
@EnvironmentId = environmentid
|
400
|
+
@UserDefinedId = userdefinedid
|
401
|
+
@TableId = tableid
|
402
|
+
@TableRowUuid = tablerowuuid
|
403
|
+
@Status = status
|
404
|
+
@Input = input
|
405
|
+
@Option = option
|
406
|
+
@ExecutionTime = executiontime
|
407
|
+
@ErrorMessage = errormessage
|
408
|
+
@CreateTime = createtime
|
409
|
+
@UpdateTime = updatetime
|
410
|
+
end
|
411
|
+
|
412
|
+
def deserialize(params)
|
413
|
+
@RunUuid = params['RunUuid']
|
414
|
+
@ProjectId = params['ProjectId']
|
415
|
+
@ApplicationId = params['ApplicationId']
|
416
|
+
@RunGroupId = params['RunGroupId']
|
417
|
+
@EnvironmentId = params['EnvironmentId']
|
418
|
+
@UserDefinedId = params['UserDefinedId']
|
419
|
+
@TableId = params['TableId']
|
420
|
+
@TableRowUuid = params['TableRowUuid']
|
421
|
+
@Status = params['Status']
|
422
|
+
@Input = params['Input']
|
423
|
+
unless params['Option'].nil?
|
424
|
+
@Option = RunOption.new
|
425
|
+
@Option.deserialize(params['Option'])
|
426
|
+
end
|
427
|
+
unless params['ExecutionTime'].nil?
|
428
|
+
@ExecutionTime = ExecutionTime.new
|
429
|
+
@ExecutionTime.deserialize(params['ExecutionTime'])
|
430
|
+
end
|
431
|
+
@ErrorMessage = params['ErrorMessage']
|
432
|
+
@CreateTime = params['CreateTime']
|
433
|
+
@UpdateTime = params['UpdateTime']
|
434
|
+
end
|
435
|
+
end
|
436
|
+
|
437
|
+
# RunApplication请求参数结构体
|
438
|
+
class RunApplicationRequest < TencentCloud::Common::AbstractModel
|
439
|
+
# @param ApplicationId: 应用ID。
|
440
|
+
# @type ApplicationId: String
|
441
|
+
# @param ProjectId: 项目ID。
|
442
|
+
# @type ProjectId: String
|
443
|
+
# @param Name: 任务批次名称。
|
444
|
+
# @type Name: String
|
445
|
+
# @param EnvironmentId: 投递环境ID。
|
446
|
+
# @type EnvironmentId: String
|
447
|
+
# @param InputBase64: 任务输入JSON。需要进行base64编码。
|
448
|
+
# @type InputBase64: String
|
449
|
+
# @param CacheClearDelay: 任务缓存清理时间。不填表示不清理。
|
450
|
+
# @type CacheClearDelay: Integer
|
451
|
+
# @param Option: 运行选项。
|
452
|
+
# @type Option: :class:`Tencentcloud::Omics.v20221128.models.RunOption`
|
453
|
+
# @param Description: 任务批次描述。
|
454
|
+
# @type Description: String
|
455
|
+
# @param TableId: 批量投递表格ID,不填表示单例投递。
|
456
|
+
# @type TableId: String
|
457
|
+
# @param TableRowUuids: 批量投递表格行UUID。不填表示表格全部行。
|
458
|
+
# @type TableRowUuids: Array
|
459
|
+
|
460
|
+
attr_accessor :ApplicationId, :ProjectId, :Name, :EnvironmentId, :InputBase64, :CacheClearDelay, :Option, :Description, :TableId, :TableRowUuids
|
461
|
+
|
462
|
+
def initialize(applicationid=nil, projectid=nil, name=nil, environmentid=nil, inputbase64=nil, cachecleardelay=nil, option=nil, description=nil, tableid=nil, tablerowuuids=nil)
|
463
|
+
@ApplicationId = applicationid
|
464
|
+
@ProjectId = projectid
|
465
|
+
@Name = name
|
466
|
+
@EnvironmentId = environmentid
|
467
|
+
@InputBase64 = inputbase64
|
468
|
+
@CacheClearDelay = cachecleardelay
|
469
|
+
@Option = option
|
470
|
+
@Description = description
|
471
|
+
@TableId = tableid
|
472
|
+
@TableRowUuids = tablerowuuids
|
473
|
+
end
|
474
|
+
|
475
|
+
def deserialize(params)
|
476
|
+
@ApplicationId = params['ApplicationId']
|
477
|
+
@ProjectId = params['ProjectId']
|
478
|
+
@Name = params['Name']
|
479
|
+
@EnvironmentId = params['EnvironmentId']
|
480
|
+
@InputBase64 = params['InputBase64']
|
481
|
+
@CacheClearDelay = params['CacheClearDelay']
|
482
|
+
unless params['Option'].nil?
|
483
|
+
@Option = RunOption.new
|
484
|
+
@Option.deserialize(params['Option'])
|
485
|
+
end
|
486
|
+
@Description = params['Description']
|
487
|
+
@TableId = params['TableId']
|
488
|
+
@TableRowUuids = params['TableRowUuids']
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
492
|
+
# RunApplication返回参数结构体
|
493
|
+
class RunApplicationResponse < TencentCloud::Common::AbstractModel
|
494
|
+
# @param RunGroupId: 任务批次ID。
|
495
|
+
# @type RunGroupId: String
|
496
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
497
|
+
# @type RequestId: String
|
498
|
+
|
499
|
+
attr_accessor :RunGroupId, :RequestId
|
500
|
+
|
501
|
+
def initialize(rungroupid=nil, requestid=nil)
|
502
|
+
@RunGroupId = rungroupid
|
503
|
+
@RequestId = requestid
|
504
|
+
end
|
505
|
+
|
506
|
+
def deserialize(params)
|
507
|
+
@RunGroupId = params['RunGroupId']
|
508
|
+
@RequestId = params['RequestId']
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
512
|
+
# 任务。
|
513
|
+
class RunGroup < TencentCloud::Common::AbstractModel
|
514
|
+
# @param RunGroupId: 任务批次ID。
|
515
|
+
# @type RunGroupId: String
|
516
|
+
# @param ProjectId: 项目ID。
|
517
|
+
# @type ProjectId: String
|
518
|
+
# @param ProjectName: 项目名称。
|
519
|
+
# @type ProjectName: String
|
520
|
+
# @param ApplicationId: 应用ID。
|
521
|
+
# @type ApplicationId: String
|
522
|
+
# @param ApplicationName: 应用名称。
|
523
|
+
# @type ApplicationName: String
|
524
|
+
# @param ApplicationType: 应用类型。
|
525
|
+
# @type ApplicationType: String
|
526
|
+
# @param EnvironmentId: 环境ID。
|
527
|
+
# @type EnvironmentId: String
|
528
|
+
# @param EnvironmentName: 环境名称。
|
529
|
+
# @type EnvironmentName: String
|
530
|
+
# @param TableId: 表格ID,单例运行为空。
|
531
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
532
|
+
# @type TableId: String
|
533
|
+
# @param Name: 任务名称。
|
534
|
+
# @type Name: String
|
535
|
+
# @param Description: 任务描述。
|
536
|
+
# @type Description: String
|
537
|
+
# @param Status: 任务状态。
|
538
|
+
# @type Status: String
|
539
|
+
# @param Input: 任务输入。
|
540
|
+
# @type Input: String
|
541
|
+
# @param Option: 运行选项。
|
542
|
+
# @type Option: :class:`Tencentcloud::Omics.v20221128.models.RunOption`
|
543
|
+
# @param TotalRun: 任务总数量。
|
544
|
+
# @type TotalRun: Integer
|
545
|
+
# @param RunStatusCounts: 各状态任务的数量。
|
546
|
+
# @type RunStatusCounts: Array
|
547
|
+
# @param ExecutionTime: 执行时间。
|
548
|
+
# @type ExecutionTime: :class:`Tencentcloud::Omics.v20221128.models.ExecutionTime`
|
549
|
+
# @param ErrorMessage: 错误信息。
|
550
|
+
# @type ErrorMessage: String
|
551
|
+
# @param CreateTime: 创建时间。
|
552
|
+
# @type CreateTime: String
|
553
|
+
# @param UpdateTime: 更新时间。
|
554
|
+
# @type UpdateTime: String
|
555
|
+
|
556
|
+
attr_accessor :RunGroupId, :ProjectId, :ProjectName, :ApplicationId, :ApplicationName, :ApplicationType, :EnvironmentId, :EnvironmentName, :TableId, :Name, :Description, :Status, :Input, :Option, :TotalRun, :RunStatusCounts, :ExecutionTime, :ErrorMessage, :CreateTime, :UpdateTime
|
557
|
+
|
558
|
+
def initialize(rungroupid=nil, projectid=nil, projectname=nil, applicationid=nil, applicationname=nil, applicationtype=nil, environmentid=nil, environmentname=nil, tableid=nil, name=nil, description=nil, status=nil, input=nil, option=nil, totalrun=nil, runstatuscounts=nil, executiontime=nil, errormessage=nil, createtime=nil, updatetime=nil)
|
559
|
+
@RunGroupId = rungroupid
|
560
|
+
@ProjectId = projectid
|
561
|
+
@ProjectName = projectname
|
562
|
+
@ApplicationId = applicationid
|
563
|
+
@ApplicationName = applicationname
|
564
|
+
@ApplicationType = applicationtype
|
565
|
+
@EnvironmentId = environmentid
|
566
|
+
@EnvironmentName = environmentname
|
567
|
+
@TableId = tableid
|
568
|
+
@Name = name
|
569
|
+
@Description = description
|
570
|
+
@Status = status
|
571
|
+
@Input = input
|
572
|
+
@Option = option
|
573
|
+
@TotalRun = totalrun
|
574
|
+
@RunStatusCounts = runstatuscounts
|
575
|
+
@ExecutionTime = executiontime
|
576
|
+
@ErrorMessage = errormessage
|
577
|
+
@CreateTime = createtime
|
578
|
+
@UpdateTime = updatetime
|
579
|
+
end
|
580
|
+
|
581
|
+
def deserialize(params)
|
582
|
+
@RunGroupId = params['RunGroupId']
|
583
|
+
@ProjectId = params['ProjectId']
|
584
|
+
@ProjectName = params['ProjectName']
|
585
|
+
@ApplicationId = params['ApplicationId']
|
586
|
+
@ApplicationName = params['ApplicationName']
|
587
|
+
@ApplicationType = params['ApplicationType']
|
588
|
+
@EnvironmentId = params['EnvironmentId']
|
589
|
+
@EnvironmentName = params['EnvironmentName']
|
590
|
+
@TableId = params['TableId']
|
591
|
+
@Name = params['Name']
|
592
|
+
@Description = params['Description']
|
593
|
+
@Status = params['Status']
|
594
|
+
@Input = params['Input']
|
595
|
+
unless params['Option'].nil?
|
596
|
+
@Option = RunOption.new
|
597
|
+
@Option.deserialize(params['Option'])
|
598
|
+
end
|
599
|
+
@TotalRun = params['TotalRun']
|
600
|
+
unless params['RunStatusCounts'].nil?
|
601
|
+
@RunStatusCounts = []
|
602
|
+
params['RunStatusCounts'].each do |i|
|
603
|
+
runstatuscount_tmp = RunStatusCount.new
|
604
|
+
runstatuscount_tmp.deserialize(i)
|
605
|
+
@RunStatusCounts << runstatuscount_tmp
|
606
|
+
end
|
607
|
+
end
|
608
|
+
unless params['ExecutionTime'].nil?
|
609
|
+
@ExecutionTime = ExecutionTime.new
|
610
|
+
@ExecutionTime.deserialize(params['ExecutionTime'])
|
611
|
+
end
|
612
|
+
@ErrorMessage = params['ErrorMessage']
|
613
|
+
@CreateTime = params['CreateTime']
|
614
|
+
@UpdateTime = params['UpdateTime']
|
615
|
+
end
|
616
|
+
end
|
617
|
+
|
618
|
+
# 任务作业详情。
|
619
|
+
class RunMetadata < TencentCloud::Common::AbstractModel
|
620
|
+
# @param RunType: 任务类型。
|
621
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
622
|
+
# @type RunType: String
|
623
|
+
# @param RunId: 任务ID。
|
624
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
625
|
+
# @type RunId: String
|
626
|
+
# @param ParentId: 父层ID。
|
627
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
628
|
+
# @type ParentId: String
|
629
|
+
# @param JobId: 作业ID。
|
630
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
631
|
+
# @type JobId: String
|
632
|
+
# @param CallName: 作业名称。
|
633
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
634
|
+
# @type CallName: String
|
635
|
+
# @param ScatterIndex: Scatter索引。
|
636
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
637
|
+
# @type ScatterIndex: String
|
638
|
+
# @param Input: 输入。
|
639
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
640
|
+
# @type Input: String
|
641
|
+
# @param Output: 输出。
|
642
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
643
|
+
# @type Output: String
|
644
|
+
# @param Status: 状态
|
645
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
646
|
+
# @type Status: String
|
647
|
+
# @param ErrorMessage: 错误信息。
|
648
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
649
|
+
# @type ErrorMessage: String
|
650
|
+
# @param StartTime: 开始时间
|
651
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
652
|
+
# @type StartTime: String
|
653
|
+
# @param SubmitTime: 提交时间。
|
654
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
655
|
+
# @type SubmitTime: String
|
656
|
+
# @param EndTime: 结束时间。
|
657
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
658
|
+
# @type EndTime: String
|
659
|
+
# @param Command: 命令行。
|
660
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
661
|
+
# @type Command: String
|
662
|
+
# @param Runtime: 运行时。
|
663
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
664
|
+
# @type Runtime: String
|
665
|
+
# @param Preprocess: 预处理。
|
666
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
667
|
+
# @type Preprocess: Boolean
|
668
|
+
# @param PostProcess: 后处理。
|
669
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
670
|
+
# @type PostProcess: Boolean
|
671
|
+
# @param CallCached: Cache命中
|
672
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
673
|
+
# @type CallCached: Boolean
|
674
|
+
# @param Stdout: 标准输出。
|
675
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
676
|
+
# @type Stdout: String
|
677
|
+
# @param Stderr: 错误输出。
|
678
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
679
|
+
# @type Stderr: String
|
680
|
+
|
681
|
+
attr_accessor :RunType, :RunId, :ParentId, :JobId, :CallName, :ScatterIndex, :Input, :Output, :Status, :ErrorMessage, :StartTime, :SubmitTime, :EndTime, :Command, :Runtime, :Preprocess, :PostProcess, :CallCached, :Stdout, :Stderr
|
682
|
+
|
683
|
+
def initialize(runtype=nil, runid=nil, parentid=nil, jobid=nil, callname=nil, scatterindex=nil, input=nil, output=nil, status=nil, errormessage=nil, starttime=nil, submittime=nil, endtime=nil, command=nil, runtime=nil, preprocess=nil, postprocess=nil, callcached=nil, stdout=nil, stderr=nil)
|
684
|
+
@RunType = runtype
|
685
|
+
@RunId = runid
|
686
|
+
@ParentId = parentid
|
687
|
+
@JobId = jobid
|
688
|
+
@CallName = callname
|
689
|
+
@ScatterIndex = scatterindex
|
690
|
+
@Input = input
|
691
|
+
@Output = output
|
692
|
+
@Status = status
|
693
|
+
@ErrorMessage = errormessage
|
694
|
+
@StartTime = starttime
|
695
|
+
@SubmitTime = submittime
|
696
|
+
@EndTime = endtime
|
697
|
+
@Command = command
|
698
|
+
@Runtime = runtime
|
699
|
+
@Preprocess = preprocess
|
700
|
+
@PostProcess = postprocess
|
701
|
+
@CallCached = callcached
|
702
|
+
@Stdout = stdout
|
703
|
+
@Stderr = stderr
|
704
|
+
end
|
705
|
+
|
706
|
+
def deserialize(params)
|
707
|
+
@RunType = params['RunType']
|
708
|
+
@RunId = params['RunId']
|
709
|
+
@ParentId = params['ParentId']
|
710
|
+
@JobId = params['JobId']
|
711
|
+
@CallName = params['CallName']
|
712
|
+
@ScatterIndex = params['ScatterIndex']
|
713
|
+
@Input = params['Input']
|
714
|
+
@Output = params['Output']
|
715
|
+
@Status = params['Status']
|
716
|
+
@ErrorMessage = params['ErrorMessage']
|
717
|
+
@StartTime = params['StartTime']
|
718
|
+
@SubmitTime = params['SubmitTime']
|
719
|
+
@EndTime = params['EndTime']
|
720
|
+
@Command = params['Command']
|
721
|
+
@Runtime = params['Runtime']
|
722
|
+
@Preprocess = params['Preprocess']
|
723
|
+
@PostProcess = params['PostProcess']
|
724
|
+
@CallCached = params['CallCached']
|
725
|
+
@Stdout = params['Stdout']
|
726
|
+
@Stderr = params['Stderr']
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
730
|
+
# 运行应用选项。
|
731
|
+
class RunOption < TencentCloud::Common::AbstractModel
|
732
|
+
# @param FailureMode: 运行失败模式,取值范围:
|
733
|
+
# - ContinueWhilePossible
|
734
|
+
# - NoNewCalls
|
735
|
+
# @type FailureMode: String
|
736
|
+
# @param UseCallCache: 是否使用Call-Caching功能。
|
737
|
+
# @type UseCallCache: Boolean
|
738
|
+
# @param UseErrorOnHold: 是否使用错误挂起功能。
|
739
|
+
# @type UseErrorOnHold: Boolean
|
740
|
+
|
741
|
+
attr_accessor :FailureMode, :UseCallCache, :UseErrorOnHold
|
742
|
+
|
743
|
+
def initialize(failuremode=nil, usecallcache=nil, useerroronhold=nil)
|
744
|
+
@FailureMode = failuremode
|
745
|
+
@UseCallCache = usecallcache
|
746
|
+
@UseErrorOnHold = useerroronhold
|
747
|
+
end
|
748
|
+
|
749
|
+
def deserialize(params)
|
750
|
+
@FailureMode = params['FailureMode']
|
751
|
+
@UseCallCache = params['UseCallCache']
|
752
|
+
@UseErrorOnHold = params['UseErrorOnHold']
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
756
|
+
# 任务运行状态。
|
757
|
+
class RunStatusCount < TencentCloud::Common::AbstractModel
|
758
|
+
# @param Status: 状态。
|
759
|
+
# @type Status: String
|
760
|
+
# @param Count: 数量。
|
761
|
+
# @type Count: Integer
|
762
|
+
|
763
|
+
attr_accessor :Status, :Count
|
764
|
+
|
765
|
+
def initialize(status=nil, count=nil)
|
766
|
+
@Status = status
|
767
|
+
@Count = count
|
768
|
+
end
|
769
|
+
|
770
|
+
def deserialize(params)
|
771
|
+
@Status = params['Status']
|
772
|
+
@Count = params['Count']
|
773
|
+
end
|
774
|
+
end
|
775
|
+
|
776
|
+
end
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
metadata
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tencentcloud-sdk-omics
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.0.535
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tencent Cloud
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: tencentcloud-sdk-common
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
27
|
+
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
28
|
+
allows Ruby developers to write software that makes use of Tencent Cloud service
|
29
|
+
OMICS.
|
30
|
+
email:
|
31
|
+
- tencentcloudapi@tencent.com
|
32
|
+
executables: []
|
33
|
+
extensions: []
|
34
|
+
extra_rdoc_files: []
|
35
|
+
files:
|
36
|
+
- lib/v20221128/models.rb
|
37
|
+
- lib/v20221128/client.rb
|
38
|
+
- lib/tencentcloud-sdk-omics.rb
|
39
|
+
- lib/VERSION
|
40
|
+
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
|
+
licenses:
|
42
|
+
- Apache-2.0
|
43
|
+
metadata:
|
44
|
+
source_code_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/tencentcloud-sdk-omics
|
45
|
+
changelog_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/blob/master/CHANGELOG.md
|
46
|
+
post_install_message:
|
47
|
+
rdoc_options: []
|
48
|
+
require_paths:
|
49
|
+
- lib
|
50
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - '>='
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
60
|
+
requirements: []
|
61
|
+
rubyforge_project:
|
62
|
+
rubygems_version: 2.0.14
|
63
|
+
signing_key:
|
64
|
+
specification_version: 4
|
65
|
+
summary: Tencent Cloud SDK for Ruby - OMICS
|
66
|
+
test_files: []
|