tencentcloud-sdk-python-adp 3.1.173__tar.gz → 3.1.174__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/setup.py +1 -1
  3. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/tencentcloud/adp/v20260520/adp_client.py +1 -1
  5. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/tencentcloud/adp/v20260520/adp_client_async.py +1 -1
  6. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/tencentcloud/adp/v20260520/models.py +397 -73
  7. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/tencentcloud_sdk_python_adp.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_adp-3.1.174/tencentcloud_sdk_python_adp.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_adp-3.1.173/tencentcloud_sdk_python_adp.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/README.rst +0 -0
  11. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/tencentcloud/adp/__init__.py +0 -0
  13. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/tencentcloud/adp/v20260520/__init__.py +0 -0
  14. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/tencentcloud/adp/v20260520/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/tencentcloud_sdk_python_adp.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/tencentcloud_sdk_python_adp.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_adp-3.1.173 → tencentcloud_sdk_python_adp-3.1.174}/tencentcloud_sdk_python_adp.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-adp
3
- Version: 3.1.173
3
+ Version: 3.1.174
4
4
  Summary: Tencent Cloud Adp 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.173
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.174
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-adp',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.173,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.174,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Adp SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.173'
17
+ __version__ = '3.1.174'
@@ -73,7 +73,7 @@ class AdpClient(AbstractClient):
73
73
 
74
74
 
75
75
  def CreateAgent(self, request):
76
- r"""创建Agent
76
+ r"""创建Agent(目前仅支持claw模式)
77
77
 
78
78
  :param request: Request instance for CreateAgent.
79
79
  :type request: :class:`tencentcloud.adp.v20260520.models.CreateAgentRequest`
@@ -67,7 +67,7 @@ class AdpClient(AbstractClient):
67
67
  opts: Dict = None,
68
68
  ) -> models.CreateAgentResponse:
69
69
  """
70
- 创建Agent
70
+ 创建Agent(目前仅支持claw模式)
71
71
  """
72
72
 
73
73
  kwargs = {}
@@ -162,6 +162,198 @@ class AIOptimizeModel(AbstractModel):
162
162
 
163
163
 
164
164
 
