tencentcloud-sdk-python-omics 3.1.75__py2.py3-none-any.whl → 3.1.77__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.77'
@@ -2546,6 +2546,154 @@ 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: <p>返回数量,默认为20,最大值为100。</p>
2557
+ :type Limit: int
2558
+ :param _Offset: <p>偏移量,默认为0。</p>
2559
+ :type Offset: int
2560
+ :param _ParentAppId: <p>父应用ID</p>
2561
+ :type ParentAppId: str
2562
+ :param _AppType: <p>应用类型</p><p>枚举值:</p><ul><li>WDL: WDL</li><li>NEXTFLOW: NEXTFLOW</li></ul>
2563
+ :type AppType: str
2564
+ """
2565
+ self._Limit = None
2566
+ self._Offset = None
2567
+ self._ParentAppId = None
2568
+ self._AppType = None
2569
+
2570
+ @property
2571
+ def Limit(self):
2572
+ r"""<p>返回数量,默认为20,最大值为100。</p>
2573
+ :rtype: int
2574
+ """
2575
+ return self._Limit
2576
+
2577
+ @Limit.setter
2578
+ def Limit(self, Limit):
2579
+ self._Limit = Limit
2580
+
2581
+ @property
2582
+ def Offset(self):
2583
+ r"""<p>偏移量,默认为0。</p>
2584
+ :rtype: int
2585
+ """
2586
+ return self._Offset
2587
+
2588
+ @Offset.setter
2589
+ def Offset(self, Offset):
2590
+ self._Offset = Offset
2591
+
2592
+ @property
2593
+ def ParentAppId(self):
2594
+ r"""<p>父应用ID</p>
2595
+ :rtype: str
2596
+ """
2597
+ return self._ParentAppId
2598
+
2599
+ @ParentAppId.setter
2600
+ def ParentAppId(self, ParentAppId):
2601
+ self._ParentAppId = ParentAppId
2602
+
2603
+ @property
2604
+ def AppType(self):
2605
+ r"""<p>应用类型</p><p>枚举值:</p><ul><li>WDL: WDL</li><li>NEXTFLOW: NEXTFLOW</li></ul>
2606
+ :rtype: str
2607
+ """
2608
+ return self._AppType
2609
+
2610
+ @AppType.setter
2611
+ def AppType(self, AppType):
2612
+ self._AppType = AppType
2613
+
2614
+
2615
+ def _deserialize(self, params):
2616
+ self._Limit = params.get("Limit")
2617
+ self._Offset = params.get("Offset")
2618
+ self._ParentAppId = params.get("ParentAppId")
2619
+ self._AppType = params.get("AppType")
2620
+ memeber_set = set(params.keys())
2621
+ for name, value in vars(self).items():
2622
+ property_name = name[1:]
2623
+ if property_name in memeber_set:
2624
+ memeber_set.remove(property_name)
2625
+ if len(memeber_set) > 0:
2626
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2627
+
2628
+
2629
+
2630
+ class DescribePublicApplicationsResponse(AbstractModel):
2631
+ r"""DescribePublicApplications返回参数结构体
2632
+
2633
+ """
2634
+
2635
+ def __init__(self):
2636
+ r"""
2637
+ :param _Applications: <p>公共应用。</p>
2638
+ 注意:此字段可能返回 null,表示取不到有效值。
2639
+ :type Applications: list of PublicApplication
2640
+ :param _TotalCount: <p>符合条件的数量。</p>
2641
+ 注意:此字段可能返回 null,表示取不到有效值。
2642
+ :type TotalCount: int
2643
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2644
+ :type RequestId: str
2645
+ """
2646
+ self._Applications = None
2647
+ self._TotalCount = None
2648
+ self._RequestId = None
2649
+
2650
+ @property
2651
+ def Applications(self):
2652
+ r"""<p>公共应用。</p>
2653
+ 注意:此字段可能返回 null,表示取不到有效值。
2654
+ :rtype: list of PublicApplication
2655
+ """
2656
+ return self._Applications
2657
+
2658
+ @Applications.setter
2659
+ def Applications(self, Applications):
2660
+ self._Applications = Applications
2661
+
2662
+ @property
2663
+ def TotalCount(self):
2664
+ r"""<p>符合条件的数量。</p>
2665
+ 注意:此字段可能返回 null,表示取不到有效值。
2666
+ :rtype: int
2667
+ """
2668
+ return self._TotalCount
2669
+
2670
+ @TotalCount.setter
2671
+ def TotalCount(self, TotalCount):
2672
+ self._TotalCount = TotalCount
2673
+
2674
+ @property
2675
+ def RequestId(self):
2676
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2677
+ :rtype: str
2678
+ """
2679
+ return self._RequestId
2680
+
2681
+ @RequestId.setter
2682
+ def RequestId(self, RequestId):
2683
+ self._RequestId = RequestId
2684
+
2685
+
2686
+ def _deserialize(self, params):
2687
+ if params.get("Applications") is not None:
2688
+ self._Applications = []
2689
+ for item in params.get("Applications"):
2690
+ obj = PublicApplication()
2691
+ obj._deserialize(item)
2692
+ self._Applications.append(obj)
2693
+ self._TotalCount = params.get("TotalCount")
2694
+ self._RequestId = params.get("RequestId")
2695
+
2696
+
2549
2697
  class DescribeRunGroupsRequest(AbstractModel):
