tencentcloud-sdk-omics 3.0.772 → 3.0.773

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6e80318c5413da2347f7b543056268a8b18db28
4
- data.tar.gz: 0dd0b17ec1d2b2c3ad8c02563c11d776124464a3
3
+ metadata.gz: 2eff23c5cc29c453ad4d5d52c3c4c6d103b88c26
4
+ data.tar.gz: 4ca6c76f3f230b232b899cd7c230e5b4a2618cd6
5
5
  SHA512:
6
- metadata.gz: f1a05af84deaa6a45e98378af876fdb91b24b14d87783caffe096022e6b5337268f8ceba10cc1b3477d1122d9f0b9aed1cb4b3ef4e30cb5e9a671afb012f8fec
7
- data.tar.gz: ddc0c33f9d019c8beb31c96df73c71f3da242466e7ea5688dbe7fe37afb4316fc911e9452fa003520f9a4651babfa23bd07511c705418d064f18392d61be581c
6
+ metadata.gz: 695a9552f8ffc002cf888d44981e8a03aa6c5ba8617ed64985a6a04f0bd0573296ff0972561b88bd4d6df2fee052078c29905e95364c60d4a3cc3cda005909ad
7
+ data.tar.gz: a25894c201de099aee71caba393c181a0462d4e7ddf11d951a0f6c723be33d3a6ac9f3f36e3cf445c38d254a2f9fa348247cccdef38f0bc0c2118894a2d9cfd5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.772
1
+ 3.0.773
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 创建缓存卷。
57
+
58
+ # @param request: Request instance for CreateVolume.
59
+ # @type request: :class:`Tencentcloud::omics::V20221128::CreateVolumeRequest`
60
+ # @rtype: :class:`Tencentcloud::omics::V20221128::CreateVolumeResponse`
61
+ def CreateVolume(request)
62
+ body = send_request('CreateVolume', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateVolumeResponse.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
+
56
80
  # 删除环境。
57
81
 
58
82
  # @param request: Request instance for DeleteEnvironment.
@@ -77,6 +101,54 @@ module TencentCloud
77
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
102
  end
79
103
 
104
+ # 删除缓存卷。
105
+
106
+ # @param request: Request instance for DeleteVolume.
107
+ # @type request: :class:`Tencentcloud::omics::V20221128::DeleteVolumeRequest`
108
+ # @rtype: :class:`Tencentcloud::omics::V20221128::DeleteVolumeResponse`
109
+ def DeleteVolume(request)
110
+ body = send_request('DeleteVolume', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DeleteVolumeResponse.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 DeleteVolumeData.
131
+ # @type request: :class:`Tencentcloud::omics::V20221128::DeleteVolumeDataRequest`
132
+ # @rtype: :class:`Tencentcloud::omics::V20221128::DeleteVolumeDataResponse`
133
+ def DeleteVolumeData(request)
134
+ body = send_request('DeleteVolumeData', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = DeleteVolumeDataResponse.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
+
80
152
  # 查询环境列表。
81
153
 
82
154
  # @param request: Request instance for DescribeEnvironments.
@@ -197,6 +269,30 @@ module TencentCloud
197
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
270
  end
199
271
 
272
+ # 查询缓存卷列表。
273
+
274
+ # @param request: Request instance for DescribeVolumes.
275
+ # @type request: :class:`Tencentcloud::omics::V20221128::DescribeVolumesRequest`
276
+ # @rtype: :class:`Tencentcloud::omics::V20221128::DescribeVolumesResponse`
277
+ def DescribeVolumes(request)
278
+ body = send_request('DescribeVolumes', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DescribeVolumesResponse.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
+
200
296
  # 查询作业详情。
201
297
 
202
298
  # @param request: Request instance for GetRunCalls.
@@ -293,6 +389,30 @@ module TencentCloud
293
389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
390
  end
295
391
 
392
+ # 修改缓存卷。
393
+
394
+ # @param request: Request instance for ModifyVolume.
395
+ # @type request: :class:`Tencentcloud::omics::V20221128::ModifyVolumeRequest`
396
+ # @rtype: :class:`Tencentcloud::omics::V20221128::ModifyVolumeResponse`
397
+ def ModifyVolume(request)
398
+ body = send_request('ModifyVolume', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = ModifyVolumeResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
296
416
  # 重试任务。
297
417
 
298
418
  # @param request: Request instance for RetryRuns.
@@ -215,6 +215,69 @@ module TencentCloud
215
215
  end
216
216
  end
217
217
 
218
+ # CreateVolume请求参数结构体
219
+ class CreateVolumeRequest < TencentCloud::Common::AbstractModel
220
+ # @param EnvironmentId: 环境ID。
221
+ # @type EnvironmentId: String
222
+ # @param Name: 名称。
223
+ # @type Name: String
224
+ # @param Type: 缓存卷类型,取值范围:
225
+ # * SHARED:多点挂载共享存储
226
+ # @type Type: String
227
+ # @param Spec: 缓存卷规格,取值范围:
228
+
229
+ # - SD:通用标准型
230
+ # - HP:通用性能型
231
+ # - TB:turbo标准型
232
+ # - TP:turbo性能型
233
+ # @type Spec: String
234
+ # @param Description: 描述。
235
+ # @type Description: String
236
+ # @param Capacity: 缓存卷大小(GB),Turbo系列需要指定。
237
+ # @type Capacity: Integer
238
+
239
+ attr_accessor :EnvironmentId, :Name, :Type, :Spec, :Description, :Capacity
240
+
241
+ def initialize(environmentid=nil, name=nil, type=nil, spec=nil, description=nil, capacity=nil)
242
+ @EnvironmentId = environmentid
243
+ @Name = name
244
+ @Type = type
245
+ @Spec = spec
246
+ @Description = description
247
+ @Capacity = capacity
248
+ end
249
+
250
+ def deserialize(params)
251
+ @EnvironmentId = params['EnvironmentId']
252
+ @Name = params['Name']
253
+ @Type = params['Type']
254
+ @Spec = params['Spec']
255
+ @Description = params['Description']
256
+ @Capacity = params['Capacity']
257
+ end
258
+ end
259
+
260
+ # CreateVolume返回参数结构体
261
+ class CreateVolumeResponse < TencentCloud::Common::AbstractModel
262
+ # @param VolumeId: 缓存卷ID。
263
+ # 注意:此字段可能返回 null,表示取不到有效值。
264
+ # @type VolumeId: String
265
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
266
+ # @type RequestId: String
267
+
268
+ attr_accessor :VolumeId, :RequestId
269
+
270
+ def initialize(volumeid=nil, requestid=nil)
271
+ @VolumeId = volumeid
272
+ @RequestId = requestid
273
+ end
274
+
275
+ def deserialize(params)
276
+ @VolumeId = params['VolumeId']
277
+ @RequestId = params['RequestId']
278
+ end
279
+ end
280
+
218
281
  # 数据库配置。
219
282
  class DatabaseOption < TencentCloud::Common::AbstractModel
220
283
  # @param Zone: 数据库可用区。
@@ -267,6 +330,74 @@ module TencentCloud
267
330
  end
268
331
  end
269
332
 
333
+ # DeleteVolumeData请求参数结构体
334
+ class DeleteVolumeDataRequest < TencentCloud::Common::AbstractModel
335
+ # @param VolumeId: 缓存卷ID。
336
+ # @type VolumeId: String
337
+ # @param Path: 需要删除的路径
338
+ # @type Path: String
339
+
340
+ attr_accessor :VolumeId, :Path
341
+
342
+ def initialize(volumeid=nil, path=nil)
343
+ @VolumeId = volumeid
344
+ @Path = path
345
+ end
346
+
347
+ def deserialize(params)
348
+ @VolumeId = params['VolumeId']
349
+ @Path = params['Path']
350
+ end
351
+ end
352
+
353
+ # DeleteVolumeData返回参数结构体
354
+ class DeleteVolumeDataResponse < TencentCloud::Common::AbstractModel
355
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
356
+ # @type RequestId: String
357
+
358
+ attr_accessor :RequestId
359
+
360
+ def initialize(requestid=nil)
361
+ @RequestId = requestid
362
+ end
363
+
364
+ def deserialize(params)
365
+ @RequestId = params['RequestId']
366
+ end
367
+ end
368
+
369
+ # DeleteVolume请求参数结构体
370
+ class DeleteVolumeRequest < TencentCloud::Common::AbstractModel
371
+ # @param VolumeId: 缓存卷ID。
372
+ # @type VolumeId: String
373
+
374
+ attr_accessor :VolumeId
375
+
376
+ def initialize(volumeid=nil)
377
+ @VolumeId = volumeid
378
+ end
379
+
380
+ def deserialize(params)
381
+ @VolumeId = params['VolumeId']
382
+ end
383
+ end
384
+
385
+ # DeleteVolume返回参数结构体
386
+ class DeleteVolumeResponse < TencentCloud::Common::AbstractModel
387
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
388
+ # @type RequestId: String
389
+
390
+ attr_accessor :RequestId
391
+
392
+ def initialize(requestid=nil)
393
+ @RequestId = requestid
394
+ end
395
+
396
+ def deserialize(params)
397
+ @RequestId = params['RequestId']
398
+ end
399
+ end
400
+
270
401
  # DescribeEnvironments请求参数结构体
271
402
  class DescribeEnvironmentsRequest < TencentCloud::Common::AbstractModel
272
403
  # @param Offset: 偏移量,默认为0。
@@ -613,6 +744,76 @@ module TencentCloud
613
744
  end
614
745
  end
615
746
 
747
+ # DescribeVolumes请求参数结构体
748
+ class DescribeVolumesRequest < TencentCloud::Common::AbstractModel
749
+ # @param EnvironmentId: 环境ID。
750
+ # @type EnvironmentId: String
751
+ # @param Limit: 返回数量,默认为20,最大值为100。
752
+ # @type Limit: Integer
753
+ # @param Offset: 偏移量,默认为0。
754
+ # @type Offset: Integer
755
+ # @param Filters: 过滤器,支持过滤字段:
756
+ # - Name:名称
757
+ # - IsDefault:是否为默认
758
+ # @type Filters: Array
759
+
760
+ attr_accessor :EnvironmentId, :Limit, :Offset, :Filters
761
+
762
+ def initialize(environmentid=nil, limit=nil, offset=nil, filters=nil)
763
+ @EnvironmentId = environmentid
764
+ @Limit = limit
765
+ @Offset = offset
766
+ @Filters = filters
767
+ end
768
+
769
+ def deserialize(params)
770
+ @EnvironmentId = params['EnvironmentId']
771
+ @Limit = params['Limit']
772
+ @Offset = params['Offset']
773
+ unless params['Filters'].nil?
774
+ @Filters = []
775
+ params['Filters'].each do |i|
776
+ filter_tmp = Filter.new
777
+ filter_tmp.deserialize(i)
778
+ @Filters << filter_tmp
779
+ end
780
+ end
781
+ end
782
+ end
783
+
784
+ # DescribeVolumes返回参数结构体
785
+ class DescribeVolumesResponse < TencentCloud::Common::AbstractModel
786
+ # @param Volumes: 缓存卷。
787
+ # 注意:此字段可能返回 null,表示取不到有效值。
788
+ # @type Volumes: Array
789
+ # @param TotalCount: 符合条件的数量。
790
+ # 注意:此字段可能返回 null,表示取不到有效值。
791
+ # @type TotalCount: Integer
792
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
793
+ # @type RequestId: String
794
+
795
+ attr_accessor :Volumes, :TotalCount, :RequestId
796
+
797
+ def initialize(volumes=nil, totalcount=nil, requestid=nil)
798
+ @Volumes = volumes
799
+ @TotalCount = totalcount
800
+ @RequestId = requestid
801
+ end
802
+
803
+ def deserialize(params)
804
+ unless params['Volumes'].nil?
805
+ @Volumes = []
806
+ params['Volumes'].each do |i|
807
+ volume_tmp = Volume.new
808
+ volume_tmp.deserialize(i)
809
+ @Volumes << volume_tmp
810
+ end
811
+ end
812
+ @TotalCount = params['TotalCount']
813
+ @RequestId = params['RequestId']
814
+ end
815
+ end
816
+
616
817
  # 组学平台环境详情。
617
818
  class Environment < TencentCloud::Common::AbstractModel
618
819
  # @param EnvironmentId: 环境ID。
@@ -1069,6 +1270,46 @@ module TencentCloud
1069
1270
  end
1070
1271
  end
1071
1272
 
1273
+ # ModifyVolume请求参数结构体
1274
+ class ModifyVolumeRequest < TencentCloud::Common::AbstractModel
1275
+ # @param VolumeId: 缓存卷ID。
1276
+ # @type VolumeId: String
1277
+ # @param Name: 名称。
1278
+ # @type Name: String
1279
+ # @param Description: 描述。
1280
+ # @type Description: String
1281
+
1282
+ attr_accessor :VolumeId, :Name, :Description
1283
+
1284
+ def initialize(volumeid=nil, name=nil, description=nil)
1285
+ @VolumeId = volumeid
1286
+ @Name = name
1287
+ @Description = description
1288
+ end
1289
+
1290
+ def deserialize(params)
1291
+ @VolumeId = params['VolumeId']
1292
+ @Name = params['Name']
1293
+ @Description = params['Description']
1294
+ end
1295
+ end
1296
+
1297
+ # ModifyVolume返回参数结构体
1298
+ class ModifyVolumeResponse < TencentCloud::Common::AbstractModel
1299
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1300
+ # @type RequestId: String
1301
+
1302
+ attr_accessor :RequestId
1303
+
1304
+ def initialize(requestid=nil)
1305
+ @RequestId = requestid
1306
+ end
1307
+
1308
+ def deserialize(params)
1309
+ @RequestId = params['RequestId']
1310
+ end
1311
+ end
1312
+
1072
1313
  # Nextflow选项。
1073
1314
  class NFOption < TencentCloud::Common::AbstractModel
1074
1315
  # @param Config: Config。
@@ -1292,8 +1533,8 @@ module TencentCloud
1292
1533
 
1293
1534
  attr_accessor :RunUuid, :ProjectId, :ApplicationId, :RunGroupId, :EnvironmentId, :UserDefinedId, :TableId, :TableRowUuid, :Status, :Input, :Option, :ExecutionTime, :Cache, :ErrorMessage, :CreateTime, :UpdateTime
1294
1535
  extend Gem::Deprecate
1295
- deprecate :Option, :none, 2024, 2
1296
- deprecate :Option=, :none, 2024, 2
1536
+ deprecate :Option, :none, 2024, 3
1537
+ deprecate :Option=, :none, 2024, 3
1297
1538
 
1298
1539
  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)
1299
1540
  @RunUuid = runuuid
@@ -2044,6 +2285,84 @@ module TencentCloud
2044
2285
  end
2045
2286
  end
2046
2287
 
2288
+ # 缓存卷。
2289
+ class Volume < TencentCloud::Common::AbstractModel
2290
+ # @param VolumeId: 缓存卷ID。
2291
+ # 注意:此字段可能返回 null,表示取不到有效值。
2292
+ # @type VolumeId: String
2293
+ # @param Name: 名称。
2294
+ # 注意:此字段可能返回 null,表示取不到有效值。
2295
+ # @type Name: String
2296
+ # @param Description: 描述。
2297
+ # 注意:此字段可能返回 null,表示取不到有效值。
2298
+ # @type Description: String
2299
+ # @param EnvironmentId: 环境ID。
2300
+ # 注意:此字段可能返回 null,表示取不到有效值。
2301
+ # @type EnvironmentId: String
2302
+ # @param Type: 缓存卷类型,取值范围:
2303
+ # * SHARED:多点挂载共享存储
2304
+ # 注意:此字段可能返回 null,表示取不到有效值。
2305
+ # @type Type: String
2306
+ # @param Spec: 缓存卷规格,取值范围:
2307
+
2308
+ # - SD:通用标准型
2309
+ # - HP:通用性能型
2310
+ # - TB:turbo标准型
2311
+ # - TP:turbo性能型
2312
+ # 注意:此字段可能返回 null,表示取不到有效值。
2313
+ # @type Spec: String
2314
+ # @param Capacity: 缓存卷大小(GB)。
2315
+ # 注意:此字段可能返回 null,表示取不到有效值。
2316
+ # @type Capacity: Integer
2317
+ # @param Usage: 缓存卷使用量(Byte)。
2318
+ # 注意:此字段可能返回 null,表示取不到有效值。
2319
+ # @type Usage: Integer
2320
+ # @param BandwidthLimit: 缓存卷吞吐上限(MiB/s)。
2321
+ # 注意:此字段可能返回 null,表示取不到有效值。
2322
+ # @type BandwidthLimit: Float
2323
+ # @param DefaultMountPath: 默认挂载路径。
2324
+ # 注意:此字段可能返回 null,表示取不到有效值。
2325
+ # @type DefaultMountPath: String
2326
+ # @param IsDefault: 是否为默认缓存卷。
2327
+ # 注意:此字段可能返回 null,表示取不到有效值。
2328
+ # @type IsDefault: Boolean
2329
+ # @param Status: 状态。
2330
+ # 注意:此字段可能返回 null,表示取不到有效值。
2331
+ # @type Status: String
2332
+
2333
+ attr_accessor :VolumeId, :Name, :Description, :EnvironmentId, :Type, :Spec, :Capacity, :Usage, :BandwidthLimit, :DefaultMountPath, :IsDefault, :Status
2334
+
2335
+ def initialize(volumeid=nil, name=nil, description=nil, environmentid=nil, type=nil, spec=nil, capacity=nil, usage=nil, bandwidthlimit=nil, defaultmountpath=nil, isdefault=nil, status=nil)
2336
+ @VolumeId = volumeid
2337
+ @Name = name
2338
+ @Description = description
2339
+ @EnvironmentId = environmentid
2340
+ @Type = type
2341
+ @Spec = spec
2342
+ @Capacity = capacity
2343
+ @Usage = usage
2344
+ @BandwidthLimit = bandwidthlimit
2345
+ @DefaultMountPath = defaultmountpath
2346
+ @IsDefault = isdefault
2347
+ @Status = status
2348
+ end
2349
+
2350
+ def deserialize(params)
2351
+ @VolumeId = params['VolumeId']
2352
+ @Name = params['Name']
2353
+ @Description = params['Description']
2354
+ @EnvironmentId = params['EnvironmentId']
2355
+ @Type = params['Type']
2356
+ @Spec = params['Spec']
2357
+ @Capacity = params['Capacity']
2358
+ @Usage = params['Usage']
2359
+ @BandwidthLimit = params['BandwidthLimit']
2360
+ @DefaultMountPath = params['DefaultMountPath']
2361
+ @IsDefault = params['IsDefault']
2362
+ @Status = params['Status']
2363
+ end
2364
+ end
2365
+
2047
2366
  end
2048
2367
  end
2049
2368
  end
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.772
4
+ version: 3.0.773
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-29 00:00:00.000000000 Z
11
+ date: 2024-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common