165
+ class AccessKeyAuthConfig(AbstractModel):
166
+ r"""AccessKey鉴权配置
167
+
168
+ """
169
+
170
+ def __init__(self):
171
+ r"""
172
+ :param _ParamList: <p>Access Key字段配置</p>
173
+ :type ParamList: list of AccessKeyParamConfig
174
+ :param _PassThroughConfig: <p>Access Key透传配置</p>
175
+ 注意:此字段可能返回 null,表示取不到有效值。
176
+ :type PassThroughConfig: :class:`tencentcloud.adp.v20260520.models.AccessKeyPassThroughConfig`
177
+ :param _UsageMode: <p>Access Key 使用模式</p><p>枚举值:</p><ul><li>1: Access Key透传</li></ul>
178
+ :type UsageMode: int
179
+ """
180
+ self._ParamList = None
181
+ self._PassThroughConfig = None
182
+ self._UsageMode = None
183
+
184
+ @property
185
+ def ParamList(self):
186
+ r"""<p>Access Key字段配置</p>
187
+ :rtype: list of AccessKeyParamConfig
188
+ """
189
+ return self._ParamList
190
+
191
+ @ParamList.setter
192
+ def ParamList(self, ParamList):
193
+ self._ParamList = ParamList
194
+
195
+ @property
196
+ def PassThroughConfig(self):
197
+ r"""<p>Access Key透传配置</p>
198
+ 注意:此字段可能返回 null,表示取不到有效值。
199
+ :rtype: :class:`tencentcloud.adp.v20260520.models.AccessKeyPassThroughConfig`
200
+ """
201
+ return self._PassThroughConfig
202
+
203
+ @PassThroughConfig.setter
204
+ def PassThroughConfig(self, PassThroughConfig):
205
+ self._PassThroughConfig = PassThroughConfig
206
+
207
+ @property
208
+ def UsageMode(self):
209
+ r"""<p>Access Key 使用模式</p><p>枚举值:</p><ul><li>1: Access Key透传</li></ul>
210
+ :rtype: int
211
+ """
212
+ return self._UsageMode
213
+
214
+ @UsageMode.setter
215
+ def UsageMode(self, UsageMode):
216
+ self._UsageMode = UsageMode
217
+
218
+
219
+ def _deserialize(self, params):
220
+ if params.get("ParamList") is not None:
221
+ self._ParamList = []
222
+ for item in params.get("ParamList"):
223
+ obj = AccessKeyParamConfig()
224
+ obj._deserialize(item)
225
+ self._ParamList.append(obj)
226
+ if params.get("PassThroughConfig") is not None:
227
+ self._PassThroughConfig = AccessKeyPassThroughConfig()
228
+ self._PassThroughConfig._deserialize(params.get("PassThroughConfig"))
229
+ self._UsageMode = params.get("UsageMode")
230
+ memeber_set = set(params.keys())
231
+ for name, value in vars(self).items():
232
+ property_name = name[1:]
233
+ if property_name in memeber_set:
234
+ memeber_set.remove(property_name)
235
+ if len(memeber_set) > 0:
236
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
237
+
238
+
239
+
240
+ class AccessKeyParamConfig(AbstractModel):
241
+ r"""Access Key 字段配置
242
+
243
+ """
244
+
245
+ def __init__(self):
246
+ r"""
247
+ :param _FieldType: <p>Access Key 字段类型,1:AccessKeyId,2:AccessKeySecret,3:SessionToken</p>
248
+ :type FieldType: int
249
+ :param _IsRequired: <p>是否必填</p>
250
+ :type IsRequired: bool
251
+ :param _ParamName: <p>header/query 字段名</p>
252
+ :type ParamName: str
253
+ :param _ParamValue: <p>AccessKey密钥默认值,允许为空</p>
254
+ :type ParamValue: str
255
+ """
256
+ self._FieldType = None
257
+ self._IsRequired = None
258
+ self._ParamName = None
259
+ self._ParamValue = None
260
+
261
+ @property
262
+ def FieldType(self):
263
+ r"""<p>Access Key 字段类型,1:AccessKeyId,2:AccessKeySecret,3:SessionToken</p>
264
+ :rtype: int
265
+ """
266
+ return self._FieldType
267
+
268
+ @FieldType.setter
269
+ def FieldType(self, FieldType):
270
+ self._FieldType = FieldType
271
+
272
+ @property
273
+ def IsRequired(self):
274
+ r"""<p>是否必填</p>
275
+ :rtype: bool
276
+ """
277
+ return self._IsRequired
278
+
279
+ @IsRequired.setter
280
+ def IsRequired(self, IsRequired):
281
+ self._IsRequired = IsRequired
282
+
283
+ @property
284
+ def ParamName(self):
285
+ r"""<p>header/query 字段名</p>
286
+ :rtype: str
287
+ """
288
+ return self._ParamName
289
+
290
+ @ParamName.setter
291
+ def ParamName(self, ParamName):
292
+ self._ParamName = ParamName
293
+
294
+ @property
295
+ def ParamValue(self):
296
+ r"""<p>AccessKey密钥默认值,允许为空</p>
297
+ :rtype: str
298
+ """
299
+ return self._ParamValue
300
+
301
+ @ParamValue.setter
302
+ def ParamValue(self, ParamValue):
303
+ self._ParamValue = ParamValue
304
+
305
+
306
+ def _deserialize(self, params):
307
+ self._FieldType = params.get("FieldType")
308
+ self._IsRequired = params.get("IsRequired")
309
+ self._ParamName = params.get("ParamName")
310
+ self._ParamValue = params.get("ParamValue")
311
+ memeber_set = set(params.keys())
312
+ for name, value in vars(self).items():
313
+ property_name = name[1:]
314
+ if property_name in memeber_set:
315
+ memeber_set.remove(property_name)
316
+ if len(memeber_set) > 0:
317
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
318
+
319
+
320
+
321
+ class AccessKeyPassThroughConfig(AbstractModel):
322
+ r"""Access Key 透传配置
323
+
324
+ """
325
+
326
+ def __init__(self):
327
+ r"""
328
+ :param _KeyLocation: <p>Access Key 字段统一注入位置,0:Header,1:Query</p>
329
+ :type KeyLocation: int
330
+ """
331
+ self._KeyLocation = None
332
+
333
+ @property
334
+ def KeyLocation(self):
335
+ r"""<p>Access Key 字段统一注入位置,0:Header,1:Query</p>
336
+ :rtype: int
337
+ """
338
+ return self._KeyLocation
339
+
340
+ @KeyLocation.setter
341
+ def KeyLocation(self, KeyLocation):
342
+ self._KeyLocation = KeyLocation
343
+
344
+
345
+ def _deserialize(self, params):
346
+ self._KeyLocation = params.get("KeyLocation")
347
+ memeber_set = set(params.keys())
348
+ for name, value in vars(self).items():
349
+ property_name = name[1:]
350
+ if property_name in memeber_set:
351
+ memeber_set.remove(property_name)
352
+ if len(memeber_set) > 0:
353
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
354
+
355
+
356
+
165
357
  class AccountInfo(AbstractModel):
166
358
  r"""员工信息
167
359
 
@@ -7014,20 +7206,23 @@ class AuthConfig(AbstractModel):
7014
7206
  r"""
7015
7207
  :param _AuthType: <p>授权方式。</p><p>枚举值:</p><ul><li>0:无鉴权</li><li>1:API Key 鉴权</li><li>2:CAM 授权</li><li>3:OAuth 2.0 授权</li></ul>
7016
7208
  :type AuthType: int
7017
- :param _ApiKeyAuthConfig: API Key授权配置
7209
+ :param _ApiKeyAuthConfig: <p>API Key授权配置</p>
7018
7210
  注意:此字段可能返回 null,表示取不到有效值。
7019
7211
  :type ApiKeyAuthConfig: :class:`tencentcloud.adp.v20260520.models.ApiKeyAuthConfig`
7020
- :param _CamAuthConfig: CAM授权配置
7212
+ :param _CamAuthConfig: <p>CAM授权配置</p>
7021
7213
  注意:此字段可能返回 null,表示取不到有效值。
7022
7214
  :type CamAuthConfig: :class:`tencentcloud.adp.v20260520.models.CamAuthConfig`
7023
- :param _OAuthConfig: OAuth2.0授权配置
7215
+ :param _OAuthConfig: <p>OAuth2.0授权配置</p>
7024
7216
  注意:此字段可能返回 null,表示取不到有效值。
7025
7217
  :type OAuthConfig: :class:`tencentcloud.adp.v20260520.models.OAuthConfig`