2550
2698
  r"""DescribeRunGroups请求参数结构体
2551
2699
 
@@ -6355,6 +6503,137 @@ class Project(AbstractModel):
6355
6503
 
6356
6504
 
6357
6505
 
6506
+ class PublicApplication(AbstractModel):
6507
+ r"""公共应用。
6508
+
6509
+ """
6510
+
6511
+ def __init__(self):
6512
+ r"""
6513
+ :param _ApplicationId: <p>应用ID。</p>
6514
+ :type ApplicationId: str
6515
+ :param _Name: <p>名称。</p>
6516
+ :type Name: str
6517
+ :param _Type: <p>类型。</p>
6518
+ :type Type: str
6519
+ :param _AppGroupType: <p>应用标记</p><p>枚举值:</p><ul><li>SUB_APP: 子应用</li><li>APP_COLLECTION: 合集</li><li>STANDALONE_APP: 独立应用</li></ul>
6520
+ :type AppGroupType: str
6521
+ :param _NextflowVersion: <p>Nextflow版本</p>
6522
+ :type NextflowVersion: list of str
6523
+ :param _AppTags: <p>应用分类</p>
6524
+ :type AppTags: list of ToolRepoTag
6525
+ :param _AppId: <p>应用标识</p>
6526
+ :type AppId: str
6527
+ """
6528
+ self._ApplicationId = None
6529
+ self._Name = None
6530
+ self._Type = None
6531
+ self._AppGroupType = None
6532
+ self._NextflowVersion = None
6533
+ self._AppTags = None
6534
+ self._AppId = None
6535
+
6536
+ @property
6537
+ def ApplicationId(self):
6538
+ r"""<p>应用ID。</p>
6539
+ :rtype: str
6540
+ """
6541
+ return self._ApplicationId
6542
+
6543
+ @ApplicationId.setter
6544
+ def ApplicationId(self, ApplicationId):
6545
+ self._ApplicationId = ApplicationId
6546
+
6547
+ @property
6548
+ def Name(self):
6549
+ r"""<p>名称。</p>
6550
+ :rtype: str
6551
+ """
6552
+ return self._Name
6553
+
6554
+ @Name.setter
6555
+ def Name(self, Name):
6556
+ self._Name = Name
6557
+
6558
+ @property
6559
+ def Type(self):
6560
+ r"""<p>类型。</p>
6561
+ :rtype: str
6562
+ """
6563
+ return self._Type
6564
+
6565
+ @Type.setter
6566
+ def Type(self, Type):
6567
+ self._Type = Type
6568
+
6569
+ @property
6570
+ def AppGroupType(self):
6571
+ r"""<p>应用标记</p><p>枚举值:</p><ul><li>SUB_APP: 子应用</li><li>APP_COLLECTION: 合集</li><li>STANDALONE_APP: 独立应用</li></ul>
6572
+ :rtype: str
6573
+ """
6574
+ return self._AppGroupType
6575
+
6576
+ @AppGroupType.setter
6577
+ def AppGroupType(self, AppGroupType):
6578
+ self._AppGroupType = AppGroupType
6579
+
6580
+ @property
6581
+ def NextflowVersion(self):
6582
+ r"""<p>Nextflow版本</p>
6583
+ :rtype: list of str
6584
+ """
6585
+ return self._NextflowVersion
6586
+
6587
+ @NextflowVersion.setter
6588
+ def NextflowVersion(self, NextflowVersion):
6589
+ self._NextflowVersion = NextflowVersion
6590
+
6591
+ @property
6592
+ def AppTags(self):
6593
+ r"""<p>应用分类</p>
6594
+ :rtype: list of ToolRepoTag
6595
+ """
6596
+ return self._AppTags
6597
+
6598
+ @AppTags.setter
6599
+ def AppTags(self, AppTags):
6600
+ self._AppTags = AppTags
6601
+
6602
+ @property
6603
+ def AppId(self):
6604
+ r"""<p>应用标识</p>
6605
+ :rtype: str
6606
+ """
6607
+ return self._AppId
6608
+
6609
+ @AppId.setter
6610
+ def AppId(self, AppId):
6611
+ self._AppId = AppId
6612
+
6613
+
6614
+ def _deserialize(self, params):
6615
+ self._ApplicationId = params.get("ApplicationId")
6616
+ self._Name = params.get("Name")
6617
+ self._Type = params.get("Type")
6618
+ self._AppGroupType = params.get("AppGroupType")
6619
+ self._NextflowVersion = params.get("NextflowVersion")
6620
+ if params.get("AppTags") is not None:
6621
+ self._AppTags = []
6622
+ for item in params.get("AppTags"):
6623
+ obj = ToolRepoTag()
6624
+ obj._deserialize(item)
6625
+ self._AppTags.append(obj)
6626
+ self._AppId = params.get("AppId")
6627
+ memeber_set = set(params.keys())
6628
+ for name, value in vars(self).items():
6629
+ property_name = name[1:]
6630
+ if property_name in memeber_set:
6631
+ memeber_set.remove(property_name)
6632
+ if len(memeber_set) > 0:
6633
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6634
+
6635
+
6636
+
6358
6637
  class RebootHPCNodesRequest(AbstractModel):
6359
6638
  r"""RebootHPCNodes请求参数结构体
