tencentcloud-sdk-python-omics 3.1.75__py2.py3-none-any.whl → 3.1.76__py2.py3-none-any.whl

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.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.75'
17
+ __version__ = '3.1.76'
@@ -2546,6 +2546,124 @@ class DescribeProjectsResponse(AbstractModel):
2546
2546
  self._RequestId = params.get("RequestId")
2547
2547
 
2548
2548
 
2549
+ class DescribePublicApplicationsRequest(AbstractModel):
2550
+ r"""DescribePublicApplications请求参数结构体
2551
+
2552
+ """
2553
+
2554
+ def __init__(self):
2555
+ r"""
2556
+ :param _Limit: 返回数量,默认为20,最大值为100。
2557
+ :type Limit: int
2558
+ :param _Offset: 偏移量,默认为0。
2559
+ :type Offset: int
2560
+ """
2561
+ self._Limit = None
2562
+ self._Offset = None
2563
+
2564
+ @property
2565
+ def Limit(self):
2566
+ r"""返回数量,默认为20,最大值为100。
2567
+ :rtype: int
2568
+ """
2569
+ return self._Limit
2570
+
2571
+ @Limit.setter
2572
+ def Limit(self, Limit):
2573
+ self._Limit = Limit
2574
+
2575
+ @property
2576
+ def Offset(self):
2577
+ r"""偏移量,默认为0。
2578
+ :rtype: int
2579
+ """
2580
+ return self._Offset
2581
+
2582
+ @Offset.setter
2583
+ def Offset(self, Offset):
2584
+ self._Offset = Offset
2585
+
2586
+
2587
+ def _deserialize(self, params):
2588
+ self._Limit = params.get("Limit")
2589
+ self._Offset = params.get("Offset")
2590
+ memeber_set = set(params.keys())
2591
+ for name, value in vars(self).items():
2592
+ property_name = name[1:]
2593
+ if property_name in memeber_set:
2594
+ memeber_set.remove(property_name)
2595
+ if len(memeber_set) > 0:
2596
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2597
+
2598
+
2599
+
2600
+ class DescribePublicApplicationsResponse(AbstractModel):
2601
+ r"""DescribePublicApplications返回参数结构体
2602
+
2603
+ """
2604
+
2605
+ def __init__(self):
2606
+ r"""
2607
+ :param _Applications: 公共应用。
2608
+ 注意:此字段可能返回 null,表示取不到有效值。
2609
+ :type Applications: list of PublicApplication
2610
+ :param _TotalCount: 符合条件的数量。
2611
+ 注意:此字段可能返回 null,表示取不到有效值。
2612
+ :type TotalCount: int
2613
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2614
+ :type RequestId: str
2615
+ """
2616
+ self._Applications = None
2617
+ self._TotalCount = None
2618
+ self._RequestId = None
2619
+
2620
+ @property
2621
+ def Applications(self):
2622
+ r"""公共应用。
2623
+ 注意:此字段可能返回 null,表示取不到有效值。
2624
+ :rtype: list of PublicApplication
2625
+ """
2626
+ return self._Applications
2627
+
2628
+ @Applications.setter
2629
+ def Applications(self, Applications):
2630
+ self._Applications = Applications
2631
+
2632
+ @property
2633
+ def TotalCount(self):
2634
+ r"""符合条件的数量。
2635
+ 注意:此字段可能返回 null,表示取不到有效值。
2636
+ :rtype: int
2637
+ """
2638
+ return self._TotalCount
2639
+
2640
+ @TotalCount.setter
2641
+ def TotalCount(self, TotalCount):
2642
+ self._TotalCount = TotalCount
2643
+
2644
+ @property
2645
+ def RequestId(self):
2646
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2647
+ :rtype: str
2648
+ """
2649
+ return self._RequestId
2650
+
2651
+ @RequestId.setter
2652
+ def RequestId(self, RequestId):
2653
+ self._RequestId = RequestId
2654
+
2655
+
2656
+ def _deserialize(self, params):
2657
+ if params.get("Applications") is not None:
2658
+ self._Applications = []
2659
+ for item in params.get("Applications"):
2660
+ obj = PublicApplication()
2661
+ obj._deserialize(item)
2662
+ self._Applications.append(obj)
2663
+ self._TotalCount = params.get("TotalCount")
2664
+ self._RequestId = params.get("RequestId")
2665
+
2666
+
2549
2667
  class DescribeRunGroupsRequest(AbstractModel):
2550
2668
  r"""DescribeRunGroups请求参数结构体