7218
+ :param _AccessKeyAuthConfig: <p>AccessKey授权配置</p>
7219
+ :type AccessKeyAuthConfig: :class:`tencentcloud.adp.v20260520.models.AccessKeyAuthConfig`
7026
7220
  """
7027
7221
  self._AuthType = None
7028
7222
  self._ApiKeyAuthConfig = None
7029
7223
  self._CamAuthConfig = None
7030
7224
  self._OAuthConfig = None
7225
+ self._AccessKeyAuthConfig = None
7031
7226
 
7032
7227
  @property
7033
7228
  def AuthType(self):
@@ -7042,7 +7237,7 @@ class AuthConfig(AbstractModel):
7042
7237
 
7043
7238
  @property
7044
7239
  def ApiKeyAuthConfig(self):
7045
- r"""API Key授权配置
7240
+ r"""<p>API Key授权配置</p>
7046
7241
  注意:此字段可能返回 null,表示取不到有效值。
7047
7242
  :rtype: :class:`tencentcloud.adp.v20260520.models.ApiKeyAuthConfig`
7048
7243
  """
@@ -7054,7 +7249,7 @@ class AuthConfig(AbstractModel):
7054
7249
 
7055
7250
  @property
7056
7251
  def CamAuthConfig(self):
7057
- r"""CAM授权配置
7252
+ r"""<p>CAM授权配置</p>
7058
7253
  注意:此字段可能返回 null,表示取不到有效值。
7059
7254
  :rtype: :class:`tencentcloud.adp.v20260520.models.CamAuthConfig`
7060
7255
  """
@@ -7066,7 +7261,7 @@ class AuthConfig(AbstractModel):
7066
7261
 
7067
7262
  @property
7068
7263
  def OAuthConfig(self):
7069
- r"""OAuth2.0授权配置
7264
+ r"""<p>OAuth2.0授权配置</p>
7070
7265
  注意:此字段可能返回 null,表示取不到有效值。
7071
7266
  :rtype: :class:`tencentcloud.adp.v20260520.models.OAuthConfig`
7072
7267
  """
@@ -7076,6 +7271,17 @@ class AuthConfig(AbstractModel):
7076
7271
  def OAuthConfig(self, OAuthConfig):
7077
7272
  self._OAuthConfig = OAuthConfig
7078
7273
 
7274
+ @property
7275
+ def AccessKeyAuthConfig(self):
7276
+ r"""<p>AccessKey授权配置</p>
7277
+ :rtype: :class:`tencentcloud.adp.v20260520.models.AccessKeyAuthConfig`
7278
+ """
7279
+ return self._AccessKeyAuthConfig
7280
+
7281
+ @AccessKeyAuthConfig.setter
7282
+ def AccessKeyAuthConfig(self, AccessKeyAuthConfig):
7283
+ self._AccessKeyAuthConfig = AccessKeyAuthConfig
7284
+
7079
7285
 
7080
7286
  def _deserialize(self, params):
7081
7287
  self._AuthType = params.get("AuthType")
@@ -7088,6 +7294,9 @@ class AuthConfig(AbstractModel):
7088
7294
  if params.get("OAuthConfig") is not None:
7089
7295
  self._OAuthConfig = OAuthConfig()
7090
7296
  self._OAuthConfig._deserialize(params.get("OAuthConfig"))
7297
+ if params.get("AccessKeyAuthConfig") is not None:
7298
+ self._AccessKeyAuthConfig = AccessKeyAuthConfig()
7299
+ self._AccessKeyAuthConfig._deserialize(params.get("AccessKeyAuthConfig"))
7091
7300
  memeber_set = set(params.keys())
7092
7301
  for name, value in vars(self).items():
7093
7302
  property_name = name[1:]
@@ -7450,29 +7659,29 @@ class CamAuthConfig(AbstractModel):
7450
7659
 
7451
7660
  def __init__(self):
7452
7661
  r"""
7453
- :param _RoleName: 角色名称
7662
+ :param _RoleName: <p>角色名称</p>
7454
7663
  :type RoleName: str
7455
- :param _KeyLocation: 密钥位置 HEADER/QUERY
7456
-
7457
- 枚举值:
7458
- | uint | 描述 |
7459
- | --- | --- |
7460
- | 0 | 头鉴权 |
7461
- | 1 | 请求信息鉴权 |
7664
+ :param _KeyLocation: <p>密钥位置 HEADER/QUERY</p><p>枚举值:<br>| uint | 描述 |<br>| --- | --- |<br>| 0 | 头鉴权 |<br>| 1 | 请求信息鉴权 |</p>
7462
7665
  :type KeyLocation: int
7463
- :param _SecretIdName: SecretId字段名称
7666
+ :param _SecretIdName: <p>SecretId字段名称</p>
7464
7667
  :type SecretIdName: str
7465
- :param _SecretKeyName: SecretKey字段名称
7668
+ :param _SecretKeyName: <p>SecretKey字段名称</p>
7466
7669
  :type SecretKeyName: str
7670
+ :param _ParamList: <p>CAM Access Key 字段配置</p>
7671
+ :type ParamList: list of AccessKeyParamConfig
7672
+ :param _SupportRoleAuth: <p>是否支持CAM角色授权</p>
7673
+ :type SupportRoleAuth: bool
7467
7674
  """
7468
7675
  self._RoleName = None
7469
7676
  self._KeyLocation = None
7470
7677
  self._SecretIdName = None
