tencentcloud-sdk-python-ags 3.1.197__tar.gz → 3.1.203__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/setup.py +1 -1
  3. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/tencentcloud/ags/v20250920/ags_client.py +1 -1
  5. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/tencentcloud/ags/v20250920/ags_client_async.py +1 -1
  6. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/tencentcloud/ags/v20250920/models.py +230 -13
  7. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/tencentcloud_sdk_python_ags.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_ags-3.1.203/tencentcloud_sdk_python_ags.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_ags-3.1.197/tencentcloud_sdk_python_ags.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/README.rst +0 -0
  11. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/tencentcloud/ags/__init__.py +0 -0
  13. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/tencentcloud/ags/v20250920/__init__.py +0 -0
  14. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/tencentcloud/ags/v20250920/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/tencentcloud_sdk_python_ags.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/tencentcloud_sdk_python_ags.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_ags-3.1.197 → tencentcloud_sdk_python_ags-3.1.203}/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.197
3
+ Version: 3.1.203
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.197
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.203
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.197,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.203,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Ags SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.197'
17
+ __version__ = '3.1.203'
@@ -843,7 +843,7 @@ class AgsClient(AbstractClient):
843
843
 
844
844
 
845
845
  def DescribeRegistryRecordVersionList(self, request):
846
- r"""分页查询 Record 的 Version 列表。list 类接口不接入 CAM 转发鉴权。
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
- 分页查询 Record 的 Version 列表。list 类接口不接入 CAM 转发鉴权。
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 的一个不可变 Version 快照;记录了描述符、来源配置与审批状态。
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>TAR 内容成功校验、完成物化并进入 READY 的时间;MANUAL / URL_IMPORT 或尚未 READY 的 TAR_PACKAGE 均为空。</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.&lt;key&gt; 按完整小写名称精确筛选,规则不变。</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>TAR 内容成功校验、完成物化并进入 READY 的时间;MANUAL / URL_IMPORT 或尚未 READY 的 TAR_PACKAGE 均为空。</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.&lt;key&gt; 按完整小写名称精确筛选,规则不变。</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:]
@@ -6470,6 +6555,8 @@ class DescribePreCacheImageTaskResponse(AbstractModel):
6470
6555
  :type SourceType: str
6471
6556
  :param _CachedImageSizeBytes: <p>镜像预热存储大小</p><p>单位:Byte</p>
6472
6557
  :type CachedImageSizeBytes: int
6558
+ :param _ReadyTime: <p>镜像预热完成时间</p>
6559
+ :type ReadyTime: str
6473
6560
  :param _LastUsedTime: <p>该预热镜像最近一次被沙箱实例使用时间</p>
6474
6561
  :type LastUsedTime: str
6475
6562
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -6484,6 +6571,7 @@ class DescribePreCacheImageTaskResponse(AbstractModel):
6484
6571
  self._PreCacheImageId = None
6485
6572
  self._SourceType = None
6486
6573
  self._CachedImageSizeBytes = None
6574
+ self._ReadyTime = None
6487
6575
  self._LastUsedTime = None
6488
6576
  self._RequestId = None
6489
6577
 
@@ -6586,6 +6674,17 @@ class DescribePreCacheImageTaskResponse(AbstractModel):
6586
6674
  def CachedImageSizeBytes(self, CachedImageSizeBytes):
6587
6675
  self._CachedImageSizeBytes = CachedImageSizeBytes
6588
6676
 
6677
+ @property
6678
+ def ReadyTime(self):
6679
+ r"""<p>镜像预热完成时间</p>
6680
+ :rtype: str
6681
+ """
6682
+ return self._ReadyTime
6683
+
6684
+ @ReadyTime.setter
6685
+ def ReadyTime(self, ReadyTime):
6686
+ self._ReadyTime = ReadyTime
6687
+
6589
6688
  @property
6590
6689
  def LastUsedTime(self):
6591
6690
  r"""<p>该预热镜像最近一次被沙箱实例使用时间</p>