2551
2669
 
@@ -6355,6 +6473,137 @@ class Project(AbstractModel):
6355
6473
 
6356
6474
 
6357
6475
 
6476
+ class PublicApplication(AbstractModel):
6477
+ r"""公共应用。
6478
+
6479
+ """
6480
+
6481
+ def __init__(self):
6482
+ r"""
6483
+ :param _ApplicationId: <p>应用ID。</p>
6484
+ :type ApplicationId: str
6485
+ :param _Name: <p>名称。</p>
6486
+ :type Name: str
6487
+ :param _Type: <p>类型。</p>
6488
+ :type Type: str
6489
+ :param _AppGroupType: <p>应用标记</p><p>枚举值:</p><ul><li>SUB_APP: 子应用</li><li>APP_COLLECTION: 合集</li><li>STANDALONE_APP: 独立应用</li></ul>
6490
+ :type AppGroupType: str
6491
+ :param _NextflowVersion: <p>Nextflow版本</p>
6492
+ :type NextflowVersion: list of str
6493
+ :param _AppTags: <p>应用分类</p>
6494
+ :type AppTags: list of ToolRepoTag
6495
+ :param _AppId: <p>应用标识</p>
6496
+ :type AppId: str
6497
+ """
6498
+ self._ApplicationId = None
6499
+ self._Name = None
6500
+ self._Type = None
6501
+ self._AppGroupType = None
6502
+ self._NextflowVersion = None
6503
+ self._AppTags = None
6504
+ self._AppId = None
6505
+
6506
+ @property
6507
+ def ApplicationId(self):
6508
+ r"""<p>应用ID。</p>
6509
+ :rtype: str
6510
+ """
6511
+ return self._ApplicationId
6512
+
6513
+ @ApplicationId.setter
6514
+ def ApplicationId(self, ApplicationId):
6515
+ self._ApplicationId = ApplicationId
6516
+
6517
+ @property
6518
+ def Name(self):
6519
+ r"""<p>名称。</p>
6520
+ :rtype: str
6521
+ """
6522
+ return self._Name
6523
+
6524
+ @Name.setter
6525
+ def Name(self, Name):
6526
+ self._Name = Name
6527
+
6528
+ @property
6529
+ def Type(self):
6530
+ r"""<p>类型。</p>
6531
+ :rtype: str
6532
+ """
6533
+ return self._Type
6534
+
6535
+ @Type.setter
6536
+ def Type(self, Type):
6537
+ self._Type = Type
6538
+
6539
+ @property
6540
+ def AppGroupType(self):
6541
+ r"""<p>应用标记</p><p>枚举值:</p><ul><li>SUB_APP: 子应用</li><li>APP_COLLECTION: 合集</li><li>STANDALONE_APP: 独立应用</li></ul>
6542
+ :rtype: str
6543
+ """
6544
+ return self._AppGroupType
6545
+
6546
+ @AppGroupType.setter
6547
+ def AppGroupType(self, AppGroupType):
6548
+ self._AppGroupType = AppGroupType
6549
+
6550
+ @property
6551
+ def NextflowVersion(self):
6552
+ r"""<p>Nextflow版本</p>
6553
+ :rtype: list of str
6554
+ """
6555
+ return self._NextflowVersion
6556
+
6557
+ @NextflowVersion.setter
6558
+ def NextflowVersion(self, NextflowVersion):
6559
+ self._NextflowVersion = NextflowVersion
6560
+
6561
+ @property
6562
+ def AppTags(self):
6563
+ r"""<p>应用分类</p>
6564
+ :rtype: list of ToolRepoTag
6565
+ """
6566
+ return self._AppTags
6567
+
6568
+ @AppTags.setter
6569
+ def AppTags(self, AppTags):
6570
+ self._AppTags = AppTags
6571
+
6572
+ @property
6573
+ def AppId(self):
6574
+ r"""<p>应用标识</p>
6575
+ :rtype: str
6576
+ """
6577
+ return self._AppId
6578
+
6579
+ @AppId.setter
6580
+ def AppId(self, AppId):
6581
+ self._AppId = AppId
6582
+
6583
+
6584
+ def _deserialize(self, params):
6585
+ self._ApplicationId = params.get("ApplicationId")
6586
+ self._Name = params.get("Name")
6587
+ self._Type = params.get("Type")
6588
+ self._AppGroupType = params.get("AppGroupType")
6589
+ self._NextflowVersion = params.get("NextflowVersion")
6590
+ if params.get("AppTags") is not None:
6591
+ self._AppTags = []
6592
+ for item in params.get("AppTags"):
6593
+ obj = ToolRepoTag()
6594
+ obj._deserialize(item)
6595
+ self._AppTags.append(obj)
6596
+ self._AppId = params.get("AppId")
6597
+ memeber_set = set(params.keys())
6598
+ for name, value in vars(self).items():
6599
+ property_name = name[1:]
6600
+ if property_name in memeber_set:
6601
+ memeber_set.remove(property_name)
6602
+ if len(memeber_set) > 0:
6603
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6604
+
6605
+
6606
+
6358
6607
  class RebootHPCNodesRequest(AbstractModel):