7471
7678
  self._SecretKeyName = None
7679
+ self._ParamList = None
7680
+ self._SupportRoleAuth = None
7472
7681
 
7473
7682
  @property
7474
7683
  def RoleName(self):
7475
- r"""角色名称
7684
+ r"""<p>角色名称</p>
7476
7685
  :rtype: str
7477
7686
  """
7478
7687
  return self._RoleName
@@ -7483,13 +7692,7 @@ class CamAuthConfig(AbstractModel):
7483
7692
 
7484
7693
  @property
7485
7694
  def KeyLocation(self):
7486
- r"""密钥位置 HEADER/QUERY
7487
-
7488
- 枚举值:
7489
- | uint | 描述 |
7490
- | --- | --- |
7491
- | 0 | 头鉴权 |
7492
- | 1 | 请求信息鉴权 |
7695
+ r"""<p>密钥位置 HEADER/QUERY</p><p>枚举值:<br>| uint | 描述 |<br>| --- | --- |<br>| 0 | 头鉴权 |<br>| 1 | 请求信息鉴权 |</p>
7493
7696
  :rtype: int
7494
7697
  """
7495
7698
  return self._KeyLocation
@@ -7500,7 +7703,7 @@ class CamAuthConfig(AbstractModel):
7500
7703
 
7501
7704
  @property
7502
7705
  def SecretIdName(self):
7503
- r"""SecretId字段名称
7706
+ r"""<p>SecretId字段名称</p>
7504
7707
  :rtype: str
7505
7708
  """
7506
7709
  return self._SecretIdName
@@ -7511,7 +7714,7 @@ class CamAuthConfig(AbstractModel):
7511
7714
 
7512
7715
  @property
7513
7716
  def SecretKeyName(self):
7514
- r"""SecretKey字段名称
7717
+ r"""<p>SecretKey字段名称</p>
7515
7718
  :rtype: str
7516
7719
  """
7517
7720
  return self._SecretKeyName
@@ -7520,12 +7723,41 @@ class CamAuthConfig(AbstractModel):
7520
7723
  def SecretKeyName(self, SecretKeyName):
7521
7724
  self._SecretKeyName = SecretKeyName
7522
7725
 
7726
+ @property
7727
+ def ParamList(self):
7728
+ r"""<p>CAM Access Key 字段配置</p>
7729
+ :rtype: list of AccessKeyParamConfig
7730
+ """
7731
+ return self._ParamList
7732
+
7733
+ @ParamList.setter
7734
+ def ParamList(self, ParamList):
7735
+ self._ParamList = ParamList
7736
+
7737
+ @property
7738
+ def SupportRoleAuth(self):
7739
+ r"""<p>是否支持CAM角色授权</p>
7740
+ :rtype: bool
7741
+ """
7742
+ return self._SupportRoleAuth
7743
+
7744
+ @SupportRoleAuth.setter
7745
+ def SupportRoleAuth(self, SupportRoleAuth):
7746
+ self._SupportRoleAuth = SupportRoleAuth
7747
+
7523
7748
 
7524
7749
  def _deserialize(self, params):
7525
7750
  self._RoleName = params.get("RoleName")
7526
7751
  self._KeyLocation = params.get("KeyLocation")
7527
7752
  self._SecretIdName = params.get("SecretIdName")
7528
7753
  self._SecretKeyName = params.get("SecretKeyName")
7754
+ if params.get("ParamList") is not None:
7755
+ self._ParamList = []
7756
+ for item in params.get("ParamList"):
7757
+ obj = AccessKeyParamConfig()
7758
+ obj._deserialize(item)
7759
+ self._ParamList.append(obj)
7760
+ self._SupportRoleAuth = params.get("SupportRoleAuth")
7529
7761
  memeber_set = set(params.keys())
7530
7762
  for name, value in vars(self).items():
7531
7763
  property_name = name[1:]
@@ -12018,11 +12250,14 @@ class CreateSkillShareRequest(AbstractModel):
12018
12250
  :type SpaceId: str
12019
12251
  :param _VersionId: <p>必填,被共享的版本id(必须高于已共享版本)</p>
12020
12252
  :type VersionId: str
12253
+ :param _CorpShareConfig: <p>共享配置</p>
12254
+ :type CorpShareConfig: :class:`tencentcloud.adp.v20260520.models.SkillCorpShareConfig`
12021
12255
  """
12022
12256
  self._ApplyRemark = None
12023
12257
  self._SkillId = None
12024
12258
  self._SpaceId = None
12025
12259
  self._VersionId = None
12260
+ self._CorpShareConfig = None
12026
12261
 
12027
12262
  @property
12028
12263
  def ApplyRemark(self):
@@ -12068,12 +12303,26 @@ class CreateSkillShareRequest(AbstractModel):
12068
12303
  def VersionId(self, VersionId):
12069
12304
  self._VersionId = VersionId
12070
12305
 
12306
+ @property
12307
+ def CorpShareConfig(self):
12308
+ r"""<p>共享配置</p>
12309
+ :rtype: :class:`tencentcloud.adp.v20260520.models.SkillCorpShareConfig`
12310
+ """
12311
+ return self._CorpShareConfig
12312
+
12313
+ @CorpShareConfig.setter
12314
+ def CorpShareConfig(self, CorpShareConfig):
12315
+ self._CorpShareConfig = CorpShareConfig
12316
+
12071
12317
 
12072
12318
  def _deserialize(self, params):
12073
12319
  self._ApplyRemark = params.get("ApplyRemark")
12074
12320
  self._SkillId = params.get("SkillId")
12075
12321
  self._SpaceId = params.get("SpaceId")
12076
12322
  self._VersionId = params.get("VersionId")
12323
+ if params.get("CorpShareConfig") is not None:
12324
+ self._CorpShareConfig = SkillCorpShareConfig()
12325
+ self._CorpShareConfig._deserialize(params.get("CorpShareConfig"))
12077
12326
  memeber_set = set(params.keys())
12078
12327
  for name, value in vars(self).items():
12079
12328
  property_name = name[1:]
@@ -17896,22 +18145,24 @@ class DescribePluginSummaryListRequest(AbstractModel):
17896
18145
 
17897
18146
  def __init__(self):
17898
18147
  r"""