@@ -6619,6 +6718,7 @@ class DescribePreCacheImageTaskResponse(AbstractModel):
6619
6718
  self._PreCacheImageId = params.get("PreCacheImageId")
6620
6719
  self._SourceType = params.get("SourceType")
6621
6720
  self._CachedImageSizeBytes = params.get("CachedImageSizeBytes")
6721
+ self._ReadyTime = params.get("ReadyTime")
6622
6722
  self._LastUsedTime = params.get("LastUsedTime")
6623
6723
  self._RequestId = params.get("RequestId")
6624
6724
 
@@ -7477,15 +7577,15 @@ class DescribeRegistryRecordVersionListRequest(AbstractModel):
7477
7577
 
7478
7578
  def __init__(self):
7479
7579
  r"""
7480
- :param _RegistryId: <p>父 Registry ID。</p>
7580
+ :param _RegistryId: <p>父 Registry ID,与 RecordId 同时省略或为空字符串时使用市场查询;两者均非空时使用普通查询。</p><p>市场查询仅返回服务端 marketplace.registry_ids 配置来源的未删除资产的 APPROVED 版本;文件还需 READY 且制品可用。普通查询保持 AppID 隔离和原 CAM 权限,即使显式指定官方 Registry 也按普通权限处理。仅一个 ID 非空返回 InvalidParameter。</p>
7481
7581
  :type RegistryId: str
7482
- :param _RecordId: <p>Record ID。</p>
7582
+ :param _RecordId: <p>Record ID。市场和普通 Registry 查询均可省略,提供时仅查询该 Record 的版本。</p><p>省略时查询 RegistryId 所选范围内的可读版本。查询各 Record 的稳定版本时显式传 Filters 的 label=stable。</p>
7483
7583
  :type RecordId: str
7484
7584
  :param _Offset: <p>分页起始偏移,默认 0。</p>
7485
7585
  :type Offset: int
7486
7586
  :param _Limit: <p>分页条数,默认 20,最大 100。</p>
7487
7587
  :type Limit: int
7488
- :param _Filters: <p>过滤条件。支持:status(按 Version 状态:PREPARING/PENDING_APPROVAL/APPROVED/REJECTED/CANCELED,多值 OR)、source_type(按内容来源:MANUAL/URL_IMPORT/TAR_PACKAGE,多值 OR)。</p>
7588
+ :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
7589
  :type Filters: list of CloudFilter
7490
7590
  """
7491
7591
  self._RegistryId = None
@@ -7496,7 +7596,7 @@ class DescribeRegistryRecordVersionListRequest(AbstractModel):
7496
7596
 
7497
7597
  @property
7498
7598
  def RegistryId(self):
7499
- r"""<p>父 Registry ID。</p>
7599
+ r"""<p>父 Registry ID,与 RecordId 同时省略或为空字符串时使用市场查询;两者均非空时使用普通查询。</p><p>市场查询仅返回服务端 marketplace.registry_ids 配置来源的未删除资产的 APPROVED 版本;文件还需 READY 且制品可用。普通查询保持 AppID 隔离和原 CAM 权限,即使显式指定官方 Registry 也按普通权限处理。仅一个 ID 非空返回 InvalidParameter。</p>
7500
7600
  :rtype: str
7501
7601
  """
7502
7602
  return self._RegistryId
@@ -7507,7 +7607,7 @@ class DescribeRegistryRecordVersionListRequest(AbstractModel):
7507
7607
 
7508
7608
  @property
7509
7609
  def RecordId(self):
7510
- r"""<p>Record ID。</p>
7610
+ r"""<p>Record ID。市场和普通 Registry 查询均可省略,提供时仅查询该 Record 的版本。</p><p>省略时查询 RegistryId 所选范围内的可读版本。查询各 Record 的稳定版本时显式传 Filters 的 label=stable。</p>
7511
7611
  :rtype: str
7512
7612
  """
7513
7613
  return self._RecordId
@@ -7540,7 +7640,7 @@ class DescribeRegistryRecordVersionListRequest(AbstractModel):
7540
7640
 
7541
7641
  @property
7542
7642
  def Filters(self):
