tencentcloud-sdk-python-ags 3.1.197__tar.gz → 3.1.202__tar.gz
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_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/setup.py +1 -1
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/tencentcloud/ags/v20250920/ags_client.py +1 -1
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/tencentcloud/ags/v20250920/ags_client_async.py +1 -1
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/tencentcloud/ags/v20250920/models.py +200 -13
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/tencentcloud_sdk_python_ags.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ags-3.1.202/tencentcloud_sdk_python_ags.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ags-3.1.197/tencentcloud_sdk_python_ags.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/README.rst +0 -0
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/tencentcloud/ags/__init__.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/tencentcloud/ags/v20250920/__init__.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/tencentcloud/ags/v20250920/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/tencentcloud_sdk_python_ags.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/tencentcloud_sdk_python_ags.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.202}/tencentcloud_sdk_python_ags.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ags
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.202
|
|
4
4
|
Summary: Tencent Cloud Ags 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.202
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ags',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.202,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ags SDK for Python',
|
|
@@ -843,7 +843,7 @@ class AgsClient(AbstractClient):
|
|
|
843
843
|
|
|
844
844
|
|
|
845
845
|
def DescribeRegistryRecordVersionList(self, request):
|
|
846
|
-
r"""
|
|
846
|
+
r"""RegistryId 必填。大写常量 MARKETPLACE 表示服务端主 YAML marketplace.registry_ids 配置的工具市场;真实 reg-xxx 表示具体 Registry。省略、空字符串、null 或其他大小写均拒绝。市场读取要求已认证身份,只返回配置来源内未删除、已审批的可读版本,文件还须 READY 和有效制品;不回退私有目录。 RecordId 市场可选、普通必填。固定版本查询用 DescribeRegistryRecord;record_id/version_id Filters 已删除。Filters 不扩大权限;市场默认浏览传 label=stable。普通模式保留 AppID 与 CAM,市场版本显式投影公开字段。
|
|
847
847
|
|
|
848
848
|
:param request: Request instance for DescribeRegistryRecordVersionList.
|
|
849
849
|
:type request: :class:`tencentcloud.ags.v20250920.models.DescribeRegistryRecordVersionListRequest`
|
|
@@ -672,7 +672,7 @@ class AgsClient(AbstractClient):
|
|
|
672
672
|
opts: Dict = None,
|
|
673
673
|
) -> models.DescribeRegistryRecordVersionListResponse:
|
|
674
674
|
"""
|
|
675
|
-
|
|
675
|
+
RegistryId 必填。大写常量 MARKETPLACE 表示服务端主 YAML marketplace.registry_ids 配置的工具市场;真实 reg-xxx 表示具体 Registry。省略、空字符串、null 或其他大小写均拒绝。市场读取要求已认证身份,只返回配置来源内未删除、已审批的可读版本,文件还须 READY 和有效制品;不回退私有目录。 RecordId 市场可选、普通必填。固定版本查询用 DescribeRegistryRecord;record_id/version_id Filters 已删除。Filters 不扩大权限;市场默认浏览传 label=stable。普通模式保留 AppID 与 CAM,市场版本显式投影公开字段。
|
|
676
676
|
"""
|
|
677
677
|
|
|
678
678
|
kwargs = {}
|
|
@@ -1714,7 +1714,7 @@ class CloudRecordLabelMutation(AbstractModel):
|
|
|
1714
1714
|
|
|
1715
1715
|
|
|
1716
1716
|
class CloudRecordVersion(AbstractModel):
|
|
1717
|
-
r"""Record
|
|
1717
|
+
r"""Record 的版本信息,包含不可变描述符、来源配置与审批状态。DescribeRegistryRecordVersionList 另返回所属 Record 当前的 Name、Description、DescriptorType 展示投影;这些展示字段不属于版本快照,其他接口可不返回。
|
|
1718
1718
|
|
|
1719
1719
|
"""
|
|
1720
1720
|
|
|
@@ -1777,7 +1777,7 @@ class CloudRecordVersion(AbstractModel):
|
|
|
1777
1777
|
:param _ApprovalActions: <p>Version 历次审批动作。</p>
|
|
1778
1778
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1779
1779
|
:type ApprovalActions: list of CloudVersionApprovalAction
|
|
1780
|
-
:param _ContentReadyTime: <p
|
|
1780
|
+
:param _ContentReadyTime: <p>文件内容就绪时间,UTC RFC3339 格式。</p><p>仅 TAR_PACKAGE 或 FILE 来源且 ContentStatus=READY 的版本返回;其他来源或未就绪文件为空。Skill 沿用现有 TAR 内容校验机制,Plugin 仅确认文件大小和完整性。</p>
|
|
1781
1781
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1782
1782
|
:type ContentReadyTime: str
|
|
1783
1783
|
:param _ChangeLog: <p>本次 Version 的变更原因,最大 4096 字符;不可修改。Revision 1 或未填写时返回空字符串。</p>
|
|
@@ -1786,6 +1786,16 @@ class CloudRecordVersion(AbstractModel):
|
|
|
1786
1786
|
:param _LabelSet: <p>当前绑定该 Version 的 Label Name 列表(例如 stable / latest 或自定义 Label 名称)。未绑定 Label 不在此返回。</p>
|
|
1787
1787
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1788
1788
|
:type LabelSet: list of str
|
|
1789
|
+
:param _SupportedHarnessVersions: <p>该资产版本支持的 Harness 引擎与具体版本对象列表。</p><p>参数格式:元素为 HarnessVersionReference,包含必填的 HarnessEngine 和 HarnessEngineVersion,原样使用 DescribeHarnessEngineList 返回值;每个字段 1 至 128 字符,最多 128 项,按二元组区分大小写去重。不使用拼接标识、通配符或版本范围。</p><p>默认值:[]</p><p>随版本创建,不继承。省略或空列表表示未声明,不代表支持所有 Harness。旧字符串快照按未声明返回 [],不推断引擎,不匹配兼容筛选。supported_harness_engine 和 supported_harness_version 必须同时传入并精确匹配同一个对象;Managed Harness 按目标引擎与版本二元组校验。</p>
|
|
1790
|
+
:type SupportedHarnessVersions: list of HarnessVersionReference
|
|
1791
|
+
:param _Metadata: <p>版本元数据的 Name/Value 对象数组。</p><p>参数格式:每项仅包含必填的 Name、Value 两个字符串字段。Name 非空、小写且数组内唯一,不自动转换;重复 Name 即使 Value 相同也返回 InvalidParameter。Value 允许空字符串,保留大小写;不接受嵌套对象、数组或非字符串值。</p><p>默认值:空数组 []。创建新版本时省略或 [] 均为空,不继承;null、JSON 字符串和原生对象非法。响应按 Name 升序返回,旧 SQL NULL 归一为 []。服务内部使用 map[string]string,数据库 JSON 列保存对象。publisher 表示发布者展示名称;metadata.<key> 按完整小写名称精确筛选,规则不变。</p>
|
|
1792
|
+
:type Metadata: list of MetadataEntry
|
|
1793
|
+
:param _Name: <p>所属 Record 当前的名称。仅 DescribeRegistryRecordVersionList 在普通模式和市场模式中返回,用于卡片展示。</p><p>展示投影不保存到不可变版本快照;其他返回版本信息的接口可不包含此字段。</p>
|
|
1794
|
+
:type Name: str
|
|
1795
|
+
:param _Description: <p>所属 Record 当前的描述。仅 DescribeRegistryRecordVersionList 在普通模式和市场模式中返回,允许为空字符串。</p><p>Record 描述更新后,列表查询同步反映新值,包括空字符串;固定 VersionId、Descriptors 和其他版本内容不变。其他返回版本信息的接口可不包含此字段。</p>
|
|
1796
|
+
:type Description: str
|
|
1797
|
+
:param _DescriptorType: <p>所属 Record 的底层资产类型。仅 DescribeRegistryRecordVersionList 在普通模式和市场模式中返回,用于卡片展示及 descriptor_type 筛选。</p><p>取值包括 MCP、A2A、AGUI、CUSTOM、AGENT_SKILLS 和 PLUGIN。不新增 Kind 或 TOOL 类型;此展示投影不保存到版本快照,其他返回版本信息的接口可不包含此字段。</p>
|
|
1798
|
+
:type DescriptorType: str
|
|
1789
1799
|
"""
|
|
1790
1800
|
self._VersionId = None
|
|
1791
1801
|
self._RecordId = None
|
|
@@ -1809,6 +1819,11 @@ class CloudRecordVersion(AbstractModel):
|
|
|
1809
1819
|
self._ContentReadyTime = None
|
|
1810
1820
|
self._ChangeLog = None
|
|
1811
1821
|
self._LabelSet = None
|
|
1822
|
+
self._SupportedHarnessVersions = None
|
|
1823
|
+
self._Metadata = None
|
|
1824
|
+
self._Name = None
|
|
1825
|
+
self._Description = None
|
|
1826
|
+
self._DescriptorType = None
|
|
1812
1827
|
|
|
1813
1828
|
@property
|
|
1814
1829
|
def VersionId(self):
|
|
@@ -2040,7 +2055,7 @@ class CloudRecordVersion(AbstractModel):
|
|
|
2040
2055
|
|
|
2041
2056
|
@property
|
|
2042
2057
|
def ContentReadyTime(self):
|
|
2043
|
-
r"""<p
|
|
2058
|
+
r"""<p>文件内容就绪时间,UTC RFC3339 格式。</p><p>仅 TAR_PACKAGE 或 FILE 来源且 ContentStatus=READY 的版本返回;其他来源或未就绪文件为空。Skill 沿用现有 TAR 内容校验机制,Plugin 仅确认文件大小和完整性。</p>
|
|
2044
2059
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2045
2060
|
:rtype: str
|
|
2046
2061
|
"""
|
|
@@ -2074,6 +2089,61 @@ class CloudRecordVersion(AbstractModel):
|
|
|
2074
2089
|
def LabelSet(self, LabelSet):
|
|
2075
2090
|
self._LabelSet = LabelSet
|
|
2076
2091
|
|
|
2092
|
+
@property
|
|
2093
|
+
def SupportedHarnessVersions(self):
|
|
2094
|
+
r"""<p>该资产版本支持的 Harness 引擎与具体版本对象列表。</p><p>参数格式:元素为 HarnessVersionReference,包含必填的 HarnessEngine 和 HarnessEngineVersion,原样使用 DescribeHarnessEngineList 返回值;每个字段 1 至 128 字符,最多 128 项,按二元组区分大小写去重。不使用拼接标识、通配符或版本范围。</p><p>默认值:[]</p><p>随版本创建,不继承。省略或空列表表示未声明,不代表支持所有 Harness。旧字符串快照按未声明返回 [],不推断引擎,不匹配兼容筛选。supported_harness_engine 和 supported_harness_version 必须同时传入并精确匹配同一个对象;Managed Harness 按目标引擎与版本二元组校验。</p>
|
|
2095
|
+
:rtype: list of HarnessVersionReference
|
|
2096
|
+
"""
|
|
2097
|
+
return self._SupportedHarnessVersions
|
|
2098
|
+
|
|
2099
|
+
@SupportedHarnessVersions.setter
|
|
2100
|
+
def SupportedHarnessVersions(self, SupportedHarnessVersions):
|
|
2101
|
+
self._SupportedHarnessVersions = SupportedHarnessVersions
|
|
2102
|
+
|
|
2103
|
+
@property
|
|
2104
|
+
def Metadata(self):
|
|
2105
|
+
r"""<p>版本元数据的 Name/Value 对象数组。</p><p>参数格式:每项仅包含必填的 Name、Value 两个字符串字段。Name 非空、小写且数组内唯一,不自动转换;重复 Name 即使 Value 相同也返回 InvalidParameter。Value 允许空字符串,保留大小写;不接受嵌套对象、数组或非字符串值。</p><p>默认值:空数组 []。创建新版本时省略或 [] 均为空,不继承;null、JSON 字符串和原生对象非法。响应按 Name 升序返回,旧 SQL NULL 归一为 []。服务内部使用 map[string]string,数据库 JSON 列保存对象。publisher 表示发布者展示名称;metadata.<key> 按完整小写名称精确筛选,规则不变。</p>
|
|
2106
|
+
:rtype: list of MetadataEntry
|
|
2107
|
+
"""
|
|
2108
|
+
return self._Metadata
|
|
2109
|
+
|
|
2110
|
+
@Metadata.setter
|
|
2111
|
+
def Metadata(self, Metadata):
|
|
2112
|
+
self._Metadata = Metadata
|
|
2113
|
+
|
|
2114
|
+
@property
|
|
2115
|
+
def Name(self):
|
|
2116
|
+
r"""<p>所属 Record 当前的名称。仅 DescribeRegistryRecordVersionList 在普通模式和市场模式中返回,用于卡片展示。</p><p>展示投影不保存到不可变版本快照;其他返回版本信息的接口可不包含此字段。</p>
|
|
2117
|
+
:rtype: str
|
|
2118
|
+
"""
|
|
2119
|
+
return self._Name
|
|
2120
|
+
|
|
2121
|
+
@Name.setter
|
|
2122
|
+
def Name(self, Name):
|
|
2123
|
+
self._Name = Name
|
|
2124
|
+
|
|
2125
|
+
@property
|
|
2126
|
+
def Description(self):
|
|
2127
|
+
r"""<p>所属 Record 当前的描述。仅 DescribeRegistryRecordVersionList 在普通模式和市场模式中返回,允许为空字符串。</p><p>Record 描述更新后,列表查询同步反映新值,包括空字符串;固定 VersionId、Descriptors 和其他版本内容不变。其他返回版本信息的接口可不包含此字段。</p>
|
|
2128
|
+
:rtype: str
|
|
2129
|
+
"""
|
|
2130
|
+
return self._Description
|
|
2131
|
+
|
|
2132
|
+
@Description.setter
|
|
2133
|
+
def Description(self, Description):
|
|
2134
|
+
self._Description = Description
|
|
2135
|
+
|
|
2136
|
+
@property
|
|
2137
|
+
def DescriptorType(self):
|
|
2138
|
+
r"""<p>所属 Record 的底层资产类型。仅 DescribeRegistryRecordVersionList 在普通模式和市场模式中返回,用于卡片展示及 descriptor_type 筛选。</p><p>取值包括 MCP、A2A、AGUI、CUSTOM、AGENT_SKILLS 和 PLUGIN。不新增 Kind 或 TOOL 类型;此展示投影不保存到版本快照,其他返回版本信息的接口可不包含此字段。</p>
|
|
2139
|
+
:rtype: str
|
|
2140
|
+
"""
|
|
2141
|
+
return self._DescriptorType
|
|
2142
|
+
|
|
2143
|
+
@DescriptorType.setter
|
|
2144
|
+
def DescriptorType(self, DescriptorType):
|
|
2145
|
+
self._DescriptorType = DescriptorType
|
|
2146
|
+
|
|
2077
2147
|
|
|
2078
2148
|
def _deserialize(self, params):
|
|
2079
2149
|
self._VersionId = params.get("VersionId")
|
|
@@ -2103,6 +2173,21 @@ class CloudRecordVersion(AbstractModel):
|
|
|
2103
2173
|
self._ContentReadyTime = params.get("ContentReadyTime")
|
|
2104
2174
|
self._ChangeLog = params.get("ChangeLog")
|
|
2105
2175
|
self._LabelSet = params.get("LabelSet")
|
|
2176
|
+
if params.get("SupportedHarnessVersions") is not None:
|
|
2177
|
+
self._SupportedHarnessVersions = []
|
|
2178
|
+
for item in params.get("SupportedHarnessVersions"):
|
|
2179
|
+
obj = HarnessVersionReference()
|
|
2180
|
+
obj._deserialize(item)
|
|
2181
|
+
self._SupportedHarnessVersions.append(obj)
|
|
2182
|
+
if params.get("Metadata") is not None:
|
|
2183
|
+
self._Metadata = []
|
|
2184
|
+
for item in params.get("Metadata"):
|
|
2185
|
+
obj = MetadataEntry()
|
|
2186
|
+
obj._deserialize(item)
|
|
2187
|
+
self._Metadata.append(obj)
|
|
2188
|
+
self._Name = params.get("Name")
|
|
2189
|
+
self._Description = params.get("Description")
|
|
2190
|
+
self._DescriptorType = params.get("DescriptorType")
|
|
2106
2191
|
memeber_set = set(params.keys())
|
|
2107
2192
|
for name, value in vars(self).items():
|
|
2108
2193
|
property_name = name[1:]
|
|
@@ -7477,15 +7562,15 @@ class DescribeRegistryRecordVersionListRequest(AbstractModel):
|
|
|
7477
7562
|
|
|
7478
7563
|
def __init__(self):
|
|
7479
7564
|
r"""
|
|
7480
|
-
:param _RegistryId: <p>父 Registry ID。</p>
|
|
7565
|
+
:param _RegistryId: <p>父 Registry ID,与 RecordId 同时省略或为空字符串时使用市场查询;两者均非空时使用普通查询。</p><p>市场查询仅返回服务端 marketplace.registry_ids 配置来源的未删除资产的 APPROVED 版本;文件还需 READY 且制品可用。普通查询保持 AppID 隔离和原 CAM 权限,即使显式指定官方 Registry 也按普通权限处理。仅一个 ID 非空返回 InvalidParameter。</p>
|
|
7481
7566
|
:type RegistryId: str
|
|
7482
|
-
:param _RecordId: <p>Record ID。</p>
|
|
7567
|
+
:param _RecordId: <p>Record ID。市场和普通 Registry 查询均可省略,提供时仅查询该 Record 的版本。</p><p>省略时查询 RegistryId 所选范围内的可读版本。查询各 Record 的稳定版本时显式传 Filters 的 label=stable。</p>
|
|
7483
7568
|
:type RecordId: str
|
|
7484
7569
|
:param _Offset: <p>分页起始偏移,默认 0。</p>
|
|
7485
7570
|
:type Offset: int
|
|
7486
7571
|
:param _Limit: <p>分页条数,默认 20,最大 100。</p>
|
|
7487
7572
|
:type Limit: int
|
|
7488
|
-
:param _Filters: <p
|
|
7573
|
+
:param _Filters: <p>过滤条件。两种模式默认支持 label、search、descriptor_type、supported_harness_engine、supported_harness_version、metadata. 前缀、status、source_type;record_id 和 version_id 仅支持市场模式。</p><p>同 key 多值 OR,不同 key AND。supported_harness_engine 与 supported_harness_version 必须同时提供,分别对 HarnessEngine 和 HarnessEngineVersion 区分大小写精确匹配,并命中 SupportedHarnessVersions 中同一个对象;禁止跨元素组合,未声明兼容性时不匹配,只提供其中一个返回 InvalidParameter.Filters。search 仅允许单个关键词,匹配 Record 名称或描述;label 匹配当前绑定版本。metadata. 后完整小写文本作为顶层 key,按字符串值精确匹配,不解析嵌套路径。status 支持 PREPARING/PENDING_APPROVAL/APPROVED/REJECTED/CANCELED;source_type 支持 MANUAL/URL_IMPORT/TAR_PACKAGE/FILE。未知或重复 key、空 Values、非法值拒绝。无 Filters 不默认 stable,市场默认浏览显式传 label=stable;筛选不能扩大可读范围。</p>
|
|
7489
7574
|
:type Filters: list of CloudFilter
|
|
7490
7575
|
"""
|
|
7491
7576
|
self._RegistryId = None
|
|
@@ -7496,7 +7581,7 @@ class DescribeRegistryRecordVersionListRequest(AbstractModel):
|
|
|
7496
7581
|
|
|
7497
7582
|
@property
|
|
7498
7583
|
def RegistryId(self):
|
|
7499
|
-
r"""<p>父 Registry ID。</p>
|
|
7584
|
+
r"""<p>父 Registry ID,与 RecordId 同时省略或为空字符串时使用市场查询;两者均非空时使用普通查询。</p><p>市场查询仅返回服务端 marketplace.registry_ids 配置来源的未删除资产的 APPROVED 版本;文件还需 READY 且制品可用。普通查询保持 AppID 隔离和原 CAM 权限,即使显式指定官方 Registry 也按普通权限处理。仅一个 ID 非空返回 InvalidParameter。</p>
|
|
7500
7585
|
:rtype: str
|
|
7501
7586
|
"""
|
|
7502
7587
|
return self._RegistryId
|
|
@@ -7507,7 +7592,7 @@ class DescribeRegistryRecordVersionListRequest(AbstractModel):
|
|
|
7507
7592
|
|
|
7508
7593
|
@property
|
|
7509
7594
|
def RecordId(self):
|
|
7510
|
-
r"""<p>Record ID。</p>
|
|
7595
|
+
r"""<p>Record ID。市场和普通 Registry 查询均可省略,提供时仅查询该 Record 的版本。</p><p>省略时查询 RegistryId 所选范围内的可读版本。查询各 Record 的稳定版本时显式传 Filters 的 label=stable。</p>
|
|
7511
7596
|
:rtype: str
|
|
7512
7597
|
"""
|
|
7513
7598
|
return self._RecordId
|
|
@@ -7540,7 +7625,7 @@ class DescribeRegistryRecordVersionListRequest(AbstractModel):
|
|
|
7540
7625
|
|
|
7541
7626
|
@property
|
|
7542
7627
|
def Filters(self):
|
|
7543
|
-
r"""<p
|
|
7628
|
+
r"""<p>过滤条件。两种模式默认支持 label、search、descriptor_type、supported_harness_engine、supported_harness_version、metadata. 前缀、status、source_type;record_id 和 version_id 仅支持市场模式。</p><p>同 key 多值 OR,不同 key AND。supported_harness_engine 与 supported_harness_version 必须同时提供,分别对 HarnessEngine 和 HarnessEngineVersion 区分大小写精确匹配,并命中 SupportedHarnessVersions 中同一个对象;禁止跨元素组合,未声明兼容性时不匹配,只提供其中一个返回 InvalidParameter.Filters。search 仅允许单个关键词,匹配 Record 名称或描述;label 匹配当前绑定版本。metadata. 后完整小写文本作为顶层 key,按字符串值精确匹配,不解析嵌套路径。status 支持 PREPARING/PENDING_APPROVAL/APPROVED/REJECTED/CANCELED;source_type 支持 MANUAL/URL_IMPORT/TAR_PACKAGE/FILE。未知或重复 key、空 Values、非法值拒绝。无 Filters 不默认 stable,市场默认浏览显式传 label=stable;筛选不能扩大可读范围。</p>
|
|
7544
7629
|
:rtype: list of CloudFilter
|
|
7545
7630
|
"""
|
|
7546
7631
|
return self._Filters
|
|
@@ -7578,7 +7663,7 @@ class DescribeRegistryRecordVersionListResponse(AbstractModel):
|
|
|
7578
7663
|
|
|
7579
7664
|
def __init__(self):
|
|
7580
7665
|
r"""
|
|
7581
|
-
:param _VersionSet: <p
|
|
7666
|
+
:param _VersionSet: <p>筛选和分页后的版本数组。普通模式指定 RecordId 时按 Revision 降序,普通跨 Record 查询与市场查询均按 CreateTime 降序、VersionId 升序。</p><p>市场模式只返回公开字段。支持此版本契约的后端返回 SupportedHarnessVersions 和 Metadata 数组,未设置时返回空数组。Metadata 的每项由字符串 Name 和 Value 组成。无匹配时返回空数组。</p>
|
|
7582
7667
|
:type VersionSet: list of CloudRecordVersion
|
|
7583
7668
|
:param _TotalCount: <p>符合条件的总数。</p>
|
|
7584
7669
|
:type TotalCount: int
|
|
@@ -7591,7 +7676,7 @@ class DescribeRegistryRecordVersionListResponse(AbstractModel):
|
|
|
7591
7676
|
|
|
7592
7677
|
@property
|
|
7593
7678
|
def VersionSet(self):
|
|
7594
|
-
r"""<p
|
|
7679
|
+
r"""<p>筛选和分页后的版本数组。普通模式指定 RecordId 时按 Revision 降序,普通跨 Record 查询与市场查询均按 CreateTime 降序、VersionId 升序。</p><p>市场模式只返回公开字段。支持此版本契约的后端返回 SupportedHarnessVersions 和 Metadata 数组,未设置时返回空数组。Metadata 的每项由字符串 Name 和 Value 组成。无匹配时返回空数组。</p>
|
|
7595
7680
|
:rtype: list of CloudRecordVersion
|
|
7596
7681
|
"""
|
|
7597
7682
|
return self._VersionSet
|
|
@@ -9765,6 +9850,57 @@ class GetSkillPackageUploadURLResponse(AbstractModel):
|
|
|
9765
9850
|
self._RequestId = params.get("RequestId")
|
|
9766
9851
|
|
|
9767
9852
|
|
|
9853
|
+
class HarnessVersionReference(AbstractModel):
|
|
9854
|
+
r"""资产版本支持的 Harness 引擎与具体版本。HarnessEngine 和 HarnessEngineVersion 原样使用 DescribeHarnessEngineList 返回的选项,两个字段共同确定兼容性。
|
|
9855
|
+
|
|
9856
|
+
"""
|
|
9857
|
+
|
|
9858
|
+
def __init__(self):
|
|
9859
|
+
r"""
|
|
9860
|
+
:param _HarnessEngine: <p>Harness 引擎标识,原样使用 DescribeHarnessEngineList 返回的 HarnessEngine,例如 pi。</p><p>参数格式:必填,1 至 128 字符,区分大小写,不含空白、通配符或范围表达式。与同一对象的 HarnessEngineVersion 共同标识支持的版本。</p>
|
|
9861
|
+
:type HarnessEngine: str
|
|
9862
|
+
:param _HarnessEngineVersion: <p>Harness 引擎的具体版本,原样使用 DescribeHarnessEngineList 返回的 HarnessEngineVersion,例如 1.3.0。</p><p>参数格式:必填,1 至 128 字符,区分大小写,不含空白、通配符或版本范围。必须与同一个对象的 HarnessEngine 精确匹配;不能只比较版本号,也不自行拼接标识。</p>
|
|
9863
|
+
:type HarnessEngineVersion: str
|
|
9864
|
+
"""
|
|
9865
|
+
self._HarnessEngine = None
|
|
9866
|
+
self._HarnessEngineVersion = None
|
|
9867
|
+
|
|
9868
|
+
@property
|
|
9869
|
+
def HarnessEngine(self):
|
|
9870
|
+
r"""<p>Harness 引擎标识,原样使用 DescribeHarnessEngineList 返回的 HarnessEngine,例如 pi。</p><p>参数格式:必填,1 至 128 字符,区分大小写,不含空白、通配符或范围表达式。与同一对象的 HarnessEngineVersion 共同标识支持的版本。</p>
|
|
9871
|
+
:rtype: str
|
|
9872
|
+
"""
|
|
9873
|
+
return self._HarnessEngine
|
|
9874
|
+
|
|
9875
|
+
@HarnessEngine.setter
|
|
9876
|
+
def HarnessEngine(self, HarnessEngine):
|
|
9877
|
+
self._HarnessEngine = HarnessEngine
|
|
9878
|
+
|
|
9879
|
+
@property
|
|
9880
|
+
def HarnessEngineVersion(self):
|
|
9881
|
+
r"""<p>Harness 引擎的具体版本,原样使用 DescribeHarnessEngineList 返回的 HarnessEngineVersion,例如 1.3.0。</p><p>参数格式:必填,1 至 128 字符,区分大小写,不含空白、通配符或版本范围。必须与同一个对象的 HarnessEngine 精确匹配;不能只比较版本号,也不自行拼接标识。</p>
|
|
9882
|
+
:rtype: str
|
|
9883
|
+
"""
|
|
9884
|
+
return self._HarnessEngineVersion
|
|
9885
|
+
|
|
9886
|
+
@HarnessEngineVersion.setter
|
|
9887
|
+
def HarnessEngineVersion(self, HarnessEngineVersion):
|
|
9888
|
+
self._HarnessEngineVersion = HarnessEngineVersion
|
|
9889
|
+
|
|
9890
|
+
|
|
9891
|
+
def _deserialize(self, params):
|
|
9892
|
+
self._HarnessEngine = params.get("HarnessEngine")
|
|
9893
|
+
self._HarnessEngineVersion = params.get("HarnessEngineVersion")
|
|
9894
|
+
memeber_set = set(params.keys())
|
|
9895
|
+
for name, value in vars(self).items():
|
|
9896
|
+
property_name = name[1:]
|
|
9897
|
+
if property_name in memeber_set:
|
|
9898
|
+
memeber_set.remove(property_name)
|
|
9899
|
+
if len(memeber_set) > 0:
|
|
9900
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9901
|
+
|
|
9902
|
+
|
|
9903
|
+
|
|
9768
9904
|
class HttpGetAction(AbstractModel):
|
|
9769
9905
|
r"""HTTP GET 探测动作配置
|
|
9770
9906
|
|
|
@@ -10111,6 +10247,57 @@ class LogSources(AbstractModel):
|
|
|
10111
10247
|
|
|
10112
10248
|
|
|
10113
10249
|
|
|
10250
|
+
class MetadataEntry(AbstractModel):
|
|
10251
|
+
r"""版本元数据的字符串名称和值。Name 必须非空、小写且在同一 Metadata 数组内唯一;重复名称不允许覆盖。
|
|
10252
|
+
|
|
10253
|
+
"""
|
|
10254
|
+
|
|
10255
|
+
def __init__(self):
|
|
10256
|
+
r"""
|
|
10257
|
+
:param _Name: <p>元数据名称。</p><p>参数格式:非空小写字符串,同一 Metadata 数组内唯一,不自动转换大小写。重复名称返回 InvalidParameter,即使 Value 相同也拒绝。</p>
|
|
10258
|
+
:type Name: str
|
|
10259
|
+
:param _Value: <p>元数据的字符串值。</p><p>参数格式:允许空字符串,保留大小写,不支持嵌套对象、数组、数字、布尔值或 null。publisher 的 Value 为发布者展示名称。</p>
|
|
10260
|
+
:type Value: str
|
|
10261
|
+
"""
|
|
10262
|
+
self._Name = None
|
|
10263
|
+
self._Value = None
|
|
10264
|
+
|
|
10265
|
+
@property
|
|
10266
|
+
def Name(self):
|
|
10267
|
+
r"""<p>元数据名称。</p><p>参数格式:非空小写字符串,同一 Metadata 数组内唯一,不自动转换大小写。重复名称返回 InvalidParameter,即使 Value 相同也拒绝。</p>
|
|
10268
|
+
:rtype: str
|
|
10269
|
+
"""
|
|
10270
|
+
return self._Name
|
|
10271
|
+
|
|
10272
|
+
@Name.setter
|
|
10273
|
+
def Name(self, Name):
|
|
10274
|
+
self._Name = Name
|
|
10275
|
+
|
|
10276
|
+
@property
|
|
10277
|
+
def Value(self):
|
|
10278
|
+
r"""<p>元数据的字符串值。</p><p>参数格式:允许空字符串,保留大小写,不支持嵌套对象、数组、数字、布尔值或 null。publisher 的 Value 为发布者展示名称。</p>
|
|
10279
|
+
:rtype: str
|
|
10280
|
+
"""
|
|
10281
|
+
return self._Value
|
|
10282
|
+
|
|
10283
|
+
@Value.setter
|
|
10284
|
+
def Value(self, Value):
|
|
10285
|
+
self._Value = Value
|
|
10286
|
+
|
|
10287
|
+
|
|
10288
|
+
def _deserialize(self, params):
|
|
10289
|
+
self._Name = params.get("Name")
|
|
10290
|
+
self._Value = params.get("Value")
|
|
10291
|
+
memeber_set = set(params.keys())
|
|
10292
|
+
for name, value in vars(self).items():
|
|
10293
|
+
property_name = name[1:]
|
|
10294
|
+
if property_name in memeber_set:
|
|
10295
|
+
memeber_set.remove(property_name)
|
|
10296
|
+
if len(memeber_set) > 0:
|
|
10297
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10298
|
+
|
|
10299
|
+
|
|
10300
|
+
|
|
10114
10301
|
class MetadataVar(AbstractModel):
|
|
10115
10302
|
r"""metadata 项
|
|
10116
10303
|
|
|
@@ -11791,7 +11978,7 @@ class SandboxInstance(AbstractModel):
|
|
|
11791
11978
|
:type ToolId: str
|
|
11792
11979
|
:param _ToolName: <p>所属沙箱工具名称</p>
|
|
11793
11980
|
:type ToolName: str
|
|
11794
|
-
:param _Status: <p>实例状态:STARTING(启动中)、RUNNING(运行中)、STOPPING(停止中)、STOPPED(已停止)、STOP_FAILED(停止失败)、FAILED
|
|
11981
|
+
:param _Status: <p>实例状态:STARTING(启动中)、RUNNING(运行中)、STOPPING(停止中)、STOPPED(已停止)、STOP_FAILED(停止失败)、FAILED(失败状态)、RESIZING(规格配置更新中)</p><p>枚举值:</p><ul><li>STARTING: 启动中</li><li>RUNNING: 运行中</li><li>STOPPING: 停止中</li><li>STOPPED: 已停止</li><li>STOP_FAILED: 停止失败</li><li>FAILED: 失败状态</li><li>RESIZING: 规格配置更新中</li></ul>
|
|
11795
11982
|
:type Status: str
|
|
11796
11983
|
:param _Persistent: <p>是否常驻实例</p>
|
|
11797
11984
|
:type Persistent: bool
|
|
@@ -11870,7 +12057,7 @@ class SandboxInstance(AbstractModel):
|
|
|
11870
12057
|
|
|
11871
12058
|
@property
|
|
11872
12059
|
def Status(self):
|
|
11873
|
-
r"""<p>实例状态:STARTING(启动中)、RUNNING(运行中)、STOPPING(停止中)、STOPPED(已停止)、STOP_FAILED(停止失败)、FAILED
|
|
12060
|
+
r"""<p>实例状态:STARTING(启动中)、RUNNING(运行中)、STOPPING(停止中)、STOPPED(已停止)、STOP_FAILED(停止失败)、FAILED(失败状态)、RESIZING(规格配置更新中)</p><p>枚举值:</p><ul><li>STARTING: 启动中</li><li>RUNNING: 运行中</li><li>STOPPING: 停止中</li><li>STOPPED: 已停止</li><li>STOP_FAILED: 停止失败</li><li>FAILED: 失败状态</li><li>RESIZING: 规格配置更新中</li></ul>
|
|
11874
12061
|
:rtype: str
|
|
11875
12062
|
"""
|
|
11876
12063
|
return self._Status
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ags
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.202
|
|
4
4
|
Summary: Tencent Cloud Ags 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.202
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.202
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.197
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|