6359
6608
  r"""RebootHPCNodes请求参数结构体
6360
6609
 
@@ -9528,6 +9777,57 @@ class TerminateRunGroupResponse(AbstractModel):
9528
9777
  self._RequestId = params.get("RequestId")
9529
9778
 
9530
9779
 
9780
+ class ToolRepoTag(AbstractModel):
9781
+ r"""应用分类标签
9782
+
9783
+ """
9784
+
9785
+ def __init__(self):
9786
+ r"""
9787
+ :param _TagId: <p>应用分类标签ID</p>
9788
+ :type TagId: str
9789
+ :param _TagName: <p>应用分类标签名称</p>
9790
+ :type TagName: str
9791
+ """
9792
+ self._TagId = None
9793
+ self._TagName = None
9794
+
9795
+ @property
9796
+ def TagId(self):
9797
+ r"""<p>应用分类标签ID</p>
9798
+ :rtype: str
9799
+ """
9800
+ return self._TagId
9801
+
9802
+ @TagId.setter
9803
+ def TagId(self, TagId):
9804
+ self._TagId = TagId
9805
+
9806
+ @property
9807
+ def TagName(self):
9808
+ r"""<p>应用分类标签名称</p>
9809
+ :rtype: str
9810
+ """
9811
+ return self._TagName
9812
+
9813
+ @TagName.setter
9814
+ def TagName(self, TagName):
9815
+ self._TagName = TagName
9816
+
9817
+
9818
+ def _deserialize(self, params):
9819
+ self._TagId = params.get("TagId")
9820
+ self._TagName = params.get("TagName")
9821
+ memeber_set = set(params.keys())
9822
+ for name, value in vars(self).items():
9823
+ property_name = name[1:]
9824
+ if property_name in memeber_set:
9825
+ memeber_set.remove(property_name)
9826
+ if len(memeber_set) > 0:
9827
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9828
+
9829
+
9830
+
9531
9831
  class VPCOption(AbstractModel):
9532
9832
  r"""私有网络配置。
9533
9833
 
@@ -302,6 +302,29 @@ class OmicsClient(AbstractClient):
302
302
  raise TencentCloudSDKException(type(e).__name__, str(e))
303
303
 
304
304
 
305
+ def DescribePublicApplications(self, request):
306
+ r"""查询公共应用列表。
307
+
308
+ :param request: Request instance for DescribePublicApplications.
309
+ :type request: :class:`tencentcloud.omics.v20221128.models.DescribePublicApplicationsRequest`
310
+ :rtype: :class:`tencentcloud.omics.v20221128.models.DescribePublicApplicationsResponse`
311
+
312
+ """
313
+ try:
314
+ params = request._serialize()
315
+ headers = request.headers
316
+ body = self.call("DescribePublicApplications", params, headers=headers)
317
+ response = json.loads(body)
318
+ model = models.DescribePublicApplicationsResponse()
319
+ model._deserialize(response["Response"])
320
+ return model
321
+ except Exception as e:
322
+ if isinstance(e, TencentCloudSDKException):
323
+ raise
324
+ else:
325
+ raise TencentCloudSDKException(type(e).__name__, str(e))
326
+
327
+
305
328
  def DescribeRunGroups(self, request):
