tencentcloud-sdk-python-apis 3.1.88__tar.gz → 3.1.98__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_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/setup.py +1 -1
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/tencentcloud/apis/v20240801/models.py +307 -104
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/tencentcloud_sdk_python_apis.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_apis-3.1.98/tencentcloud_sdk_python_apis.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_apis-3.1.88/tencentcloud_sdk_python_apis.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/README.rst +0 -0
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/setup.cfg +0 -0
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/tencentcloud/apis/__init__.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/tencentcloud/apis/v20240801/__init__.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/tencentcloud/apis/v20240801/apis_client.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/tencentcloud/apis/v20240801/apis_client_async.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/tencentcloud/apis/v20240801/errorcodes.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/tencentcloud_sdk_python_apis.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/tencentcloud_sdk_python_apis.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_apis-3.1.88 → tencentcloud_sdk_python_apis-3.1.98}/tencentcloud_sdk_python_apis.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-apis
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.98
|
|
4
4
|
Summary: Tencent Cloud Apis 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.98
|
|
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-apis',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.98,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Apis SDK for Python',
|
|
@@ -1747,22 +1747,26 @@ class CreateModelRequest(AbstractModel):
|
|
|
1747
1747
|
|
|
1748
1748
|
def __init__(self):
|
|
1749
1749
|
r"""
|
|
1750
|
-
:param _InstanceID:
|
|
1750
|
+
:param _InstanceID: <p>实例</p>
|
|
1751
1751
|
:type InstanceID: str
|
|
1752
|
-
:param _Name:
|
|
1752
|
+
:param _Name: <p>模型名称</p>
|
|
1753
1753
|
:type Name: str
|
|
1754
|
-
:param _HttpProtocolType:
|
|
1754
|
+
:param _HttpProtocolType: <p>协议类型:http/https</p>
|
|
1755
1755
|
:type HttpProtocolType: str
|
|
1756
|
-
:param _TargetPath:
|
|
1756
|
+
:param _TargetPath: <p>目标路径</p>
|
|
1757
1757
|
:type TargetPath: str
|
|
1758
|
-
:param _TargetHosts:
|
|
1758
|
+
:param _TargetHosts: <p>目标服务器</p>
|
|
1759
1759
|
:type TargetHosts: list of TargetHostDTO
|
|
1760
|
-
:param _CredentialID:
|
|
1760
|
+
:param _CredentialID: <p>凭据ID</p>
|
|
1761
1761
|
:type CredentialID: str
|
|
1762
|
-
:param _CheckTargetCertsError: https
|
|
1762
|
+
:param _CheckTargetCertsError: <p>https时,是否检查证书合法</p>
|
|
1763
1763
|
:type CheckTargetCertsError: bool
|
|
1764
|
-
:param _HttpProtocolVersion: http协议版本:1.1/2.0
|
|
1764
|
+
:param _HttpProtocolVersion: <p>http协议版本:1.1/2.0</p>
|
|
1765
1765
|
:type HttpProtocolVersion: str
|
|
1766
|
+
:param _ModelID: <p>model ID</p>
|
|
1767
|
+
:type ModelID: str
|
|
1768
|
+
:param _Description: <p>描述</p>
|
|
1769
|
+
:type Description: str
|
|
1766
1770
|
"""
|
|
1767
1771
|
self._InstanceID = None
|
|
1768
1772
|
self._Name = None
|
|
@@ -1772,10 +1776,12 @@ class CreateModelRequest(AbstractModel):
|
|
|
1772
1776
|
self._CredentialID = None
|
|
1773
1777
|
self._CheckTargetCertsError = None
|
|
1774
1778
|
self._HttpProtocolVersion = None
|
|
1779
|
+
self._ModelID = None
|
|
1780
|
+
self._Description = None
|
|
1775
1781
|
|
|
1776
1782
|
@property
|
|
1777
1783
|
def InstanceID(self):
|
|
1778
|
-
r"""
|
|
1784
|
+
r"""<p>实例</p>
|
|
1779
1785
|
:rtype: str
|
|
1780
1786
|
"""
|
|
1781
1787
|
return self._InstanceID
|
|
@@ -1786,7 +1792,7 @@ class CreateModelRequest(AbstractModel):
|
|
|
1786
1792
|
|
|
1787
1793
|
@property
|
|
1788
1794
|
def Name(self):
|
|
1789
|
-
r"""
|
|
1795
|
+
r"""<p>模型名称</p>
|
|
1790
1796
|
:rtype: str
|
|
1791
1797
|
"""
|
|
1792
1798
|
return self._Name
|
|
@@ -1797,7 +1803,7 @@ class CreateModelRequest(AbstractModel):
|
|
|
1797
1803
|
|
|
1798
1804
|
@property
|
|
1799
1805
|
def HttpProtocolType(self):
|
|
1800
|
-
r"""
|
|
1806
|
+
r"""<p>协议类型:http/https</p>
|
|
1801
1807
|
:rtype: str
|
|
1802
1808
|
"""
|
|
1803
1809
|
return self._HttpProtocolType
|
|
@@ -1808,7 +1814,7 @@ class CreateModelRequest(AbstractModel):
|
|
|
1808
1814
|
|
|
1809
1815
|
@property
|
|
1810
1816
|
def TargetPath(self):
|
|
1811
|
-
r"""
|
|
1817
|
+
r"""<p>目标路径</p>
|
|
1812
1818
|
:rtype: str
|
|
1813
1819
|
"""
|
|
1814
1820
|
return self._TargetPath
|
|
@@ -1819,7 +1825,7 @@ class CreateModelRequest(AbstractModel):
|
|
|
1819
1825
|
|
|
1820
1826
|
@property
|
|
1821
1827
|
def TargetHosts(self):
|
|
1822
|
-
r"""
|
|
1828
|
+
r"""<p>目标服务器</p>
|
|
1823
1829
|
:rtype: list of TargetHostDTO
|
|
1824
1830
|
"""
|
|
1825
1831
|
return self._TargetHosts
|
|
@@ -1830,7 +1836,7 @@ class CreateModelRequest(AbstractModel):
|
|
|
1830
1836
|
|
|
1831
1837
|
@property
|
|
1832
1838
|
def CredentialID(self):
|
|
1833
|
-
r"""
|
|
1839
|
+
r"""<p>凭据ID</p>
|
|
1834
1840
|
:rtype: str
|
|
1835
1841
|
"""
|
|
1836
1842
|
return self._CredentialID
|
|
@@ -1841,7 +1847,7 @@ class CreateModelRequest(AbstractModel):
|
|
|
1841
1847
|
|
|
1842
1848
|
@property
|
|
1843
1849
|
def CheckTargetCertsError(self):
|
|
1844
|
-
r"""https
|
|
1850
|
+
r"""<p>https时,是否检查证书合法</p>
|
|
1845
1851
|
:rtype: bool
|
|
1846
1852
|
"""
|
|
1847
1853
|
return self._CheckTargetCertsError
|
|
@@ -1852,7 +1858,7 @@ class CreateModelRequest(AbstractModel):
|
|
|
1852
1858
|
|
|
1853
1859
|
@property
|
|
1854
1860
|
def HttpProtocolVersion(self):
|
|
1855
|
-
r"""http协议版本:1.1/2.0
|
|
1861
|
+
r"""<p>http协议版本:1.1/2.0</p>
|
|
1856
1862
|
:rtype: str
|
|
1857
1863
|
"""
|
|
1858
1864
|
return self._HttpProtocolVersion
|
|
@@ -1861,6 +1867,28 @@ class CreateModelRequest(AbstractModel):
|
|
|
1861
1867
|
def HttpProtocolVersion(self, HttpProtocolVersion):
|
|
1862
1868
|
self._HttpProtocolVersion = HttpProtocolVersion
|
|
1863
1869
|
|
|
1870
|
+
@property
|
|
1871
|
+
def ModelID(self):
|
|
1872
|
+
r"""<p>model ID</p>
|
|
1873
|
+
:rtype: str
|
|
1874
|
+
"""
|
|
1875
|
+
return self._ModelID
|
|
1876
|
+
|
|
1877
|
+
@ModelID.setter
|
|
1878
|
+
def ModelID(self, ModelID):
|
|
1879
|
+
self._ModelID = ModelID
|
|
1880
|
+
|
|
1881
|
+
@property
|
|
1882
|
+
def Description(self):
|
|
1883
|
+
r"""<p>描述</p>
|
|
1884
|
+
:rtype: str
|
|
1885
|
+
"""
|
|
1886
|
+
return self._Description
|
|
1887
|
+
|
|
1888
|
+
@Description.setter
|
|
1889
|
+
def Description(self, Description):
|
|
1890
|
+
self._Description = Description
|
|
1891
|
+
|
|
1864
1892
|
|
|
1865
1893
|
def _deserialize(self, params):
|
|
1866
1894
|
self._InstanceID = params.get("InstanceID")
|
|
@@ -1876,6 +1904,8 @@ class CreateModelRequest(AbstractModel):
|
|
|
1876
1904
|
self._CredentialID = params.get("CredentialID")
|
|
1877
1905
|
self._CheckTargetCertsError = params.get("CheckTargetCertsError")
|
|
1878
1906
|
self._HttpProtocolVersion = params.get("HttpProtocolVersion")
|
|
1907
|
+
self._ModelID = params.get("ModelID")
|
|
1908
|
+
self._Description = params.get("Description")
|
|
1879
1909
|
memeber_set = set(params.keys())
|
|
1880
1910
|
for name, value in vars(self).items():
|
|
1881
1911
|
property_name = name[1:]
|
|
@@ -1893,7 +1923,7 @@ class CreateModelResponse(AbstractModel):
|
|
|
1893
1923
|
|
|
1894
1924
|
def __init__(self):
|
|
1895
1925
|
r"""
|
|
1896
|
-
:param _Data:
|
|
1926
|
+
:param _Data: <p>结果集</p>
|
|
1897
1927
|
:type Data: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
1898
1928
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1899
1929
|
:type RequestId: str
|
|
@@ -1903,7 +1933,7 @@ class CreateModelResponse(AbstractModel):
|
|
|
1903
1933
|
|
|
1904
1934
|
@property
|
|
1905
1935
|
def Data(self):
|
|
1906
|
-
r"""
|
|
1936
|
+
r"""<p>结果集</p>
|
|
1907
1937
|
:rtype: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
1908
1938
|
"""
|
|
1909
1939
|
return self._Data
|
|
@@ -1990,6 +2020,8 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
1990
2020
|
:type FallbackStatus: bool
|
|
1991
2021
|
:param _FallbackModels: <p>Fallback模型配置</p>
|
|
1992
2022
|
:type FallbackModels: list of TargetModelDTO
|
|
2023
|
+
:param _ModelProtocol: <p>模型协议</p>
|
|
2024
|
+
:type ModelProtocol: str
|
|
1993
2025
|
"""
|
|
1994
2026
|
self._InstanceID = None
|
|
1995
2027
|
self._Name = None
|
|
@@ -2017,6 +2049,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2017
2049
|
self._HostKeyHeaderName = None
|
|
2018
2050
|
self._FallbackStatus = None
|
|
2019
2051
|
self._FallbackModels = None
|
|
2052
|
+
self._ModelProtocol = None
|
|
2020
2053
|
|
|
2021
2054
|
@property
|
|
2022
2055
|
def InstanceID(self):
|
|
@@ -2304,6 +2337,17 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2304
2337
|
def FallbackModels(self, FallbackModels):
|
|
2305
2338
|
self._FallbackModels = FallbackModels
|
|
2306
2339
|
|
|
2340
|
+
@property
|
|
2341
|
+
def ModelProtocol(self):
|
|
2342
|
+
r"""<p>模型协议</p>
|
|
2343
|
+
:rtype: str
|
|
2344
|
+
"""
|
|
2345
|
+
return self._ModelProtocol
|
|
2346
|
+
|
|
2347
|
+
@ModelProtocol.setter
|
|
2348
|
+
def ModelProtocol(self, ModelProtocol):
|
|
2349
|
+
self._ModelProtocol = ModelProtocol
|
|
2350
|
+
|
|
2307
2351
|
|
|
2308
2352
|
def _deserialize(self, params):
|
|
2309
2353
|
self._InstanceID = params.get("InstanceID")
|
|
@@ -2357,6 +2401,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2357
2401
|
obj = TargetModelDTO()
|
|
2358
2402
|
obj._deserialize(item)
|
|
2359
2403
|
self._FallbackModels.append(obj)
|
|
2404
|
+
self._ModelProtocol = params.get("ModelProtocol")
|
|
2360
2405
|
memeber_set = set(params.keys())
|
|
2361
2406
|
for name, value in vars(self).items():
|
|
2362
2407
|
property_name = name[1:]
|
|
@@ -5527,36 +5572,40 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5527
5572
|
|
|
5528
5573
|
def __init__(self):
|
|
5529
5574
|
r"""
|
|
5530
|
-
:param _AppID:
|
|
5575
|
+
:param _AppID: <p>腾讯云AppID</p>
|
|
5531
5576
|
:type AppID: int
|
|
5532
|
-
:param _Uin:
|
|
5577
|
+
:param _Uin: <p>腾讯云Uin</p>
|
|
5533
5578
|
:type Uin: str
|
|
5534
|
-
:param _InstanceID:
|
|
5579
|
+
:param _InstanceID: <p>实例ID</p>
|
|
5535
5580
|
:type InstanceID: str
|
|
5536
|
-
:param _ID:
|
|
5581
|
+
:param _ID: <p>模型ID</p>
|
|
5537
5582
|
:type ID: str
|
|
5538
|
-
:param _Name:
|
|
5583
|
+
:param _Name: <p>模型名称</p>
|
|
5539
5584
|
:type Name: str
|
|
5540
|
-
:param _CredentialID:
|
|
5585
|
+
:param _CredentialID: <p>凭据ID</p>
|
|
5541
5586
|
:type CredentialID: str
|
|
5542
|
-
:param _CredentialName:
|
|
5587
|
+
:param _CredentialName: <p>凭据名称</p>
|
|
5543
5588
|
:type CredentialName: str
|
|
5544
|
-
:param _HttpProtocolType: http
|
|
5589
|
+
:param _HttpProtocolType: <p>http协议类型</p>
|
|
5545
5590
|
:type HttpProtocolType: str
|
|
5546
|
-
:param _CheckTargetCertsError: https
|
|
5591
|
+
:param _CheckTargetCertsError: <p>https时,是否校验目标证书</p>
|
|
5547
5592
|
:type CheckTargetCertsError: bool
|
|
5548
|
-
:param _HttpProtocolVersion: http协议版本:1.1/2.0
|
|
5593
|
+
:param _HttpProtocolVersion: <p>http协议版本:1.1/2.0</p>
|
|
5549
5594
|
:type HttpProtocolVersion: str
|
|
5550
|
-
:param _TargetPath:
|
|
5595
|
+
:param _TargetPath: <p>目标路径</p>
|
|
5551
5596
|
:type TargetPath: str
|
|
5552
|
-
:param _TargetHosts:
|
|
5597
|
+
:param _TargetHosts: <p>目标器列表</p>
|
|
5553
5598
|
:type TargetHosts: list of TargetHostDTO
|
|
5554
|
-
:param _ModelServiceCount:
|
|
5599
|
+
:param _ModelServiceCount: <p>被模型服务使用的个数</p>
|
|
5555
5600
|
:type ModelServiceCount: int
|
|
5556
|
-
:param _CreateTime:
|
|
5601
|
+
:param _CreateTime: <p>创建时间</p>
|
|
5557
5602
|
:type CreateTime: str
|
|
5558
|
-
:param _LastUpdateTime:
|
|
5603
|
+
:param _LastUpdateTime: <p>最后修改时间</p>
|
|
5559
5604
|
:type LastUpdateTime: str
|
|
5605
|
+
:param _ModelID: <p>model ID</p>
|
|
5606
|
+
:type ModelID: str
|
|
5607
|
+
:param _Description: <p>描述</p>
|
|
5608
|
+
:type Description: str
|
|
5560
5609
|
"""
|
|
5561
5610
|
self._AppID = None
|
|
5562
5611
|
self._Uin = None
|
|
@@ -5573,10 +5622,12 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5573
5622
|
self._ModelServiceCount = None
|
|
5574
5623
|
self._CreateTime = None
|
|
5575
5624
|
self._LastUpdateTime = None
|
|
5625
|
+
self._ModelID = None
|
|
5626
|
+
self._Description = None
|
|
5576
5627
|
|
|
5577
5628
|
@property
|
|
5578
5629
|
def AppID(self):
|
|
5579
|
-
r"""
|
|
5630
|
+
r"""<p>腾讯云AppID</p>
|
|
5580
5631
|
:rtype: int
|
|
5581
5632
|
"""
|
|
5582
5633
|
return self._AppID
|
|
@@ -5587,7 +5638,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5587
5638
|
|
|
5588
5639
|
@property
|
|
5589
5640
|
def Uin(self):
|
|
5590
|
-
r"""
|
|
5641
|
+
r"""<p>腾讯云Uin</p>
|
|
5591
5642
|
:rtype: str
|
|
5592
5643
|
"""
|
|
5593
5644
|
return self._Uin
|
|
@@ -5598,7 +5649,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5598
5649
|
|
|
5599
5650
|
@property
|
|
5600
5651
|
def InstanceID(self):
|
|
5601
|
-
r"""
|
|
5652
|
+
r"""<p>实例ID</p>
|
|
5602
5653
|
:rtype: str
|
|
5603
5654
|
"""
|
|
5604
5655
|
return self._InstanceID
|
|
@@ -5609,7 +5660,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5609
5660
|
|
|
5610
5661
|
@property
|
|
5611
5662
|
def ID(self):
|
|
5612
|
-
r"""
|
|
5663
|
+
r"""<p>模型ID</p>
|
|
5613
5664
|
:rtype: str
|
|
5614
5665
|
"""
|
|
5615
5666
|
return self._ID
|
|
@@ -5620,7 +5671,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5620
5671
|
|
|
5621
5672
|
@property
|
|
5622
5673
|
def Name(self):
|
|
5623
|
-
r"""
|
|
5674
|
+
r"""<p>模型名称</p>
|
|
5624
5675
|
:rtype: str
|
|
5625
5676
|
"""
|
|
5626
5677
|
return self._Name
|
|
@@ -5631,7 +5682,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5631
5682
|
|
|
5632
5683
|
@property
|
|
5633
5684
|
def CredentialID(self):
|
|
5634
|
-
r"""
|
|
5685
|
+
r"""<p>凭据ID</p>
|
|
5635
5686
|
:rtype: str
|
|
5636
5687
|
"""
|
|
5637
5688
|
return self._CredentialID
|
|
@@ -5642,7 +5693,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5642
5693
|
|
|
5643
5694
|
@property
|
|
5644
5695
|
def CredentialName(self):
|
|
5645
|
-
r"""
|
|
5696
|
+
r"""<p>凭据名称</p>
|
|
5646
5697
|
:rtype: str
|
|
5647
5698
|
"""
|
|
5648
5699
|
return self._CredentialName
|
|
@@ -5653,7 +5704,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5653
5704
|
|
|
5654
5705
|
@property
|
|
5655
5706
|
def HttpProtocolType(self):
|
|
5656
|
-
r"""http
|
|
5707
|
+
r"""<p>http协议类型</p>
|
|
5657
5708
|
:rtype: str
|
|
5658
5709
|
"""
|
|
5659
5710
|
return self._HttpProtocolType
|
|
@@ -5664,7 +5715,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5664
5715
|
|
|
5665
5716
|
@property
|
|
5666
5717
|
def CheckTargetCertsError(self):
|
|
5667
|
-
r"""https
|
|
5718
|
+
r"""<p>https时,是否校验目标证书</p>
|
|
5668
5719
|
:rtype: bool
|
|
5669
5720
|
"""
|
|
5670
5721
|
return self._CheckTargetCertsError
|
|
@@ -5675,7 +5726,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5675
5726
|
|
|
5676
5727
|
@property
|
|
5677
5728
|
def HttpProtocolVersion(self):
|
|
5678
|
-
r"""http协议版本:1.1/2.0
|
|
5729
|
+
r"""<p>http协议版本:1.1/2.0</p>
|
|
5679
5730
|
:rtype: str
|
|
5680
5731
|
"""
|
|
5681
5732
|
return self._HttpProtocolVersion
|
|
@@ -5686,7 +5737,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5686
5737
|
|
|
5687
5738
|
@property
|
|
5688
5739
|
def TargetPath(self):
|
|
5689
|
-
r"""
|
|
5740
|
+
r"""<p>目标路径</p>
|
|
5690
5741
|
:rtype: str
|
|
5691
5742
|
"""
|
|
5692
5743
|
return self._TargetPath
|
|
@@ -5697,7 +5748,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5697
5748
|
|
|
5698
5749
|
@property
|
|
5699
5750
|
def TargetHosts(self):
|
|
5700
|
-
r"""
|
|
5751
|
+
r"""<p>目标器列表</p>
|
|
5701
5752
|
:rtype: list of TargetHostDTO
|
|
5702
5753
|
"""
|
|
5703
5754
|
return self._TargetHosts
|
|
@@ -5708,7 +5759,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5708
5759
|
|
|
5709
5760
|
@property
|
|
5710
5761
|
def ModelServiceCount(self):
|
|
5711
|
-
r"""
|
|
5762
|
+
r"""<p>被模型服务使用的个数</p>
|
|
5712
5763
|
:rtype: int
|
|
5713
5764
|
"""
|
|
5714
5765
|
return self._ModelServiceCount
|
|
@@ -5719,7 +5770,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5719
5770
|
|
|
5720
5771
|
@property
|
|
5721
5772
|
def CreateTime(self):
|
|
5722
|
-
r"""
|
|
5773
|
+
r"""<p>创建时间</p>
|
|
5723
5774
|
:rtype: str
|
|
5724
5775
|
"""
|
|
5725
5776
|
return self._CreateTime
|
|
@@ -5730,7 +5781,7 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5730
5781
|
|
|
5731
5782
|
@property
|
|
5732
5783
|
def LastUpdateTime(self):
|
|
5733
|
-
r"""
|
|
5784
|
+
r"""<p>最后修改时间</p>
|
|
5734
5785
|
:rtype: str
|
|
5735
5786
|
"""
|
|
5736
5787
|
return self._LastUpdateTime
|
|
@@ -5739,6 +5790,28 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5739
5790
|
def LastUpdateTime(self, LastUpdateTime):
|
|
5740
5791
|
self._LastUpdateTime = LastUpdateTime
|
|
5741
5792
|
|
|
5793
|
+
@property
|
|
5794
|
+
def ModelID(self):
|
|
5795
|
+
r"""<p>model ID</p>
|
|
5796
|
+
:rtype: str
|
|
5797
|
+
"""
|
|
5798
|
+
return self._ModelID
|
|
5799
|
+
|
|
5800
|
+
@ModelID.setter
|
|
5801
|
+
def ModelID(self, ModelID):
|
|
5802
|
+
self._ModelID = ModelID
|
|
5803
|
+
|
|
5804
|
+
@property
|
|
5805
|
+
def Description(self):
|
|
5806
|
+
r"""<p>描述</p>
|
|
5807
|
+
:rtype: str
|
|
5808
|
+
"""
|
|
5809
|
+
return self._Description
|
|
5810
|
+
|
|
5811
|
+
@Description.setter
|
|
5812
|
+
def Description(self, Description):
|
|
5813
|
+
self._Description = Description
|
|
5814
|
+
|
|
5742
5815
|
|
|
5743
5816
|
def _deserialize(self, params):
|
|
5744
5817
|
self._AppID = params.get("AppID")
|
|
@@ -5761,6 +5834,8 @@ class DescribeModelResponseVO(AbstractModel):
|
|
|
5761
5834
|
self._ModelServiceCount = params.get("ModelServiceCount")
|
|
5762
5835
|
self._CreateTime = params.get("CreateTime")
|
|
5763
5836
|
self._LastUpdateTime = params.get("LastUpdateTime")
|
|
5837
|
+
self._ModelID = params.get("ModelID")
|
|
5838
|
+
self._Description = params.get("Description")
|
|
5764
5839
|
memeber_set = set(params.keys())
|
|
5765
5840
|
for name, value in vars(self).items():
|
|
5766
5841
|
property_name = name[1:]
|
|
@@ -5960,6 +6035,9 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5960
6035
|
:param _FallbackModels: <p>备份模型</p>
|
|
5961
6036
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5962
6037
|
:type FallbackModels: list of TargetModelDTO
|
|
6038
|
+
:param _ModelProtocol: <p>模型类型</p>
|
|
6039
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6040
|
+
:type ModelProtocol: str
|
|
5963
6041
|
"""
|
|
5964
6042
|
self._AppID = None
|
|
5965
6043
|
self._Uin = None
|
|
@@ -5997,6 +6075,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5997
6075
|
self._HostKeyHeaderName = None
|
|
5998
6076
|
self._FallbackStatus = None
|
|
5999
6077
|
self._FallbackModels = None
|
|
6078
|
+
self._ModelProtocol = None
|
|
6000
6079
|
|
|
6001
6080
|
@property
|
|
6002
6081
|
def AppID(self):
|
|
@@ -6408,6 +6487,18 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6408
6487
|
def FallbackModels(self, FallbackModels):
|
|
6409
6488
|
self._FallbackModels = FallbackModels
|
|
6410
6489
|
|
|
6490
|
+
@property
|
|
6491
|
+
def ModelProtocol(self):
|
|
6492
|
+
r"""<p>模型类型</p>
|
|
6493
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6494
|
+
:rtype: str
|
|
6495
|
+
"""
|
|
6496
|
+
return self._ModelProtocol
|
|
6497
|
+
|
|
6498
|
+
@ModelProtocol.setter
|
|
6499
|
+
def ModelProtocol(self, ModelProtocol):
|
|
6500
|
+
self._ModelProtocol = ModelProtocol
|
|
6501
|
+
|
|
6411
6502
|
|
|
6412
6503
|
def _deserialize(self, params):
|
|
6413
6504
|
self._AppID = params.get("AppID")
|
|
@@ -6471,6 +6562,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6471
6562
|
obj = TargetModelDTO()
|
|
6472
6563
|
obj._deserialize(item)
|
|
6473
6564
|
self._FallbackModels.append(obj)
|
|
6565
|
+
self._ModelProtocol = params.get("ModelProtocol")
|
|
6474
6566
|
memeber_set = set(params.keys())
|
|
6475
6567
|
for name, value in vars(self).items():
|
|
6476
6568
|
property_name = name[1:]
|
|
@@ -6488,24 +6580,26 @@ class DescribeModelServicesRequest(AbstractModel):
|
|
|
6488
6580
|
|
|
6489
6581
|
def __init__(self):
|
|
6490
6582
|
r"""
|
|
6491
|
-
:param _InstanceID:
|
|
6583
|
+
:param _InstanceID: <p>实例</p>
|
|
6492
6584
|
:type InstanceID: str
|
|
6493
|
-
:param _Offset:
|
|
6585
|
+
:param _Offset: <p>分页参数</p>
|
|
6494
6586
|
:type Offset: int
|
|
6495
|
-
:param _Limit:
|
|
6587
|
+
:param _Limit: <p>分页限制</p>
|
|
6496
6588
|
:type Limit: int
|
|
6497
|
-
:param _IDs: ID
|
|
6589
|
+
:param _IDs: <p>ID列表</p>
|
|
6498
6590
|
:type IDs: list of str
|
|
6499
|
-
:param _NotIDs:
|
|
6591
|
+
:param _NotIDs: <p>排除的ID列表</p>
|
|
6500
6592
|
:type NotIDs: list of str
|
|
6501
|
-
:param _Status:
|
|
6593
|
+
:param _Status: <p>状态:normal,disabled</p>
|
|
6502
6594
|
:type Status: str
|
|
6503
|
-
:param _Keyword:
|
|
6595
|
+
:param _Keyword: <p>关键词</p>
|
|
6504
6596
|
:type Keyword: str
|
|
6505
|
-
:param _ModelID:
|
|
6597
|
+
:param _ModelID: <p>模型ID</p>
|
|
6506
6598
|
:type ModelID: str
|
|
6507
|
-
:param _Sort:
|
|
6599
|
+
:param _Sort: <p>排序</p>
|
|
6508
6600
|
:type Sort: :class:`tencentcloud.apis.v20240801.models.DescribeModelServicesSort`
|
|
6601
|
+
:param _ModelProtocol: <p>模型类型,OpenAI或Anthropic</p>
|
|
6602
|
+
:type ModelProtocol: str
|
|
6509
6603
|
"""
|
|
6510
6604
|
self._InstanceID = None
|
|
6511
6605
|
self._Offset = None
|
|
@@ -6516,10 +6610,11 @@ class DescribeModelServicesRequest(AbstractModel):
|
|
|
6516
6610
|
self._Keyword = None
|
|
6517
6611
|
self._ModelID = None
|
|
6518
6612
|
self._Sort = None
|
|
6613
|
+
self._ModelProtocol = None
|
|
6519
6614
|
|
|
6520
6615
|
@property
|
|
6521
6616
|
def InstanceID(self):
|
|
6522
|
-
r"""
|
|
6617
|
+
r"""<p>实例</p>
|
|
6523
6618
|
:rtype: str
|
|
6524
6619
|
"""
|
|
6525
6620
|
return self._InstanceID
|
|
@@ -6530,7 +6625,7 @@ class DescribeModelServicesRequest(AbstractModel):
|
|
|
6530
6625
|
|
|
6531
6626
|
@property
|
|
6532
6627
|
def Offset(self):
|
|
6533
|
-
r"""
|
|
6628
|
+
r"""<p>分页参数</p>
|
|
6534
6629
|
:rtype: int
|
|
6535
6630
|
"""
|
|
6536
6631
|
return self._Offset
|
|
@@ -6541,7 +6636,7 @@ class DescribeModelServicesRequest(AbstractModel):
|
|
|
6541
6636
|
|
|
6542
6637
|
@property
|
|
6543
6638
|
def Limit(self):
|
|
6544
|
-
r"""
|
|
6639
|
+
r"""<p>分页限制</p>
|
|
6545
6640
|
:rtype: int
|
|
6546
6641
|
"""
|
|
6547
6642
|
return self._Limit
|
|
@@ -6552,7 +6647,7 @@ class DescribeModelServicesRequest(AbstractModel):
|
|
|
6552
6647
|
|
|
6553
6648
|
@property
|
|
6554
6649
|
def IDs(self):
|
|
6555
|
-
r"""ID
|
|
6650
|
+
r"""<p>ID列表</p>
|
|
6556
6651
|
:rtype: list of str
|
|
6557
6652
|
"""
|
|
6558
6653
|
return self._IDs
|
|
@@ -6563,7 +6658,7 @@ class DescribeModelServicesRequest(AbstractModel):
|
|
|
6563
6658
|
|
|
6564
6659
|
@property
|
|
6565
6660
|
def NotIDs(self):
|
|
6566
|
-
r"""
|
|
6661
|
+
r"""<p>排除的ID列表</p>
|
|
6567
6662
|
:rtype: list of str
|
|
6568
6663
|
"""
|
|
6569
6664
|
return self._NotIDs
|
|
@@ -6574,7 +6669,7 @@ class DescribeModelServicesRequest(AbstractModel):
|
|
|
6574
6669
|
|
|
6575
6670
|
@property
|
|
6576
6671
|
def Status(self):
|
|
6577
|
-
r"""
|
|
6672
|
+
r"""<p>状态:normal,disabled</p>
|
|
6578
6673
|
:rtype: str
|
|
6579
6674
|
"""
|
|
6580
6675
|
return self._Status
|
|
@@ -6585,7 +6680,7 @@ class DescribeModelServicesRequest(AbstractModel):
|
|
|
6585
6680
|
|
|
6586
6681
|
@property
|
|
6587
6682
|
def Keyword(self):
|
|
6588
|
-
r"""
|
|
6683
|
+
r"""<p>关键词</p>
|
|
6589
6684
|
:rtype: str
|
|
6590
6685
|
"""
|
|
6591
6686
|
return self._Keyword
|
|
@@ -6596,7 +6691,7 @@ class DescribeModelServicesRequest(AbstractModel):
|
|
|
6596
6691
|
|
|
6597
6692
|
@property
|
|
6598
6693
|
def ModelID(self):
|
|
6599
|
-
r"""
|
|
6694
|
+
r"""<p>模型ID</p>
|
|
6600
6695
|
:rtype: str
|
|
6601
6696
|
"""
|
|
6602
6697
|
return self._ModelID
|
|
@@ -6607,7 +6702,7 @@ class DescribeModelServicesRequest(AbstractModel):
|
|
|
6607
6702
|
|
|
6608
6703
|
@property
|
|
6609
6704
|
def Sort(self):
|
|
6610
|
-
r"""
|
|
6705
|
+
r"""<p>排序</p>
|
|
6611
6706
|
:rtype: :class:`tencentcloud.apis.v20240801.models.DescribeModelServicesSort`
|
|
6612
6707
|
"""
|
|
6613
6708
|
return self._Sort
|
|
@@ -6616,6 +6711,17 @@ class DescribeModelServicesRequest(AbstractModel):
|
|
|
6616
6711
|
def Sort(self, Sort):
|
|
6617
6712
|
self._Sort = Sort
|
|
6618
6713
|
|
|
6714
|
+
@property
|
|
6715
|
+
def ModelProtocol(self):
|
|
6716
|
+
r"""<p>模型类型,OpenAI或Anthropic</p>
|
|
6717
|
+
:rtype: str
|
|
6718
|
+
"""
|
|
6719
|
+
return self._ModelProtocol
|
|
6720
|
+
|
|
6721
|
+
@ModelProtocol.setter
|
|
6722
|
+
def ModelProtocol(self, ModelProtocol):
|
|
6723
|
+
self._ModelProtocol = ModelProtocol
|
|
6724
|
+
|
|
6619
6725
|
|
|
6620
6726
|
def _deserialize(self, params):
|
|
6621
6727
|
self._InstanceID = params.get("InstanceID")
|
|
@@ -6629,6 +6735,7 @@ class DescribeModelServicesRequest(AbstractModel):
|
|
|
6629
6735
|
if params.get("Sort") is not None:
|
|
6630
6736
|
self._Sort = DescribeModelServicesSort()
|
|
6631
6737
|
self._Sort._deserialize(params.get("Sort"))
|
|
6738
|
+
self._ModelProtocol = params.get("ModelProtocol")
|
|
6632
6739
|
memeber_set = set(params.keys())
|
|
6633
6740
|
for name, value in vars(self).items():
|
|
6634
6741
|
property_name = name[1:]
|
|
@@ -6646,7 +6753,7 @@ class DescribeModelServicesResponse(AbstractModel):
|
|
|
6646
6753
|
|
|
6647
6754
|
def __init__(self):
|
|
6648
6755
|
r"""
|
|
6649
|
-
:param _Data:
|
|
6756
|
+
:param _Data: <p>结果集</p>
|
|
6650
6757
|
:type Data: :class:`tencentcloud.apis.v20240801.models.DescribeModelServicesResponseVO`
|
|
6651
6758
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6652
6759
|
:type RequestId: str
|
|
@@ -6656,7 +6763,7 @@ class DescribeModelServicesResponse(AbstractModel):
|
|
|
6656
6763
|
|
|
6657
6764
|
@property
|
|
6658
6765
|
def Data(self):
|
|
6659
|
-
r"""
|
|
6766
|
+
r"""<p>结果集</p>
|
|
6660
6767
|
:rtype: :class:`tencentcloud.apis.v20240801.models.DescribeModelServicesResponseVO`
|
|
6661
6768
|
"""
|
|
6662
6769
|
return self._Data
|
|
@@ -8918,24 +9025,28 @@ class ModifyModelRequest(AbstractModel):
|
|
|
8918
9025
|
|
|
8919
9026
|
def __init__(self):
|
|
8920
9027
|
r"""
|
|
8921
|
-
:param _InstanceID:
|
|
9028
|
+
:param _InstanceID: <p>实例</p>
|
|
8922
9029
|
:type InstanceID: str
|
|
8923
|
-
:param _ID:
|
|
9030
|
+
:param _ID: <p>模型ID</p>
|
|
8924
9031
|
:type ID: str
|
|
8925
|
-
:param _Name:
|
|
9032
|
+
:param _Name: <p>模型名称</p>
|
|
8926
9033
|
:type Name: str
|
|
8927
|
-
:param _HttpProtocolType:
|
|
9034
|
+
:param _HttpProtocolType: <p>协议类型:http/https</p>
|
|
8928
9035
|
:type HttpProtocolType: str
|
|
8929
|
-
:param _TargetPath:
|
|
9036
|
+
:param _TargetPath: <p>目标路径</p>
|
|
8930
9037
|
:type TargetPath: str
|
|
8931
|
-
:param _TargetHosts:
|
|
9038
|
+
:param _TargetHosts: <p>目标服务器</p>
|
|
8932
9039
|
:type TargetHosts: list of TargetHostDTO
|
|
8933
|
-
:param _CredentialID:
|
|
9040
|
+
:param _CredentialID: <p>凭据ID</p>
|
|
8934
9041
|
:type CredentialID: str
|
|
8935
|
-
:param _CheckTargetCertsError: https
|
|
9042
|
+
:param _CheckTargetCertsError: <p>https时,是否检查证书合法</p>
|
|
8936
9043
|
:type CheckTargetCertsError: bool
|
|
8937
|
-
:param _HttpProtocolVersion: http协议版本:1.1/2.0
|
|
9044
|
+
:param _HttpProtocolVersion: <p>http协议版本:1.1/2.0</p>
|
|
8938
9045
|
:type HttpProtocolVersion: str
|
|
9046
|
+
:param _ModelID: <p>model ID</p>
|
|
9047
|
+
:type ModelID: str
|
|
9048
|
+
:param _Description: <p>描述</p>
|
|
9049
|
+
:type Description: str
|
|
8939
9050
|
"""
|
|
8940
9051
|
self._InstanceID = None
|
|
8941
9052
|
self._ID = None
|
|
@@ -8946,10 +9057,12 @@ class ModifyModelRequest(AbstractModel):
|
|
|
8946
9057
|
self._CredentialID = None
|
|
8947
9058
|
self._CheckTargetCertsError = None
|
|
8948
9059
|
self._HttpProtocolVersion = None
|
|
9060
|
+
self._ModelID = None
|
|
9061
|
+
self._Description = None
|
|
8949
9062
|
|
|
8950
9063
|
@property
|
|
8951
9064
|
def InstanceID(self):
|
|
8952
|
-
r"""
|
|
9065
|
+
r"""<p>实例</p>
|
|
8953
9066
|
:rtype: str
|
|
8954
9067
|
"""
|
|
8955
9068
|
return self._InstanceID
|
|
@@ -8960,7 +9073,7 @@ class ModifyModelRequest(AbstractModel):
|
|
|
8960
9073
|
|
|
8961
9074
|
@property
|
|
8962
9075
|
def ID(self):
|
|
8963
|
-
r"""
|
|
9076
|
+
r"""<p>模型ID</p>
|
|
8964
9077
|
:rtype: str
|
|
8965
9078
|
"""
|
|
8966
9079
|
return self._ID
|
|
@@ -8971,7 +9084,7 @@ class ModifyModelRequest(AbstractModel):
|
|
|
8971
9084
|
|
|
8972
9085
|
@property
|
|
8973
9086
|
def Name(self):
|
|
8974
|
-
r"""
|
|
9087
|
+
r"""<p>模型名称</p>
|
|
8975
9088
|
:rtype: str
|
|
8976
9089
|
"""
|
|
8977
9090
|
return self._Name
|
|
@@ -8982,7 +9095,7 @@ class ModifyModelRequest(AbstractModel):
|
|
|
8982
9095
|
|
|
8983
9096
|
@property
|
|
8984
9097
|
def HttpProtocolType(self):
|
|
8985
|
-
r"""
|
|
9098
|
+
r"""<p>协议类型:http/https</p>
|
|
8986
9099
|
:rtype: str
|
|
8987
9100
|
"""
|
|
8988
9101
|
return self._HttpProtocolType
|
|
@@ -8993,7 +9106,7 @@ class ModifyModelRequest(AbstractModel):
|
|
|
8993
9106
|
|
|
8994
9107
|
@property
|
|
8995
9108
|
def TargetPath(self):
|
|
8996
|
-
r"""
|
|
9109
|
+
r"""<p>目标路径</p>
|
|
8997
9110
|
:rtype: str
|
|
8998
9111
|
"""
|
|
8999
9112
|
return self._TargetPath
|
|
@@ -9004,7 +9117,7 @@ class ModifyModelRequest(AbstractModel):
|
|
|
9004
9117
|
|
|
9005
9118
|
@property
|
|
9006
9119
|
def TargetHosts(self):
|
|
9007
|
-
r"""
|
|
9120
|
+
r"""<p>目标服务器</p>
|
|
9008
9121
|
:rtype: list of TargetHostDTO
|
|
9009
9122
|
"""
|
|
9010
9123
|
return self._TargetHosts
|
|
@@ -9015,7 +9128,7 @@ class ModifyModelRequest(AbstractModel):
|
|
|
9015
9128
|
|
|
9016
9129
|
@property
|
|
9017
9130
|
def CredentialID(self):
|
|
9018
|
-
r"""
|
|
9131
|
+
r"""<p>凭据ID</p>
|
|
9019
9132
|
:rtype: str
|
|
9020
9133
|
"""
|
|
9021
9134
|
return self._CredentialID
|
|
@@ -9026,7 +9139,7 @@ class ModifyModelRequest(AbstractModel):
|
|
|
9026
9139
|
|
|
9027
9140
|
@property
|
|
9028
9141
|
def CheckTargetCertsError(self):
|
|
9029
|
-
r"""https
|
|
9142
|
+
r"""<p>https时,是否检查证书合法</p>
|
|
9030
9143
|
:rtype: bool
|
|
9031
9144
|
"""
|
|
9032
9145
|
return self._CheckTargetCertsError
|
|
@@ -9037,7 +9150,7 @@ class ModifyModelRequest(AbstractModel):
|
|
|
9037
9150
|
|
|
9038
9151
|
@property
|
|
9039
9152
|
def HttpProtocolVersion(self):
|
|
9040
|
-
r"""http协议版本:1.1/2.0
|
|
9153
|
+
r"""<p>http协议版本:1.1/2.0</p>
|
|
9041
9154
|
:rtype: str
|
|
9042
9155
|
"""
|
|
9043
9156
|
return self._HttpProtocolVersion
|
|
@@ -9046,6 +9159,28 @@ class ModifyModelRequest(AbstractModel):
|
|
|
9046
9159
|
def HttpProtocolVersion(self, HttpProtocolVersion):
|
|
9047
9160
|
self._HttpProtocolVersion = HttpProtocolVersion
|
|
9048
9161
|
|
|
9162
|
+
@property
|
|
9163
|
+
def ModelID(self):
|
|
9164
|
+
r"""<p>model ID</p>
|
|
9165
|
+
:rtype: str
|
|
9166
|
+
"""
|
|
9167
|
+
return self._ModelID
|
|
9168
|
+
|
|
9169
|
+
@ModelID.setter
|
|
9170
|
+
def ModelID(self, ModelID):
|
|
9171
|
+
self._ModelID = ModelID
|
|
9172
|
+
|
|
9173
|
+
@property
|
|
9174
|
+
def Description(self):
|
|
9175
|
+
r"""<p>描述</p>
|
|
9176
|
+
:rtype: str
|
|
9177
|
+
"""
|
|
9178
|
+
return self._Description
|
|
9179
|
+
|
|
9180
|
+
@Description.setter
|
|
9181
|
+
def Description(self, Description):
|
|
9182
|
+
self._Description = Description
|
|
9183
|
+
|
|
9049
9184
|
|
|
9050
9185
|
def _deserialize(self, params):
|
|
9051
9186
|
self._InstanceID = params.get("InstanceID")
|
|
@@ -9062,6 +9197,8 @@ class ModifyModelRequest(AbstractModel):
|
|
|
9062
9197
|
self._CredentialID = params.get("CredentialID")
|
|
9063
9198
|
self._CheckTargetCertsError = params.get("CheckTargetCertsError")
|
|
9064
9199
|
self._HttpProtocolVersion = params.get("HttpProtocolVersion")
|
|
9200
|
+
self._ModelID = params.get("ModelID")
|
|
9201
|
+
self._Description = params.get("Description")
|
|
9065
9202
|
memeber_set = set(params.keys())
|
|
9066
9203
|
for name, value in vars(self).items():
|
|
9067
9204
|
property_name = name[1:]
|
|
@@ -9079,7 +9216,7 @@ class ModifyModelResponse(AbstractModel):
|
|
|
9079
9216
|
|
|
9080
9217
|
def __init__(self):
|
|
9081
9218
|
r"""
|
|
9082
|
-
:param _Data:
|
|
9219
|
+
:param _Data: <p>结果集</p>
|
|
9083
9220
|
:type Data: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
9084
9221
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9085
9222
|
:type RequestId: str
|
|
@@ -9089,7 +9226,7 @@ class ModifyModelResponse(AbstractModel):
|
|
|
9089
9226
|
|
|
9090
9227
|
@property
|
|
9091
9228
|
def Data(self):
|
|
9092
|
-
r"""
|
|
9229
|
+
r"""<p>结果集</p>
|
|
9093
9230
|
:rtype: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
9094
9231
|
"""
|
|
9095
9232
|
return self._Data
|
|
@@ -9176,6 +9313,8 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9176
9313
|
:type FallbackStatus: bool
|
|
9177
9314
|
:param _FallbackModels: <p>备份模型</p>
|
|
9178
9315
|
:type FallbackModels: list of TargetModelDTO
|
|
9316
|
+
:param _ModelProtocol: <p>模型类型</p>
|
|
9317
|
+
:type ModelProtocol: str
|
|
9179
9318
|
"""
|
|
9180
9319
|
self._InstanceID = None
|
|
9181
9320
|
self._ID = None
|
|
@@ -9203,6 +9342,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9203
9342
|
self._HostKeyHeaderName = None
|
|
9204
9343
|
self._FallbackStatus = None
|
|
9205
9344
|
self._FallbackModels = None
|
|
9345
|
+
self._ModelProtocol = None
|
|
9206
9346
|
|
|
9207
9347
|
@property
|
|
9208
9348
|
def InstanceID(self):
|
|
@@ -9490,6 +9630,17 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9490
9630
|
def FallbackModels(self, FallbackModels):
|
|
9491
9631
|
self._FallbackModels = FallbackModels
|
|
9492
9632
|
|
|
9633
|
+
@property
|
|
9634
|
+
def ModelProtocol(self):
|
|
9635
|
+
r"""<p>模型类型</p>
|
|
9636
|
+
:rtype: str
|
|
9637
|
+
"""
|
|
9638
|
+
return self._ModelProtocol
|
|
9639
|
+
|
|
9640
|
+
@ModelProtocol.setter
|
|
9641
|
+
def ModelProtocol(self, ModelProtocol):
|
|
9642
|
+
self._ModelProtocol = ModelProtocol
|
|
9643
|
+
|
|
9493
9644
|
|
|
9494
9645
|
def _deserialize(self, params):
|
|
9495
9646
|
self._InstanceID = params.get("InstanceID")
|
|
@@ -9543,6 +9694,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9543
9694
|
obj = TargetModelDTO()
|
|
9544
9695
|
obj._deserialize(item)
|
|
9545
9696
|
self._FallbackModels.append(obj)
|
|
9697
|
+
self._ModelProtocol = params.get("ModelProtocol")
|
|
9546
9698
|
memeber_set = set(params.keys())
|
|
9547
9699
|
for name, value in vars(self).items():
|
|
9548
9700
|
property_name = name[1:]
|
|
@@ -9788,19 +9940,23 @@ class PromptModerateConfigDTO(AbstractModel):
|
|
|
9788
9940
|
|
|
9789
9941
|
def __init__(self):
|
|
9790
9942
|
r"""
|
|
9791
|
-
:param _Action:
|
|
9943
|
+
:param _Action: <p>执行动作</p>
|
|
9792
9944
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9793
9945
|
:type Action: str
|
|
9794
|
-
:param _InterceptMessage:
|
|
9946
|
+
:param _InterceptMessage: <p>响应拦截内容</p>
|
|
9795
9947
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9796
9948
|
:type InterceptMessage: str
|
|
9949
|
+
:param _ContextScope: <p>检测上下文</p>
|
|
9950
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9951
|
+
:type ContextScope: str
|
|
9797
9952
|
"""
|
|
9798
9953
|
self._Action = None
|
|
9799
9954
|
self._InterceptMessage = None
|
|
9955
|
+
self._ContextScope = None
|
|
9800
9956
|
|
|
9801
9957
|
@property
|
|
9802
9958
|
def Action(self):
|
|
9803
|
-
r"""
|
|
9959
|
+
r"""<p>执行动作</p>
|
|
9804
9960
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9805
9961
|
:rtype: str
|
|
9806
9962
|
"""
|
|
@@ -9812,7 +9968,7 @@ class PromptModerateConfigDTO(AbstractModel):
|
|
|
9812
9968
|
|
|
9813
9969
|
@property
|
|
9814
9970
|
def InterceptMessage(self):
|
|
9815
|
-
r"""
|
|
9971
|
+
r"""<p>响应拦截内容</p>
|
|
9816
9972
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9817
9973
|
:rtype: str
|
|
9818
9974
|
"""
|
|
@@ -9822,10 +9978,23 @@ class PromptModerateConfigDTO(AbstractModel):
|
|
|
9822
9978
|
def InterceptMessage(self, InterceptMessage):
|
|
9823
9979
|
self._InterceptMessage = InterceptMessage
|
|
9824
9980
|
|
|
9981
|
+
@property
|
|
9982
|
+
def ContextScope(self):
|
|
9983
|
+
r"""<p>检测上下文</p>
|
|
9984
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9985
|
+
:rtype: str
|
|
9986
|
+
"""
|
|
9987
|
+
return self._ContextScope
|
|
9988
|
+
|
|
9989
|
+
@ContextScope.setter
|
|
9990
|
+
def ContextScope(self, ContextScope):
|
|
9991
|
+
self._ContextScope = ContextScope
|
|
9992
|
+
|
|
9825
9993
|
|
|
9826
9994
|
def _deserialize(self, params):
|
|
9827
9995
|
self._Action = params.get("Action")
|
|
9828
9996
|
self._InterceptMessage = params.get("InterceptMessage")
|
|
9997
|
+
self._ContextScope = params.get("ContextScope")
|
|
9829
9998
|
memeber_set = set(params.keys())
|
|
9830
9999
|
for name, value in vars(self).items():
|
|
9831
10000
|
property_name = name[1:]
|
|
@@ -9928,10 +10097,14 @@ class SensitiveDataCheckConfigDTO(AbstractModel):
|
|
|
9928
10097
|
:param _CheckItems: <p>检测项</p><p>枚举值:</p><ul><li>birthday: 生日</li><li>email: 邮箱</li><li>identity_number: 身份证</li><li>phone_number: 电话号码</li><li>secret: 秘钥</li><li>password: 密码</li><li>private_key: 私钥</li></ul>
|
|
9929
10098
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9930
10099
|
:type CheckItems: list of str
|
|
10100
|
+
:param _ContextScope: <p>检测上下文</p>
|
|
10101
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10102
|
+
:type ContextScope: str
|
|
9931
10103
|
"""
|
|
9932
10104
|
self._Action = None
|
|
9933
10105
|
self._InterceptMessage = None
|
|
9934
10106
|
self._CheckItems = None
|
|
10107
|
+
self._ContextScope = None
|
|
9935
10108
|
|
|
9936
10109
|
@property
|
|
9937
10110
|
def Action(self):
|
|
@@ -9969,11 +10142,24 @@ class SensitiveDataCheckConfigDTO(AbstractModel):
|
|
|
9969
10142
|
def CheckItems(self, CheckItems):
|
|
9970
10143
|
self._CheckItems = CheckItems
|
|
9971
10144
|
|
|
10145
|
+
@property
|
|
10146
|
+
def ContextScope(self):
|
|
10147
|
+
r"""<p>检测上下文</p>
|
|
10148
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10149
|
+
:rtype: str
|
|
10150
|
+
"""
|
|
10151
|
+
return self._ContextScope
|
|
10152
|
+
|
|
10153
|
+
@ContextScope.setter
|
|
10154
|
+
def ContextScope(self, ContextScope):
|
|
10155
|
+
self._ContextScope = ContextScope
|
|
10156
|
+
|
|
9972
10157
|
|
|
9973
10158
|
def _deserialize(self, params):
|
|
9974
10159
|
self._Action = params.get("Action")
|
|
9975
10160
|
self._InterceptMessage = params.get("InterceptMessage")
|
|
9976
10161
|
self._CheckItems = params.get("CheckItems")
|
|
10162
|
+
self._ContextScope = params.get("ContextScope")
|
|
9977
10163
|
memeber_set = set(params.keys())
|
|
9978
10164
|
for name, value in vars(self).items():
|
|
9979
10165
|
property_name = name[1:]
|
|
@@ -10167,24 +10353,27 @@ class TmsConfigDTO(AbstractModel):
|
|
|
10167
10353
|
|
|
10168
10354
|
def __init__(self):
|
|
10169
10355
|
r"""
|
|
10170
|
-
:param _Scope:
|
|
10356
|
+
:param _Scope: <p>检测范围,请求/响应</p>
|
|
10171
10357
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10172
10358
|
:type Scope: list of str
|
|
10173
|
-
:param _Mode:
|
|
10359
|
+
:param _Mode: <p>检测形式</p>
|
|
10174
10360
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10175
10361
|
:type Mode: str
|
|
10176
|
-
:param _Action:
|
|
10362
|
+
:param _Action: <p>执行动作</p>
|
|
10177
10363
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10178
10364
|
:type Action: str
|
|
10179
|
-
:param _MergeCount:
|
|
10365
|
+
:param _MergeCount: <p>合并请求检测event数,联动Mode字段sync</p>
|
|
10180
10366
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10181
10367
|
:type MergeCount: int
|
|
10182
|
-
:param _BizType:
|
|
10368
|
+
:param _BizType: <p>风控策略</p>
|
|
10183
10369
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10184
10370
|
:type BizType: str
|
|
10185
|
-
:param _InterceptMessage:
|
|
10371
|
+
:param _InterceptMessage: <p>响应拦截内容</p>
|
|
10186
10372
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10187
10373
|
:type InterceptMessage: str
|
|
10374
|
+
:param _ContextScope: <p>检测上下文</p>
|
|
10375
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10376
|
+
:type ContextScope: str
|
|
10188
10377
|
"""
|
|
10189
10378
|
self._Scope = None
|
|
10190
10379
|
self._Mode = None
|
|
@@ -10192,10 +10381,11 @@ class TmsConfigDTO(AbstractModel):
|
|
|
10192
10381
|
self._MergeCount = None
|
|
10193
10382
|
self._BizType = None
|
|
10194
10383
|
self._InterceptMessage = None
|
|
10384
|
+
self._ContextScope = None
|
|
10195
10385
|
|
|
10196
10386
|
@property
|
|
10197
10387
|
def Scope(self):
|
|
10198
|
-
r"""
|
|
10388
|
+
r"""<p>检测范围,请求/响应</p>
|
|
10199
10389
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10200
10390
|
:rtype: list of str
|
|
10201
10391
|
"""
|
|
@@ -10207,7 +10397,7 @@ class TmsConfigDTO(AbstractModel):
|
|
|
10207
10397
|
|
|
10208
10398
|
@property
|
|
10209
10399
|
def Mode(self):
|
|
10210
|
-
r"""
|
|
10400
|
+
r"""<p>检测形式</p>
|
|
10211
10401
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10212
10402
|
:rtype: str
|
|
10213
10403
|
"""
|
|
@@ -10219,7 +10409,7 @@ class TmsConfigDTO(AbstractModel):
|
|
|
10219
10409
|
|
|
10220
10410
|
@property
|
|
10221
10411
|
def Action(self):
|
|
10222
|
-
r"""
|
|
10412
|
+
r"""<p>执行动作</p>
|
|
10223
10413
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10224
10414
|
:rtype: str
|
|
10225
10415
|
"""
|
|
@@ -10231,7 +10421,7 @@ class TmsConfigDTO(AbstractModel):
|
|
|
10231
10421
|
|
|
10232
10422
|
@property
|
|
10233
10423
|
def MergeCount(self):
|
|
10234
|
-
r"""
|
|
10424
|
+
r"""<p>合并请求检测event数,联动Mode字段sync</p>
|
|
10235
10425
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10236
10426
|
:rtype: int
|
|
10237
10427
|
"""
|
|
@@ -10243,7 +10433,7 @@ class TmsConfigDTO(AbstractModel):
|
|
|
10243
10433
|
|
|
10244
10434
|
@property
|
|
10245
10435
|
def BizType(self):
|
|
10246
|
-
r"""
|
|
10436
|
+
r"""<p>风控策略</p>
|
|
10247
10437
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10248
10438
|
:rtype: str
|
|
10249
10439
|
"""
|
|
@@ -10255,7 +10445,7 @@ class TmsConfigDTO(AbstractModel):
|
|
|
10255
10445
|
|
|
10256
10446
|
@property
|
|
10257
10447
|
def InterceptMessage(self):
|
|
10258
|
-
r"""
|
|
10448
|
+
r"""<p>响应拦截内容</p>
|
|
10259
10449
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10260
10450
|
:rtype: str
|
|
10261
10451
|
"""
|
|
@@ -10265,6 +10455,18 @@ class TmsConfigDTO(AbstractModel):
|
|
|
10265
10455
|
def InterceptMessage(self, InterceptMessage):
|
|
10266
10456
|
self._InterceptMessage = InterceptMessage
|
|
10267
10457
|
|
|
10458
|
+
@property
|
|
10459
|
+
def ContextScope(self):
|
|
10460
|
+
r"""<p>检测上下文</p>
|
|
10461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10462
|
+
:rtype: str
|
|
10463
|
+
"""
|
|
10464
|
+
return self._ContextScope
|
|
10465
|
+
|
|
10466
|
+
@ContextScope.setter
|
|
10467
|
+
def ContextScope(self, ContextScope):
|
|
10468
|
+
self._ContextScope = ContextScope
|
|
10469
|
+
|
|
10268
10470
|
|
|
10269
10471
|
def _deserialize(self, params):
|
|
10270
10472
|
self._Scope = params.get("Scope")
|
|
@@ -10273,6 +10475,7 @@ class TmsConfigDTO(AbstractModel):
|
|
|
10273
10475
|
self._MergeCount = params.get("MergeCount")
|
|
10274
10476
|
self._BizType = params.get("BizType")
|
|
10275
10477
|
self._InterceptMessage = params.get("InterceptMessage")
|
|
10478
|
+
self._ContextScope = params.get("ContextScope")
|
|
10276
10479
|
memeber_set = set(params.keys())
|
|
10277
10480
|
for name, value in vars(self).items():
|
|
10278
10481
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-apis
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.98
|
|
4
4
|
Summary: Tencent Cloud Apis 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.98
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.98
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.88
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|