7543
- r"""<p>过滤条件。支持:status(按 Version 状态:PREPARING/PENDING_APPROVAL/APPROVED/REJECTED/CANCELED,多值 OR)、source_type(按内容来源:MANUAL/URL_IMPORT/TAR_PACKAGE,多值 OR)。</p>
7643
+ 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
7644
  :rtype: list of CloudFilter
7545
7645
  """
7546
7646
  return self._Filters
@@ -7578,7 +7678,7 @@ class DescribeRegistryRecordVersionListResponse(AbstractModel):
7578
7678
 
7579
7679
  def __init__(self):
7580
7680
  r"""
7581
- :param _VersionSet: <p>Version 对象数组。</p>
7681
+ :param _VersionSet: <p>筛选和分页后的版本数组。普通模式指定 RecordId 时按 Revision 降序,普通跨 Record 查询与市场查询均按 CreateTime 降序、VersionId 升序。</p><p>市场模式只返回公开字段。支持此版本契约的后端返回 SupportedHarnessVersions 和 Metadata 数组,未设置时返回空数组。Metadata 的每项由字符串 Name 和 Value 组成。无匹配时返回空数组。</p>
7582
7682
  :type VersionSet: list of CloudRecordVersion
7583
7683
  :param _TotalCount: <p>符合条件的总数。</p>
7584
7684
  :type TotalCount: int
@@ -7591,7 +7691,7 @@ class DescribeRegistryRecordVersionListResponse(AbstractModel):
7591
7691
 
7592
7692
  @property
7593
7693
  def VersionSet(self):
7594
- r"""<p>Version 对象数组。</p>
7694
+ r"""<p>筛选和分页后的版本数组。普通模式指定 RecordId 时按 Revision 降序,普通跨 Record 查询与市场查询均按 CreateTime 降序、VersionId 升序。</p><p>市场模式只返回公开字段。支持此版本契约的后端返回 SupportedHarnessVersions 和 Metadata 数组,未设置时返回空数组。Metadata 的每项由字符串 Name 和 Value 组成。无匹配时返回空数组。</p>
7595
7695
  :rtype: list of CloudRecordVersion
7596
7696
  """
7597
7697
  return self._VersionSet
@@ -9765,6 +9865,57 @@ class GetSkillPackageUploadURLResponse(AbstractModel):
9765
9865
  self._RequestId = params.get("RequestId")
9766
9866
 
9767
9867
 