306
329
  r"""查询任务批次列表。
307
330
 
@@ -241,6 +241,24 @@ class OmicsClient(AbstractClient):
241
241
 
242
242
  return await self.call_and_deserialize(**kwargs)
243
243
 
244
+ async def DescribePublicApplications(
245
+ self,
246
+ request: models.DescribePublicApplicationsRequest,
247
+ opts: Dict = None,
248
+ ) -> models.DescribePublicApplicationsResponse:
249
+ """
250
+ 查询公共应用列表。
251
+ """
252
+
253
+ kwargs = {}
254
+ kwargs["action"] = "DescribePublicApplications"
255
+ kwargs["params"] = request._serialize()
256
+ kwargs["resp_cls"] = models.DescribePublicApplicationsResponse
257
+ kwargs["headers"] = request.headers
258
+ kwargs["opts"] = opts or {}
259
+
260
+ return await self.call_and_deserialize(**kwargs)
261
+
244
262
  async def DescribeRunGroups(
245
263
  self,
246
264
  request: models.DescribeRunGroupsRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-omics
3
- Version: 3.1.75
3
+ Version: 3.1.76
4
4
  Summary: Tencent Cloud Omics SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.75
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.76
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,11 @@
1
+ tencentcloud/__init__.py,sha256=Dfhv-ot5XxNsf0T3EtVxTZKQ2GfW-N2VGpt5RmpBGfY,629
2
+ tencentcloud/omics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/omics/v20221128/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/omics/v20221128/errorcodes.py,sha256=G9tGtwbBeBjy9p5SYm-SXZM7gQlWfDSXVRGiwaby0k4,4855
5
+ tencentcloud/omics/v20221128/models.py,sha256=MZNvP77Cx_zuKMxTFs2D5p7dv0TS8X5fJRoqQGGmgAE,292387
6
+ tencentcloud/omics/v20221128/omics_client.py,sha256=Ii7gKtsI1upbkqD5d6ODm8d9ur-_rri3za8XS_qxnWk,27210
7
+ tencentcloud/omics/v20221128/omics_client_async.py,sha256=2GKPpEoVUhiCrAeoLtqSnEO4MDxvBngTmKAYDExXZGQ,18054
8
+ tencentcloud_sdk_python_omics-3.1.76.dist-info/METADATA,sha256=ohoUW3XGv5aVzu4YsYa8KSHxUnDeUOtI8PGzQtNHU-I,1505
9
+ tencentcloud_sdk_python_omics-3.1.76.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_omics-3.1.76.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_omics-3.1.76.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- tencentcloud/__init__.py,sha256=tGSBeJ4sUYlevfUYT3ux8Em33eLZcTUltn1QKGiGtRw,629
2
- tencentcloud/omics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/omics/v20221128/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/omics/v20221128/errorcodes.py,sha256=G9tGtwbBeBjy9p5SYm-SXZM7gQlWfDSXVRGiwaby0k4,4855
5
- tencentcloud/omics/v20221128/models.py,sha256=rMvADxi77WupPkfFcSYhJbWKaUC5AJHojfICmbkG0RM,283847
6
- tencentcloud/omics/v20221128/omics_client.py,sha256=G7sCyxz43BJm4DjND-c2TCXtNOIru8Ho90m-pdbEhAI,26273
7
- tencentcloud/omics/v20221128/omics_client_async.py,sha256=lyu41wpQkS4svZdqv-e7OpCqaROravTquiVZT30LKBI,17429
8
- tencentcloud_sdk_python_omics-3.1.75.dist-info/METADATA,sha256=H2gG_qQbs5LXZD5UwbScmbx9cczZqaHsnwIvvLFaDuQ,1505
9
- tencentcloud_sdk_python_omics-3.1.75.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_omics-3.1.75.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_omics-3.1.75.dist-info/RECORD,,