17899
- :param _SpaceId: 空间ID,查询空间内的插件列表时使用
18148
+ :param _SpaceId: <p>空间ID,查询空间内的插件列表时使用</p>
17900
18149
  :type SpaceId: str
17901
- :param _FilterList: 过滤条件列表 支持:PluginKind、CategoryKey、PluginSource、PluginId、PluginClass、BillingType
18150
+ :param _FilterList: <p>过滤条件列表,支持 PluginKind、CategoryKey、PluginSource、PluginId、PluginClass、BillingType、AuthType、IsShared、IsCreatedByMe</p>
17902
18151
  :type FilterList: list of Filter
17903
18152
  :param _IsFavoriteOnly: <p>是否只返回已收藏插件。取 true 时,仅返回当前用户已收藏的插件;取 false 或不传时不按收藏状态过滤。</p>
17904
18153
  :type IsFavoriteOnly: bool
17905
18154
  :param _Module: <p>插件展示场景。不传或取 0 时不限定场景。</p><p>枚举值:</p><ul><li>0:不限定场景</li><li>1:Agent 模式</li><li>2:工作流</li><li>3:智能工作台</li></ul>
17906
18155
  :type Module: int
17907
- :param _PageNumber: 页码 从0开始
18156
+ :param _PageNumber: <p>页码 从0开始</p>
17908
18157
  :type PageNumber: int
17909
- :param _PageSize: 每页大小
18158
+ :param _PageSize: <p>每页大小</p>
17910
18159
  :type PageSize: int
17911
- :param _Query: 查询内容 模糊匹配:插件名称/插件描述/工具名称/工具描述
18160
+ :param _Query: <p>查询内容 模糊匹配:插件名称/插件描述/工具名称/工具描述</p>
17912
18161
  :type Query: str
17913
18162
  :param _SortType: <p>排序方式。</p><p>枚举值:</p><ul><li>0:未指定,默认排序</li><li>1:按相关性排序</li><li>2:按更新时间排序</li><li>3:默认排序</li><li>4:按热度排序</li></ul>
17914
18163
  :type SortType: int
18164
+ :param _PluginSpaceRelation: <p>筛选当前空间/企业共享插件</p><p>取值范围:[0, 2]</p>
18165
+ :type PluginSpaceRelation: int
17915
18166
  """
17916
18167
  self._SpaceId = None
17917
18168
  self._FilterList = None
@@ -17921,10 +18172,11 @@ class DescribePluginSummaryListRequest(AbstractModel):
17921
18172
  self._PageSize = None
17922
18173
  self._Query = None
17923
18174
  self._SortType = None
18175
+ self._PluginSpaceRelation = None
17924
18176
 
17925
18177
  @property
17926
18178
  def SpaceId(self):
17927
- r"""空间ID,查询空间内的插件列表时使用
18179
+ r"""<p>空间ID,查询空间内的插件列表时使用</p>
17928
18180
  :rtype: str
17929
18181
  """
17930
18182
  return self._SpaceId
@@ -17935,7 +18187,7 @@ class DescribePluginSummaryListRequest(AbstractModel):
17935
18187
 
17936
18188
  @property
17937
18189
  def FilterList(self):
17938
- r"""过滤条件列表 支持:PluginKind、CategoryKey、PluginSource、PluginId、PluginClass、BillingType
18190
+ r"""<p>过滤条件列表,支持 PluginKind、CategoryKey、PluginSource、PluginId、PluginClass、BillingType、AuthType、IsShared、IsCreatedByMe</p>
17939
18191
  :rtype: list of Filter
17940
18192
  """
17941
18193
  return self._FilterList
@@ -17968,7 +18220,7 @@ class DescribePluginSummaryListRequest(AbstractModel):
17968
18220
 
17969
18221
  @property
17970
18222
  def PageNumber(self):
17971
- r"""页码 从0开始
18223
+ r"""<p>页码 从0开始</p>
17972
18224
  :rtype: int
17973
18225
  """
17974
18226
  return self._PageNumber
@@ -17979,7 +18231,7 @@ class DescribePluginSummaryListRequest(AbstractModel):
17979
18231
 
17980
18232
  @property
17981
18233
  def PageSize(self):
17982
- r"""每页大小
18234
+ r"""<p>每页大小</p>
17983
18235
  :rtype: int
17984
18236
  """
17985
18237
  return self._PageSize
@@ -17990,7 +18242,7 @@ class DescribePluginSummaryListRequest(AbstractModel):
17990
18242
 
17991
18243
  @property
17992
18244
  def Query(self):
17993
- r"""查询内容 模糊匹配:插件名称/插件描述/工具名称/工具描述
18245
+ r"""<p>查询内容 模糊匹配:插件名称/插件描述/工具名称/工具描述</p>
17994
18246
  :rtype: str
17995
18247
  """