6360
6639
 
@@ -9528,6 +9807,57 @@ class TerminateRunGroupResponse(AbstractModel):
9528
9807
  self._RequestId = params.get("RequestId")
9529
9808
 
9530
9809
 
9810
+ class ToolRepoTag(AbstractModel):
9811
+ r"""应用分类标签
9812
+
9813
+ """
9814
+
9815
+ def __init__(self):
9816
+ r"""
9817
+ :param _TagId: <p>应用分类标签ID</p>
9818
+ :type TagId: str
9819
+ :param _TagName: <p>应用分类标签名称</p>
9820
+ :type TagName: str
9821
+ """
9822
+ self._TagId = None
9823
+ self._TagName = None
9824
+
9825
+ @property
9826
+ def TagId(self):
9827
+ r"""<p>应用分类标签ID</p>
9828
+ :rtype: str
9829
+ """
9830
+ return self._TagId
9831
+
9832
+ @TagId.setter
9833
+ def TagId(self, TagId):
9834
+ self._TagId = TagId
9835
+
9836
+ @property
9837
+ def TagName(self):
9838
+ r"""<p>应用分类标签名称</p>
9839
+ :rtype: str
9840
+ """
9841
+ return self._TagName
9842
+
9843
+ @TagName.setter
9844
+ def TagName(self, TagName):
9845
+ self._TagName = TagName
9846
+
9847
+
9848
+ def _deserialize(self, params):
9849
+ self._TagId = params.get("TagId")
9850
+ self._TagName = params.get("TagName")
9851
+ memeber_set = set(params.keys())
9852
+ for name, value in vars(self).items():
9853
+ property_name = name[1:]
9854
+ if property_name in memeber_set:
9855
+ memeber_set.remove(property_name)
9856
+ if len(memeber_set) > 0:
9857
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9858
+
9859
+
9860
+
9531
9861
  class VPCOption(AbstractModel):
9532
9862
  r"""私有网络配置。
9533
9863
 
@@ -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.77
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.77
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,11 @@
1
+ tencentcloud/__init__.py,sha256=XRuMwlwfpGdEJdjtIijMfnUVVVZGrvs5Z3IT-hh5tMw,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=McBwIRr8dYaHR66gK4_e_PL7WS8M_ETZucUIEemPKAM,293367
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.77.dist-info/METADATA,sha256=KzIpjtSWwkL_lGbqfnW-73j1y0wPzgM_Dm2dfTkJOAE,1505
9
+ tencentcloud_sdk_python_omics-3.1.77.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_omics-3.1.77.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_omics-3.1.77.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,,