tencentcloud-sdk-python-apis 3.1.62__tar.gz → 3.1.82__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.62 → tencentcloud_sdk_python_apis-3.1.82}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/setup.py +1 -1
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/apis/v20240801/models.py +453 -126
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud_sdk_python_apis.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_apis-3.1.82/tencentcloud_sdk_python_apis.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_apis-3.1.62/tencentcloud_sdk_python_apis.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/README.rst +0 -0
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/setup.cfg +0 -0
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/apis/__init__.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/apis/v20240801/__init__.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/apis/v20240801/apis_client.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/apis/v20240801/apis_client_async.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/apis/v20240801/errorcodes.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud_sdk_python_apis.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud_sdk_python_apis.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_apis-3.1.62 → tencentcloud_sdk_python_apis-3.1.82}/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.82
|
|
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.82
|
|
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.82,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Apis SDK for Python',
|
|
@@ -1938,40 +1938,48 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
1938
1938
|
|
|
1939
1939
|
def __init__(self):
|
|
1940
1940
|
r"""
|
|
1941
|
-
:param _InstanceID:
|
|
1941
|
+
:param _InstanceID: <p>实例</p>
|
|
1942
1942
|
:type InstanceID: str
|
|
1943
|
-
:param _Name:
|
|
1943
|
+
:param _Name: <p>模型服务名称</p>
|
|
1944
1944
|
:type Name: str
|
|
1945
|
-
:param _Description:
|
|
1945
|
+
:param _Description: <p>描述</p>
|
|
1946
1946
|
:type Description: str
|
|
1947
|
-
:param _PubPath:
|
|
1947
|
+
:param _PubPath: <p>访问路径</p>
|
|
1948
1948
|
:type PubPath: str
|
|
1949
|
-
:param _TargetModels:
|
|
1949
|
+
:param _TargetModels: <p>模型ID列表</p>
|
|
1950
1950
|
:type TargetModels: list of TargetModelDTO
|
|
1951
|
-
:param _PathMatchType:
|
|
1951
|
+
:param _PathMatchType: <p>路径匹配类型: prefix 前缀匹配(不送默认); absolute 绝对匹配; regex正则匹配;</p>
|
|
1952
1952
|
:type PathMatchType: str
|
|
1953
|
-
:param _InvokeLimitConfigStatus:
|
|
1953
|
+
:param _InvokeLimitConfigStatus: <p>是否开启限流</p>
|
|
1954
1954
|
:type InvokeLimitConfigStatus: bool
|
|
1955
|
-
:param _InvokeLimitConfig:
|
|
1955
|
+
:param _InvokeLimitConfig: <p>限流配置</p>
|
|
1956
1956
|
:type InvokeLimitConfig: :class:`tencentcloud.apis.v20240801.models.InvokeLimitConfigDTO`
|
|
1957
|
-
:param _TokenLimitStatus:
|
|
1957
|
+
:param _TokenLimitStatus: <p>是否开启token控制</p>
|
|
1958
1958
|
:type TokenLimitStatus: bool
|
|
1959
|
-
:param _TokenLimitConfig: token
|
|
1959
|
+
:param _TokenLimitConfig: <p>token控制</p>
|
|
1960
1960
|
:type TokenLimitConfig: :class:`tencentcloud.apis.v20240801.models.TokenLimitConfigDTO`
|
|
1961
|
-
:param _TmsStatus:
|
|
1961
|
+
:param _TmsStatus: <p>是否开启内容安全</p>
|
|
1962
1962
|
:type TmsStatus: bool
|
|
1963
|
-
:param _TmsConfig:
|
|
1963
|
+
:param _TmsConfig: <p>内容安全配置</p>
|
|
1964
1964
|
:type TmsConfig: :class:`tencentcloud.apis.v20240801.models.TmsConfigDTO`
|
|
1965
|
-
:param _IpWhiteStatus:
|
|
1965
|
+
:param _IpWhiteStatus: <p>是否开启IP白名单</p>
|
|
1966
1966
|
:type IpWhiteStatus: bool
|
|
1967
|
-
:param _IpWhiteList: IP
|
|
1967
|
+
:param _IpWhiteList: <p>IP白名单</p>
|
|
1968
1968
|
:type IpWhiteList: list of str
|
|
1969
|
-
:param _IpBlackList: IP
|
|
1969
|
+
:param _IpBlackList: <p>IP黑名单</p>
|
|
1970
1970
|
:type IpBlackList: list of str
|
|
1971
|
-
:param _PluginConfigs:
|
|
1971
|
+
:param _PluginConfigs: <p>插件配置</p>
|
|
1972
1972
|
:type PluginConfigs: list of PluginConfigDTO
|
|
1973
|
-
:param _Timeout:
|
|
1973
|
+
:param _Timeout: <p>超时配置,秒</p>
|
|
1974
1974
|
:type Timeout: int
|
|
1975
|
+
:param _PromptModerateStatus: <p>是否开启提示词安全检测</p>
|
|
1976
|
+
:type PromptModerateStatus: bool
|
|
1977
|
+
:param _PromptModerateConfig: <p>提示词安全检测配置</p>
|
|
1978
|
+
:type PromptModerateConfig: :class:`tencentcloud.apis.v20240801.models.PromptModerateConfigDTO`
|
|
1979
|
+
:param _SensitiveDataCheckStatus: <p>是否开启敏感数据检测</p>
|
|
1980
|
+
:type SensitiveDataCheckStatus: bool
|
|
1981
|
+
:param _SensitiveDataCheckConfig: <p>敏感数据检测配置</p>
|
|
1982
|
+
:type SensitiveDataCheckConfig: :class:`tencentcloud.apis.v20240801.models.SensitiveDataCheckConfigDTO`
|
|
1975
1983
|
"""
|
|
1976
1984
|
self._InstanceID = None
|
|
1977
1985
|
self._Name = None
|
|
@@ -1990,10 +1998,14 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
1990
1998
|
self._IpBlackList = None
|
|
1991
1999
|
self._PluginConfigs = None
|
|
1992
2000
|
self._Timeout = None
|
|
2001
|
+
self._PromptModerateStatus = None
|
|
2002
|
+
self._PromptModerateConfig = None
|
|
2003
|
+
self._SensitiveDataCheckStatus = None
|
|
2004
|
+
self._SensitiveDataCheckConfig = None
|
|
1993
2005
|
|
|
1994
2006
|
@property
|
|
1995
2007
|
def InstanceID(self):
|
|
1996
|
-
r"""
|
|
2008
|
+
r"""<p>实例</p>
|
|
1997
2009
|
:rtype: str
|
|
1998
2010
|
"""
|
|
1999
2011
|
return self._InstanceID
|
|
@@ -2004,7 +2016,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2004
2016
|
|
|
2005
2017
|
@property
|
|
2006
2018
|
def Name(self):
|
|
2007
|
-
r"""
|
|
2019
|
+
r"""<p>模型服务名称</p>
|
|
2008
2020
|
:rtype: str
|
|
2009
2021
|
"""
|
|
2010
2022
|
return self._Name
|
|
@@ -2015,7 +2027,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2015
2027
|
|
|
2016
2028
|
@property
|
|
2017
2029
|
def Description(self):
|
|
2018
|
-
r"""
|
|
2030
|
+
r"""<p>描述</p>
|
|
2019
2031
|
:rtype: str
|
|
2020
2032
|
"""
|
|
2021
2033
|
return self._Description
|
|
@@ -2026,7 +2038,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2026
2038
|
|
|
2027
2039
|
@property
|
|
2028
2040
|
def PubPath(self):
|
|
2029
|
-
r"""
|
|
2041
|
+
r"""<p>访问路径</p>
|
|
2030
2042
|
:rtype: str
|
|
2031
2043
|
"""
|
|
2032
2044
|
return self._PubPath
|
|
@@ -2037,7 +2049,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2037
2049
|
|
|
2038
2050
|
@property
|
|
2039
2051
|
def TargetModels(self):
|
|
2040
|
-
r"""
|
|
2052
|
+
r"""<p>模型ID列表</p>
|
|
2041
2053
|
:rtype: list of TargetModelDTO
|
|
2042
2054
|
"""
|
|
2043
2055
|
return self._TargetModels
|
|
@@ -2048,7 +2060,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2048
2060
|
|
|
2049
2061
|
@property
|
|
2050
2062
|
def PathMatchType(self):
|
|
2051
|
-
r"""
|
|
2063
|
+
r"""<p>路径匹配类型: prefix 前缀匹配(不送默认); absolute 绝对匹配; regex正则匹配;</p>
|
|
2052
2064
|
:rtype: str
|
|
2053
2065
|
"""
|
|
2054
2066
|
return self._PathMatchType
|
|
@@ -2059,7 +2071,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2059
2071
|
|
|
2060
2072
|
@property
|
|
2061
2073
|
def InvokeLimitConfigStatus(self):
|
|
2062
|
-
r"""
|
|
2074
|
+
r"""<p>是否开启限流</p>
|
|
2063
2075
|
:rtype: bool
|
|
2064
2076
|
"""
|
|
2065
2077
|
return self._InvokeLimitConfigStatus
|
|
@@ -2070,7 +2082,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2070
2082
|
|
|
2071
2083
|
@property
|
|
2072
2084
|
def InvokeLimitConfig(self):
|
|
2073
|
-
r"""
|
|
2085
|
+
r"""<p>限流配置</p>
|
|
2074
2086
|
:rtype: :class:`tencentcloud.apis.v20240801.models.InvokeLimitConfigDTO`
|
|
2075
2087
|
"""
|
|
2076
2088
|
return self._InvokeLimitConfig
|
|
@@ -2081,7 +2093,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2081
2093
|
|
|
2082
2094
|
@property
|
|
2083
2095
|
def TokenLimitStatus(self):
|
|
2084
|
-
r"""
|
|
2096
|
+
r"""<p>是否开启token控制</p>
|
|
2085
2097
|
:rtype: bool
|
|
2086
2098
|
"""
|
|
2087
2099
|
return self._TokenLimitStatus
|
|
@@ -2092,7 +2104,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2092
2104
|
|
|
2093
2105
|
@property
|
|
2094
2106
|
def TokenLimitConfig(self):
|
|
2095
|
-
r"""token
|
|
2107
|
+
r"""<p>token控制</p>
|
|
2096
2108
|
:rtype: :class:`tencentcloud.apis.v20240801.models.TokenLimitConfigDTO`
|
|
2097
2109
|
"""
|
|
2098
2110
|
return self._TokenLimitConfig
|
|
@@ -2103,7 +2115,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2103
2115
|
|
|
2104
2116
|
@property
|
|
2105
2117
|
def TmsStatus(self):
|
|
2106
|
-
r"""
|
|
2118
|
+
r"""<p>是否开启内容安全</p>
|
|
2107
2119
|
:rtype: bool
|
|
2108
2120
|
"""
|
|
2109
2121
|
return self._TmsStatus
|
|
@@ -2114,7 +2126,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2114
2126
|
|
|
2115
2127
|
@property
|
|
2116
2128
|
def TmsConfig(self):
|
|
2117
|
-
r"""
|
|
2129
|
+
r"""<p>内容安全配置</p>
|
|
2118
2130
|
:rtype: :class:`tencentcloud.apis.v20240801.models.TmsConfigDTO`
|
|
2119
2131
|
"""
|
|
2120
2132
|
return self._TmsConfig
|
|
@@ -2125,7 +2137,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2125
2137
|
|
|
2126
2138
|
@property
|
|
2127
2139
|
def IpWhiteStatus(self):
|
|
2128
|
-
r"""
|
|
2140
|
+
r"""<p>是否开启IP白名单</p>
|
|
2129
2141
|
:rtype: bool
|
|
2130
2142
|
"""
|
|
2131
2143
|
return self._IpWhiteStatus
|
|
@@ -2136,7 +2148,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2136
2148
|
|
|
2137
2149
|
@property
|
|
2138
2150
|
def IpWhiteList(self):
|
|
2139
|
-
r"""IP
|
|
2151
|
+
r"""<p>IP白名单</p>
|
|
2140
2152
|
:rtype: list of str
|
|
2141
2153
|
"""
|
|
2142
2154
|
return self._IpWhiteList
|
|
@@ -2147,7 +2159,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2147
2159
|
|
|
2148
2160
|
@property
|
|
2149
2161
|
def IpBlackList(self):
|
|
2150
|
-
r"""IP
|
|
2162
|
+
r"""<p>IP黑名单</p>
|
|
2151
2163
|
:rtype: list of str
|
|
2152
2164
|
"""
|
|
2153
2165
|
return self._IpBlackList
|
|
@@ -2158,7 +2170,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2158
2170
|
|
|
2159
2171
|
@property
|
|
2160
2172
|
def PluginConfigs(self):
|
|
2161
|
-
r"""
|
|
2173
|
+
r"""<p>插件配置</p>
|
|
2162
2174
|
:rtype: list of PluginConfigDTO
|
|
2163
2175
|
"""
|
|
2164
2176
|
return self._PluginConfigs
|
|
@@ -2169,7 +2181,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2169
2181
|
|
|
2170
2182
|
@property
|
|
2171
2183
|
def Timeout(self):
|
|
2172
|
-
r"""
|
|
2184
|
+
r"""<p>超时配置,秒</p>
|
|
2173
2185
|
:rtype: int
|
|
2174
2186
|
"""
|
|
2175
2187
|
return self._Timeout
|
|
@@ -2178,6 +2190,50 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2178
2190
|
def Timeout(self, Timeout):
|
|
2179
2191
|
self._Timeout = Timeout
|
|
2180
2192
|
|
|
2193
|
+
@property
|
|
2194
|
+
def PromptModerateStatus(self):
|
|
2195
|
+
r"""<p>是否开启提示词安全检测</p>
|
|
2196
|
+
:rtype: bool
|
|
2197
|
+
"""
|
|
2198
|
+
return self._PromptModerateStatus
|
|
2199
|
+
|
|
2200
|
+
@PromptModerateStatus.setter
|
|
2201
|
+
def PromptModerateStatus(self, PromptModerateStatus):
|
|
2202
|
+
self._PromptModerateStatus = PromptModerateStatus
|
|
2203
|
+
|
|
2204
|
+
@property
|
|
2205
|
+
def PromptModerateConfig(self):
|
|
2206
|
+
r"""<p>提示词安全检测配置</p>
|
|
2207
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.PromptModerateConfigDTO`
|
|
2208
|
+
"""
|
|
2209
|
+
return self._PromptModerateConfig
|
|
2210
|
+
|
|
2211
|
+
@PromptModerateConfig.setter
|
|
2212
|
+
def PromptModerateConfig(self, PromptModerateConfig):
|
|
2213
|
+
self._PromptModerateConfig = PromptModerateConfig
|
|
2214
|
+
|
|
2215
|
+
@property
|
|
2216
|
+
def SensitiveDataCheckStatus(self):
|
|
2217
|
+
r"""<p>是否开启敏感数据检测</p>
|
|
2218
|
+
:rtype: bool
|
|
2219
|
+
"""
|
|
2220
|
+
return self._SensitiveDataCheckStatus
|
|
2221
|
+
|
|
2222
|
+
@SensitiveDataCheckStatus.setter
|
|
2223
|
+
def SensitiveDataCheckStatus(self, SensitiveDataCheckStatus):
|
|
2224
|
+
self._SensitiveDataCheckStatus = SensitiveDataCheckStatus
|
|
2225
|
+
|
|
2226
|
+
@property
|
|
2227
|
+
def SensitiveDataCheckConfig(self):
|
|
2228
|
+
r"""<p>敏感数据检测配置</p>
|
|
2229
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.SensitiveDataCheckConfigDTO`
|
|
2230
|
+
"""
|
|
2231
|
+
return self._SensitiveDataCheckConfig
|
|
2232
|
+
|
|
2233
|
+
@SensitiveDataCheckConfig.setter
|
|
2234
|
+
def SensitiveDataCheckConfig(self, SensitiveDataCheckConfig):
|
|
2235
|
+
self._SensitiveDataCheckConfig = SensitiveDataCheckConfig
|
|
2236
|
+
|
|
2181
2237
|
|
|
2182
2238
|
def _deserialize(self, params):
|
|
2183
2239
|
self._InstanceID = params.get("InstanceID")
|
|
@@ -2213,6 +2269,14 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2213
2269
|
obj._deserialize(item)
|
|
2214
2270
|
self._PluginConfigs.append(obj)
|
|
2215
2271
|
self._Timeout = params.get("Timeout")
|
|
2272
|
+
self._PromptModerateStatus = params.get("PromptModerateStatus")
|
|
2273
|
+
if params.get("PromptModerateConfig") is not None:
|
|
2274
|
+
self._PromptModerateConfig = PromptModerateConfigDTO()
|
|
2275
|
+
self._PromptModerateConfig._deserialize(params.get("PromptModerateConfig"))
|
|
2276
|
+
self._SensitiveDataCheckStatus = params.get("SensitiveDataCheckStatus")
|
|
2277
|
+
if params.get("SensitiveDataCheckConfig") is not None:
|
|
2278
|
+
self._SensitiveDataCheckConfig = SensitiveDataCheckConfigDTO()
|
|
2279
|
+
self._SensitiveDataCheckConfig._deserialize(params.get("SensitiveDataCheckConfig"))
|
|
2216
2280
|
memeber_set = set(params.keys())
|
|
2217
2281
|
for name, value in vars(self).items():
|
|
2218
2282
|
property_name = name[1:]
|
|
@@ -2230,7 +2294,7 @@ class CreateModelServiceResponse(AbstractModel):
|
|
|
2230
2294
|
|
|
2231
2295
|
def __init__(self):
|
|
2232
2296
|
r"""
|
|
2233
|
-
:param _Data:
|
|
2297
|
+
:param _Data: <p>结果集</p>
|
|
2234
2298
|
:type Data: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
2235
2299
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2236
2300
|
:type RequestId: str
|
|
@@ -2240,7 +2304,7 @@ class CreateModelServiceResponse(AbstractModel):
|
|
|
2240
2304
|
|
|
2241
2305
|
@property
|
|
2242
2306
|
def Data(self):
|
|
2243
|
-
r"""
|
|
2307
|
+
r"""<p>结果集</p>
|
|
2244
2308
|
:rtype: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
2245
2309
|
"""
|
|
2246
2310
|
return self._Data
|
|
@@ -5730,65 +5794,77 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5730
5794
|
|
|
5731
5795
|
def __init__(self):
|
|
5732
5796
|
r"""
|
|
5733
|
-
:param _AppID:
|
|
5797
|
+
:param _AppID: <p>腾讯云AppID</p>
|
|
5734
5798
|
:type AppID: int
|
|
5735
|
-
:param _Uin:
|
|
5799
|
+
:param _Uin: <p>腾讯云Uin</p>
|
|
5736
5800
|
:type Uin: str
|
|
5737
|
-
:param _InstanceID:
|
|
5801
|
+
:param _InstanceID: <p>实例ID</p>
|
|
5738
5802
|
:type InstanceID: str
|
|
5739
|
-
:param _ID:
|
|
5803
|
+
:param _ID: <p>模型ID</p>
|
|
5740
5804
|
:type ID: str
|
|
5741
|
-
:param _Name:
|
|
5805
|
+
:param _Name: <p>模型名称</p>
|
|
5742
5806
|
:type Name: str
|
|
5743
|
-
:param _Description:
|
|
5807
|
+
:param _Description: <p>描述</p>
|
|
5744
5808
|
:type Description: str
|
|
5745
|
-
:param _PubPath:
|
|
5809
|
+
:param _PubPath: <p>访问路径</p>
|
|
5746
5810
|
:type PubPath: str
|
|
5747
|
-
:param _PathMatchType:
|
|
5811
|
+
:param _PathMatchType: <p>路径匹配方式:absolute,prefix,regex</p>
|
|
5748
5812
|
:type PathMatchType: str
|
|
5749
|
-
:param _TargetModels:
|
|
5813
|
+
:param _TargetModels: <p>目标模型列表</p>
|
|
5750
5814
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5751
5815
|
:type TargetModels: list of TargetModelDTO
|
|
5752
|
-
:param _ModelNames:
|
|
5816
|
+
:param _ModelNames: <p>模板模型的名称列表</p>
|
|
5753
5817
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5754
5818
|
:type ModelNames: list of str
|
|
5755
|
-
:param _InvokeLimitConfigStatus:
|
|
5819
|
+
:param _InvokeLimitConfigStatus: <p>是否开启限流</p>
|
|
5756
5820
|
:type InvokeLimitConfigStatus: bool
|
|
5757
|
-
:param _InvokeLimitConfig:
|
|
5821
|
+
:param _InvokeLimitConfig: <p>限流配置</p>
|
|
5758
5822
|
:type InvokeLimitConfig: :class:`tencentcloud.apis.v20240801.models.InvokeLimitConfigDTO`
|
|
5759
|
-
:param _CreateTime:
|
|
5823
|
+
:param _CreateTime: <p>创建时间</p>
|
|
5760
5824
|
:type CreateTime: str
|
|
5761
|
-
:param _LastUpdateTime:
|
|
5825
|
+
:param _LastUpdateTime: <p>最后修改时间</p>
|
|
5762
5826
|
:type LastUpdateTime: str
|
|
5763
|
-
:param _TokenLimitStatus:
|
|
5827
|
+
:param _TokenLimitStatus: <p>是否开启token控制</p>
|
|
5764
5828
|
:type TokenLimitStatus: bool
|
|
5765
|
-
:param _TokenLimitConfig: token
|
|
5829
|
+
:param _TokenLimitConfig: <p>token控制</p>
|
|
5766
5830
|
:type TokenLimitConfig: :class:`tencentcloud.apis.v20240801.models.TokenLimitConfigDTO`
|
|
5767
|
-
:param _TmsStatus:
|
|
5831
|
+
:param _TmsStatus: <p>是否开启tms配置</p>
|
|
5768
5832
|
:type TmsStatus: bool
|
|
5769
|
-
:param _TmsConfig: tms
|
|
5833
|
+
:param _TmsConfig: <p>tms配置</p>
|
|
5770
5834
|
:type TmsConfig: :class:`tencentcloud.apis.v20240801.models.TmsConfigDTO`
|
|
5771
|
-
:param _IpWhiteStatus:
|
|
5835
|
+
:param _IpWhiteStatus: <p>是否开启IP白名单</p>
|
|
5772
5836
|
:type IpWhiteStatus: bool
|
|
5773
|
-
:param _IpWhiteList: IP
|
|
5837
|
+
:param _IpWhiteList: <p>IP白名单列表</p>
|
|
5774
5838
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5775
5839
|
:type IpWhiteList: list of str
|
|
5776
|
-
:param _IpBlackStatus:
|
|
5840
|
+
:param _IpBlackStatus: <p>是否开启IP黑名单</p>
|
|
5777
5841
|
:type IpBlackStatus: bool
|
|
5778
|
-
:param _IpBlackList: IP
|
|
5842
|
+
:param _IpBlackList: <p>IP黑名单列表</p>
|
|
5779
5843
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5780
5844
|
:type IpBlackList: list of str
|
|
5781
|
-
:param _PluginConfigs:
|
|
5845
|
+
:param _PluginConfigs: <p>插件配置</p>
|
|
5782
5846
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5783
5847
|
:type PluginConfigs: list of PluginConfigDTO
|
|
5784
|
-
:param _Timeout:
|
|
5848
|
+
:param _Timeout: <p>超时配置,单位秒</p>
|
|
5785
5849
|
:type Timeout: int
|
|
5786
|
-
:param _Status:
|
|
5850
|
+
:param _Status: <p>状态:normal,disabled</p>
|
|
5787
5851
|
:type Status: str
|
|
5788
|
-
:param _RelateAgentAppNum:
|
|
5852
|
+
:param _RelateAgentAppNum: <p>关联应用数</p>
|
|
5789
5853
|
:type RelateAgentAppNum: int
|
|
5790
|
-
:param _Url:
|
|
5854
|
+
:param _Url: <p>请求路径</p>
|
|
5791
5855
|
:type Url: str
|
|
5856
|
+
:param _PromptModerateStatus: <p>是否开启提示词安全检测</p>
|
|
5857
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5858
|
+
:type PromptModerateStatus: bool
|
|
5859
|
+
:param _PromptModerateConfig: <p>提示词安全检测配置</p>
|
|
5860
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5861
|
+
:type PromptModerateConfig: :class:`tencentcloud.apis.v20240801.models.PromptModerateConfigDTO`
|
|
5862
|
+
:param _SensitiveDataCheckStatus: <p>是否开启敏感数据检测</p>
|
|
5863
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5864
|
+
:type SensitiveDataCheckStatus: bool
|
|
5865
|
+
:param _SensitiveDataCheckConfig: <p>敏感数据检测配置</p>
|
|
5866
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5867
|
+
:type SensitiveDataCheckConfig: :class:`tencentcloud.apis.v20240801.models.SensitiveDataCheckConfigDTO`
|
|
5792
5868
|
"""
|
|
5793
5869
|
self._AppID = None
|
|
5794
5870
|
self._Uin = None
|
|
@@ -5817,10 +5893,14 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5817
5893
|
self._Status = None
|
|
5818
5894
|
self._RelateAgentAppNum = None
|
|
5819
5895
|
self._Url = None
|
|
5896
|
+
self._PromptModerateStatus = None
|
|
5897
|
+
self._PromptModerateConfig = None
|
|
5898
|
+
self._SensitiveDataCheckStatus = None
|
|
5899
|
+
self._SensitiveDataCheckConfig = None
|
|
5820
5900
|
|
|
5821
5901
|
@property
|
|
5822
5902
|
def AppID(self):
|
|
5823
|
-
r"""
|
|
5903
|
+
r"""<p>腾讯云AppID</p>
|
|
5824
5904
|
:rtype: int
|
|
5825
5905
|
"""
|
|
5826
5906
|
return self._AppID
|
|
@@ -5831,7 +5911,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5831
5911
|
|
|
5832
5912
|
@property
|
|
5833
5913
|
def Uin(self):
|
|
5834
|
-
r"""
|
|
5914
|
+
r"""<p>腾讯云Uin</p>
|
|
5835
5915
|
:rtype: str
|
|
5836
5916
|
"""
|
|
5837
5917
|
return self._Uin
|
|
@@ -5842,7 +5922,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5842
5922
|
|
|
5843
5923
|
@property
|
|
5844
5924
|
def InstanceID(self):
|
|
5845
|
-
r"""
|
|
5925
|
+
r"""<p>实例ID</p>
|
|
5846
5926
|
:rtype: str
|
|
5847
5927
|
"""
|
|
5848
5928
|
return self._InstanceID
|
|
@@ -5853,7 +5933,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5853
5933
|
|
|
5854
5934
|
@property
|
|
5855
5935
|
def ID(self):
|
|
5856
|
-
r"""
|
|
5936
|
+
r"""<p>模型ID</p>
|
|
5857
5937
|
:rtype: str
|
|
5858
5938
|
"""
|
|
5859
5939
|
return self._ID
|
|
@@ -5864,7 +5944,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5864
5944
|
|
|
5865
5945
|
@property
|
|
5866
5946
|
def Name(self):
|
|
5867
|
-
r"""
|
|
5947
|
+
r"""<p>模型名称</p>
|
|
5868
5948
|
:rtype: str
|
|
5869
5949
|
"""
|
|
5870
5950
|
return self._Name
|
|
@@ -5875,7 +5955,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5875
5955
|
|
|
5876
5956
|
@property
|
|
5877
5957
|
def Description(self):
|
|
5878
|
-
r"""
|
|
5958
|
+
r"""<p>描述</p>
|
|
5879
5959
|
:rtype: str
|
|
5880
5960
|
"""
|
|
5881
5961
|
return self._Description
|
|
@@ -5886,7 +5966,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5886
5966
|
|
|
5887
5967
|
@property
|
|
5888
5968
|
def PubPath(self):
|
|
5889
|
-
r"""
|
|
5969
|
+
r"""<p>访问路径</p>
|
|
5890
5970
|
:rtype: str
|
|
5891
5971
|
"""
|
|
5892
5972
|
return self._PubPath
|
|
@@ -5897,7 +5977,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5897
5977
|
|
|
5898
5978
|
@property
|
|
5899
5979
|
def PathMatchType(self):
|
|
5900
|
-
r"""
|
|
5980
|
+
r"""<p>路径匹配方式:absolute,prefix,regex</p>
|
|
5901
5981
|
:rtype: str
|
|
5902
5982
|
"""
|
|
5903
5983
|
return self._PathMatchType
|
|
@@ -5908,7 +5988,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5908
5988
|
|
|
5909
5989
|
@property
|
|
5910
5990
|
def TargetModels(self):
|
|
5911
|
-
r"""
|
|
5991
|
+
r"""<p>目标模型列表</p>
|
|
5912
5992
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5913
5993
|
:rtype: list of TargetModelDTO
|
|
5914
5994
|
"""
|
|
@@ -5920,7 +6000,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5920
6000
|
|
|
5921
6001
|
@property
|
|
5922
6002
|
def ModelNames(self):
|
|
5923
|
-
r"""
|
|
6003
|
+
r"""<p>模板模型的名称列表</p>
|
|
5924
6004
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5925
6005
|
:rtype: list of str
|
|
5926
6006
|
"""
|
|
@@ -5932,7 +6012,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5932
6012
|
|
|
5933
6013
|
@property
|
|
5934
6014
|
def InvokeLimitConfigStatus(self):
|
|
5935
|
-
r"""
|
|
6015
|
+
r"""<p>是否开启限流</p>
|
|
5936
6016
|
:rtype: bool
|
|
5937
6017
|
"""
|
|
5938
6018
|
return self._InvokeLimitConfigStatus
|
|
@@ -5943,7 +6023,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5943
6023
|
|
|
5944
6024
|
@property
|
|
5945
6025
|
def InvokeLimitConfig(self):
|
|
5946
|
-
r"""
|
|
6026
|
+
r"""<p>限流配置</p>
|
|
5947
6027
|
:rtype: :class:`tencentcloud.apis.v20240801.models.InvokeLimitConfigDTO`
|
|
5948
6028
|
"""
|
|
5949
6029
|
return self._InvokeLimitConfig
|
|
@@ -5954,7 +6034,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5954
6034
|
|
|
5955
6035
|
@property
|
|
5956
6036
|
def CreateTime(self):
|
|
5957
|
-
r"""
|
|
6037
|
+
r"""<p>创建时间</p>
|
|
5958
6038
|
:rtype: str
|
|
5959
6039
|
"""
|
|
5960
6040
|
return self._CreateTime
|
|
@@ -5965,7 +6045,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5965
6045
|
|
|
5966
6046
|
@property
|
|
5967
6047
|
def LastUpdateTime(self):
|
|
5968
|
-
r"""
|
|
6048
|
+
r"""<p>最后修改时间</p>
|
|
5969
6049
|
:rtype: str
|
|
5970
6050
|
"""
|
|
5971
6051
|
return self._LastUpdateTime
|
|
@@ -5976,7 +6056,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5976
6056
|
|
|
5977
6057
|
@property
|
|
5978
6058
|
def TokenLimitStatus(self):
|
|
5979
|
-
r"""
|
|
6059
|
+
r"""<p>是否开启token控制</p>
|
|
5980
6060
|
:rtype: bool
|
|
5981
6061
|
"""
|
|
5982
6062
|
return self._TokenLimitStatus
|
|
@@ -5987,7 +6067,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5987
6067
|
|
|
5988
6068
|
@property
|
|
5989
6069
|
def TokenLimitConfig(self):
|
|
5990
|
-
r"""token
|
|
6070
|
+
r"""<p>token控制</p>
|
|
5991
6071
|
:rtype: :class:`tencentcloud.apis.v20240801.models.TokenLimitConfigDTO`
|
|
5992
6072
|
"""
|
|
5993
6073
|
return self._TokenLimitConfig
|
|
@@ -5998,7 +6078,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5998
6078
|
|
|
5999
6079
|
@property
|
|
6000
6080
|
def TmsStatus(self):
|
|
6001
|
-
r"""
|
|
6081
|
+
r"""<p>是否开启tms配置</p>
|
|
6002
6082
|
:rtype: bool
|
|
6003
6083
|
"""
|
|
6004
6084
|
return self._TmsStatus
|
|
@@ -6009,7 +6089,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6009
6089
|
|
|
6010
6090
|
@property
|
|
6011
6091
|
def TmsConfig(self):
|
|
6012
|
-
r"""tms
|
|
6092
|
+
r"""<p>tms配置</p>
|
|
6013
6093
|
:rtype: :class:`tencentcloud.apis.v20240801.models.TmsConfigDTO`
|
|
6014
6094
|
"""
|
|
6015
6095
|
return self._TmsConfig
|
|
@@ -6020,7 +6100,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6020
6100
|
|
|
6021
6101
|
@property
|
|
6022
6102
|
def IpWhiteStatus(self):
|
|
6023
|
-
r"""
|
|
6103
|
+
r"""<p>是否开启IP白名单</p>
|
|
6024
6104
|
:rtype: bool
|
|
6025
6105
|
"""
|
|
6026
6106
|
return self._IpWhiteStatus
|
|
@@ -6031,7 +6111,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6031
6111
|
|
|
6032
6112
|
@property
|
|
6033
6113
|
def IpWhiteList(self):
|
|
6034
|
-
r"""IP
|
|
6114
|
+
r"""<p>IP白名单列表</p>
|
|
6035
6115
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6036
6116
|
:rtype: list of str
|
|
6037
6117
|
"""
|
|
@@ -6043,7 +6123,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6043
6123
|
|
|
6044
6124
|
@property
|
|
6045
6125
|
def IpBlackStatus(self):
|
|
6046
|
-
r"""
|
|
6126
|
+
r"""<p>是否开启IP黑名单</p>
|
|
6047
6127
|
:rtype: bool
|
|
6048
6128
|
"""
|
|
6049
6129
|
return self._IpBlackStatus
|
|
@@ -6054,7 +6134,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6054
6134
|
|
|
6055
6135
|
@property
|
|
6056
6136
|
def IpBlackList(self):
|
|
6057
|
-
r"""IP
|
|
6137
|
+
r"""<p>IP黑名单列表</p>
|
|
6058
6138
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6059
6139
|
:rtype: list of str
|
|
6060
6140
|
"""
|
|
@@ -6066,7 +6146,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6066
6146
|
|
|
6067
6147
|
@property
|
|
6068
6148
|
def PluginConfigs(self):
|
|
6069
|
-
r"""
|
|
6149
|
+
r"""<p>插件配置</p>
|
|
6070
6150
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6071
6151
|
:rtype: list of PluginConfigDTO
|
|
6072
6152
|
"""
|
|
@@ -6078,7 +6158,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6078
6158
|
|
|
6079
6159
|
@property
|
|
6080
6160
|
def Timeout(self):
|
|
6081
|
-
r"""
|
|
6161
|
+
r"""<p>超时配置,单位秒</p>
|
|
6082
6162
|
:rtype: int
|
|
6083
6163
|
"""
|
|
6084
6164
|
return self._Timeout
|
|
@@ -6089,7 +6169,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6089
6169
|
|
|
6090
6170
|
@property
|
|
6091
6171
|
def Status(self):
|
|
6092
|
-
r"""
|
|
6172
|
+
r"""<p>状态:normal,disabled</p>
|
|
6093
6173
|
:rtype: str
|
|
6094
6174
|
"""
|
|
6095
6175
|
return self._Status
|
|
@@ -6100,7 +6180,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6100
6180
|
|
|
6101
6181
|
@property
|
|
6102
6182
|
def RelateAgentAppNum(self):
|
|
6103
|
-
r"""
|
|
6183
|
+
r"""<p>关联应用数</p>
|
|
6104
6184
|
:rtype: int
|
|
6105
6185
|
"""
|
|
6106
6186
|
return self._RelateAgentAppNum
|
|
@@ -6111,7 +6191,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6111
6191
|
|
|
6112
6192
|
@property
|
|
6113
6193
|
def Url(self):
|
|
6114
|
-
r"""
|
|
6194
|
+
r"""<p>请求路径</p>
|
|
6115
6195
|
:rtype: str
|
|
6116
6196
|
"""
|
|
6117
6197
|
return self._Url
|
|
@@ -6120,6 +6200,54 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6120
6200
|
def Url(self, Url):
|
|
6121
6201
|
self._Url = Url
|
|
6122
6202
|
|
|
6203
|
+
@property
|
|
6204
|
+
def PromptModerateStatus(self):
|
|
6205
|
+
r"""<p>是否开启提示词安全检测</p>
|
|
6206
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6207
|
+
:rtype: bool
|
|
6208
|
+
"""
|
|
6209
|
+
return self._PromptModerateStatus
|
|
6210
|
+
|
|
6211
|
+
@PromptModerateStatus.setter
|
|
6212
|
+
def PromptModerateStatus(self, PromptModerateStatus):
|
|
6213
|
+
self._PromptModerateStatus = PromptModerateStatus
|
|
6214
|
+
|
|
6215
|
+
@property
|
|
6216
|
+
def PromptModerateConfig(self):
|
|
6217
|
+
r"""<p>提示词安全检测配置</p>
|
|
6218
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6219
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.PromptModerateConfigDTO`
|
|
6220
|
+
"""
|
|
6221
|
+
return self._PromptModerateConfig
|
|
6222
|
+
|
|
6223
|
+
@PromptModerateConfig.setter
|
|
6224
|
+
def PromptModerateConfig(self, PromptModerateConfig):
|
|
6225
|
+
self._PromptModerateConfig = PromptModerateConfig
|
|
6226
|
+
|
|
6227
|
+
@property
|
|
6228
|
+
def SensitiveDataCheckStatus(self):
|
|
6229
|
+
r"""<p>是否开启敏感数据检测</p>
|
|
6230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6231
|
+
:rtype: bool
|
|
6232
|
+
"""
|
|
6233
|
+
return self._SensitiveDataCheckStatus
|
|
6234
|
+
|
|
6235
|
+
@SensitiveDataCheckStatus.setter
|
|
6236
|
+
def SensitiveDataCheckStatus(self, SensitiveDataCheckStatus):
|
|
6237
|
+
self._SensitiveDataCheckStatus = SensitiveDataCheckStatus
|
|
6238
|
+
|
|
6239
|
+
@property
|
|
6240
|
+
def SensitiveDataCheckConfig(self):
|
|
6241
|
+
r"""<p>敏感数据检测配置</p>
|
|
6242
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6243
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.SensitiveDataCheckConfigDTO`
|
|
6244
|
+
"""
|
|
6245
|
+
return self._SensitiveDataCheckConfig
|
|
6246
|
+
|
|
6247
|
+
@SensitiveDataCheckConfig.setter
|
|
6248
|
+
def SensitiveDataCheckConfig(self, SensitiveDataCheckConfig):
|
|
6249
|
+
self._SensitiveDataCheckConfig = SensitiveDataCheckConfig
|
|
6250
|
+
|
|
6123
6251
|
|
|
6124
6252
|
def _deserialize(self, params):
|
|
6125
6253
|
self._AppID = params.get("AppID")
|
|
@@ -6165,6 +6293,14 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6165
6293
|
self._Status = params.get("Status")
|
|
6166
6294
|
self._RelateAgentAppNum = params.get("RelateAgentAppNum")
|
|
6167
6295
|
self._Url = params.get("Url")
|
|
6296
|
+
self._PromptModerateStatus = params.get("PromptModerateStatus")
|
|
6297
|
+
if params.get("PromptModerateConfig") is not None:
|
|
6298
|
+
self._PromptModerateConfig = PromptModerateConfigDTO()
|
|
6299
|
+
self._PromptModerateConfig._deserialize(params.get("PromptModerateConfig"))
|
|
6300
|
+
self._SensitiveDataCheckStatus = params.get("SensitiveDataCheckStatus")
|
|
6301
|
+
if params.get("SensitiveDataCheckConfig") is not None:
|
|
6302
|
+
self._SensitiveDataCheckConfig = SensitiveDataCheckConfigDTO()
|
|
6303
|
+
self._SensitiveDataCheckConfig._deserialize(params.get("SensitiveDataCheckConfig"))
|
|
6168
6304
|
memeber_set = set(params.keys())
|
|
6169
6305
|
for name, value in vars(self).items():
|
|
6170
6306
|
property_name = name[1:]
|
|
@@ -8818,40 +8954,48 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8818
8954
|
|
|
8819
8955
|
def __init__(self):
|
|
8820
8956
|
r"""
|
|
8821
|
-
:param _InstanceID:
|
|
8957
|
+
:param _InstanceID: <p>实例</p>
|
|
8822
8958
|
:type InstanceID: str
|
|
8823
|
-
:param _ID:
|
|
8959
|
+
:param _ID: <p>模型服务ID</p>
|
|
8824
8960
|
:type ID: str
|
|
8825
|
-
:param _Name:
|
|
8961
|
+
:param _Name: <p>模型服务名称</p>
|
|
8826
8962
|
:type Name: str
|
|
8827
|
-
:param _Description:
|
|
8963
|
+
:param _Description: <p>描述</p>
|
|
8828
8964
|
:type Description: str
|
|
8829
|
-
:param _TargetModels:
|
|
8965
|
+
:param _TargetModels: <p>模板模型列表</p>
|
|
8830
8966
|
:type TargetModels: list of TargetModelDTO
|
|
8831
|
-
:param _InvokeLimitConfigStatus:
|
|
8967
|
+
:param _InvokeLimitConfigStatus: <p>是否开启限流</p>
|
|
8832
8968
|
:type InvokeLimitConfigStatus: bool
|
|
8833
|
-
:param _InvokeLimitConfig:
|
|
8969
|
+
:param _InvokeLimitConfig: <p>限流配置</p>
|
|
8834
8970
|
:type InvokeLimitConfig: :class:`tencentcloud.apis.v20240801.models.InvokeLimitConfigDTO`
|
|
8835
|
-
:param _TokenLimitStatus:
|
|
8971
|
+
:param _TokenLimitStatus: <p>是否开启token控制</p>
|
|
8836
8972
|
:type TokenLimitStatus: bool
|
|
8837
|
-
:param _TokenLimitConfig: token
|
|
8973
|
+
:param _TokenLimitConfig: <p>token控制</p>
|
|
8838
8974
|
:type TokenLimitConfig: :class:`tencentcloud.apis.v20240801.models.TokenLimitConfigDTO`
|
|
8839
|
-
:param _TmsStatus:
|
|
8975
|
+
:param _TmsStatus: <p>是否开启内容安全</p>
|
|
8840
8976
|
:type TmsStatus: bool
|
|
8841
|
-
:param _TmsConfig:
|
|
8977
|
+
:param _TmsConfig: <p>内容安全配置</p>
|
|
8842
8978
|
:type TmsConfig: :class:`tencentcloud.apis.v20240801.models.TmsConfigDTO`
|
|
8843
|
-
:param _IpWhiteStatus:
|
|
8979
|
+
:param _IpWhiteStatus: <p>是否开启IP白名单</p>
|
|
8844
8980
|
:type IpWhiteStatus: bool
|
|
8845
|
-
:param _IpWhiteList: IP
|
|
8981
|
+
:param _IpWhiteList: <p>IP白名单</p>
|
|
8846
8982
|
:type IpWhiteList: list of str
|
|
8847
|
-
:param _IpBlackStatus:
|
|
8983
|
+
:param _IpBlackStatus: <p>是否开启IP黑名单</p>
|
|
8848
8984
|
:type IpBlackStatus: bool
|
|
8849
|
-
:param _IpBlackList: IP
|
|
8985
|
+
:param _IpBlackList: <p>IP黑名单</p>
|
|
8850
8986
|
:type IpBlackList: list of str
|
|
8851
|
-
:param _PluginConfigs:
|
|
8987
|
+
:param _PluginConfigs: <p>插件配置</p>
|
|
8852
8988
|
:type PluginConfigs: list of PluginConfigDTO
|
|
8853
|
-
:param _Timeout:
|
|
8989
|
+
:param _Timeout: <p>超时配置,秒</p>
|
|
8854
8990
|
:type Timeout: int
|
|
8991
|
+
:param _PromptModerateStatus: <p>是否开启提示词安全检测配置</p>
|
|
8992
|
+
:type PromptModerateStatus: bool
|
|
8993
|
+
:param _PromptModerateConfig: <p>提示词安全检测配置</p>
|
|
8994
|
+
:type PromptModerateConfig: :class:`tencentcloud.apis.v20240801.models.PromptModerateConfigDTO`
|
|
8995
|
+
:param _SensitiveDataCheckStatus: <p>是否开启敏感数据检测</p>
|
|
8996
|
+
:type SensitiveDataCheckStatus: bool
|
|
8997
|
+
:param _SensitiveDataCheckConfig: <p>敏感数据检测配置</p>
|
|
8998
|
+
:type SensitiveDataCheckConfig: :class:`tencentcloud.apis.v20240801.models.SensitiveDataCheckConfigDTO`
|
|
8855
8999
|
"""
|
|
8856
9000
|
self._InstanceID = None
|
|
8857
9001
|
self._ID = None
|
|
@@ -8870,10 +9014,14 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8870
9014
|
self._IpBlackList = None
|
|
8871
9015
|
self._PluginConfigs = None
|
|
8872
9016
|
self._Timeout = None
|
|
9017
|
+
self._PromptModerateStatus = None
|
|
9018
|
+
self._PromptModerateConfig = None
|
|
9019
|
+
self._SensitiveDataCheckStatus = None
|
|
9020
|
+
self._SensitiveDataCheckConfig = None
|
|
8873
9021
|
|
|
8874
9022
|
@property
|
|
8875
9023
|
def InstanceID(self):
|
|
8876
|
-
r"""
|
|
9024
|
+
r"""<p>实例</p>
|
|
8877
9025
|
:rtype: str
|
|
8878
9026
|
"""
|
|
8879
9027
|
return self._InstanceID
|
|
@@ -8884,7 +9032,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8884
9032
|
|
|
8885
9033
|
@property
|
|
8886
9034
|
def ID(self):
|
|
8887
|
-
r"""
|
|
9035
|
+
r"""<p>模型服务ID</p>
|
|
8888
9036
|
:rtype: str
|
|
8889
9037
|
"""
|
|
8890
9038
|
return self._ID
|
|
@@ -8895,7 +9043,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8895
9043
|
|
|
8896
9044
|
@property
|
|
8897
9045
|
def Name(self):
|
|
8898
|
-
r"""
|
|
9046
|
+
r"""<p>模型服务名称</p>
|
|
8899
9047
|
:rtype: str
|
|
8900
9048
|
"""
|
|
8901
9049
|
return self._Name
|
|
@@ -8906,7 +9054,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8906
9054
|
|
|
8907
9055
|
@property
|
|
8908
9056
|
def Description(self):
|
|
8909
|
-
r"""
|
|
9057
|
+
r"""<p>描述</p>
|
|
8910
9058
|
:rtype: str
|
|
8911
9059
|
"""
|
|
8912
9060
|
return self._Description
|
|
@@ -8917,7 +9065,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8917
9065
|
|
|
8918
9066
|
@property
|
|
8919
9067
|
def TargetModels(self):
|
|
8920
|
-
r"""
|
|
9068
|
+
r"""<p>模板模型列表</p>
|
|
8921
9069
|
:rtype: list of TargetModelDTO
|
|
8922
9070
|
"""
|
|
8923
9071
|
return self._TargetModels
|
|
@@ -8928,7 +9076,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8928
9076
|
|
|
8929
9077
|
@property
|
|
8930
9078
|
def InvokeLimitConfigStatus(self):
|
|
8931
|
-
r"""
|
|
9079
|
+
r"""<p>是否开启限流</p>
|
|
8932
9080
|
:rtype: bool
|
|
8933
9081
|
"""
|
|
8934
9082
|
return self._InvokeLimitConfigStatus
|
|
@@ -8939,7 +9087,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8939
9087
|
|
|
8940
9088
|
@property
|
|
8941
9089
|
def InvokeLimitConfig(self):
|
|
8942
|
-
r"""
|
|
9090
|
+
r"""<p>限流配置</p>
|
|
8943
9091
|
:rtype: :class:`tencentcloud.apis.v20240801.models.InvokeLimitConfigDTO`
|
|
8944
9092
|
"""
|
|
8945
9093
|
return self._InvokeLimitConfig
|
|
@@ -8950,7 +9098,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8950
9098
|
|
|
8951
9099
|
@property
|
|
8952
9100
|
def TokenLimitStatus(self):
|
|
8953
|
-
r"""
|
|
9101
|
+
r"""<p>是否开启token控制</p>
|
|
8954
9102
|
:rtype: bool
|
|
8955
9103
|
"""
|
|
8956
9104
|
return self._TokenLimitStatus
|
|
@@ -8961,7 +9109,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8961
9109
|
|
|
8962
9110
|
@property
|
|
8963
9111
|
def TokenLimitConfig(self):
|
|
8964
|
-
r"""token
|
|
9112
|
+
r"""<p>token控制</p>
|
|
8965
9113
|
:rtype: :class:`tencentcloud.apis.v20240801.models.TokenLimitConfigDTO`
|
|
8966
9114
|
"""
|
|
8967
9115
|
return self._TokenLimitConfig
|
|
@@ -8972,7 +9120,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8972
9120
|
|
|
8973
9121
|
@property
|
|
8974
9122
|
def TmsStatus(self):
|
|
8975
|
-
r"""
|
|
9123
|
+
r"""<p>是否开启内容安全</p>
|
|
8976
9124
|
:rtype: bool
|
|
8977
9125
|
"""
|
|
8978
9126
|
return self._TmsStatus
|
|
@@ -8983,7 +9131,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8983
9131
|
|
|
8984
9132
|
@property
|
|
8985
9133
|
def TmsConfig(self):
|
|
8986
|
-
r"""
|
|
9134
|
+
r"""<p>内容安全配置</p>
|
|
8987
9135
|
:rtype: :class:`tencentcloud.apis.v20240801.models.TmsConfigDTO`
|
|
8988
9136
|
"""
|
|
8989
9137
|
return self._TmsConfig
|
|
@@ -8994,7 +9142,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8994
9142
|
|
|
8995
9143
|
@property
|
|
8996
9144
|
def IpWhiteStatus(self):
|
|
8997
|
-
r"""
|
|
9145
|
+
r"""<p>是否开启IP白名单</p>
|
|
8998
9146
|
:rtype: bool
|
|
8999
9147
|
"""
|
|
9000
9148
|
return self._IpWhiteStatus
|
|
@@ -9005,7 +9153,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9005
9153
|
|
|
9006
9154
|
@property
|
|
9007
9155
|
def IpWhiteList(self):
|
|
9008
|
-
r"""IP
|
|
9156
|
+
r"""<p>IP白名单</p>
|
|
9009
9157
|
:rtype: list of str
|
|
9010
9158
|
"""
|
|
9011
9159
|
return self._IpWhiteList
|
|
@@ -9016,7 +9164,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9016
9164
|
|
|
9017
9165
|
@property
|
|
9018
9166
|
def IpBlackStatus(self):
|
|
9019
|
-
r"""
|
|
9167
|
+
r"""<p>是否开启IP黑名单</p>
|
|
9020
9168
|
:rtype: bool
|
|
9021
9169
|
"""
|
|
9022
9170
|
return self._IpBlackStatus
|
|
@@ -9027,7 +9175,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9027
9175
|
|
|
9028
9176
|
@property
|
|
9029
9177
|
def IpBlackList(self):
|
|
9030
|
-
r"""IP
|
|
9178
|
+
r"""<p>IP黑名单</p>
|
|
9031
9179
|
:rtype: list of str
|
|
9032
9180
|
"""
|
|
9033
9181
|
return self._IpBlackList
|
|
@@ -9038,7 +9186,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9038
9186
|
|
|
9039
9187
|
@property
|
|
9040
9188
|
def PluginConfigs(self):
|
|
9041
|
-
r"""
|
|
9189
|
+
r"""<p>插件配置</p>
|
|
9042
9190
|
:rtype: list of PluginConfigDTO
|
|
9043
9191
|
"""
|
|
9044
9192
|
return self._PluginConfigs
|
|
@@ -9049,7 +9197,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9049
9197
|
|
|
9050
9198
|
@property
|
|
9051
9199
|
def Timeout(self):
|
|
9052
|
-
r"""
|
|
9200
|
+
r"""<p>超时配置,秒</p>
|
|
9053
9201
|
:rtype: int
|
|
9054
9202
|
"""
|
|
9055
9203
|
return self._Timeout
|
|
@@ -9058,6 +9206,50 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9058
9206
|
def Timeout(self, Timeout):
|
|
9059
9207
|
self._Timeout = Timeout
|
|
9060
9208
|
|
|
9209
|
+
@property
|
|
9210
|
+
def PromptModerateStatus(self):
|
|
9211
|
+
r"""<p>是否开启提示词安全检测配置</p>
|
|
9212
|
+
:rtype: bool
|
|
9213
|
+
"""
|
|
9214
|
+
return self._PromptModerateStatus
|
|
9215
|
+
|
|
9216
|
+
@PromptModerateStatus.setter
|
|
9217
|
+
def PromptModerateStatus(self, PromptModerateStatus):
|
|
9218
|
+
self._PromptModerateStatus = PromptModerateStatus
|
|
9219
|
+
|
|
9220
|
+
@property
|
|
9221
|
+
def PromptModerateConfig(self):
|
|
9222
|
+
r"""<p>提示词安全检测配置</p>
|
|
9223
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.PromptModerateConfigDTO`
|
|
9224
|
+
"""
|
|
9225
|
+
return self._PromptModerateConfig
|
|
9226
|
+
|
|
9227
|
+
@PromptModerateConfig.setter
|
|
9228
|
+
def PromptModerateConfig(self, PromptModerateConfig):
|
|
9229
|
+
self._PromptModerateConfig = PromptModerateConfig
|
|
9230
|
+
|
|
9231
|
+
@property
|
|
9232
|
+
def SensitiveDataCheckStatus(self):
|
|
9233
|
+
r"""<p>是否开启敏感数据检测</p>
|
|
9234
|
+
:rtype: bool
|
|
9235
|
+
"""
|
|
9236
|
+
return self._SensitiveDataCheckStatus
|
|
9237
|
+
|
|
9238
|
+
@SensitiveDataCheckStatus.setter
|
|
9239
|
+
def SensitiveDataCheckStatus(self, SensitiveDataCheckStatus):
|
|
9240
|
+
self._SensitiveDataCheckStatus = SensitiveDataCheckStatus
|
|
9241
|
+
|
|
9242
|
+
@property
|
|
9243
|
+
def SensitiveDataCheckConfig(self):
|
|
9244
|
+
r"""<p>敏感数据检测配置</p>
|
|
9245
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.SensitiveDataCheckConfigDTO`
|
|
9246
|
+
"""
|
|
9247
|
+
return self._SensitiveDataCheckConfig
|
|
9248
|
+
|
|
9249
|
+
@SensitiveDataCheckConfig.setter
|
|
9250
|
+
def SensitiveDataCheckConfig(self, SensitiveDataCheckConfig):
|
|
9251
|
+
self._SensitiveDataCheckConfig = SensitiveDataCheckConfig
|
|
9252
|
+
|
|
9061
9253
|
|
|
9062
9254
|
def _deserialize(self, params):
|
|
9063
9255
|
self._InstanceID = params.get("InstanceID")
|
|
@@ -9093,6 +9285,14 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9093
9285
|
obj._deserialize(item)
|
|
9094
9286
|
self._PluginConfigs.append(obj)
|
|
9095
9287
|
self._Timeout = params.get("Timeout")
|
|
9288
|
+
self._PromptModerateStatus = params.get("PromptModerateStatus")
|
|
9289
|
+
if params.get("PromptModerateConfig") is not None:
|
|
9290
|
+
self._PromptModerateConfig = PromptModerateConfigDTO()
|
|
9291
|
+
self._PromptModerateConfig._deserialize(params.get("PromptModerateConfig"))
|
|
9292
|
+
self._SensitiveDataCheckStatus = params.get("SensitiveDataCheckStatus")
|
|
9293
|
+
if params.get("SensitiveDataCheckConfig") is not None:
|
|
9294
|
+
self._SensitiveDataCheckConfig = SensitiveDataCheckConfigDTO()
|
|
9295
|
+
self._SensitiveDataCheckConfig._deserialize(params.get("SensitiveDataCheckConfig"))
|
|
9096
9296
|
memeber_set = set(params.keys())
|
|
9097
9297
|
for name, value in vars(self).items():
|
|
9098
9298
|
property_name = name[1:]
|
|
@@ -9110,7 +9310,7 @@ class ModifyModelServiceResponse(AbstractModel):
|
|
|
9110
9310
|
|
|
9111
9311
|
def __init__(self):
|
|
9112
9312
|
r"""
|
|
9113
|
-
:param _Data:
|
|
9313
|
+
:param _Data: <p>结果集</p>
|
|
9114
9314
|
:type Data: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
9115
9315
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9116
9316
|
:type RequestId: str
|
|
@@ -9120,7 +9320,7 @@ class ModifyModelServiceResponse(AbstractModel):
|
|
|
9120
9320
|
|
|
9121
9321
|
@property
|
|
9122
9322
|
def Data(self):
|
|
9123
|
-
r"""
|
|
9323
|
+
r"""<p>结果集</p>
|
|
9124
9324
|
:rtype: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
9125
9325
|
"""
|
|
9126
9326
|
return self._Data
|
|
@@ -9331,6 +9531,61 @@ class PluginFormValueDTO(AbstractModel):
|
|
|
9331
9531
|
|
|
9332
9532
|
|
|
9333
9533
|
|
|
9534
|
+
class PromptModerateConfigDTO(AbstractModel):
|
|
9535
|
+
r"""提示词安全配置
|
|
9536
|
+
|
|
9537
|
+
"""
|
|
9538
|
+
|
|
9539
|
+
def __init__(self):
|
|
9540
|
+
r"""
|
|
9541
|
+
:param _Action: 执行动作
|
|
9542
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9543
|
+
:type Action: str
|
|
9544
|
+
:param _InterceptMessage: 响应拦截内容
|
|
9545
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9546
|
+
:type InterceptMessage: str
|
|
9547
|
+
"""
|
|
9548
|
+
self._Action = None
|
|
9549
|
+
self._InterceptMessage = None
|
|
9550
|
+
|
|
9551
|
+
@property
|
|
9552
|
+
def Action(self):
|
|
9553
|
+
r"""执行动作
|
|
9554
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9555
|
+
:rtype: str
|
|
9556
|
+
"""
|
|
9557
|
+
return self._Action
|
|
9558
|
+
|
|
9559
|
+
@Action.setter
|
|
9560
|
+
def Action(self, Action):
|
|
9561
|
+
self._Action = Action
|
|
9562
|
+
|
|
9563
|
+
@property
|
|
9564
|
+
def InterceptMessage(self):
|
|
9565
|
+
r"""响应拦截内容
|
|
9566
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9567
|
+
:rtype: str
|
|
9568
|
+
"""
|
|
9569
|
+
return self._InterceptMessage
|
|
9570
|
+
|
|
9571
|
+
@InterceptMessage.setter
|
|
9572
|
+
def InterceptMessage(self, InterceptMessage):
|
|
9573
|
+
self._InterceptMessage = InterceptMessage
|
|
9574
|
+
|
|
9575
|
+
|
|
9576
|
+
def _deserialize(self, params):
|
|
9577
|
+
self._Action = params.get("Action")
|
|
9578
|
+
self._InterceptMessage = params.get("InterceptMessage")
|
|
9579
|
+
memeber_set = set(params.keys())
|
|
9580
|
+
for name, value in vars(self).items():
|
|
9581
|
+
property_name = name[1:]
|
|
9582
|
+
if property_name in memeber_set:
|
|
9583
|
+
memeber_set.remove(property_name)
|
|
9584
|
+
if len(memeber_set) > 0:
|
|
9585
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9586
|
+
|
|
9587
|
+
|
|
9588
|
+
|
|
9334
9589
|
class ResultIDVO(AbstractModel):
|
|
9335
9590
|
r"""ResultIDVO
|
|
9336
9591
|
|
|
@@ -9407,6 +9662,78 @@ class ResultIDsVO(AbstractModel):
|
|
|
9407
9662
|
|
|
9408
9663
|
|
|
9409
9664
|
|
|
9665
|
+
class SensitiveDataCheckConfigDTO(AbstractModel):
|
|
9666
|
+
r"""敏感数据检测配置
|
|
9667
|
+
|
|
9668
|
+
"""
|
|
9669
|
+
|
|
9670
|
+
def __init__(self):
|
|
9671
|
+
r"""
|
|
9672
|
+
:param _Action: <p>执行动作</p>
|
|
9673
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9674
|
+
:type Action: str
|
|
9675
|
+
:param _InterceptMessage: <p>响应拦截内容</p>
|
|
9676
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9677
|
+
:type InterceptMessage: str
|
|
9678
|
+
: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>
|
|
9679
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9680
|
+
:type CheckItems: list of str
|
|
9681
|
+
"""
|
|
9682
|
+
self._Action = None
|
|
9683
|
+
self._InterceptMessage = None
|
|
9684
|
+
self._CheckItems = None
|
|
9685
|
+
|
|
9686
|
+
@property
|
|
9687
|
+
def Action(self):
|
|
9688
|
+
r"""<p>执行动作</p>
|
|
9689
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9690
|
+
:rtype: str
|
|
9691
|
+
"""
|
|
9692
|
+
return self._Action
|
|
9693
|
+
|
|
9694
|
+
@Action.setter
|
|
9695
|
+
def Action(self, Action):
|
|
9696
|
+
self._Action = Action
|
|
9697
|
+
|
|
9698
|
+
@property
|
|
9699
|
+
def InterceptMessage(self):
|
|
9700
|
+
r"""<p>响应拦截内容</p>
|
|
9701
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9702
|
+
:rtype: str
|
|
9703
|
+
"""
|
|
9704
|
+
return self._InterceptMessage
|
|
9705
|
+
|
|
9706
|
+
@InterceptMessage.setter
|
|
9707
|
+
def InterceptMessage(self, InterceptMessage):
|
|
9708
|
+
self._InterceptMessage = InterceptMessage
|
|
9709
|
+
|
|
9710
|
+
@property
|
|
9711
|
+
def CheckItems(self):
|
|
9712
|
+
r"""<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>
|
|
9713
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9714
|
+
:rtype: list of str
|
|
9715
|
+
"""
|
|
9716
|
+
return self._CheckItems
|
|
9717
|
+
|
|
9718
|
+
@CheckItems.setter
|
|
9719
|
+
def CheckItems(self, CheckItems):
|
|
9720
|
+
self._CheckItems = CheckItems
|
|
9721
|
+
|
|
9722
|
+
|
|
9723
|
+
def _deserialize(self, params):
|
|
9724
|
+
self._Action = params.get("Action")
|
|
9725
|
+
self._InterceptMessage = params.get("InterceptMessage")
|
|
9726
|
+
self._CheckItems = params.get("CheckItems")
|
|
9727
|
+
memeber_set = set(params.keys())
|
|
9728
|
+
for name, value in vars(self).items():
|
|
9729
|
+
property_name = name[1:]
|
|
9730
|
+
if property_name in memeber_set:
|
|
9731
|
+
memeber_set.remove(property_name)
|
|
9732
|
+
if len(memeber_set) > 0:
|
|
9733
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9734
|
+
|
|
9735
|
+
|
|
9736
|
+
|
|
9410
9737
|
class StartEndTime(AbstractModel):
|
|
9411
9738
|
r"""开始结束时间结构体
|
|
9412
9739
|
|
|
@@ -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.82
|
|
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.82
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.82
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.62
|
|
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
|