9868
+ class HarnessVersionReference(AbstractModel):
9869
+ r"""资产版本支持的 Harness 引擎与具体版本。HarnessEngine 和 HarnessEngineVersion 原样使用 DescribeHarnessEngineList 返回的选项,两个字段共同确定兼容性。
9870
+
9871
+ """
9872
+
9873
+ def __init__(self):
9874
+ r"""
9875
+ :param _HarnessEngine: <p>Harness 引擎标识,原样使用 DescribeHarnessEngineList 返回的 HarnessEngine,例如 pi。</p><p>参数格式:必填,1 至 128 字符,区分大小写,不含空白、通配符或范围表达式。与同一对象的 HarnessEngineVersion 共同标识支持的版本。</p>
9876
+ :type HarnessEngine: str
9877
+ :param _HarnessEngineVersion: <p>Harness 引擎的具体版本,原样使用 DescribeHarnessEngineList 返回的 HarnessEngineVersion,例如 1.3.0。</p><p>参数格式:必填,1 至 128 字符,区分大小写,不含空白、通配符或版本范围。必须与同一个对象的 HarnessEngine 精确匹配;不能只比较版本号,也不自行拼接标识。</p>
9878
+ :type HarnessEngineVersion: str
9879
+ """
9880
+ self._HarnessEngine = None
9881
+ self._HarnessEngineVersion = None
9882
+
9883
+ @property
9884
+ def HarnessEngine(self):
9885
+ r"""<p>Harness 引擎标识,原样使用 DescribeHarnessEngineList 返回的 HarnessEngine,例如 pi。</p><p>参数格式:必填,1 至 128 字符,区分大小写,不含空白、通配符或范围表达式。与同一对象的 HarnessEngineVersion 共同标识支持的版本。</p>
9886
+ :rtype: str
9887
+ """
9888
+ return self._HarnessEngine
9889
+
9890
+ @HarnessEngine.setter
9891
+ def HarnessEngine(self, HarnessEngine):
9892
+ self._HarnessEngine = HarnessEngine
9893
+
9894
+ @property
9895
+ def HarnessEngineVersion(self):
9896
+ r"""<p>Harness 引擎的具体版本,原样使用 DescribeHarnessEngineList 返回的 HarnessEngineVersion,例如 1.3.0。</p><p>参数格式:必填,1 至 128 字符,区分大小写,不含空白、通配符或版本范围。必须与同一个对象的 HarnessEngine 精确匹配;不能只比较版本号,也不自行拼接标识。</p>
9897
+ :rtype: str
9898
+ """
9899
+ return self._HarnessEngineVersion
9900
+
9901
+ @HarnessEngineVersion.setter
9902
+ def HarnessEngineVersion(self, HarnessEngineVersion):
9903
+ self._HarnessEngineVersion = HarnessEngineVersion
9904
+
9905
+
9906
+ def _deserialize(self, params):
9907
+ self._HarnessEngine = params.get("HarnessEngine")
9908
+ self._HarnessEngineVersion = params.get("HarnessEngineVersion")
9909
+ memeber_set = set(params.keys())
9910
+ for name, value in vars(self).items():
9911
+ property_name = name[1:]
9912
+ if property_name in memeber_set:
9913
+ memeber_set.remove(property_name)
9914
+ if len(memeber_set) > 0:
9915
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9916
+
9917
+
9918
+
9768
9919
  class HttpGetAction(AbstractModel):
9769
9920
  r"""HTTP GET 探测动作配置
9770
9921
 
@@ -10111,6 +10262,57 @@ class LogSources(AbstractModel):
10111
10262
 
10112
10263
 
10113
10264
 
10265
+ class MetadataEntry(AbstractModel):
10266
+ r"""版本元数据的字符串名称和值。Name 必须非空、小写且在同一 Metadata 数组内唯一;重复名称不允许覆盖。
10267
+
10268
+ """
10269
+
10270
+ def __init__(self):
10271
+ r"""
10272
+ :param _Name: <p>元数据名称。</p><p>参数格式:非空小写字符串,同一 Metadata 数组内唯一,不自动转换大小写。重复名称返回 InvalidParameter,即使 Value 相同也拒绝。</p>
10273
+ :type Name: str
10274
+ :param _Value: <p>元数据的字符串值。</p><p>参数格式:允许空字符串,保留大小写,不支持嵌套对象、数组、数字、布尔值或 null。publisher 的 Value 为发布者展示名称。</p>
10275
+ :type Value: str
10276
+ """
10277
+ self._Name = None
10278
+ self._Value = None
10279
+
10280
+ @property
10281
+ def Name(self):
10282
+ r"""<p>元数据名称。</p><p>参数格式:非空小写字符串,同一 Metadata 数组内唯一,不自动转换大小写。重复名称返回 InvalidParameter,即使 Value 相同也拒绝。</p>
10283
+ :rtype: str
10284
+ """
10285
+ return self._Name
10286
+
10287
+ @Name.setter
10288
+ def Name(self, Name):
10289
+ self._Name = Name
10290
+
10291
+ @property
10292
+ def Value(self):
10293
+ r"""<p>元数据的字符串值。</p><p>参数格式:允许空字符串,保留大小写,不支持嵌套对象、数组、数字、布尔值或 null。publisher 的 Value 为发布者展示名称。</p>
10294
+ :rtype: str
10295
+ """
10296
+ return self._Value
10297
+
10298
+ @Value.setter
10299
+ def Value(self, Value):
10300
+ self._Value = Value
10301
+
10302
+
10303
+ def _deserialize(self, params):
10304
+ self._Name = params.get("Name")
10305
+ self._Value = params.get("Value")
10306
+ memeber_set = set(params.keys())
10307
+ for name, value in vars(self).items():
10308
+ property_name = name[1:]
10309
+ if property_name in memeber_set:
10310
+ memeber_set.remove(property_name)
10311
+ if len(memeber_set) > 0:
10312
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10313
+
10314
+
10315
+
10114
10316
  class MetadataVar(AbstractModel):
10115
10317
  r"""metadata 项