17996
18248
  return self._Query
@@ -18010,6 +18262,17 @@ class DescribePluginSummaryListRequest(AbstractModel):
18010
18262
  def SortType(self, SortType):
18011
18263
  self._SortType = SortType
18012
18264
 
18265
+ @property
18266
+ def PluginSpaceRelation(self):
18267
+ r"""<p>筛选当前空间/企业共享插件</p><p>取值范围:[0, 2]</p>
18268
+ :rtype: int
18269
+ """
18270
+ return self._PluginSpaceRelation
18271
+
18272
+ @PluginSpaceRelation.setter
18273
+ def PluginSpaceRelation(self, PluginSpaceRelation):
18274
+ self._PluginSpaceRelation = PluginSpaceRelation
18275
+
18013
18276
 
18014
18277
  def _deserialize(self, params):
18015
18278
  self._SpaceId = params.get("SpaceId")
@@ -18025,6 +18288,7 @@ class DescribePluginSummaryListRequest(AbstractModel):
18025
18288
  self._PageSize = params.get("PageSize")
18026
18289
  self._Query = params.get("Query")
18027
18290
  self._SortType = params.get("SortType")
18291
+ self._PluginSpaceRelation = params.get("PluginSpaceRelation")
18028
18292
  memeber_set = set(params.keys())
18029
18293
  for name, value in vars(self).items():
18030
18294
  property_name = name[1:]
@@ -18042,9 +18306,9 @@ class DescribePluginSummaryListResponse(AbstractModel):
18042
18306
 
18043
18307
  def __init__(self):
18044
18308
  r"""
18045
- :param _PluginList: plugin_list
18309
+ :param _PluginList: <p>plugin_list</p>
18046
18310
  :type PluginList: list of PluginSummary
18047
- :param _TotalCount: total_count
18311
+ :param _TotalCount: <p>total_count</p>
18048
18312
  :type TotalCount: int
18049
18313
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18050
18314
  :type RequestId: str
@@ -18055,7 +18319,7 @@ class DescribePluginSummaryListResponse(AbstractModel):
18055
18319
 
18056
18320
  @property
18057
18321
  def PluginList(self):
18058
- r"""plugin_list
18322
+ r"""<p>plugin_list</p>
18059
18323
  :rtype: list of PluginSummary
18060
18324
  """
18061
18325
  return self._PluginList
@@ -18066,7 +18330,7 @@ class DescribePluginSummaryListResponse(AbstractModel):
18066
18330
 
18067
18331
  @property
18068
18332
  def TotalCount(self):
18069
- r"""total_count
18333
+ r"""<p>total_count</p>
18070
18334
  :rtype: int
18071
18335
  """
18072
18336
  return self._TotalCount
@@ -18553,10 +18817,13 @@ class DescribeSkillReferenceListResponse(AbstractModel):
18553
18817
  r"""
18554
18818
  :param _ReferenceList: <p>按 SkillRefType 分组的引用汇总:某类型 total_count = 0 时不入组(不返回空占位) 本期同时落 OPENCLAW / AGENT / CORP_ASSISTANT 三路</p>
18555
18819
  :type ReferenceList: list of SkillReferenceGroup
18820
+ :param _AllowForceModify: <p>当前用户是否允许强制删除有引用的Skill</p>
18821
+ :type AllowForceModify: bool
18556
18822
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18557
18823
  :type RequestId: str
18558
18824
  """
18559
18825
  self._ReferenceList = None
18826
+ self._AllowForceModify = None
18560
18827
  self._RequestId = None
18561
18828
 
18562
18829
  @property
@@ -18570,6 +18837,17 @@ class DescribeSkillReferenceListResponse(AbstractModel):
18570
18837
  def ReferenceList(self, ReferenceList):
18571
18838
  self._ReferenceList = ReferenceList
18572
18839
 
18840
+ @property
18841
+ def AllowForceModify(self):
18842
+ r"""<p>当前用户是否允许强制删除有引用的Skill</p>
18843
+ :rtype: bool
18844
+ """
18845
+ return self._AllowForceModify
18846
+
18847
+ @AllowForceModify.setter
18848
+ def AllowForceModify(self, AllowForceModify):
18849
+ self._AllowForceModify = AllowForceModify
18850
+
18573
18851
  @property
18574
18852
  def RequestId(self):
18575
18853
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -18589,6 +18867,7 @@ class DescribeSkillReferenceListResponse(AbstractModel):
18589
18867
  obj = SkillReferenceGroup()
18590
18868
  obj._deserialize(item)
18591
18869
  self._ReferenceList.append(obj)
18870
+ self._AllowForceModify = params.get("AllowForceModify")
18592
18871
  self._RequestId = params.get("RequestId")
18593
18872
 
18594
18873
 
@@ -20340,7 +20619,7 @@ class FileParseModel(AbstractModel):
20340
20619
 
20341
20620
 
20342
20621
  class Filter(AbstractModel):
20343
- r"""列表通用过滤条件(多个 Filter 之间为 AND 关系,同一 Filter 的多个 value_list 为 OR 关系)
20622
+ r"""列表通用过滤条件(多个 Filter 之间为 AND 关系,同一 Filter 的多个 value_list 为 OR 关系;BETWEEN 时 value_list 必须恰好 2 个元素表示闭区间 [start, end])
20344
20623
 
20345
20624
  """
