tencentcloud-sdk-python-apis 3.1.189__tar.gz → 3.1.215__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.189 → tencentcloud_sdk_python_apis-3.1.215}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/setup.py +1 -1
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/tencentcloud/apis/v20240801/models.py +792 -40
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/tencentcloud_sdk_python_apis.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_apis-3.1.215/tencentcloud_sdk_python_apis.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_apis-3.1.189/tencentcloud_sdk_python_apis.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/README.rst +0 -0
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/setup.cfg +0 -0
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/tencentcloud/apis/__init__.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/tencentcloud/apis/v20240801/__init__.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/tencentcloud/apis/v20240801/apis_client.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/tencentcloud/apis/v20240801/apis_client_async.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/tencentcloud/apis/v20240801/errorcodes.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/tencentcloud_sdk_python_apis.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/tencentcloud_sdk_python_apis.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_apis-3.1.189 → tencentcloud_sdk_python_apis-3.1.215}/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.215
|
|
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.215
|
|
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.215,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Apis SDK for Python',
|
|
@@ -137,30 +137,32 @@ class AgentAppMcpServerVO(AbstractModel):
|
|
|
137
137
|
|
|
138
138
|
def __init__(self):
|
|
139
139
|
r"""
|
|
140
|
-
:param _ID:
|
|
140
|
+
:param _ID: <p>绑定ID</p>
|
|
141
141
|
:type ID: str
|
|
142
|
-
:param _NeedAuth:
|
|
142
|
+
:param _NeedAuth: <p>需要认证</p>
|
|
143
143
|
:type NeedAuth: bool
|
|
144
|
-
:param _AgentCredentialID:
|
|
144
|
+
:param _AgentCredentialID: <p>凭据ID</p>
|
|
145
145
|
:type AgentCredentialID: str
|
|
146
|
-
:param _AgentCredentialVO:
|
|
146
|
+
:param _AgentCredentialVO: <p>凭据详情</p>
|
|
147
147
|
:type AgentCredentialVO: :class:`tencentcloud.apis.v20240801.models.DescribeAgentCredentialResp`
|
|
148
|
-
:param _McpServerVO: mcp
|
|
148
|
+
:param _McpServerVO: <p>mcp详情</p>
|
|
149
149
|
:type McpServerVO: :class:`tencentcloud.apis.v20240801.models.DescribeMcpServerResponseVO`
|
|
150
|
-
:param _RelateTime:
|
|
150
|
+
:param _RelateTime: <p>关联时间</p>
|
|
151
151
|
:type RelateTime: str
|
|
152
|
-
:param _SSEResourceIdentifier:
|
|
152
|
+
:param _SSEResourceIdentifier: <p>应用为OAuth2认证时,sse模式请求mcp时的资源标识</p>
|
|
153
153
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
154
154
|
:type SSEResourceIdentifier: str
|
|
155
|
-
:param _StreamableResourceIdentifier:
|
|
155
|
+
:param _StreamableResourceIdentifier: <p>应用为OAuth2认证时,streamable模式请求mcp时的资源标识</p>
|
|
156
156
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
157
157
|
:type StreamableResourceIdentifier: str
|
|
158
|
-
:param _AgentAppID:
|
|
158
|
+
:param _AgentAppID: <p>应用ID</p>
|
|
159
159
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
160
160
|
:type AgentAppID: str
|
|
161
|
-
:param _McpServerID: mcp ID
|
|
161
|
+
:param _McpServerID: <p>mcp ID</p>
|
|
162
162
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
163
163
|
:type McpServerID: str
|
|
164
|
+
:param _AgentAppVO: <p>应用</p>
|
|
165
|
+
:type AgentAppVO: :class:`tencentcloud.apis.v20240801.models.DescribeAgentAppResp`
|
|
164
166
|
"""
|
|
165
167
|
self._ID = None
|
|
166
168
|
self._NeedAuth = None
|
|
@@ -172,10 +174,11 @@ class AgentAppMcpServerVO(AbstractModel):
|
|
|
172
174
|
self._StreamableResourceIdentifier = None
|
|
173
175
|
self._AgentAppID = None
|
|
174
176
|
self._McpServerID = None
|
|
177
|
+
self._AgentAppVO = None
|
|
175
178
|
|
|
176
179
|
@property
|
|
177
180
|
def ID(self):
|
|
178
|
-
r"""
|
|
181
|
+
r"""<p>绑定ID</p>
|
|
179
182
|
:rtype: str
|
|
180
183
|
"""
|
|
181
184
|
return self._ID
|
|
@@ -186,7 +189,7 @@ class AgentAppMcpServerVO(AbstractModel):
|
|
|
186
189
|
|
|
187
190
|
@property
|
|
188
191
|
def NeedAuth(self):
|
|
189
|
-
r"""
|
|
192
|
+
r"""<p>需要认证</p>
|
|
190
193
|
:rtype: bool
|
|
191
194
|
"""
|
|
192
195
|
return self._NeedAuth
|
|
@@ -197,7 +200,7 @@ class AgentAppMcpServerVO(AbstractModel):
|
|
|
197
200
|
|
|
198
201
|
@property
|
|
199
202
|
def AgentCredentialID(self):
|
|
200
|
-
r"""
|
|
203
|
+
r"""<p>凭据ID</p>
|
|
201
204
|
:rtype: str
|
|
202
205
|
"""
|
|
203
206
|
return self._AgentCredentialID
|
|
@@ -208,7 +211,7 @@ class AgentAppMcpServerVO(AbstractModel):
|
|
|
208
211
|
|
|
209
212
|
@property
|
|
210
213
|
def AgentCredentialVO(self):
|
|
211
|
-
r"""
|
|
214
|
+
r"""<p>凭据详情</p>
|
|
212
215
|
:rtype: :class:`tencentcloud.apis.v20240801.models.DescribeAgentCredentialResp`
|
|
213
216
|
"""
|
|
214
217
|
return self._AgentCredentialVO
|
|
@@ -219,7 +222,7 @@ class AgentAppMcpServerVO(AbstractModel):
|
|
|
219
222
|
|
|
220
223
|
@property
|
|
221
224
|
def McpServerVO(self):
|
|
222
|
-
r"""mcp
|
|
225
|
+
r"""<p>mcp详情</p>
|
|
223
226
|
:rtype: :class:`tencentcloud.apis.v20240801.models.DescribeMcpServerResponseVO`
|
|
224
227
|
"""
|
|
225
228
|
return self._McpServerVO
|
|
@@ -230,7 +233,7 @@ class AgentAppMcpServerVO(AbstractModel):
|
|
|
230
233
|
|
|
231
234
|
@property
|
|
232
235
|
def RelateTime(self):
|
|
233
|
-
r"""
|
|
236
|
+
r"""<p>关联时间</p>
|
|
234
237
|
:rtype: str
|
|
235
238
|
"""
|
|
236
239
|
return self._RelateTime
|
|
@@ -241,7 +244,7 @@ class AgentAppMcpServerVO(AbstractModel):
|
|
|
241
244
|
|
|
242
245
|
@property
|
|
243
246
|
def SSEResourceIdentifier(self):
|
|
244
|
-
r"""
|
|
247
|
+
r"""<p>应用为OAuth2认证时,sse模式请求mcp时的资源标识</p>
|
|
245
248
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
246
249
|
:rtype: str
|
|
247
250
|
"""
|
|
@@ -253,7 +256,7 @@ class AgentAppMcpServerVO(AbstractModel):
|
|
|
253
256
|
|
|
254
257
|
@property
|
|
255
258
|
def StreamableResourceIdentifier(self):
|
|
256
|
-
r"""
|
|
259
|
+
r"""<p>应用为OAuth2认证时,streamable模式请求mcp时的资源标识</p>
|
|
257
260
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
258
261
|
:rtype: str
|
|
259
262
|
"""
|
|
@@ -265,7 +268,7 @@ class AgentAppMcpServerVO(AbstractModel):
|
|
|
265
268
|
|
|
266
269
|
@property
|
|
267
270
|
def AgentAppID(self):
|
|
268
|
-
r"""
|
|
271
|
+
r"""<p>应用ID</p>
|
|
269
272
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
270
273
|
:rtype: str
|
|
271
274
|
"""
|
|
@@ -277,7 +280,7 @@ class AgentAppMcpServerVO(AbstractModel):
|
|
|
277
280
|
|
|
278
281
|
@property
|
|
279
282
|
def McpServerID(self):
|
|
280
|
-
r"""mcp ID
|
|
283
|
+
r"""<p>mcp ID</p>
|
|
281
284
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
282
285
|
:rtype: str
|
|
283
286
|
"""
|
|
@@ -287,6 +290,17 @@ class AgentAppMcpServerVO(AbstractModel):
|
|
|
287
290
|
def McpServerID(self, McpServerID):
|
|
288
291
|
self._McpServerID = McpServerID
|
|
289
292
|
|
|
293
|
+
@property
|
|
294
|
+
def AgentAppVO(self):
|
|
295
|
+
r"""<p>应用</p>
|
|
296
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.DescribeAgentAppResp`
|
|
297
|
+
"""
|
|
298
|
+
return self._AgentAppVO
|
|
299
|
+
|
|
300
|
+
@AgentAppVO.setter
|
|
301
|
+
def AgentAppVO(self, AgentAppVO):
|
|
302
|
+
self._AgentAppVO = AgentAppVO
|
|
303
|
+
|
|
290
304
|
|
|
291
305
|
def _deserialize(self, params):
|
|
292
306
|
self._ID = params.get("ID")
|
|
@@ -303,6 +317,9 @@ class AgentAppMcpServerVO(AbstractModel):
|
|
|
303
317
|
self._StreamableResourceIdentifier = params.get("StreamableResourceIdentifier")
|
|
304
318
|
self._AgentAppID = params.get("AgentAppID")
|
|
305
319
|
self._McpServerID = params.get("McpServerID")
|
|
320
|
+
if params.get("AgentAppVO") is not None:
|
|
321
|
+
self._AgentAppVO = DescribeAgentAppResp()
|
|
322
|
+
self._AgentAppVO._deserialize(params.get("AgentAppVO"))
|
|
306
323
|
memeber_set = set(params.keys())
|
|
307
324
|
for name, value in vars(self).items():
|
|
308
325
|
property_name = name[1:]
|
|
@@ -621,6 +638,8 @@ class AgentAppServiceVO(AbstractModel):
|
|
|
621
638
|
:type AgentCredentialID: str
|
|
622
639
|
:param _AgentCredentialVO: <p>凭据详情</p>
|
|
623
640
|
:type AgentCredentialVO: :class:`tencentcloud.apis.v20240801.models.DescribeAgentCredentialResp`
|
|
641
|
+
:param _AgentAppVO: <p>应用</p>
|
|
642
|
+
:type AgentAppVO: :class:`tencentcloud.apis.v20240801.models.DescribeAgentAppResp`
|
|
624
643
|
"""
|
|
625
644
|
self._ID = None
|
|
626
645
|
self._AgentAppID = None
|
|
@@ -632,6 +651,7 @@ class AgentAppServiceVO(AbstractModel):
|
|
|
632
651
|
self._NeedAuth = None
|
|
633
652
|
self._AgentCredentialID = None
|
|
634
653
|
self._AgentCredentialVO = None
|
|
654
|
+
self._AgentAppVO = None
|
|
635
655
|
|
|
636
656
|
@property
|
|
637
657
|
def ID(self):
|
|
@@ -743,6 +763,17 @@ class AgentAppServiceVO(AbstractModel):
|
|
|
743
763
|
def AgentCredentialVO(self, AgentCredentialVO):
|
|
744
764
|
self._AgentCredentialVO = AgentCredentialVO
|
|
745
765
|
|
|
766
|
+
@property
|
|
767
|
+
def AgentAppVO(self):
|
|
768
|
+
r"""<p>应用</p>
|
|
769
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.DescribeAgentAppResp`
|
|
770
|
+
"""
|
|
771
|
+
return self._AgentAppVO
|
|
772
|
+
|
|
773
|
+
@AgentAppVO.setter
|
|
774
|
+
def AgentAppVO(self, AgentAppVO):
|
|
775
|
+
self._AgentAppVO = AgentAppVO
|
|
776
|
+
|
|
746
777
|
|
|
747
778
|
def _deserialize(self, params):
|
|
748
779
|
self._ID = params.get("ID")
|
|
@@ -761,6 +792,9 @@ class AgentAppServiceVO(AbstractModel):
|
|
|
761
792
|
if params.get("AgentCredentialVO") is not None:
|
|
762
793
|
self._AgentCredentialVO = DescribeAgentCredentialResp()
|
|
763
794
|
self._AgentCredentialVO._deserialize(params.get("AgentCredentialVO"))
|
|
795
|
+
if params.get("AgentAppVO") is not None:
|
|
796
|
+
self._AgentAppVO = DescribeAgentAppResp()
|
|
797
|
+
self._AgentAppVO._deserialize(params.get("AgentAppVO"))
|
|
764
798
|
memeber_set = set(params.keys())
|
|
765
799
|
for name, value in vars(self).items():
|
|
766
800
|
property_name = name[1:]
|
|
@@ -1842,6 +1876,83 @@ class CreateAgentCredentialRequest(AbstractModel):
|
|
|
1842
1876
|
|
|
1843
1877
|
"""
|
|
1844
1878
|
|
|
1879
|
+
def __init__(self):
|
|
1880
|
+
r"""
|
|
1881
|
+
:param _InstanceID: <p>实例ID</p>
|
|
1882
|
+
:type InstanceID: str
|
|
1883
|
+
:param _Name: <p>名称</p>
|
|
1884
|
+
:type Name: str
|
|
1885
|
+
:param _Type: <p>类型</p>
|
|
1886
|
+
:type Type: str
|
|
1887
|
+
:param _Content: <p>具体内容</p>
|
|
1888
|
+
:type Content: :class:`tencentcloud.apis.v20240801.models.AgentCredentialContentDTO`
|
|
1889
|
+
"""
|
|
1890
|
+
self._InstanceID = None
|
|
1891
|
+
self._Name = None
|
|
1892
|
+
self._Type = None
|
|
1893
|
+
self._Content = None
|
|
1894
|
+
|
|
1895
|
+
@property
|
|
1896
|
+
def InstanceID(self):
|
|
1897
|
+
r"""<p>实例ID</p>
|
|
1898
|
+
:rtype: str
|
|
1899
|
+
"""
|
|
1900
|
+
return self._InstanceID
|
|
1901
|
+
|
|
1902
|
+
@InstanceID.setter
|
|
1903
|
+
def InstanceID(self, InstanceID):
|
|
1904
|
+
self._InstanceID = InstanceID
|
|
1905
|
+
|
|
1906
|
+
@property
|
|
1907
|
+
def Name(self):
|
|
1908
|
+
r"""<p>名称</p>
|
|
1909
|
+
:rtype: str
|
|
1910
|
+
"""
|
|
1911
|
+
return self._Name
|
|
1912
|
+
|
|
1913
|
+
@Name.setter
|
|
1914
|
+
def Name(self, Name):
|
|
1915
|
+
self._Name = Name
|
|
1916
|
+
|
|
1917
|
+
@property
|
|
1918
|
+
def Type(self):
|
|
1919
|
+
r"""<p>类型</p>
|
|
1920
|
+
:rtype: str
|
|
1921
|
+
"""
|
|
1922
|
+
return self._Type
|
|
1923
|
+
|
|
1924
|
+
@Type.setter
|
|
1925
|
+
def Type(self, Type):
|
|
1926
|
+
self._Type = Type
|
|
1927
|
+
|
|
1928
|
+
@property
|
|
1929
|
+
def Content(self):
|
|
1930
|
+
r"""<p>具体内容</p>
|
|
1931
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.AgentCredentialContentDTO`
|
|
1932
|
+
"""
|
|
1933
|
+
return self._Content
|
|
1934
|
+
|
|
1935
|
+
@Content.setter
|
|
1936
|
+
def Content(self, Content):
|
|
1937
|
+
self._Content = Content
|
|
1938
|
+
|
|
1939
|
+
|
|
1940
|
+
def _deserialize(self, params):
|
|
1941
|
+
self._InstanceID = params.get("InstanceID")
|
|
1942
|
+
self._Name = params.get("Name")
|
|
1943
|
+
self._Type = params.get("Type")
|
|
1944
|
+
if params.get("Content") is not None:
|
|
1945
|
+
self._Content = AgentCredentialContentDTO()
|
|
1946
|
+
self._Content._deserialize(params.get("Content"))
|
|
1947
|
+
memeber_set = set(params.keys())
|
|
1948
|
+
for name, value in vars(self).items():
|
|
1949
|
+
property_name = name[1:]
|
|
1950
|
+
if property_name in memeber_set:
|
|
1951
|
+
memeber_set.remove(property_name)
|
|
1952
|
+
if len(memeber_set) > 0:
|
|
1953
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1954
|
+
|
|
1955
|
+
|
|
1845
1956
|
|
|
1846
1957
|
class CreateAgentCredentialResponse(AbstractModel):
|
|
1847
1958
|
r"""CreateAgentCredential返回参数结构体
|
|
@@ -1850,11 +1961,25 @@ class CreateAgentCredentialResponse(AbstractModel):
|
|
|
1850
1961
|
|
|
1851
1962
|
def __init__(self):
|
|
1852
1963
|
r"""
|
|
1964
|
+
:param _Data: <p>credential id</p>
|
|
1965
|
+
:type Data: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
1853
1966
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1854
1967
|
:type RequestId: str
|
|
1855
1968
|
"""
|
|
1969
|
+
self._Data = None
|
|
1856
1970
|
self._RequestId = None
|
|
1857
1971
|
|
|
1972
|
+
@property
|
|
1973
|
+
def Data(self):
|
|
1974
|
+
r"""<p>credential id</p>
|
|
1975
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
1976
|
+
"""
|
|
1977
|
+
return self._Data
|
|
1978
|
+
|
|
1979
|
+
@Data.setter
|
|
1980
|
+
def Data(self, Data):
|
|
1981
|
+
self._Data = Data
|
|
1982
|
+
|
|
1858
1983
|
@property
|
|
1859
1984
|
def RequestId(self):
|
|
1860
1985
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1868,6 +1993,9 @@ class CreateAgentCredentialResponse(AbstractModel):
|
|
|
1868
1993
|
|
|
1869
1994
|
|
|
1870
1995
|
def _deserialize(self, params):
|
|
1996
|
+
if params.get("Data") is not None:
|
|
1997
|
+
self._Data = ResultIDVO()
|
|
1998
|
+
self._Data._deserialize(params.get("Data"))
|
|
1871
1999
|
self._RequestId = params.get("RequestId")
|
|
1872
2000
|
|
|
1873
2001
|
|
|
@@ -3778,6 +3906,51 @@ class DeleteAgentCredentialRequest(AbstractModel):
|
|
|
3778
3906
|
|
|
3779
3907
|
"""
|
|
3780
3908
|
|
|
3909
|
+
def __init__(self):
|
|
3910
|
+
r"""
|
|
3911
|
+
:param _InstanceID: <p>实例ID</p>
|
|
3912
|
+
:type InstanceID: str
|
|
3913
|
+
:param _ID: <p>credential id</p>
|
|
3914
|
+
:type ID: str
|
|
3915
|
+
"""
|
|
3916
|
+
self._InstanceID = None
|
|
3917
|
+
self._ID = None
|
|
3918
|
+
|
|
3919
|
+
@property
|
|
3920
|
+
def InstanceID(self):
|
|
3921
|
+
r"""<p>实例ID</p>
|
|
3922
|
+
:rtype: str
|
|
3923
|
+
"""
|
|
3924
|
+
return self._InstanceID
|
|
3925
|
+
|
|
3926
|
+
@InstanceID.setter
|
|
3927
|
+
def InstanceID(self, InstanceID):
|
|
3928
|
+
self._InstanceID = InstanceID
|
|
3929
|
+
|
|
3930
|
+
@property
|
|
3931
|
+
def ID(self):
|
|
3932
|
+
r"""<p>credential id</p>
|
|
3933
|
+
:rtype: str
|
|
3934
|
+
"""
|
|
3935
|
+
return self._ID
|
|
3936
|
+
|
|
3937
|
+
@ID.setter
|
|
3938
|
+
def ID(self, ID):
|
|
3939
|
+
self._ID = ID
|
|
3940
|
+
|
|
3941
|
+
|
|
3942
|
+
def _deserialize(self, params):
|
|
3943
|
+
self._InstanceID = params.get("InstanceID")
|
|
3944
|
+
self._ID = params.get("ID")
|
|
3945
|
+
memeber_set = set(params.keys())
|
|
3946
|
+
for name, value in vars(self).items():
|
|
3947
|
+
property_name = name[1:]
|
|
3948
|
+
if property_name in memeber_set:
|
|
3949
|
+
memeber_set.remove(property_name)
|
|
3950
|
+
if len(memeber_set) > 0:
|
|
3951
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3952
|
+
|
|
3953
|
+
|
|
3781
3954
|
|
|
3782
3955
|
class DeleteAgentCredentialResponse(AbstractModel):
|
|
3783
3956
|
r"""DeleteAgentCredential返回参数结构体
|
|
@@ -3786,11 +3959,25 @@ class DeleteAgentCredentialResponse(AbstractModel):
|
|
|
3786
3959
|
|
|
3787
3960
|
def __init__(self):
|
|
3788
3961
|
r"""
|
|
3962
|
+
:param _Data: <p>credential id</p>
|
|
3963
|
+
:type Data: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
3789
3964
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3790
3965
|
:type RequestId: str
|
|
3791
3966
|
"""
|
|
3967
|
+
self._Data = None
|
|
3792
3968
|
self._RequestId = None
|
|
3793
3969
|
|
|
3970
|
+
@property
|
|
3971
|
+
def Data(self):
|
|
3972
|
+
r"""<p>credential id</p>
|
|
3973
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
3974
|
+
"""
|
|
3975
|
+
return self._Data
|
|
3976
|
+
|
|
3977
|
+
@Data.setter
|
|
3978
|
+
def Data(self, Data):
|
|
3979
|
+
self._Data = Data
|
|
3980
|
+
|
|
3794
3981
|
@property
|
|
3795
3982
|
def RequestId(self):
|
|
3796
3983
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -3804,6 +3991,9 @@ class DeleteAgentCredentialResponse(AbstractModel):
|
|
|
3804
3991
|
|
|
3805
3992
|
|
|
3806
3993
|
def _deserialize(self, params):
|
|
3994
|
+
if params.get("Data") is not None:
|
|
3995
|
+
self._Data = ResultIDVO()
|
|
3996
|
+
self._Data._deserialize(params.get("Data"))
|
|
3807
3997
|
self._RequestId = params.get("RequestId")
|
|
3808
3998
|
|
|
3809
3999
|
|
|
@@ -5433,6 +5623,51 @@ class DescribeAgentCredentialRequest(AbstractModel):
|
|
|
5433
5623
|
|
|
5434
5624
|
"""
|
|
5435
5625
|
|
|
5626
|
+
def __init__(self):
|
|
5627
|
+
r"""
|
|
5628
|
+
:param _InstanceID: <p>实例ID</p>
|
|
5629
|
+
:type InstanceID: str
|
|
5630
|
+
:param _ID: <p>app id</p>
|
|
5631
|
+
:type ID: str
|
|
5632
|
+
"""
|
|
5633
|
+
self._InstanceID = None
|
|
5634
|
+
self._ID = None
|
|
5635
|
+
|
|
5636
|
+
@property
|
|
5637
|
+
def InstanceID(self):
|
|
5638
|
+
r"""<p>实例ID</p>
|
|
5639
|
+
:rtype: str
|
|
5640
|
+
"""
|
|
5641
|
+
return self._InstanceID
|
|
5642
|
+
|
|
5643
|
+
@InstanceID.setter
|
|
5644
|
+
def InstanceID(self, InstanceID):
|
|
5645
|
+
self._InstanceID = InstanceID
|
|
5646
|
+
|
|
5647
|
+
@property
|
|
5648
|
+
def ID(self):
|
|
5649
|
+
r"""<p>app id</p>
|
|
5650
|
+
:rtype: str
|
|
5651
|
+
"""
|
|
5652
|
+
return self._ID
|
|
5653
|
+
|
|
5654
|
+
@ID.setter
|
|
5655
|
+
def ID(self, ID):
|
|
5656
|
+
self._ID = ID
|
|
5657
|
+
|
|
5658
|
+
|
|
5659
|
+
def _deserialize(self, params):
|
|
5660
|
+
self._InstanceID = params.get("InstanceID")
|
|
5661
|
+
self._ID = params.get("ID")
|
|
5662
|
+
memeber_set = set(params.keys())
|
|
5663
|
+
for name, value in vars(self).items():
|
|
5664
|
+
property_name = name[1:]
|
|
5665
|
+
if property_name in memeber_set:
|
|
5666
|
+
memeber_set.remove(property_name)
|
|
5667
|
+
if len(memeber_set) > 0:
|
|
5668
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5669
|
+
|
|
5670
|
+
|
|
5436
5671
|
|
|
5437
5672
|
class DescribeAgentCredentialResp(AbstractModel):
|
|
5438
5673
|
r"""凭据详情响应
|
|
@@ -5675,18 +5910,291 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
5675
5910
|
|
|
5676
5911
|
|
|
5677
5912
|
|
|
5678
|
-
class DescribeAgentCredentialResponse(AbstractModel):
|
|
5679
|
-
r"""DescribeAgentCredential返回参数结构体
|
|
5913
|
+
class DescribeAgentCredentialResponse(AbstractModel):
|
|
5914
|
+
r"""DescribeAgentCredential返回参数结构体
|
|
5915
|
+
|
|
5916
|
+
"""
|
|
5917
|
+
|
|
5918
|
+
def __init__(self):
|
|
5919
|
+
r"""
|
|
5920
|
+
:param _Data: <p>Credential详情</p>
|
|
5921
|
+
:type Data: :class:`tencentcloud.apis.v20240801.models.DescribeAgentCredentialResp`
|
|
5922
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5923
|
+
:type RequestId: str
|
|
5924
|
+
"""
|
|
5925
|
+
self._Data = None
|
|
5926
|
+
self._RequestId = None
|
|
5927
|
+
|
|
5928
|
+
@property
|
|
5929
|
+
def Data(self):
|
|
5930
|
+
r"""<p>Credential详情</p>
|
|
5931
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.DescribeAgentCredentialResp`
|
|
5932
|
+
"""
|
|
5933
|
+
return self._Data
|
|
5934
|
+
|
|
5935
|
+
@Data.setter
|
|
5936
|
+
def Data(self, Data):
|
|
5937
|
+
self._Data = Data
|
|
5938
|
+
|
|
5939
|
+
@property
|
|
5940
|
+
def RequestId(self):
|
|
5941
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5942
|
+
:rtype: str
|
|
5943
|
+
"""
|
|
5944
|
+
return self._RequestId
|
|
5945
|
+
|
|
5946
|
+
@RequestId.setter
|
|
5947
|
+
def RequestId(self, RequestId):
|
|
5948
|
+
self._RequestId = RequestId
|
|
5949
|
+
|
|
5950
|
+
|
|
5951
|
+
def _deserialize(self, params):
|
|
5952
|
+
if params.get("Data") is not None:
|
|
5953
|
+
self._Data = DescribeAgentCredentialResp()
|
|
5954
|
+
self._Data._deserialize(params.get("Data"))
|
|
5955
|
+
self._RequestId = params.get("RequestId")
|
|
5956
|
+
|
|
5957
|
+
|
|
5958
|
+
class DescribeAgentCredentialsRequest(AbstractModel):
|
|
5959
|
+
r"""DescribeAgentCredentials请求参数结构体
|
|
5960
|
+
|
|
5961
|
+
"""
|
|
5962
|
+
|
|
5963
|
+
def __init__(self):
|
|
5964
|
+
r"""
|
|
5965
|
+
:param _Limit: <p>分页大小</p>
|
|
5966
|
+
:type Limit: int
|
|
5967
|
+
:param _InstanceID: <p>实例ID</p>
|
|
5968
|
+
:type InstanceID: str
|
|
5969
|
+
:param _NotIDs: <p>notID列表</p>
|
|
5970
|
+
:type NotIDs: list of str
|
|
5971
|
+
:param _Status: <p>状态:normal正常状态,disabled下线状态</p>
|
|
5972
|
+
:type Status: str
|
|
5973
|
+
:param _Offset: <p>分页偏移量</p>
|
|
5974
|
+
:type Offset: int
|
|
5975
|
+
:param _Keyword: <p>关键词</p>
|
|
5976
|
+
:type Keyword: str
|
|
5977
|
+
:param _IDs: <p>服务ID数组</p>
|
|
5978
|
+
:type IDs: list of str
|
|
5979
|
+
:param _Type: <p>认证类型:sts,reqKey</p>
|
|
5980
|
+
:type Type: str
|
|
5981
|
+
:param _Sort: <p>排序</p>
|
|
5982
|
+
:type Sort: :class:`tencentcloud.apis.v20240801.models.DescribeAgentCredentialsSortDTO`
|
|
5983
|
+
"""
|
|
5984
|
+
self._Limit = None
|
|
5985
|
+
self._InstanceID = None
|
|
5986
|
+
self._NotIDs = None
|
|
5987
|
+
self._Status = None
|
|
5988
|
+
self._Offset = None
|
|
5989
|
+
self._Keyword = None
|
|
5990
|
+
self._IDs = None
|
|
5991
|
+
self._Type = None
|
|
5992
|
+
self._Sort = None
|
|
5993
|
+
|
|
5994
|
+
@property
|
|
5995
|
+
def Limit(self):
|
|
5996
|
+
r"""<p>分页大小</p>
|
|
5997
|
+
:rtype: int
|
|
5998
|
+
"""
|
|
5999
|
+
return self._Limit
|
|
6000
|
+
|
|
6001
|
+
@Limit.setter
|
|
6002
|
+
def Limit(self, Limit):
|
|
6003
|
+
self._Limit = Limit
|
|
6004
|
+
|
|
6005
|
+
@property
|
|
6006
|
+
def InstanceID(self):
|
|
6007
|
+
r"""<p>实例ID</p>
|
|
6008
|
+
:rtype: str
|
|
6009
|
+
"""
|
|
6010
|
+
return self._InstanceID
|
|
6011
|
+
|
|
6012
|
+
@InstanceID.setter
|
|
6013
|
+
def InstanceID(self, InstanceID):
|
|
6014
|
+
self._InstanceID = InstanceID
|
|
6015
|
+
|
|
6016
|
+
@property
|
|
6017
|
+
def NotIDs(self):
|
|
6018
|
+
r"""<p>notID列表</p>
|
|
6019
|
+
:rtype: list of str
|
|
6020
|
+
"""
|
|
6021
|
+
return self._NotIDs
|
|
6022
|
+
|
|
6023
|
+
@NotIDs.setter
|
|
6024
|
+
def NotIDs(self, NotIDs):
|
|
6025
|
+
self._NotIDs = NotIDs
|
|
6026
|
+
|
|
6027
|
+
@property
|
|
6028
|
+
def Status(self):
|
|
6029
|
+
r"""<p>状态:normal正常状态,disabled下线状态</p>
|
|
6030
|
+
:rtype: str
|
|
6031
|
+
"""
|
|
6032
|
+
return self._Status
|
|
6033
|
+
|
|
6034
|
+
@Status.setter
|
|
6035
|
+
def Status(self, Status):
|
|
6036
|
+
self._Status = Status
|
|
6037
|
+
|
|
6038
|
+
@property
|
|
6039
|
+
def Offset(self):
|
|
6040
|
+
r"""<p>分页偏移量</p>
|
|
6041
|
+
:rtype: int
|
|
6042
|
+
"""
|
|
6043
|
+
return self._Offset
|
|
6044
|
+
|
|
6045
|
+
@Offset.setter
|
|
6046
|
+
def Offset(self, Offset):
|
|
6047
|
+
self._Offset = Offset
|
|
6048
|
+
|
|
6049
|
+
@property
|
|
6050
|
+
def Keyword(self):
|
|
6051
|
+
r"""<p>关键词</p>
|
|
6052
|
+
:rtype: str
|
|
6053
|
+
"""
|
|
6054
|
+
return self._Keyword
|
|
6055
|
+
|
|
6056
|
+
@Keyword.setter
|
|
6057
|
+
def Keyword(self, Keyword):
|
|
6058
|
+
self._Keyword = Keyword
|
|
6059
|
+
|
|
6060
|
+
@property
|
|
6061
|
+
def IDs(self):
|
|
6062
|
+
r"""<p>服务ID数组</p>
|
|
6063
|
+
:rtype: list of str
|
|
6064
|
+
"""
|
|
6065
|
+
return self._IDs
|
|
6066
|
+
|
|
6067
|
+
@IDs.setter
|
|
6068
|
+
def IDs(self, IDs):
|
|
6069
|
+
self._IDs = IDs
|
|
6070
|
+
|
|
6071
|
+
@property
|
|
6072
|
+
def Type(self):
|
|
6073
|
+
r"""<p>认证类型:sts,reqKey</p>
|
|
6074
|
+
:rtype: str
|
|
6075
|
+
"""
|
|
6076
|
+
return self._Type
|
|
6077
|
+
|
|
6078
|
+
@Type.setter
|
|
6079
|
+
def Type(self, Type):
|
|
6080
|
+
self._Type = Type
|
|
6081
|
+
|
|
6082
|
+
@property
|
|
6083
|
+
def Sort(self):
|
|
6084
|
+
r"""<p>排序</p>
|
|
6085
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.DescribeAgentCredentialsSortDTO`
|
|
6086
|
+
"""
|
|
6087
|
+
return self._Sort
|
|
6088
|
+
|
|
6089
|
+
@Sort.setter
|
|
6090
|
+
def Sort(self, Sort):
|
|
6091
|
+
self._Sort = Sort
|
|
6092
|
+
|
|
6093
|
+
|
|
6094
|
+
def _deserialize(self, params):
|
|
6095
|
+
self._Limit = params.get("Limit")
|
|
6096
|
+
self._InstanceID = params.get("InstanceID")
|
|
6097
|
+
self._NotIDs = params.get("NotIDs")
|
|
6098
|
+
self._Status = params.get("Status")
|
|
6099
|
+
self._Offset = params.get("Offset")
|
|
6100
|
+
self._Keyword = params.get("Keyword")
|
|
6101
|
+
self._IDs = params.get("IDs")
|
|
6102
|
+
self._Type = params.get("Type")
|
|
6103
|
+
if params.get("Sort") is not None:
|
|
6104
|
+
self._Sort = DescribeAgentCredentialsSortDTO()
|
|
6105
|
+
self._Sort._deserialize(params.get("Sort"))
|
|
6106
|
+
memeber_set = set(params.keys())
|
|
6107
|
+
for name, value in vars(self).items():
|
|
6108
|
+
property_name = name[1:]
|
|
6109
|
+
if property_name in memeber_set:
|
|
6110
|
+
memeber_set.remove(property_name)
|
|
6111
|
+
if len(memeber_set) > 0:
|
|
6112
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6113
|
+
|
|
6114
|
+
|
|
6115
|
+
|
|
6116
|
+
class DescribeAgentCredentialsResp(AbstractModel):
|
|
6117
|
+
r"""获取凭证列表的返回值
|
|
6118
|
+
|
|
6119
|
+
"""
|
|
6120
|
+
|
|
6121
|
+
def __init__(self):
|
|
6122
|
+
r"""
|
|
6123
|
+
:param _Total: <p>总数</p>
|
|
6124
|
+
:type Total: int
|
|
6125
|
+
:param _Items: <p>条目</p>
|
|
6126
|
+
:type Items: list of DescribeAgentCredentialResp
|
|
6127
|
+
"""
|
|
6128
|
+
self._Total = None
|
|
6129
|
+
self._Items = None
|
|
6130
|
+
|
|
6131
|
+
@property
|
|
6132
|
+
def Total(self):
|
|
6133
|
+
r"""<p>总数</p>
|
|
6134
|
+
:rtype: int
|
|
6135
|
+
"""
|
|
6136
|
+
return self._Total
|
|
6137
|
+
|
|
6138
|
+
@Total.setter
|
|
6139
|
+
def Total(self, Total):
|
|
6140
|
+
self._Total = Total
|
|
6141
|
+
|
|
6142
|
+
@property
|
|
6143
|
+
def Items(self):
|
|
6144
|
+
r"""<p>条目</p>
|
|
6145
|
+
:rtype: list of DescribeAgentCredentialResp
|
|
6146
|
+
"""
|
|
6147
|
+
return self._Items
|
|
6148
|
+
|
|
6149
|
+
@Items.setter
|
|
6150
|
+
def Items(self, Items):
|
|
6151
|
+
self._Items = Items
|
|
6152
|
+
|
|
6153
|
+
|
|
6154
|
+
def _deserialize(self, params):
|
|
6155
|
+
self._Total = params.get("Total")
|
|
6156
|
+
if params.get("Items") is not None:
|
|
6157
|
+
self._Items = []
|
|
6158
|
+
for item in params.get("Items"):
|
|
6159
|
+
obj = DescribeAgentCredentialResp()
|
|
6160
|
+
obj._deserialize(item)
|
|
6161
|
+
self._Items.append(obj)
|
|
6162
|
+
memeber_set = set(params.keys())
|
|
6163
|
+
for name, value in vars(self).items():
|
|
6164
|
+
property_name = name[1:]
|
|
6165
|
+
if property_name in memeber_set:
|
|
6166
|
+
memeber_set.remove(property_name)
|
|
6167
|
+
if len(memeber_set) > 0:
|
|
6168
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6169
|
+
|
|
6170
|
+
|
|
6171
|
+
|
|
6172
|
+
class DescribeAgentCredentialsResponse(AbstractModel):
|
|
6173
|
+
r"""DescribeAgentCredentials返回参数结构体
|
|
5680
6174
|
|
|
5681
6175
|
"""
|
|
5682
6176
|
|
|
5683
6177
|
def __init__(self):
|
|
5684
6178
|
r"""
|
|
6179
|
+
:param _Data: <p>Credential列表</p>
|
|
6180
|
+
:type Data: :class:`tencentcloud.apis.v20240801.models.DescribeAgentCredentialsResp`
|
|
5685
6181
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5686
6182
|
:type RequestId: str
|
|
5687
6183
|
"""
|
|
6184
|
+
self._Data = None
|
|
5688
6185
|
self._RequestId = None
|
|
5689
6186
|
|
|
6187
|
+
@property
|
|
6188
|
+
def Data(self):
|
|
6189
|
+
r"""<p>Credential列表</p>
|
|
6190
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.DescribeAgentCredentialsResp`
|
|
6191
|
+
"""
|
|
6192
|
+
return self._Data
|
|
6193
|
+
|
|
6194
|
+
@Data.setter
|
|
6195
|
+
def Data(self, Data):
|
|
6196
|
+
self._Data = Data
|
|
6197
|
+
|
|
5690
6198
|
@property
|
|
5691
6199
|
def RequestId(self):
|
|
5692
6200
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -5700,41 +6208,106 @@ class DescribeAgentCredentialResponse(AbstractModel):
|
|
|
5700
6208
|
|
|
5701
6209
|
|
|
5702
6210
|
def _deserialize(self, params):
|
|
6211
|
+
if params.get("Data") is not None:
|
|
6212
|
+
self._Data = DescribeAgentCredentialsResp()
|
|
6213
|
+
self._Data._deserialize(params.get("Data"))
|
|
5703
6214
|
self._RequestId = params.get("RequestId")
|
|
5704
6215
|
|
|
5705
6216
|
|
|
5706
|
-
class
|
|
5707
|
-
r"""
|
|
6217
|
+
class DescribeAgentCredentialsSortDTO(AbstractModel):
|
|
6218
|
+
r"""查询凭据列表的排序
|
|
5708
6219
|
|
|
5709
6220
|
"""
|
|
5710
6221
|
|
|
6222
|
+
def __init__(self):
|
|
6223
|
+
r"""
|
|
6224
|
+
:param _CreateTime: <p>创建时间</p>
|
|
6225
|
+
:type CreateTime: int
|
|
6226
|
+
:param _UpdateTime: <p>修改时间</p>
|
|
6227
|
+
:type UpdateTime: int
|
|
6228
|
+
:param _Name: <p>名称</p>
|
|
6229
|
+
:type Name: int
|
|
6230
|
+
:param _Status: <p>状态</p>
|
|
6231
|
+
:type Status: int
|
|
6232
|
+
:param _Type: <p>类型</p>
|
|
6233
|
+
:type Type: int
|
|
6234
|
+
"""
|
|
6235
|
+
self._CreateTime = None
|
|
6236
|
+
self._UpdateTime = None
|
|
6237
|
+
self._Name = None
|
|
6238
|
+
self._Status = None
|
|
6239
|
+
self._Type = None
|
|
5711
6240
|
|
|
5712
|
-
|
|
5713
|
-
|
|
6241
|
+
@property
|
|
6242
|
+
def CreateTime(self):
|
|
6243
|
+
r"""<p>创建时间</p>
|
|
6244
|
+
:rtype: int
|
|
6245
|
+
"""
|
|
6246
|
+
return self._CreateTime
|
|
5714
6247
|
|
|
5715
|
-
|
|
6248
|
+
@CreateTime.setter
|
|
6249
|
+
def CreateTime(self, CreateTime):
|
|
6250
|
+
self._CreateTime = CreateTime
|
|
5716
6251
|
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
:
|
|
6252
|
+
@property
|
|
6253
|
+
def UpdateTime(self):
|
|
6254
|
+
r"""<p>修改时间</p>
|
|
6255
|
+
:rtype: int
|
|
5721
6256
|
"""
|
|
5722
|
-
self.
|
|
6257
|
+
return self._UpdateTime
|
|
6258
|
+
|
|
6259
|
+
@UpdateTime.setter
|
|
6260
|
+
def UpdateTime(self, UpdateTime):
|
|
6261
|
+
self._UpdateTime = UpdateTime
|
|
5723
6262
|
|
|
5724
6263
|
@property
|
|
5725
|
-
def
|
|
5726
|
-
r"""
|
|
5727
|
-
:rtype:
|
|
6264
|
+
def Name(self):
|
|
6265
|
+
r"""<p>名称</p>
|
|
6266
|
+
:rtype: int
|
|
5728
6267
|
"""
|
|
5729
|
-
return self.
|
|
6268
|
+
return self._Name
|
|
5730
6269
|
|
|
5731
|
-
@
|
|
5732
|
-
def
|
|
5733
|
-
self.
|
|
6270
|
+
@Name.setter
|
|
6271
|
+
def Name(self, Name):
|
|
6272
|
+
self._Name = Name
|
|
6273
|
+
|
|
6274
|
+
@property
|
|
6275
|
+
def Status(self):
|
|
6276
|
+
r"""<p>状态</p>
|
|
6277
|
+
:rtype: int
|
|
6278
|
+
"""
|
|
6279
|
+
return self._Status
|
|
6280
|
+
|
|
6281
|
+
@Status.setter
|
|
6282
|
+
def Status(self, Status):
|
|
6283
|
+
self._Status = Status
|
|
6284
|
+
|
|
6285
|
+
@property
|
|
6286
|
+
def Type(self):
|
|
6287
|
+
r"""<p>类型</p>
|
|
6288
|
+
:rtype: int
|
|
6289
|
+
"""
|
|
6290
|
+
return self._Type
|
|
6291
|
+
|
|
6292
|
+
@Type.setter
|
|
6293
|
+
def Type(self, Type):
|
|
6294
|
+
self._Type = Type
|
|
5734
6295
|
|
|
5735
6296
|
|
|
5736
6297
|
def _deserialize(self, params):
|
|
5737
|
-
self.
|
|
6298
|
+
self._CreateTime = params.get("CreateTime")
|
|
6299
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
6300
|
+
self._Name = params.get("Name")
|
|
6301
|
+
self._Status = params.get("Status")
|
|
6302
|
+
self._Type = params.get("Type")
|
|
6303
|
+
memeber_set = set(params.keys())
|
|
6304
|
+
for name, value in vars(self).items():
|
|
6305
|
+
property_name = name[1:]
|
|
6306
|
+
if property_name in memeber_set:
|
|
6307
|
+
memeber_set.remove(property_name)
|
|
6308
|
+
if len(memeber_set) > 0:
|
|
6309
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6310
|
+
|
|
5738
6311
|
|
|
5739
6312
|
|
|
5740
6313
|
class DescribeMcpServerRequest(AbstractModel):
|
|
@@ -10515,6 +11088,98 @@ class ModifyAgentCredentialRequest(AbstractModel):
|
|
|
10515
11088
|
|
|
10516
11089
|
"""
|
|
10517
11090
|
|
|
11091
|
+
def __init__(self):
|
|
11092
|
+
r"""
|
|
11093
|
+
:param _InstanceID: <p>实例ID</p>
|
|
11094
|
+
:type InstanceID: str
|
|
11095
|
+
:param _ID: <p>certify id</p>
|
|
11096
|
+
:type ID: str
|
|
11097
|
+
:param _Name: <p>名称</p>
|
|
11098
|
+
:type Name: str
|
|
11099
|
+
:param _Type: <p>类型</p>
|
|
11100
|
+
:type Type: str
|
|
11101
|
+
:param _Content: <p>具体内容</p>
|
|
11102
|
+
:type Content: :class:`tencentcloud.apis.v20240801.models.AgentCredentialContentDTO`
|
|
11103
|
+
"""
|
|
11104
|
+
self._InstanceID = None
|
|
11105
|
+
self._ID = None
|
|
11106
|
+
self._Name = None
|
|
11107
|
+
self._Type = None
|
|
11108
|
+
self._Content = None
|
|
11109
|
+
|
|
11110
|
+
@property
|
|
11111
|
+
def InstanceID(self):
|
|
11112
|
+
r"""<p>实例ID</p>
|
|
11113
|
+
:rtype: str
|
|
11114
|
+
"""
|
|
11115
|
+
return self._InstanceID
|
|
11116
|
+
|
|
11117
|
+
@InstanceID.setter
|
|
11118
|
+
def InstanceID(self, InstanceID):
|
|
11119
|
+
self._InstanceID = InstanceID
|
|
11120
|
+
|
|
11121
|
+
@property
|
|
11122
|
+
def ID(self):
|
|
11123
|
+
r"""<p>certify id</p>
|
|
11124
|
+
:rtype: str
|
|
11125
|
+
"""
|
|
11126
|
+
return self._ID
|
|
11127
|
+
|
|
11128
|
+
@ID.setter
|
|
11129
|
+
def ID(self, ID):
|
|
11130
|
+
self._ID = ID
|
|
11131
|
+
|
|
11132
|
+
@property
|
|
11133
|
+
def Name(self):
|
|
11134
|
+
r"""<p>名称</p>
|
|
11135
|
+
:rtype: str
|
|
11136
|
+
"""
|
|
11137
|
+
return self._Name
|
|
11138
|
+
|
|
11139
|
+
@Name.setter
|
|
11140
|
+
def Name(self, Name):
|
|
11141
|
+
self._Name = Name
|
|
11142
|
+
|
|
11143
|
+
@property
|
|
11144
|
+
def Type(self):
|
|
11145
|
+
r"""<p>类型</p>
|
|
11146
|
+
:rtype: str
|
|
11147
|
+
"""
|
|
11148
|
+
return self._Type
|
|
11149
|
+
|
|
11150
|
+
@Type.setter
|
|
11151
|
+
def Type(self, Type):
|
|
11152
|
+
self._Type = Type
|
|
11153
|
+
|
|
11154
|
+
@property
|
|
11155
|
+
def Content(self):
|
|
11156
|
+
r"""<p>具体内容</p>
|
|
11157
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.AgentCredentialContentDTO`
|
|
11158
|
+
"""
|
|
11159
|
+
return self._Content
|
|
11160
|
+
|
|
11161
|
+
@Content.setter
|
|
11162
|
+
def Content(self, Content):
|
|
11163
|
+
self._Content = Content
|
|
11164
|
+
|
|
11165
|
+
|
|
11166
|
+
def _deserialize(self, params):
|
|
11167
|
+
self._InstanceID = params.get("InstanceID")
|
|
11168
|
+
self._ID = params.get("ID")
|
|
11169
|
+
self._Name = params.get("Name")
|
|
11170
|
+
self._Type = params.get("Type")
|
|
11171
|
+
if params.get("Content") is not None:
|
|
11172
|
+
self._Content = AgentCredentialContentDTO()
|
|
11173
|
+
self._Content._deserialize(params.get("Content"))
|
|
11174
|
+
memeber_set = set(params.keys())
|
|
11175
|
+
for name, value in vars(self).items():
|
|
11176
|
+
property_name = name[1:]
|
|
11177
|
+
if property_name in memeber_set:
|
|
11178
|
+
memeber_set.remove(property_name)
|
|
11179
|
+
if len(memeber_set) > 0:
|
|
11180
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11181
|
+
|
|
11182
|
+
|
|
10518
11183
|
|
|
10519
11184
|
class ModifyAgentCredentialResponse(AbstractModel):
|
|
10520
11185
|
r"""ModifyAgentCredential返回参数结构体
|
|
@@ -10523,11 +11188,25 @@ class ModifyAgentCredentialResponse(AbstractModel):
|
|
|
10523
11188
|
|
|
10524
11189
|
def __init__(self):
|
|
10525
11190
|
r"""
|
|
11191
|
+
:param _Data: <p>credential id</p>
|
|
11192
|
+
:type Data: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
10526
11193
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10527
11194
|
:type RequestId: str
|
|
10528
11195
|
"""
|
|
11196
|
+
self._Data = None
|
|
10529
11197
|
self._RequestId = None
|
|
10530
11198
|
|
|
11199
|
+
@property
|
|
11200
|
+
def Data(self):
|
|
11201
|
+
r"""<p>credential id</p>
|
|
11202
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
11203
|
+
"""
|
|
11204
|
+
return self._Data
|
|
11205
|
+
|
|
11206
|
+
@Data.setter
|
|
11207
|
+
def Data(self, Data):
|
|
11208
|
+
self._Data = Data
|
|
11209
|
+
|
|
10531
11210
|
@property
|
|
10532
11211
|
def RequestId(self):
|
|
10533
11212
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -10541,6 +11220,9 @@ class ModifyAgentCredentialResponse(AbstractModel):
|
|
|
10541
11220
|
|
|
10542
11221
|
|
|
10543
11222
|
def _deserialize(self, params):
|
|
11223
|
+
if params.get("Data") is not None:
|
|
11224
|
+
self._Data = ResultIDVO()
|
|
11225
|
+
self._Data._deserialize(params.get("Data"))
|
|
10544
11226
|
self._RequestId = params.get("RequestId")
|
|
10545
11227
|
|
|
10546
11228
|
|
|
@@ -12722,10 +13404,13 @@ class PromptModerateConfigDTO(AbstractModel):
|
|
|
12722
13404
|
:param _ContextScope: <p>检测上下文</p>
|
|
12723
13405
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12724
13406
|
:type ContextScope: str
|
|
13407
|
+
:param _CheckTargets: <p>检测内容类型</p>
|
|
13408
|
+
:type CheckTargets: list of str
|
|
12725
13409
|
"""
|
|
12726
13410
|
self._Action = None
|
|
12727
13411
|
self._InterceptMessage = None
|
|
12728
13412
|
self._ContextScope = None
|
|
13413
|
+
self._CheckTargets = None
|
|
12729
13414
|
|
|
12730
13415
|
@property
|
|
12731
13416
|
def Action(self):
|
|
@@ -12763,11 +13448,23 @@ class PromptModerateConfigDTO(AbstractModel):
|
|
|
12763
13448
|
def ContextScope(self, ContextScope):
|
|
12764
13449
|
self._ContextScope = ContextScope
|
|
12765
13450
|
|
|
13451
|
+
@property
|
|
13452
|
+
def CheckTargets(self):
|
|
13453
|
+
r"""<p>检测内容类型</p>
|
|
13454
|
+
:rtype: list of str
|
|
13455
|
+
"""
|
|
13456
|
+
return self._CheckTargets
|
|
13457
|
+
|
|
13458
|
+
@CheckTargets.setter
|
|
13459
|
+
def CheckTargets(self, CheckTargets):
|
|
13460
|
+
self._CheckTargets = CheckTargets
|
|
13461
|
+
|
|
12766
13462
|
|
|
12767
13463
|
def _deserialize(self, params):
|
|
12768
13464
|
self._Action = params.get("Action")
|
|
12769
13465
|
self._InterceptMessage = params.get("InterceptMessage")
|
|
12770
13466
|
self._ContextScope = params.get("ContextScope")
|
|
13467
|
+
self._CheckTargets = params.get("CheckTargets")
|
|
12771
13468
|
memeber_set = set(params.keys())
|
|
12772
13469
|
for name, value in vars(self).items():
|
|
12773
13470
|
property_name = name[1:]
|
|
@@ -13374,6 +14071,10 @@ class ServiceVO(AbstractModel):
|
|
|
13374
14071
|
:param _RequestProtocolType: <p>访问协议</p><p>枚举值:</p><ul><li>http: http</li><li>https: https</li></ul>
|
|
13375
14072
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13376
14073
|
:type RequestProtocolType: str
|
|
14074
|
+
:param _ServiceSecurityRules: <p>安全规则</p>
|
|
14075
|
+
:type ServiceSecurityRules: list of BindMcpSecurityRuleDTO
|
|
14076
|
+
:param _ServiceSecurityRulesVO: <p>安全规则</p>
|
|
14077
|
+
:type ServiceSecurityRulesVO: list of McpSecurityRulesVO
|
|
13377
14078
|
"""
|
|
13378
14079
|
self._InstanceID = None
|
|
13379
14080
|
self._Name = None
|
|
@@ -13445,6 +14146,8 @@ class ServiceVO(AbstractModel):
|
|
|
13445
14146
|
self._CredentialID = None
|
|
13446
14147
|
self._CredentialName = None
|
|
13447
14148
|
self._RequestProtocolType = None
|
|
14149
|
+
self._ServiceSecurityRules = None
|
|
14150
|
+
self._ServiceSecurityRulesVO = None
|
|
13448
14151
|
|
|
13449
14152
|
@property
|
|
13450
14153
|
def InstanceID(self):
|
|
@@ -14328,6 +15031,28 @@ class ServiceVO(AbstractModel):
|
|
|
14328
15031
|
def RequestProtocolType(self, RequestProtocolType):
|
|
14329
15032
|
self._RequestProtocolType = RequestProtocolType
|
|
14330
15033
|
|
|
15034
|
+
@property
|
|
15035
|
+
def ServiceSecurityRules(self):
|
|
15036
|
+
r"""<p>安全规则</p>
|
|
15037
|
+
:rtype: list of BindMcpSecurityRuleDTO
|
|
15038
|
+
"""
|
|
15039
|
+
return self._ServiceSecurityRules
|
|
15040
|
+
|
|
15041
|
+
@ServiceSecurityRules.setter
|
|
15042
|
+
def ServiceSecurityRules(self, ServiceSecurityRules):
|
|
15043
|
+
self._ServiceSecurityRules = ServiceSecurityRules
|
|
15044
|
+
|
|
15045
|
+
@property
|
|
15046
|
+
def ServiceSecurityRulesVO(self):
|
|
15047
|
+
r"""<p>安全规则</p>
|
|
15048
|
+
:rtype: list of McpSecurityRulesVO
|
|
15049
|
+
"""
|
|
15050
|
+
return self._ServiceSecurityRulesVO
|
|
15051
|
+
|
|
15052
|
+
@ServiceSecurityRulesVO.setter
|
|
15053
|
+
def ServiceSecurityRulesVO(self, ServiceSecurityRulesVO):
|
|
15054
|
+
self._ServiceSecurityRulesVO = ServiceSecurityRulesVO
|
|
15055
|
+
|
|
14331
15056
|
|
|
14332
15057
|
def _deserialize(self, params):
|
|
14333
15058
|
self._InstanceID = params.get("InstanceID")
|
|
@@ -14453,6 +15178,18 @@ class ServiceVO(AbstractModel):
|
|
|
14453
15178
|
self._CredentialID = params.get("CredentialID")
|
|
14454
15179
|
self._CredentialName = params.get("CredentialName")
|
|
14455
15180
|
self._RequestProtocolType = params.get("RequestProtocolType")
|
|
15181
|
+
if params.get("ServiceSecurityRules") is not None:
|
|
15182
|
+
self._ServiceSecurityRules = []
|
|
15183
|
+
for item in params.get("ServiceSecurityRules"):
|
|
15184
|
+
obj = BindMcpSecurityRuleDTO()
|
|
15185
|
+
obj._deserialize(item)
|
|
15186
|
+
self._ServiceSecurityRules.append(obj)
|
|
15187
|
+
if params.get("ServiceSecurityRulesVO") is not None:
|
|
15188
|
+
self._ServiceSecurityRulesVO = []
|
|
15189
|
+
for item in params.get("ServiceSecurityRulesVO"):
|
|
15190
|
+
obj = McpSecurityRulesVO()
|
|
15191
|
+
obj._deserialize(item)
|
|
15192
|
+
self._ServiceSecurityRulesVO.append(obj)
|
|
14456
15193
|
memeber_set = set(params.keys())
|
|
14457
15194
|
for name, value in vars(self).items():
|
|
14458
15195
|
property_name = name[1:]
|
|
@@ -15188,6 +15925,8 @@ class TmsConfigDTO(AbstractModel):
|
|
|
15188
15925
|
:param _ContextScope: <p>检测上下文</p>
|
|
15189
15926
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
15190
15927
|
:type ContextScope: str
|
|
15928
|
+
:param _CheckTargets: <p>检测内容类型</p>
|
|
15929
|
+
:type CheckTargets: list of str
|
|
15191
15930
|
"""
|
|
15192
15931
|
self._Scope = None
|
|
15193
15932
|
self._Mode = None
|
|
@@ -15196,6 +15935,7 @@ class TmsConfigDTO(AbstractModel):
|
|
|
15196
15935
|
self._BizType = None
|
|
15197
15936
|
self._InterceptMessage = None
|
|
15198
15937
|
self._ContextScope = None
|
|
15938
|
+
self._CheckTargets = None
|
|
15199
15939
|
|
|
15200
15940
|
@property
|
|
15201
15941
|
def Scope(self):
|
|
@@ -15281,6 +16021,17 @@ class TmsConfigDTO(AbstractModel):
|
|
|
15281
16021
|
def ContextScope(self, ContextScope):
|
|
15282
16022
|
self._ContextScope = ContextScope
|
|
15283
16023
|
|
|
16024
|
+
@property
|
|
16025
|
+
def CheckTargets(self):
|
|
16026
|
+
r"""<p>检测内容类型</p>
|
|
16027
|
+
:rtype: list of str
|
|
16028
|
+
"""
|
|
16029
|
+
return self._CheckTargets
|
|
16030
|
+
|
|
16031
|
+
@CheckTargets.setter
|
|
16032
|
+
def CheckTargets(self, CheckTargets):
|
|
16033
|
+
self._CheckTargets = CheckTargets
|
|
16034
|
+
|
|
15284
16035
|
|
|
15285
16036
|
def _deserialize(self, params):
|
|
15286
16037
|
self._Scope = params.get("Scope")
|
|
@@ -15290,6 +16041,7 @@ class TmsConfigDTO(AbstractModel):
|
|
|
15290
16041
|
self._BizType = params.get("BizType")
|
|
15291
16042
|
self._InterceptMessage = params.get("InterceptMessage")
|
|
15292
16043
|
self._ContextScope = params.get("ContextScope")
|
|
16044
|
+
self._CheckTargets = params.get("CheckTargets")
|
|
15293
16045
|
memeber_set = set(params.keys())
|
|
15294
16046
|
for name, value in vars(self).items():
|
|
15295
16047
|
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.215
|
|
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.215
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.215
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.189
|
|
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
|