10116
10318
 
@@ -10907,6 +11109,8 @@ class PreCacheImage(AbstractModel):
10907
11109
  :type SourceType: str
10908
11110
  :param _CachedImageSizeBytes: <p>镜像预热存储大小</p><p>单位:Byte</p>
10909
11111
  :type CachedImageSizeBytes: int
11112
+ :param _ReadyTime: <p>镜像预热完成时间</p>
11113
+ :type ReadyTime: str
10910
11114
  :param _LastUsedTime: <p>该预热镜像最近一次被沙箱实例使用时间</p>
10911
11115
  :type LastUsedTime: str
10912
11116
  """
@@ -10918,6 +11122,7 @@ class PreCacheImage(AbstractModel):
10918
11122
  self._PreCacheImageId = None
10919
11123
  self._SourceType = None
10920
11124
  self._CachedImageSizeBytes = None
11125
+ self._ReadyTime = None
10921
11126
  self._LastUsedTime = None
10922
11127
 
10923
11128
  @property
@@ -11008,6 +11213,17 @@ class PreCacheImage(AbstractModel):
11008
11213
  def CachedImageSizeBytes(self, CachedImageSizeBytes):
11009
11214
  self._CachedImageSizeBytes = CachedImageSizeBytes
11010
11215
 
11216
+ @property
11217
+ def ReadyTime(self):
11218
+ r"""<p>镜像预热完成时间</p>
11219
+ :rtype: str
11220
+ """
11221
+ return self._ReadyTime
11222
+
11223
+ @ReadyTime.setter
11224
+ def ReadyTime(self, ReadyTime):
11225
+ self._ReadyTime = ReadyTime
11226
+
11011
11227
  @property
11012
11228
  def LastUsedTime(self):
11013
11229
  r"""<p>该预热镜像最近一次被沙箱实例使用时间</p>
@@ -11029,6 +11245,7 @@ class PreCacheImage(AbstractModel):
11029
11245
  self._PreCacheImageId = params.get("PreCacheImageId")
11030
11246
  self._SourceType = params.get("SourceType")
11031
11247
  self._CachedImageSizeBytes = params.get("CachedImageSizeBytes")
11248
+ self._ReadyTime = params.get("ReadyTime")
11032
11249
  self._LastUsedTime = params.get("LastUsedTime")
11033
11250
  memeber_set = set(params.keys())
11034
11251
  for name, value in vars(self).items():
@@ -11791,7 +12008,7 @@ class SandboxInstance(AbstractModel):
11791
12008
  :type ToolId: str
11792
12009
  :param _ToolName: <p>所属沙箱工具名称</p>
11793
12010
  :type ToolName: str
11794
- :param _Status: <p>实例状态:STARTING(启动中)、RUNNING(运行中)、STOPPING(停止中)、STOPPED(已停止)、STOP_FAILED(停止失败)、FAILED(失败状态)</p>
12011
+ :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
12012
  :type Status: str
11796
12013
  :param _Persistent: <p>是否常驻实例</p>
11797
12014
  :type Persistent: bool
@@ -11870,7 +12087,7 @@ class SandboxInstance(AbstractModel):
11870
12087
 
11871
12088
  @property
11872
12089
  def Status(self):
11873
- r"""<p>实例状态:STARTING(启动中)、RUNNING(运行中)、STOPPING(停止中)、STOPPED(已停止)、STOP_FAILED(停止失败)、FAILED(失败状态)</p>
12090
+ 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
12091
  :rtype: str
11875
12092
  """
11876
12093
  return self._Status
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ags
3
- Version: 3.1.197
3
+ Version: 3.1.203
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.197
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.203
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.203
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.197