20346
20625
 
@@ -20348,7 +20627,7 @@ class Filter(AbstractModel):
20348
20627
  r"""
20349
20628
  :param _Name: 过滤字段名
20350
20629
  :type Name: str
20351
- :param _Operator: 操作符,默认 IN(向后兼容)<table><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>FILTER_OPERATOR_IN</td><td>0</td><td>属于 value_list(默认值,向后兼容;value_list 不可为空)</td></tr><tr><td>FILTER_OPERATOR_NOT_IN</td><td>1</td><td>不属于 value_list(value_list 不可为空)</td></tr></table>
20630
+ :param _Operator: 操作符,默认 IN(向后兼容)<table><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>FILTER_OPERATOR_IN</td><td>0</td><td>属于 value_list(默认值,向后兼容;value_list 不可为空)</td></tr><tr><td>FILTER_OPERATOR_NOT_IN</td><td>1</td><td>不属于 value_list(value_list 不可为空)</td></tr><tr><td>FILTER_OPERATOR_BETWEEN</td><td>2</td><td>之间(闭区间 [start, end];value_list 必须恰好 2 个元素,允许其一为空表示单边开区间)</td></tr></table>
20352
20631
  :type Operator: int
20353
20632
  :param _ValueList: 过滤值数组
20354
20633
  :type ValueList: list of str
@@ -20370,7 +20649,7 @@ class Filter(AbstractModel):
20370
20649
 
20371
20650
  @property
20372
20651
  def Operator(self):
20373
- r"""操作符,默认 IN(向后兼容)<table><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>FILTER_OPERATOR_IN</td><td>0</td><td>属于 value_list(默认值,向后兼容;value_list 不可为空)</td></tr><tr><td>FILTER_OPERATOR_NOT_IN</td><td>1</td><td>不属于 value_list(value_list 不可为空)</td></tr></table>
20652
+ r"""操作符,默认 IN(向后兼容)<table><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>FILTER_OPERATOR_IN</td><td>0</td><td>属于 value_list(默认值,向后兼容;value_list 不可为空)</td></tr><tr><td>FILTER_OPERATOR_NOT_IN</td><td>1</td><td>不属于 value_list(value_list 不可为空)</td></tr><tr><td>FILTER_OPERATOR_BETWEEN</td><td>2</td><td>之间(闭区间 [start, end];value_list 必须恰好 2 个元素,允许其一为空表示单边开区间)</td></tr></table>
20374
20653
  :rtype: int
20375
20654
  """
20376
20655
  return self._Operator
@@ -25606,31 +25885,62 @@ class PluginSummary(AbstractModel):
25606
25885
 
25607
25886
  def __init__(self):
25608
25887
  r"""
25888
+ :param _Config: <p>插件配置信息</p>
25889
+ :type Config: :class:`tencentcloud.adp.v20260520.models.PluginConfig`
25890
+ :param _IsShared: <p>是否已配置共享</p>
25891
+ :type IsShared: bool
25609
25892
  :param _Operation: <p>插件运营管理信息</p>
25610
25893
  :type Operation: :class:`tencentcloud.adp.v20260520.models.PluginOperation`
25611
25894
  :param _PluginId: <p>插件id</p>
25612
25895
  :type PluginId: str
25613
25896
  :param _Profile: <p>插件基础信息</p>
25614
25897
  :type Profile: :class:`tencentcloud.adp.v20260520.models.PluginProfile`
25898
+ :param _SpaceId: <p>插件所属空间 ID;内置插件为空</p>
25899
+ :type SpaceId: str
25615
25900
  :param _Statistics: <p>插件统计信息</p>
25616
25901
  :type Statistics: :class:`tencentcloud.adp.v20260520.models.PluginStatistics`
25617
25902
  :param _Status: <p>插件状态,1:可用,2:不可用 </p><p>枚举值:</p><ul><li>1: 可用</li><li>2: 不可用</li></ul>
25618
25903
  :type Status: int
25619
- :param _UserState: <p>用户维度的插件状态信息</p>
25620
- :type UserState: :class:`tencentcloud.adp.v20260520.models.PluginUserState`
25621
- :param _Config: <p>插件配置信息</p>
25622
- :type Config: :class:`tencentcloud.adp.v20260520.models.PluginConfig`
25623
25904
  :param _ToolList: <p>工具信息</p>
25624
25905
  :type ToolList: list of ToolSummary
25906
+ :param _UserState: <p>用户维度的插件状态信息</p>
25907
+ :type UserState: :class:`tencentcloud.adp.v20260520.models.PluginUserState`
25908
+ :param _UpdateTime: <p>更新时间,Unix时间戳</p><p>单位:秒</p>
25909
+ :type UpdateTime: str
25625
25910
  """
25911
+ self._Config = None
25912
+ self._IsShared = None
25626
25913
  self._Operation = None
25627
25914
  self._PluginId = None
25628
25915
  self._Profile = None
25916
+ self._SpaceId = None
25629
25917
  self._Statistics = None
25630
25918
  self._Status = None
25631
- self._UserState = None
25632
- self._Config = None
25633
25919
  self._ToolList = None
