tencentcloud-sdk-python-workbuddyenterprise 3.1.180__py2.py3-none-any.whl
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/__init__.py +17 -0
- tencentcloud/workbuddyenterprise/__init__.py +0 -0
- tencentcloud/workbuddyenterprise/v20260709/__init__.py +0 -0
- tencentcloud/workbuddyenterprise/v20260709/errorcodes.py +231 -0
- tencentcloud/workbuddyenterprise/v20260709/models.py +7823 -0
- tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client.py +601 -0
- tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client_async.py +476 -0
- tencentcloud_sdk_python_workbuddyenterprise-3.1.180.dist-info/METADATA +46 -0
- tencentcloud_sdk_python_workbuddyenterprise-3.1.180.dist-info/RECORD +11 -0
- tencentcloud_sdk_python_workbuddyenterprise-3.1.180.dist-info/WHEEL +6 -0
- tencentcloud_sdk_python_workbuddyenterprise-3.1.180.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,476 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.workbuddyenterprise.v20260709 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class WorkbuddyenterpriseClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2026-07-09'
|
|
25
|
+
_endpoint = 'workbuddyenterprise.tencentcloudapi.com'
|
|
26
|
+
_service = 'workbuddyenterprise'
|
|
27
|
+
|
|
28
|
+
async def BindExternalAgent(
|
|
29
|
+
self,
|
|
30
|
+
request: models.BindExternalAgentRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.BindExternalAgentResponse:
|
|
33
|
+
"""
|
|
34
|
+
把外部 agent 绑定到某 managed agent
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "BindExternalAgent"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.BindExternalAgentResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def CreateAgent(
|
|
47
|
+
self,
|
|
48
|
+
request: models.CreateAgentRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.CreateAgentResponse:
|
|
51
|
+
"""
|
|
52
|
+
创建一个新的 Managed Agent,同时自动生成 default 版本。配置采用 Manifest v2.0。
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "CreateAgent"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.CreateAgentResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
64
|
+
async def CreateAgentSession(
|
|
65
|
+
self,
|
|
66
|
+
request: models.CreateAgentSessionRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.CreateAgentSessionResponse:
|
|
69
|
+
"""
|
|
70
|
+
为指定 Agent 创建新的会话,返回会话 ID 和聊天凭证。
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "CreateAgentSession"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.CreateAgentSessionResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
82
|
+
async def CreateAgentVersion(
|
|
83
|
+
self,
|
|
84
|
+
request: models.CreateAgentVersionRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.CreateAgentVersionResponse:
|
|
87
|
+
"""
|
|
88
|
+
完全新建版本:外部准备完整 Manifest 后直接传入,不引用任何已有版本。
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "CreateAgentVersion"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.CreateAgentVersionResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
100
|
+
async def CreateAgentVersionFromSource(
|
|
101
|
+
self,
|
|
102
|
+
request: models.CreateAgentVersionFromSourceRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.CreateAgentVersionFromSourceResponse:
|
|
105
|
+
"""
|
|
106
|
+
基于源版本创建新版本:Manifest / Model / Description 传入即整体覆盖,未传则沿用源版本。
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "CreateAgentVersionFromSource"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.CreateAgentVersionFromSourceResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
118
|
+
async def DeleteAgent(
|
|
119
|
+
self,
|
|
120
|
+
request: models.DeleteAgentRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.DeleteAgentResponse:
|
|
123
|
+
"""
|
|
124
|
+
删除指定的 Agent 及其所有版本。删除后不可恢复。
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "DeleteAgent"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.DeleteAgentResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
135
|
+
|
|
136
|
+
async def DescribeAgent(
|
|
137
|
+
self,
|
|
138
|
+
request: models.DescribeAgentRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.DescribeAgentResponse:
|
|
141
|
+
"""
|
|
142
|
+
查询单个 Agent 的详细信息,包括基础配置和路由配置。
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "DescribeAgent"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.DescribeAgentResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
154
|
+
async def DescribeAgentList(
|
|
155
|
+
self,
|
|
156
|
+
request: models.DescribeAgentListRequest,
|
|
157
|
+
opts: Dict = None,
|
|
158
|
+
) -> models.DescribeAgentListResponse:
|
|
159
|
+
"""
|
|
160
|
+
查询当前企业的 Agent 列表,支持分页、过滤和排序。
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
kwargs = {}
|
|
164
|
+
kwargs["action"] = "DescribeAgentList"
|
|
165
|
+
kwargs["params"] = request._serialize()
|
|
166
|
+
kwargs["resp_cls"] = models.DescribeAgentListResponse
|
|
167
|
+
kwargs["headers"] = request.headers
|
|
168
|
+
kwargs["opts"] = opts or {}
|
|
169
|
+
|
|
170
|
+
return await self.call_and_deserialize(**kwargs)
|
|
171
|
+
|
|
172
|
+
async def DescribeAgentSession(
|
|
173
|
+
self,
|
|
174
|
+
request: models.DescribeAgentSessionRequest,
|
|
175
|
+
opts: Dict = None,
|
|
176
|
+
) -> models.DescribeAgentSessionResponse:
|
|
177
|
+
"""
|
|
178
|
+
查询单个 Agent 会话详情:返回会话基础信息(会话名称 / Agent / 版本 / 状态 / 来源 / 发起人)与可用的聊天接入点列表(EndpointSet)。数据面鉴权走 DescribeUserAccessToken 的用户级访问令牌。
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
kwargs = {}
|
|
182
|
+
kwargs["action"] = "DescribeAgentSession"
|
|
183
|
+
kwargs["params"] = request._serialize()
|
|
184
|
+
kwargs["resp_cls"] = models.DescribeAgentSessionResponse
|
|
185
|
+
kwargs["headers"] = request.headers
|
|
186
|
+
kwargs["opts"] = opts or {}
|
|
187
|
+
|
|
188
|
+
return await self.call_and_deserialize(**kwargs)
|
|
189
|
+
|
|
190
|
+
async def DescribeAgentSessionList(
|
|
191
|
+
self,
|
|
192
|
+
request: models.DescribeAgentSessionListRequest,
|
|
193
|
+
opts: Dict = None,
|
|
194
|
+
) -> models.DescribeAgentSessionListResponse:
|
|
195
|
+
"""
|
|
196
|
+
分页查询企业下所有会话(跨 Agent):支持按 SessionId / Status / AgentId / UserId 过滤,按创建 / 更新时间排序,返回会话摘要列表。
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
kwargs = {}
|
|
200
|
+
kwargs["action"] = "DescribeAgentSessionList"
|
|
201
|
+
kwargs["params"] = request._serialize()
|
|
202
|
+
kwargs["resp_cls"] = models.DescribeAgentSessionListResponse
|
|
203
|
+
kwargs["headers"] = request.headers
|
|
204
|
+
kwargs["opts"] = opts or {}
|
|
205
|
+
|
|
206
|
+
return await self.call_and_deserialize(**kwargs)
|
|
207
|
+
|
|
208
|
+
async def DescribeAgentVersion(
|
|
209
|
+
self,
|
|
210
|
+
request: models.DescribeAgentVersionRequest,
|
|
211
|
+
opts: Dict = None,
|
|
212
|
+
) -> models.DescribeAgentVersionResponse:
|
|
213
|
+
"""
|
|
214
|
+
查询单个版本的详细信息,包括 Manifest、Model、状态等。
|
|
215
|
+
"""
|
|
216
|
+
|
|
217
|
+
kwargs = {}
|
|
218
|
+
kwargs["action"] = "DescribeAgentVersion"
|
|
219
|
+
kwargs["params"] = request._serialize()
|
|
220
|
+
kwargs["resp_cls"] = models.DescribeAgentVersionResponse
|
|
221
|
+
kwargs["headers"] = request.headers
|
|
222
|
+
kwargs["opts"] = opts or {}
|
|
223
|
+
|
|
224
|
+
return await self.call_and_deserialize(**kwargs)
|
|
225
|
+
|
|
226
|
+
async def DescribeAgentVersionList(
|
|
227
|
+
self,
|
|
228
|
+
request: models.DescribeAgentVersionListRequest,
|
|
229
|
+
opts: Dict = None,
|
|
230
|
+
) -> models.DescribeAgentVersionListResponse:
|
|
231
|
+
"""
|
|
232
|
+
查询指定 Agent 下的版本列表,支持分页和版本类型过滤。
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
kwargs = {}
|
|
236
|
+
kwargs["action"] = "DescribeAgentVersionList"
|
|
237
|
+
kwargs["params"] = request._serialize()
|
|
238
|
+
kwargs["resp_cls"] = models.DescribeAgentVersionListResponse
|
|
239
|
+
kwargs["headers"] = request.headers
|
|
240
|
+
kwargs["opts"] = opts or {}
|
|
241
|
+
|
|
242
|
+
return await self.call_and_deserialize(**kwargs)
|
|
243
|
+
|
|
244
|
+
async def DescribeBuiltinModelList(
|
|
245
|
+
self,
|
|
246
|
+
request: models.DescribeBuiltinModelListRequest,
|
|
247
|
+
opts: Dict = None,
|
|
248
|
+
) -> models.DescribeBuiltinModelListResponse:
|
|
249
|
+
"""
|
|
250
|
+
查询当前企业的内置模型列表,支持分页与过滤。内置模型由平台预置,企业可按需启用/停用。过滤字段支持:ModelId(模型ID,模糊)、Name(模型名称,模糊)、Vendor(供应商,模糊)、Status(状态,精确:enabled/disabled)。
|
|
251
|
+
"""
|
|
252
|
+
|
|
253
|
+
kwargs = {}
|
|
254
|
+
kwargs["action"] = "DescribeBuiltinModelList"
|
|
255
|
+
kwargs["params"] = request._serialize()
|
|
256
|
+
kwargs["resp_cls"] = models.DescribeBuiltinModelListResponse
|
|
257
|
+
kwargs["headers"] = request.headers
|
|
258
|
+
kwargs["opts"] = opts or {}
|
|
259
|
+
|
|
260
|
+
return await self.call_and_deserialize(**kwargs)
|
|
261
|
+
|
|
262
|
+
async def DescribeConnectorList(
|
|
263
|
+
self,
|
|
264
|
+
request: models.DescribeConnectorListRequest,
|
|
265
|
+
opts: Dict = None,
|
|
266
|
+
) -> models.DescribeConnectorListResponse:
|
|
267
|
+
"""
|
|
268
|
+
查询指定企业下的连接器列表(PageNumber/PageSize 分页,支持名称模糊与状态、来源过滤)。
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
kwargs = {}
|
|
272
|
+
kwargs["action"] = "DescribeConnectorList"
|
|
273
|
+
kwargs["params"] = request._serialize()
|
|
274
|
+
kwargs["resp_cls"] = models.DescribeConnectorListResponse
|
|
275
|
+
kwargs["headers"] = request.headers
|
|
276
|
+
kwargs["opts"] = opts or {}
|
|
277
|
+
|
|
278
|
+
return await self.call_and_deserialize(**kwargs)
|
|
279
|
+
|
|
280
|
+
async def DescribeExpertList(
|
|
281
|
+
self,
|
|
282
|
+
request: models.DescribeExpertListRequest,
|
|
283
|
+
opts: Dict = None,
|
|
284
|
+
) -> models.DescribeExpertListResponse:
|
|
285
|
+
"""
|
|
286
|
+
分页查询 Expert 列表,支持关键词、分类、发布状态过滤。
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
kwargs = {}
|
|
290
|
+
kwargs["action"] = "DescribeExpertList"
|
|
291
|
+
kwargs["params"] = request._serialize()
|
|
292
|
+
kwargs["resp_cls"] = models.DescribeExpertListResponse
|
|
293
|
+
kwargs["headers"] = request.headers
|
|
294
|
+
kwargs["opts"] = opts or {}
|
|
295
|
+
|
|
296
|
+
return await self.call_and_deserialize(**kwargs)
|
|
297
|
+
|
|
298
|
+
async def DescribeExternalAgent(
|
|
299
|
+
self,
|
|
300
|
+
request: models.DescribeExternalAgentRequest,
|
|
301
|
+
opts: Dict = None,
|
|
302
|
+
) -> models.DescribeExternalAgentResponse:
|
|
303
|
+
"""
|
|
304
|
+
查询某 managed agent 绑定的单个外部 agent 详情
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
kwargs = {}
|
|
308
|
+
kwargs["action"] = "DescribeExternalAgent"
|
|
309
|
+
kwargs["params"] = request._serialize()
|
|
310
|
+
kwargs["resp_cls"] = models.DescribeExternalAgentResponse
|
|
311
|
+
kwargs["headers"] = request.headers
|
|
312
|
+
kwargs["opts"] = opts or {}
|
|
313
|
+
|
|
314
|
+
return await self.call_and_deserialize(**kwargs)
|
|
315
|
+
|
|
316
|
+
async def DescribeExternalAgentList(
|
|
317
|
+
self,
|
|
318
|
+
request: models.DescribeExternalAgentListRequest,
|
|
319
|
+
opts: Dict = None,
|
|
320
|
+
) -> models.DescribeExternalAgentListResponse:
|
|
321
|
+
"""
|
|
322
|
+
列某 managed agent 绑定的外部 agent 列表
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
kwargs = {}
|
|
326
|
+
kwargs["action"] = "DescribeExternalAgentList"
|
|
327
|
+
kwargs["params"] = request._serialize()
|
|
328
|
+
kwargs["resp_cls"] = models.DescribeExternalAgentListResponse
|
|
329
|
+
kwargs["headers"] = request.headers
|
|
330
|
+
kwargs["opts"] = opts or {}
|
|
331
|
+
|
|
332
|
+
return await self.call_and_deserialize(**kwargs)
|
|
333
|
+
|
|
334
|
+
async def DescribeMessageEventList(
|
|
335
|
+
self,
|
|
336
|
+
request: models.DescribeMessageEventListRequest,
|
|
337
|
+
opts: Dict = None,
|
|
338
|
+
) -> models.DescribeMessageEventListResponse:
|
|
339
|
+
"""
|
|
340
|
+
按 Session 分页查询消息事件
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
kwargs = {}
|
|
344
|
+
kwargs["action"] = "DescribeMessageEventList"
|
|
345
|
+
kwargs["params"] = request._serialize()
|
|
346
|
+
kwargs["resp_cls"] = models.DescribeMessageEventListResponse
|
|
347
|
+
kwargs["headers"] = request.headers
|
|
348
|
+
kwargs["opts"] = opts or {}
|
|
349
|
+
|
|
350
|
+
return await self.call_and_deserialize(**kwargs)
|
|
351
|
+
|
|
352
|
+
async def DescribeSkillList(
|
|
353
|
+
self,
|
|
354
|
+
request: models.DescribeSkillListRequest,
|
|
355
|
+
opts: Dict = None,
|
|
356
|
+
) -> models.DescribeSkillListResponse:
|
|
357
|
+
"""
|
|
358
|
+
分页查询 Skill 列表,支持关键词、分类、发布状态过滤。
|
|
359
|
+
"""
|
|
360
|
+
|
|
361
|
+
kwargs = {}
|
|
362
|
+
kwargs["action"] = "DescribeSkillList"
|
|
363
|
+
kwargs["params"] = request._serialize()
|
|
364
|
+
kwargs["resp_cls"] = models.DescribeSkillListResponse
|
|
365
|
+
kwargs["headers"] = request.headers
|
|
366
|
+
kwargs["opts"] = opts or {}
|
|
367
|
+
|
|
368
|
+
return await self.call_and_deserialize(**kwargs)
|
|
369
|
+
|
|
370
|
+
async def MigrateAgentSession(
|
|
371
|
+
self,
|
|
372
|
+
request: models.MigrateAgentSessionRequest,
|
|
373
|
+
opts: Dict = None,
|
|
374
|
+
) -> models.MigrateAgentSessionResponse:
|
|
375
|
+
"""
|
|
376
|
+
将指定会话迁移到目标版本。SessionID / RuntimeID 保持不变,通过 AgentOS UpdateSession 在原沙箱上更新 manifest 到新版本;AgentId 必须与原 Session 一致(禁止跨 Agent 迁移);ChatToken 复用旧值不轮转。
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
kwargs = {}
|
|
380
|
+
kwargs["action"] = "MigrateAgentSession"
|
|
381
|
+
kwargs["params"] = request._serialize()
|
|
382
|
+
kwargs["resp_cls"] = models.MigrateAgentSessionResponse
|
|
383
|
+
kwargs["headers"] = request.headers
|
|
384
|
+
kwargs["opts"] = opts or {}
|
|
385
|
+
|
|
386
|
+
return await self.call_and_deserialize(**kwargs)
|
|
387
|
+
|
|
388
|
+
async def ModifyAgent(
|
|
389
|
+
self,
|
|
390
|
+
request: models.ModifyAgentRequest,
|
|
391
|
+
opts: Dict = None,
|
|
392
|
+
) -> models.ModifyAgentResponse:
|
|
393
|
+
"""
|
|
394
|
+
修改 Agent 基础信息(名称、描述、头像)。AgentName / Description / AvatarUrl 均为可选,仅传递需要更新的字段。
|
|
395
|
+
"""
|
|
396
|
+
|
|
397
|
+
kwargs = {}
|
|
398
|
+
kwargs["action"] = "ModifyAgent"
|
|
399
|
+
kwargs["params"] = request._serialize()
|
|
400
|
+
kwargs["resp_cls"] = models.ModifyAgentResponse
|
|
401
|
+
kwargs["headers"] = request.headers
|
|
402
|
+
kwargs["opts"] = opts or {}
|
|
403
|
+
|
|
404
|
+
return await self.call_and_deserialize(**kwargs)
|
|
405
|
+
|
|
406
|
+
async def ModifyAgentA2AConfig(
|
|
407
|
+
self,
|
|
408
|
+
request: models.ModifyAgentA2AConfigRequest,
|
|
409
|
+
opts: Dict = None,
|
|
410
|
+
) -> models.ModifyAgentA2AConfigResponse:
|
|
411
|
+
"""
|
|
412
|
+
修改 Agent 的 A2A 配置。A2AEnabled 是 Agent 级唯一开关,与具体版本和流量分发策略无关。
|
|
413
|
+
"""
|
|
414
|
+
|
|
415
|
+
kwargs = {}
|
|
416
|
+
kwargs["action"] = "ModifyAgentA2AConfig"
|
|
417
|
+
kwargs["params"] = request._serialize()
|
|
418
|
+
kwargs["resp_cls"] = models.ModifyAgentA2AConfigResponse
|
|
419
|
+
kwargs["headers"] = request.headers
|
|
420
|
+
kwargs["opts"] = opts or {}
|
|
421
|
+
|
|
422
|
+
return await self.call_and_deserialize(**kwargs)
|
|
423
|
+
|
|
424
|
+
async def ModifyAgentRouting(
|
|
425
|
+
self,
|
|
426
|
+
request: models.ModifyAgentRoutingRequest,
|
|
427
|
+
opts: Dict = None,
|
|
428
|
+
) -> models.ModifyAgentRoutingResponse:
|
|
429
|
+
"""
|
|
430
|
+
覆盖式写入 Agent 路由配置(版本权重)。所有 VersionId 必须属于同一 Agent 且未弃用;允许空数组(下线 Agent 对外流量);非空时权重总和须等于 1。
|
|
431
|
+
"""
|
|
432
|
+
|
|
433
|
+
kwargs = {}
|
|
434
|
+
kwargs["action"] = "ModifyAgentRouting"
|
|
435
|
+
kwargs["params"] = request._serialize()
|
|
436
|
+
kwargs["resp_cls"] = models.ModifyAgentRoutingResponse
|
|
437
|
+
kwargs["headers"] = request.headers
|
|
438
|
+
kwargs["opts"] = opts or {}
|
|
439
|
+
|
|
440
|
+
return await self.call_and_deserialize(**kwargs)
|
|
441
|
+
|
|
442
|
+
async def ModifyAgentVersion(
|
|
443
|
+
self,
|
|
444
|
+
request: models.ModifyAgentVersionRequest,
|
|
445
|
+
opts: Dict = None,
|
|
446
|
+
) -> models.ModifyAgentVersionResponse:
|
|
447
|
+
"""
|
|
448
|
+
原地更新 default 或 test 版本的 Manifest / Model / Description / SandboxTemplateId / ConnectorSet(prod 版本冻结不可修改),五个可选字段至少提供一个。ConnectorSet 为全量覆盖语义:缺省表示不改动连接器绑定;空数组表示解绑全部连接器。
|
|
449
|
+
"""
|
|
450
|
+
|
|
451
|
+
kwargs = {}
|
|
452
|
+
kwargs["action"] = "ModifyAgentVersion"
|
|
453
|
+
kwargs["params"] = request._serialize()
|
|
454
|
+
kwargs["resp_cls"] = models.ModifyAgentVersionResponse
|
|
455
|
+
kwargs["headers"] = request.headers
|
|
456
|
+
kwargs["opts"] = opts or {}
|
|
457
|
+
|
|
458
|
+
return await self.call_and_deserialize(**kwargs)
|
|
459
|
+
|
|
460
|
+
async def UnbindExternalAgent(
|
|
461
|
+
self,
|
|
462
|
+
request: models.UnbindExternalAgentRequest,
|
|
463
|
+
opts: Dict = None,
|
|
464
|
+
) -> models.UnbindExternalAgentResponse:
|
|
465
|
+
"""
|
|
466
|
+
解除外部 agent 与 managed agent 的绑定
|
|
467
|
+
"""
|
|
468
|
+
|
|
469
|
+
kwargs = {}
|
|
470
|
+
kwargs["action"] = "UnbindExternalAgent"
|
|
471
|
+
kwargs["params"] = request._serialize()
|
|
472
|
+
kwargs["resp_cls"] = models.UnbindExternalAgentResponse
|
|
473
|
+
kwargs["headers"] = request.headers
|
|
474
|
+
kwargs["opts"] = opts or {}
|
|
475
|
+
|
|
476
|
+
return await self.call_and_deserialize(**kwargs)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-workbuddyenterprise
|
|
3
|
+
Version: 3.1.180
|
|
4
|
+
Summary: Tencent Cloud Workbuddyenterprise SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.180
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Workbuddyenterprise SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-workbuddyenterprise
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common workbuddyenterprise
|
|
46
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=9nyqCCiyTk9ffH-dKS_OQDlGHExbdIH5Cm9eEdcK2sY,630
|
|
2
|
+
tencentcloud/workbuddyenterprise/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/workbuddyenterprise/v20260709/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/workbuddyenterprise/v20260709/errorcodes.py,sha256=VCzyxqKt-Z-QgSJSVDnD-Lw0199ssDgwNdGJzZi-K5I,8666
|
|
5
|
+
tencentcloud/workbuddyenterprise/v20260709/models.py,sha256=PfyHze-N2Q9WTKoIY6icRlycZCmjp-3zePqAgjeVnVg,244743
|
|
6
|
+
tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client.py,sha256=ZJUc2UWnpcx2-2_UWz7izvbUdan1kvnAPBLjHvz6Ya0,26397
|
|
7
|
+
tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client_async.py,sha256=N6i77sFApP5FGDP2Sb2irs7b2ygfZ_ICyYi2OMod_Es,17987
|
|
8
|
+
tencentcloud_sdk_python_workbuddyenterprise-3.1.180.dist-info/METADATA,sha256=VaJH31KNKgKpG1U53-eZeSIqGORfgJnu4S4BSgHOwGU,1577
|
|
9
|
+
tencentcloud_sdk_python_workbuddyenterprise-3.1.180.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_workbuddyenterprise-3.1.180.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_workbuddyenterprise-3.1.180.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud
|