25920
+ self._UserState = None
25921
+ self._UpdateTime = None
25922
+
25923
+ @property
25924
+ def Config(self):
25925
+ r"""<p>插件配置信息</p>
25926
+ :rtype: :class:`tencentcloud.adp.v20260520.models.PluginConfig`
25927
+ """
25928
+ return self._Config
25929
+
25930
+ @Config.setter
25931
+ def Config(self, Config):
25932
+ self._Config = Config
25933
+
25934
+ @property
25935
+ def IsShared(self):
25936
+ r"""<p>是否已配置共享</p>
25937
+ :rtype: bool
25938
+ """
25939
+ return self._IsShared
25940
+
25941
+ @IsShared.setter
25942
+ def IsShared(self, IsShared):
25943
+ self._IsShared = IsShared
25634
25944
 
25635
25945
  @property
25636
25946
  def Operation(self):
@@ -25665,6 +25975,17 @@ class PluginSummary(AbstractModel):
25665
25975
  def Profile(self, Profile):
25666
25976
  self._Profile = Profile
25667
25977
 
25978
+ @property
25979
+ def SpaceId(self):
25980
+ r"""<p>插件所属空间 ID;内置插件为空</p>
25981
+ :rtype: str
25982
+ """
25983
+ return self._SpaceId
25984
+
25985
+ @SpaceId.setter
25986
+ def SpaceId(self, SpaceId):
25987
+ self._SpaceId = SpaceId
25988
+
25668
25989
  @property
25669
25990
  def Statistics(self):
25670
25991
  r"""<p>插件统计信息</p>
@@ -25687,6 +26008,17 @@ class PluginSummary(AbstractModel):
25687
26008
  def Status(self, Status):
25688
26009
  self._Status = Status
25689
26010
 
26011
+ @property
26012
+ def ToolList(self):
26013
+ r"""<p>工具信息</p>
26014
+ :rtype: list of ToolSummary
26015
+ """
26016
+ return self._ToolList
26017
+
26018
+ @ToolList.setter
26019
+ def ToolList(self, ToolList):
26020
+ self._ToolList = ToolList
26021
+
25690
26022
  @property
25691
26023
  def UserState(self):
25692
26024
  r"""<p>用户维度的插件状态信息</p>
@@ -25699,29 +26031,22 @@ class PluginSummary(AbstractModel):
25699
26031
  self._UserState = UserState
25700
26032
 
25701
26033
  @property
25702
- def Config(self):
25703
- r"""<p>插件配置信息</p>
25704
- :rtype: :class:`tencentcloud.adp.v20260520.models.PluginConfig`
25705
- """
25706
- return self._Config
25707
-
25708
- @Config.setter
25709
- def Config(self, Config):
25710
- self._Config = Config
25711
-
25712
- @property
25713
- def ToolList(self):
25714
- r"""<p>工具信息</p>
25715
- :rtype: list of ToolSummary
26034
+ def UpdateTime(self):
26035
+ r"""<p>更新时间,Unix时间戳</p><p>单位:秒</p>
26036
+ :rtype: str
25716
26037
  """
25717
- return self._ToolList
26038
+ return self._UpdateTime
25718
26039
 
25719
- @ToolList.setter
25720
- def ToolList(self, ToolList):
25721
- self._ToolList = ToolList
26040
+ @UpdateTime.setter
26041
+ def UpdateTime(self, UpdateTime):
26042
+ self._UpdateTime = UpdateTime
25722
26043
 
25723
26044
 
25724
26045
  def _deserialize(self, params):
26046
+ if params.get("Config") is not None:
26047
+ self._Config = PluginConfig()
26048
+ self._Config._deserialize(params.get("Config"))
26049
+ self._IsShared = params.get("IsShared")
25725
26050
  if params.get("Operation") is not None:
25726
26051
  self._Operation = PluginOperation()
25727
26052
  self._Operation._deserialize(params.get("Operation"))
@@ -25729,22 +26054,21 @@ class PluginSummary(AbstractModel):
25729
26054
  if params.get("Profile") is not None:
25730
26055
  self._Profile = PluginProfile()
25731
26056
  self._Profile._deserialize(params.get("Profile"))
26057
+ self._SpaceId = params.get("SpaceId")
25732
26058
  if params.get("Statistics") is not None:
25733
26059
  self._Statistics = PluginStatistics()
25734
26060
  self._Statistics._deserialize(params.get("Statistics"))
25735
26061
  self._Status = params.get("Status")
25736
- if params.get("UserState") is not None:
25737
- self._UserState = PluginUserState()
25738
- self._UserState._deserialize(params.get("UserState"))
25739
- if params.get("Config") is not None:
25740
- self._Config = PluginConfig()
25741
- self._Config._deserialize(params.get("Config"))
25742
26062
  if params.get("ToolList") is not None:
25743
26063
  self._ToolList = []
25744
26064
  for item in params.get("ToolList"):
25745
26065
  obj = ToolSummary()
25746
26066
  obj._deserialize(item)
25747
26067
  self._ToolList.append(obj)
26068
+ if params.get("UserState") is not None:
26069
+ self._UserState = PluginUserState()
26070
+ self._UserState._deserialize(params.get("UserState"))
26071
+ self._UpdateTime = params.get("UpdateTime")
25748
26072
  memeber_set = set(params.keys())
25749
26073
  for name, value in vars(self).items():
25750
26074
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-adp
3
- Version: 3.1.173
3
+ Version: 3.1.174
4
4
  Summary: Tencent Cloud Adp 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.173
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.174
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.174
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.173