tencentcloud-sdk-python-adp 3.1.176__tar.gz → 3.1.177__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_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/setup.py +1 -1
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/tencentcloud/adp/v20260520/adp_client.py +24 -1
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/tencentcloud/adp/v20260520/adp_client_async.py +19 -1
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/tencentcloud/adp/v20260520/models.py +481 -46
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/tencentcloud_sdk_python_adp.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_adp-3.1.177/tencentcloud_sdk_python_adp.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_adp-3.1.176/tencentcloud_sdk_python_adp.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/README.rst +0 -0
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/setup.cfg +0 -0
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/tencentcloud/adp/__init__.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/tencentcloud/adp/v20260520/__init__.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/tencentcloud/adp/v20260520/errorcodes.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/tencentcloud_sdk_python_adp.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/tencentcloud_sdk_python_adp.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_adp-3.1.176 → tencentcloud_sdk_python_adp-3.1.177}/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.
|
|
3
|
+
Version: 3.1.177
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.177
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.177,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Adp SDK for Python',
|
|
@@ -27,7 +27,7 @@ class AdpClient(AbstractClient):
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
def CheckLabel(self, request):
|
|
30
|
-
r"""
|
|
30
|
+
r"""校验标签
|
|
31
31
|
|
|
32
32
|
:param request: Request instance for CheckLabel.
|
|
33
33
|
:type request: :class:`tencentcloud.adp.v20260520.models.CheckLabelRequest`
|
|
@@ -1820,6 +1820,29 @@ class AdpClient(AbstractClient):
|
|
|
1820
1820
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1821
1821
|
|
|
1822
1822
|
|
|
1823
|
+
def DescribeResourceSummary(self, request):
|
|
1824
|
+
r"""获取用户资源套餐和增值包用量信息
|
|
1825
|
+
|
|
1826
|
+
:param request: Request instance for DescribeResourceSummary.
|
|
1827
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.DescribeResourceSummaryRequest`
|
|
1828
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.DescribeResourceSummaryResponse`
|
|
1829
|
+
|
|
1830
|
+
"""
|
|
1831
|
+
try:
|
|
1832
|
+
params = request._serialize()
|
|
1833
|
+
headers = request.headers
|
|
1834
|
+
body = self.call("DescribeResourceSummary", params, headers=headers)
|
|
1835
|
+
response = json.loads(body)
|
|
1836
|
+
model = models.DescribeResourceSummaryResponse()
|
|
1837
|
+
model._deserialize(response["Response"])
|
|
1838
|
+
return model
|
|
1839
|
+
except Exception as e:
|
|
1840
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1841
|
+
raise
|
|
1842
|
+
else:
|
|
1843
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1844
|
+
|
|
1845
|
+
|
|
1823
1846
|
def DescribeSkillCategoryList(self, request):
|
|
1824
1847
|
r"""查询 Skill 分类列表
|
|
1825
1848
|
|
|
@@ -31,7 +31,7 @@ class AdpClient(AbstractClient):
|
|
|
31
31
|
opts: Dict = None,
|
|
32
32
|
) -> models.CheckLabelResponse:
|
|
33
33
|
"""
|
|
34
|
-
|
|
34
|
+
校验标签
|
|
35
35
|
"""
|
|
36
36
|
|
|
37
37
|
kwargs = {}
|
|
@@ -1429,6 +1429,24 @@ class AdpClient(AbstractClient):
|
|
|
1429
1429
|
|
|
1430
1430
|
return await self.call_and_deserialize(**kwargs)
|
|
1431
1431
|
|
|
1432
|
+
async def DescribeResourceSummary(
|
|
1433
|
+
self,
|
|
1434
|
+
request: models.DescribeResourceSummaryRequest,
|
|
1435
|
+
opts: Dict = None,
|
|
1436
|
+
) -> models.DescribeResourceSummaryResponse:
|
|
1437
|
+
"""
|
|
1438
|
+
获取用户资源套餐和增值包用量信息
|
|
1439
|
+
"""
|
|
1440
|
+
|
|
1441
|
+
kwargs = {}
|
|
1442
|
+
kwargs["action"] = "DescribeResourceSummary"
|
|
1443
|
+
kwargs["params"] = request._serialize()
|
|
1444
|
+
kwargs["resp_cls"] = models.DescribeResourceSummaryResponse
|
|
1445
|
+
kwargs["headers"] = request.headers
|
|
1446
|
+
kwargs["opts"] = opts or {}
|
|
1447
|
+
|
|
1448
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1449
|
+
|
|
1432
1450
|
async def DescribeSkillCategoryList(
|
|
1433
1451
|
self,
|
|
1434
1452
|
request: models.DescribeSkillCategoryListRequest,
|
|
@@ -420,6 +420,162 @@ class AccountInfo(AbstractModel):
|
|
|
420
420
|
|
|
421
421
|
|
|
422
422
|
|
|
423
|
+
class AddOnPackageInfo(AbstractModel):
|
|
424
|
+
r"""计费增值包用量信息
|
|
425
|
+
|
|
426
|
+
"""
|
|
427
|
+
|
|
428
|
+
def __init__(self):
|
|
429
|
+
r"""
|
|
430
|
+
:param _AddOnTotal: <p>增值包总量</p>
|
|
431
|
+
:type AddOnTotal: float
|
|
432
|
+
:param _AddOnUsage: <p>增值包用量</p>
|
|
433
|
+
:type AddOnUsage: float
|
|
434
|
+
:param _ExclusiveConcurrency: <p>专属并发总数</p>
|
|
435
|
+
:type ExclusiveConcurrency: int
|
|
436
|
+
:param _ResourceStatus: <p>资源包状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>2: 已用完</li><li>3: 已过期</li></ul>
|
|
437
|
+
:type ResourceStatus: int
|
|
438
|
+
:param _ConcurrencyStatus: <p>专属并发状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>3: 已过期</li></ul>
|
|
439
|
+
:type ConcurrencyStatus: int
|
|
440
|
+
:param _ExclusiveTpm: <p>专属tpm</p>
|
|
441
|
+
:type ExclusiveTpm: int
|
|
442
|
+
:param _ExclusiveTpmStatus: <p>专属tpm状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>3: 已过期</li></ul>
|
|
443
|
+
:type ExclusiveTpmStatus: int
|
|
444
|
+
:param _ExclusiveComputeUnit: <p>专属计算单元</p>
|
|
445
|
+
:type ExclusiveComputeUnit: int
|
|
446
|
+
:param _ExclusiveComputeUnitStatus: <p>专属计算单元状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>3: 已过期</li><li>4: 已销毁</li><li>5: 已隔离</li><li>6: 未生效</li><li>7: 暂不可用(套餐包过期时)</li></ul>
|
|
447
|
+
:type ExclusiveComputeUnitStatus: int
|
|
448
|
+
"""
|
|
449
|
+
self._AddOnTotal = None
|
|
450
|
+
self._AddOnUsage = None
|
|
451
|
+
self._ExclusiveConcurrency = None
|
|
452
|
+
self._ResourceStatus = None
|
|
453
|
+
self._ConcurrencyStatus = None
|
|
454
|
+
self._ExclusiveTpm = None
|
|
455
|
+
self._ExclusiveTpmStatus = None
|
|
456
|
+
self._ExclusiveComputeUnit = None
|
|
457
|
+
self._ExclusiveComputeUnitStatus = None
|
|
458
|
+
|
|
459
|
+
@property
|
|
460
|
+
def AddOnTotal(self):
|
|
461
|
+
r"""<p>增值包总量</p>
|
|
462
|
+
:rtype: float
|
|
463
|
+
"""
|
|
464
|
+
return self._AddOnTotal
|
|
465
|
+
|
|
466
|
+
@AddOnTotal.setter
|
|
467
|
+
def AddOnTotal(self, AddOnTotal):
|
|
468
|
+
self._AddOnTotal = AddOnTotal
|
|
469
|
+
|
|
470
|
+
@property
|
|
471
|
+
def AddOnUsage(self):
|
|
472
|
+
r"""<p>增值包用量</p>
|
|
473
|
+
:rtype: float
|
|
474
|
+
"""
|
|
475
|
+
return self._AddOnUsage
|
|
476
|
+
|
|
477
|
+
@AddOnUsage.setter
|
|
478
|
+
def AddOnUsage(self, AddOnUsage):
|
|
479
|
+
self._AddOnUsage = AddOnUsage
|
|
480
|
+
|
|
481
|
+
@property
|
|
482
|
+
def ExclusiveConcurrency(self):
|
|
483
|
+
r"""<p>专属并发总数</p>
|
|
484
|
+
:rtype: int
|
|
485
|
+
"""
|
|
486
|
+
return self._ExclusiveConcurrency
|
|
487
|
+
|
|
488
|
+
@ExclusiveConcurrency.setter
|
|
489
|
+
def ExclusiveConcurrency(self, ExclusiveConcurrency):
|
|
490
|
+
self._ExclusiveConcurrency = ExclusiveConcurrency
|
|
491
|
+
|
|
492
|
+
@property
|
|
493
|
+
def ResourceStatus(self):
|
|
494
|
+
r"""<p>资源包状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>2: 已用完</li><li>3: 已过期</li></ul>
|
|
495
|
+
:rtype: int
|
|
496
|
+
"""
|
|
497
|
+
return self._ResourceStatus
|
|
498
|
+
|
|
499
|
+
@ResourceStatus.setter
|
|
500
|
+
def ResourceStatus(self, ResourceStatus):
|
|
501
|
+
self._ResourceStatus = ResourceStatus
|
|
502
|
+
|
|
503
|
+
@property
|
|
504
|
+
def ConcurrencyStatus(self):
|
|
505
|
+
r"""<p>专属并发状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>3: 已过期</li></ul>
|
|
506
|
+
:rtype: int
|
|
507
|
+
"""
|
|
508
|
+
return self._ConcurrencyStatus
|
|
509
|
+
|
|
510
|
+
@ConcurrencyStatus.setter
|
|
511
|
+
def ConcurrencyStatus(self, ConcurrencyStatus):
|
|
512
|
+
self._ConcurrencyStatus = ConcurrencyStatus
|
|
513
|
+
|
|
514
|
+
@property
|
|
515
|
+
def ExclusiveTpm(self):
|
|
516
|
+
r"""<p>专属tpm</p>
|
|
517
|
+
:rtype: int
|
|
518
|
+
"""
|
|
519
|
+
return self._ExclusiveTpm
|
|
520
|
+
|
|
521
|
+
@ExclusiveTpm.setter
|
|
522
|
+
def ExclusiveTpm(self, ExclusiveTpm):
|
|
523
|
+
self._ExclusiveTpm = ExclusiveTpm
|
|
524
|
+
|
|
525
|
+
@property
|
|
526
|
+
def ExclusiveTpmStatus(self):
|
|
527
|
+
r"""<p>专属tpm状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>3: 已过期</li></ul>
|
|
528
|
+
:rtype: int
|
|
529
|
+
"""
|
|
530
|
+
return self._ExclusiveTpmStatus
|
|
531
|
+
|
|
532
|
+
@ExclusiveTpmStatus.setter
|
|
533
|
+
def ExclusiveTpmStatus(self, ExclusiveTpmStatus):
|
|
534
|
+
self._ExclusiveTpmStatus = ExclusiveTpmStatus
|
|
535
|
+
|
|
536
|
+
@property
|
|
537
|
+
def ExclusiveComputeUnit(self):
|
|
538
|
+
r"""<p>专属计算单元</p>
|
|
539
|
+
:rtype: int
|
|
540
|
+
"""
|
|
541
|
+
return self._ExclusiveComputeUnit
|
|
542
|
+
|
|
543
|
+
@ExclusiveComputeUnit.setter
|
|
544
|
+
def ExclusiveComputeUnit(self, ExclusiveComputeUnit):
|
|
545
|
+
self._ExclusiveComputeUnit = ExclusiveComputeUnit
|
|
546
|
+
|
|
547
|
+
@property
|
|
548
|
+
def ExclusiveComputeUnitStatus(self):
|
|
549
|
+
r"""<p>专属计算单元状态</p><p>枚举值:</p><ul><li>1: 可使</li><li>3: 已过期</li><li>4: 已销毁</li><li>5: 已隔离</li><li>6: 未生效</li><li>7: 暂不可用(套餐包过期时)</li></ul>
|
|
550
|
+
:rtype: int
|
|
551
|
+
"""
|
|
552
|
+
return self._ExclusiveComputeUnitStatus
|
|
553
|
+
|
|
554
|
+
@ExclusiveComputeUnitStatus.setter
|
|
555
|
+
def ExclusiveComputeUnitStatus(self, ExclusiveComputeUnitStatus):
|
|
556
|
+
self._ExclusiveComputeUnitStatus = ExclusiveComputeUnitStatus
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
def _deserialize(self, params):
|
|
560
|
+
self._AddOnTotal = params.get("AddOnTotal")
|
|
561
|
+
self._AddOnUsage = params.get("AddOnUsage")
|
|
562
|
+
self._ExclusiveConcurrency = params.get("ExclusiveConcurrency")
|
|
563
|
+
self._ResourceStatus = params.get("ResourceStatus")
|
|
564
|
+
self._ConcurrencyStatus = params.get("ConcurrencyStatus")
|
|
565
|
+
self._ExclusiveTpm = params.get("ExclusiveTpm")
|
|
566
|
+
self._ExclusiveTpmStatus = params.get("ExclusiveTpmStatus")
|
|
567
|
+
self._ExclusiveComputeUnit = params.get("ExclusiveComputeUnit")
|
|
568
|
+
self._ExclusiveComputeUnitStatus = params.get("ExclusiveComputeUnitStatus")
|
|
569
|
+
memeber_set = set(params.keys())
|
|
570
|
+
for name, value in vars(self).items():
|
|
571
|
+
property_name = name[1:]
|
|
572
|
+
if property_name in memeber_set:
|
|
573
|
+
memeber_set.remove(property_name)
|
|
574
|
+
if len(memeber_set) > 0:
|
|
575
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
423
579
|
class AgentAdvancedConfig(AbstractModel):
|
|
424
580
|
r"""Agent高级设置
|
|
425
581
|
|
|
@@ -8458,9 +8614,9 @@ class CheckResult(AbstractModel):
|
|
|
8458
8614
|
|
|
8459
8615
|
def __init__(self):
|
|
8460
8616
|
r"""
|
|
8461
|
-
:param _Passed:
|
|
8617
|
+
:param _Passed: 是否通过校验
|
|
8462
8618
|
:type Passed: bool
|
|
8463
|
-
:param _Reason:
|
|
8619
|
+
:param _Reason: 失败原因(passed=false 时填充)
|
|
8464
8620
|
:type Reason: str
|
|
8465
8621
|
"""
|
|
8466
8622
|
self._Passed = None
|
|
@@ -8468,7 +8624,7 @@ class CheckResult(AbstractModel):
|
|
|
8468
8624
|
|
|
8469
8625
|
@property
|
|
8470
8626
|
def Passed(self):
|
|
8471
|
-
r"""
|
|
8627
|
+
r"""是否通过校验
|
|
8472
8628
|
:rtype: bool
|
|
8473
8629
|
"""
|
|
8474
8630
|
return self._Passed
|
|
@@ -8479,7 +8635,7 @@ class CheckResult(AbstractModel):
|
|
|
8479
8635
|
|
|
8480
8636
|
@property
|
|
8481
8637
|
def Reason(self):
|
|
8482
|
-
r"""
|
|
8638
|
+
r"""失败原因(passed=false 时填充)
|
|
8483
8639
|
:rtype: str
|
|
8484
8640
|
"""
|
|
8485
8641
|
return self._Reason
|
|
@@ -22260,6 +22416,74 @@ class DescribeReleaseSummaryResponse(AbstractModel):
|
|
|
22260
22416
|
self._RequestId = params.get("RequestId")
|
|
22261
22417
|
|
|
22262
22418
|
|
|
22419
|
+
class DescribeResourceSummaryRequest(AbstractModel):
|
|
22420
|
+
r"""DescribeResourceSummary请求参数结构体
|
|
22421
|
+
|
|
22422
|
+
"""
|
|
22423
|
+
|
|
22424
|
+
|
|
22425
|
+
class DescribeResourceSummaryResponse(AbstractModel):
|
|
22426
|
+
r"""DescribeResourceSummary返回参数结构体
|
|
22427
|
+
|
|
22428
|
+
"""
|
|
22429
|
+
|
|
22430
|
+
def __init__(self):
|
|
22431
|
+
r"""
|
|
22432
|
+
:param _ResourcePackage: <p>计费套餐包用量信息</p>
|
|
22433
|
+
:type ResourcePackage: :class:`tencentcloud.adp.v20260520.models.ResourcePackageInfo`
|
|
22434
|
+
:param _AddOnPackage: <p>计费增值包用量信息</p>
|
|
22435
|
+
:type AddOnPackage: :class:`tencentcloud.adp.v20260520.models.AddOnPackageInfo`
|
|
22436
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22437
|
+
:type RequestId: str
|
|
22438
|
+
"""
|
|
22439
|
+
self._ResourcePackage = None
|
|
22440
|
+
self._AddOnPackage = None
|
|
22441
|
+
self._RequestId = None
|
|
22442
|
+
|
|
22443
|
+
@property
|
|
22444
|
+
def ResourcePackage(self):
|
|
22445
|
+
r"""<p>计费套餐包用量信息</p>
|
|
22446
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.ResourcePackageInfo`
|
|
22447
|
+
"""
|
|
22448
|
+
return self._ResourcePackage
|
|
22449
|
+
|
|
22450
|
+
@ResourcePackage.setter
|
|
22451
|
+
def ResourcePackage(self, ResourcePackage):
|
|
22452
|
+
self._ResourcePackage = ResourcePackage
|
|
22453
|
+
|
|
22454
|
+
@property
|
|
22455
|
+
def AddOnPackage(self):
|
|
22456
|
+
r"""<p>计费增值包用量信息</p>
|
|
22457
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.AddOnPackageInfo`
|
|
22458
|
+
"""
|
|
22459
|
+
return self._AddOnPackage
|
|
22460
|
+
|
|
22461
|
+
@AddOnPackage.setter
|
|
22462
|
+
def AddOnPackage(self, AddOnPackage):
|
|
22463
|
+
self._AddOnPackage = AddOnPackage
|
|
22464
|
+
|
|
22465
|
+
@property
|
|
22466
|
+
def RequestId(self):
|
|
22467
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22468
|
+
:rtype: str
|
|
22469
|
+
"""
|
|
22470
|
+
return self._RequestId
|
|
22471
|
+
|
|
22472
|
+
@RequestId.setter
|
|
22473
|
+
def RequestId(self, RequestId):
|
|
22474
|
+
self._RequestId = RequestId
|
|
22475
|
+
|
|
22476
|
+
|
|
22477
|
+
def _deserialize(self, params):
|
|
22478
|
+
if params.get("ResourcePackage") is not None:
|
|
22479
|
+
self._ResourcePackage = ResourcePackageInfo()
|
|
22480
|
+
self._ResourcePackage._deserialize(params.get("ResourcePackage"))
|
|
22481
|
+
if params.get("AddOnPackage") is not None:
|
|
22482
|
+
self._AddOnPackage = AddOnPackageInfo()
|
|
22483
|
+
self._AddOnPackage._deserialize(params.get("AddOnPackage"))
|
|
22484
|
+
self._RequestId = params.get("RequestId")
|
|
22485
|
+
|
|
22486
|
+
|
|
22263
22487
|
class DescribeSkillCategoryListRequest(AbstractModel):
|
|
22264
22488
|
r"""DescribeSkillCategoryList请求参数结构体
|
|
22265
22489
|
|
|
@@ -26212,13 +26436,13 @@ class Identity(AbstractModel):
|
|
|
26212
26436
|
|
|
26213
26437
|
def __init__(self):
|
|
26214
26438
|
r"""
|
|
26215
|
-
:param _Description:
|
|
26439
|
+
:param _Description: 描述
|
|
26216
26440
|
:type Description: str
|
|
26217
|
-
:param _Id:
|
|
26441
|
+
:param _Id: 数字 ID
|
|
26218
26442
|
:type Id: str
|
|
26219
|
-
:param _Name:
|
|
26443
|
+
:param _Name: 名称
|
|
26220
26444
|
:type Name: str
|
|
26221
|
-
:param _StrId:
|
|
26445
|
+
:param _StrId: 字符串 ID
|
|
26222
26446
|
:type StrId: str
|
|
26223
26447
|
"""
|
|
26224
26448
|
self._Description = None
|
|
@@ -26228,7 +26452,7 @@ class Identity(AbstractModel):
|
|
|
26228
26452
|
|
|
26229
26453
|
@property
|
|
26230
26454
|
def Description(self):
|
|
26231
|
-
r"""
|
|
26455
|
+
r"""描述
|
|
26232
26456
|
:rtype: str
|
|
26233
26457
|
"""
|
|
26234
26458
|
return self._Description
|
|
@@ -26239,7 +26463,7 @@ class Identity(AbstractModel):
|
|
|
26239
26463
|
|
|
26240
26464
|
@property
|
|
26241
26465
|
def Id(self):
|
|
26242
|
-
r"""
|
|
26466
|
+
r"""数字 ID
|
|
26243
26467
|
:rtype: str
|
|
26244
26468
|
"""
|
|
26245
26469
|
return self._Id
|
|
@@ -26250,7 +26474,7 @@ class Identity(AbstractModel):
|
|
|
26250
26474
|
|
|
26251
26475
|
@property
|
|
26252
26476
|
def Name(self):
|
|
26253
|
-
r"""
|
|
26477
|
+
r"""名称
|
|
26254
26478
|
:rtype: str
|
|
26255
26479
|
"""
|
|
26256
26480
|
return self._Name
|
|
@@ -26261,7 +26485,7 @@ class Identity(AbstractModel):
|
|
|
26261
26485
|
|
|
26262
26486
|
@property
|
|
26263
26487
|
def StrId(self):
|
|
26264
|
-
r"""
|
|
26488
|
+
r"""字符串 ID
|
|
26265
26489
|
:rtype: str
|
|
26266
26490
|
"""
|
|
26267
26491
|
return self._StrId
|
|
@@ -26888,6 +27112,72 @@ class KBModifyExtendFields(AbstractModel):
|
|
|
26888
27112
|
|
|
26889
27113
|
|
|
26890
27114
|
|
|
27115
|
+
class KBPermission(AbstractModel):
|
|
27116
|
+
r"""知识库操作权限信息
|
|
27117
|
+
|
|
27118
|
+
"""
|
|
27119
|
+
|
|
27120
|
+
def __init__(self):
|
|
27121
|
+
r"""
|
|
27122
|
+
:param _CanDelete: <p>是否可删除</p>
|
|
27123
|
+
:type CanDelete: bool
|
|
27124
|
+
:param _CanEdit: <p>是否可编辑</p>
|
|
27125
|
+
:type CanEdit: bool
|
|
27126
|
+
:param _CanView: <p>是否可查看</p>
|
|
27127
|
+
:type CanView: bool
|
|
27128
|
+
"""
|
|
27129
|
+
self._CanDelete = None
|
|
27130
|
+
self._CanEdit = None
|
|
27131
|
+
self._CanView = None
|
|
27132
|
+
|
|
27133
|
+
@property
|
|
27134
|
+
def CanDelete(self):
|
|
27135
|
+
r"""<p>是否可删除</p>
|
|
27136
|
+
:rtype: bool
|
|
27137
|
+
"""
|
|
27138
|
+
return self._CanDelete
|
|
27139
|
+
|
|
27140
|
+
@CanDelete.setter
|
|
27141
|
+
def CanDelete(self, CanDelete):
|
|
27142
|
+
self._CanDelete = CanDelete
|
|
27143
|
+
|
|
27144
|
+
@property
|
|
27145
|
+
def CanEdit(self):
|
|
27146
|
+
r"""<p>是否可编辑</p>
|
|
27147
|
+
:rtype: bool
|
|
27148
|
+
"""
|
|
27149
|
+
return self._CanEdit
|
|
27150
|
+
|
|
27151
|
+
@CanEdit.setter
|
|
27152
|
+
def CanEdit(self, CanEdit):
|
|
27153
|
+
self._CanEdit = CanEdit
|
|
27154
|
+
|
|
27155
|
+
@property
|
|
27156
|
+
def CanView(self):
|
|
27157
|
+
r"""<p>是否可查看</p>
|
|
27158
|
+
:rtype: bool
|
|
27159
|
+
"""
|
|
27160
|
+
return self._CanView
|
|
27161
|
+
|
|
27162
|
+
@CanView.setter
|
|
27163
|
+
def CanView(self, CanView):
|
|
27164
|
+
self._CanView = CanView
|
|
27165
|
+
|
|
27166
|
+
|
|
27167
|
+
def _deserialize(self, params):
|
|
27168
|
+
self._CanDelete = params.get("CanDelete")
|
|
27169
|
+
self._CanEdit = params.get("CanEdit")
|
|
27170
|
+
self._CanView = params.get("CanView")
|
|
27171
|
+
memeber_set = set(params.keys())
|
|
27172
|
+
for name, value in vars(self).items():
|
|
27173
|
+
property_name = name[1:]
|
|
27174
|
+
if property_name in memeber_set:
|
|
27175
|
+
memeber_set.remove(property_name)
|
|
27176
|
+
if len(memeber_set) > 0:
|
|
27177
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
27178
|
+
|
|
27179
|
+
|
|
27180
|
+
|
|
26891
27181
|
class KBRetrievalConfig(AbstractModel):
|
|
26892
27182
|
r"""单个知识库检索配置
|
|
26893
27183
|
|
|
@@ -27205,6 +27495,9 @@ class KBSummary(AbstractModel):
|
|
|
27205
27495
|
:type LatestOperator: :class:`tencentcloud.adp.v20260520.models.Operator`
|
|
27206
27496
|
:param _Name: <p>知识库名称</p>
|
|
27207
27497
|
:type Name: str
|
|
27498
|
+
:param _Permission: <p>操作权限</p>
|
|
27499
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
27500
|
+
:type Permission: :class:`tencentcloud.adp.v20260520.models.KBPermission`
|
|
27208
27501
|
:param _ProcessingFlagList: <p>处理中状态列表</p>
|
|
27209
27502
|
:type ProcessingFlagList: list of int
|
|
27210
27503
|
:param _SharedSubType: <p>共享子类型:1=普通,2=公众号<table><tbody><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>SHARED_KB_SUB_TYPE_UNKNOWN</td><td>0</td><td></td></tr><tr><td>SHARED_KB_SUB_TYPE_NORMAL</td><td>1</td><td>普通</td></tr><tr><td>SHARED_KB_SUB_TYPE_PUBLIC_ACCOUNT</td><td>2</td><td>公众号</td></tr></tbody></table></p>
|
|
@@ -27222,6 +27515,7 @@ class KBSummary(AbstractModel):
|
|
|
27222
27515
|
self._KbType = None
|
|
27223
27516
|
self._LatestOperator = None
|
|
27224
27517
|
self._Name = None
|
|
27518
|
+
self._Permission = None
|
|
27225
27519
|
self._ProcessingFlagList = None
|
|
27226
27520
|
self._SharedSubType = None
|
|
27227
27521
|
self._UpdateTime = None
|
|
@@ -27338,6 +27632,18 @@ class KBSummary(AbstractModel):
|
|
|
27338
27632
|
def Name(self, Name):
|
|
27339
27633
|
self._Name = Name
|
|
27340
27634
|
|
|
27635
|
+
@property
|
|
27636
|
+
def Permission(self):
|
|
27637
|
+
r"""<p>操作权限</p>
|
|
27638
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
27639
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.KBPermission`
|
|
27640
|
+
"""
|
|
27641
|
+
return self._Permission
|
|
27642
|
+
|
|
27643
|
+
@Permission.setter
|
|
27644
|
+
def Permission(self, Permission):
|
|
27645
|
+
self._Permission = Permission
|
|
27646
|
+
|
|
27341
27647
|
@property
|
|
27342
27648
|
def ProcessingFlagList(self):
|
|
27343
27649
|
r"""<p>处理中状态列表</p>
|
|
@@ -27392,6 +27698,9 @@ class KBSummary(AbstractModel):
|
|
|
27392
27698
|
self._LatestOperator = Operator()
|
|
27393
27699
|
self._LatestOperator._deserialize(params.get("LatestOperator"))
|
|
27394
27700
|
self._Name = params.get("Name")
|
|
27701
|
+
if params.get("Permission") is not None:
|
|
27702
|
+
self._Permission = KBPermission()
|
|
27703
|
+
self._Permission._deserialize(params.get("Permission"))
|
|
27395
27704
|
self._ProcessingFlagList = params.get("ProcessingFlagList")
|
|
27396
27705
|
self._SharedSubType = params.get("SharedSubType")
|
|
27397
27706
|
self._UpdateTime = params.get("UpdateTime")
|
|
@@ -28283,12 +28592,12 @@ class LabelTermCheckResult(AbstractModel):
|
|
|
28283
28592
|
|
|
28284
28593
|
def __init__(self):
|
|
28285
28594
|
r"""
|
|
28286
|
-
:param _CheckResult:
|
|
28595
|
+
:param _CheckResult: 校验结果
|
|
28287
28596
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
28288
28597
|
:type CheckResult: :class:`tencentcloud.adp.v20260520.models.CheckResult`
|
|
28289
|
-
:param _Term:
|
|
28598
|
+
:param _Term: 待校验的标准词
|
|
28290
28599
|
:type Term: str
|
|
28291
|
-
:param _TermId:
|
|
28600
|
+
:param _TermId: 已存在时返回对应标准词 ID
|
|
28292
28601
|
:type TermId: str
|
|
28293
28602
|
"""
|
|
28294
28603
|
self._CheckResult = None
|
|
@@ -28297,7 +28606,7 @@ class LabelTermCheckResult(AbstractModel):
|
|
|
28297
28606
|
|
|
28298
28607
|
@property
|
|
28299
28608
|
def CheckResult(self):
|
|
28300
|
-
r"""
|
|
28609
|
+
r"""校验结果
|
|
28301
28610
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
28302
28611
|
:rtype: :class:`tencentcloud.adp.v20260520.models.CheckResult`
|
|
28303
28612
|
"""
|
|
@@ -28309,7 +28618,7 @@ class LabelTermCheckResult(AbstractModel):
|
|
|
28309
28618
|
|
|
28310
28619
|
@property
|
|
28311
28620
|
def Term(self):
|
|
28312
|
-
r"""
|
|
28621
|
+
r"""待校验的标准词
|
|
28313
28622
|
:rtype: str
|
|
28314
28623
|
"""
|
|
28315
28624
|
return self._Term
|
|
@@ -28320,7 +28629,7 @@ class LabelTermCheckResult(AbstractModel):
|
|
|
28320
28629
|
|
|
28321
28630
|
@property
|
|
28322
28631
|
def TermId(self):
|
|
28323
|
-
r"""
|
|
28632
|
+
r"""已存在时返回对应标准词 ID
|
|
28324
28633
|
:rtype: str
|
|
28325
28634
|
"""
|
|
28326
28635
|
return self._TermId
|
|
@@ -29795,35 +30104,37 @@ class ModelParams(AbstractModel):
|
|
|
29795
30104
|
|
|
29796
30105
|
def __init__(self):
|
|
29797
30106
|
r"""
|
|
29798
|
-
:param _DeepThinking:
|
|
30107
|
+
:param _DeepThinking: <p>是否开启深度思考</p>
|
|
29799
30108
|
:type DeepThinking: str
|
|
29800
|
-
:param _FrequencyPenalty:
|
|
30109
|
+
:param _FrequencyPenalty: <p>频率惩罚</p>
|
|
29801
30110
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29802
30111
|
:type FrequencyPenalty: float
|
|
29803
|
-
:param _MaxTokens:
|
|
30112
|
+
:param _MaxTokens: <p>最大输出长度</p>
|
|
29804
30113
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29805
30114
|
:type MaxTokens: int
|
|
29806
|
-
:param _PresencePenalty:
|
|
30115
|
+
:param _PresencePenalty: <p>存在惩罚</p>
|
|
29807
30116
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29808
30117
|
:type PresencePenalty: float
|
|
29809
|
-
:param _ReasoningEffort:
|
|
30118
|
+
:param _ReasoningEffort: <p>深度思考效果</p>
|
|
29810
30119
|
:type ReasoningEffort: str
|
|
29811
|
-
:param _RepetitionPenalty:
|
|
30120
|
+
:param _RepetitionPenalty: <p>重复惩罚</p>
|
|
29812
30121
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29813
30122
|
:type RepetitionPenalty: float
|
|
29814
|
-
:param _ReplyFormat:
|
|
30123
|
+
:param _ReplyFormat: <p>输出格式(text、json_object)</p>
|
|
29815
30124
|
:type ReplyFormat: str
|
|
29816
|
-
:param _Seed: seed
|
|
30125
|
+
:param _Seed: <p>seed 随机种子</p>
|
|
29817
30126
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29818
30127
|
:type Seed: int
|
|
29819
|
-
:param _StopSequenceList:
|
|
30128
|
+
:param _StopSequenceList: <p>停止序列</p>
|
|
29820
30129
|
:type StopSequenceList: list of str
|
|
29821
|
-
:param _Temperature:
|
|
30130
|
+
:param _Temperature: <p>温度</p>
|
|
29822
30131
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29823
30132
|
:type Temperature: float
|
|
29824
|
-
:param _TopP: top_p
|
|
30133
|
+
:param _TopP: <p>top_p</p>
|
|
29825
30134
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29826
30135
|
:type TopP: float
|
|
30136
|
+
:param _TopK: <p>top_k</p>
|
|
30137
|
+
:type TopK: int
|
|
29827
30138
|
"""
|
|
29828
30139
|
self._DeepThinking = None
|
|
29829
30140
|
self._FrequencyPenalty = None
|
|
@@ -29836,10 +30147,11 @@ class ModelParams(AbstractModel):
|
|
|
29836
30147
|
self._StopSequenceList = None
|
|
29837
30148
|
self._Temperature = None
|
|
29838
30149
|
self._TopP = None
|
|
30150
|
+
self._TopK = None
|
|
29839
30151
|
|
|
29840
30152
|
@property
|
|
29841
30153
|
def DeepThinking(self):
|
|
29842
|
-
r"""
|
|
30154
|
+
r"""<p>是否开启深度思考</p>
|
|
29843
30155
|
:rtype: str
|
|
29844
30156
|
"""
|
|
29845
30157
|
return self._DeepThinking
|
|
@@ -29850,7 +30162,7 @@ class ModelParams(AbstractModel):
|
|
|
29850
30162
|
|
|
29851
30163
|
@property
|
|
29852
30164
|
def FrequencyPenalty(self):
|
|
29853
|
-
r"""
|
|
30165
|
+
r"""<p>频率惩罚</p>
|
|
29854
30166
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29855
30167
|
:rtype: float
|
|
29856
30168
|
"""
|
|
@@ -29862,7 +30174,7 @@ class ModelParams(AbstractModel):
|
|
|
29862
30174
|
|
|
29863
30175
|
@property
|
|
29864
30176
|
def MaxTokens(self):
|
|
29865
|
-
r"""
|
|
30177
|
+
r"""<p>最大输出长度</p>
|
|
29866
30178
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29867
30179
|
:rtype: int
|
|
29868
30180
|
"""
|
|
@@ -29874,7 +30186,7 @@ class ModelParams(AbstractModel):
|
|
|
29874
30186
|
|
|
29875
30187
|
@property
|
|
29876
30188
|
def PresencePenalty(self):
|
|
29877
|
-
r"""
|
|
30189
|
+
r"""<p>存在惩罚</p>
|
|
29878
30190
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29879
30191
|
:rtype: float
|
|
29880
30192
|
"""
|
|
@@ -29886,7 +30198,7 @@ class ModelParams(AbstractModel):
|
|
|
29886
30198
|
|
|
29887
30199
|
@property
|
|
29888
30200
|
def ReasoningEffort(self):
|
|
29889
|
-
r"""
|
|
30201
|
+
r"""<p>深度思考效果</p>
|
|
29890
30202
|
:rtype: str
|
|
29891
30203
|
"""
|
|
29892
30204
|
return self._ReasoningEffort
|
|
@@ -29897,7 +30209,7 @@ class ModelParams(AbstractModel):
|
|
|
29897
30209
|
|
|
29898
30210
|
@property
|
|
29899
30211
|
def RepetitionPenalty(self):
|
|
29900
|
-
r"""
|
|
30212
|
+
r"""<p>重复惩罚</p>
|
|
29901
30213
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29902
30214
|
:rtype: float
|
|
29903
30215
|
"""
|
|
@@ -29909,7 +30221,7 @@ class ModelParams(AbstractModel):
|
|
|
29909
30221
|
|
|
29910
30222
|
@property
|
|
29911
30223
|
def ReplyFormat(self):
|
|
29912
|
-
r"""
|
|
30224
|
+
r"""<p>输出格式(text、json_object)</p>
|
|
29913
30225
|
:rtype: str
|
|
29914
30226
|
"""
|
|
29915
30227
|
return self._ReplyFormat
|
|
@@ -29920,7 +30232,7 @@ class ModelParams(AbstractModel):
|
|
|
29920
30232
|
|
|
29921
30233
|
@property
|
|
29922
30234
|
def Seed(self):
|
|
29923
|
-
r"""seed
|
|
30235
|
+
r"""<p>seed 随机种子</p>
|
|
29924
30236
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29925
30237
|
:rtype: int
|
|
29926
30238
|
"""
|
|
@@ -29932,7 +30244,7 @@ class ModelParams(AbstractModel):
|
|
|
29932
30244
|
|
|
29933
30245
|
@property
|
|
29934
30246
|
def StopSequenceList(self):
|
|
29935
|
-
r"""
|
|
30247
|
+
r"""<p>停止序列</p>
|
|
29936
30248
|
:rtype: list of str
|
|
29937
30249
|
"""
|
|
29938
30250
|
return self._StopSequenceList
|
|
@@ -29943,7 +30255,7 @@ class ModelParams(AbstractModel):
|
|
|
29943
30255
|
|
|
29944
30256
|
@property
|
|
29945
30257
|
def Temperature(self):
|
|
29946
|
-
r"""
|
|
30258
|
+
r"""<p>温度</p>
|
|
29947
30259
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29948
30260
|
:rtype: float
|
|
29949
30261
|
"""
|
|
@@ -29955,7 +30267,7 @@ class ModelParams(AbstractModel):
|
|
|
29955
30267
|
|
|
29956
30268
|
@property
|
|
29957
30269
|
def TopP(self):
|
|
29958
|
-
r"""top_p
|
|
30270
|
+
r"""<p>top_p</p>
|
|
29959
30271
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29960
30272
|
:rtype: float
|
|
29961
30273
|
"""
|
|
@@ -29965,6 +30277,17 @@ class ModelParams(AbstractModel):
|
|
|
29965
30277
|
def TopP(self, TopP):
|
|
29966
30278
|
self._TopP = TopP
|
|
29967
30279
|
|
|
30280
|
+
@property
|
|
30281
|
+
def TopK(self):
|
|
30282
|
+
r"""<p>top_k</p>
|
|
30283
|
+
:rtype: int
|
|
30284
|
+
"""
|
|
30285
|
+
return self._TopK
|
|
30286
|
+
|
|
30287
|
+
@TopK.setter
|
|
30288
|
+
def TopK(self, TopK):
|
|
30289
|
+
self._TopK = TopK
|
|
30290
|
+
|
|
29968
30291
|
|
|
29969
30292
|
def _deserialize(self, params):
|
|
29970
30293
|
self._DeepThinking = params.get("DeepThinking")
|
|
@@ -29978,6 +30301,7 @@ class ModelParams(AbstractModel):
|
|
|
29978
30301
|
self._StopSequenceList = params.get("StopSequenceList")
|
|
29979
30302
|
self._Temperature = params.get("Temperature")
|
|
29980
30303
|
self._TopP = params.get("TopP")
|
|
30304
|
+
self._TopK = params.get("TopK")
|
|
29981
30305
|
memeber_set = set(params.keys())
|
|
29982
30306
|
for name, value in vars(self).items():
|
|
29983
30307
|
property_name = name[1:]
|
|
@@ -33810,9 +34134,9 @@ class Operator(AbstractModel):
|
|
|
33810
34134
|
|
|
33811
34135
|
def __init__(self):
|
|
33812
34136
|
r"""
|
|
33813
|
-
:param _UserId:
|
|
34137
|
+
:param _UserId: 用户 ID
|
|
33814
34138
|
:type UserId: str
|
|
33815
|
-
:param _UserName:
|
|
34139
|
+
:param _UserName: 用户姓名
|
|
33816
34140
|
:type UserName: str
|
|
33817
34141
|
"""
|
|
33818
34142
|
self._UserId = None
|
|
@@ -33820,7 +34144,7 @@ class Operator(AbstractModel):
|
|
|
33820
34144
|
|
|
33821
34145
|
@property
|
|
33822
34146
|
def UserId(self):
|
|
33823
|
-
r"""
|
|
34147
|
+
r"""用户 ID
|
|
33824
34148
|
:rtype: str
|
|
33825
34149
|
"""
|
|
33826
34150
|
return self._UserId
|
|
@@ -33831,7 +34155,7 @@ class Operator(AbstractModel):
|
|
|
33831
34155
|
|
|
33832
34156
|
@property
|
|
33833
34157
|
def UserName(self):
|
|
33834
|
-
r"""
|
|
34158
|
+
r"""用户姓名
|
|
33835
34159
|
:rtype: str
|
|
33836
34160
|
"""
|
|
33837
34161
|
return self._UserName
|
|
@@ -37103,6 +37427,117 @@ class ResourceConsumption(AbstractModel):
|
|
|
37103
37427
|
|
|
37104
37428
|
|
|
37105
37429
|
|
|
37430
|
+
class ResourcePackageInfo(AbstractModel):
|
|
37431
|
+
r"""计费套餐包用量信息
|
|
37432
|
+
|
|
37433
|
+
"""
|
|
37434
|
+
|
|
37435
|
+
def __init__(self):
|
|
37436
|
+
r"""
|
|
37437
|
+
:param _PackageType: <p>套餐类型</p><p>枚举值:</p><ul><li>1: 免费版</li><li>2: 专业版</li><li>3: 企业版</li></ul>
|
|
37438
|
+
:type PackageType: int
|
|
37439
|
+
:param _ResourceTotal: <p>资源包总量</p>
|
|
37440
|
+
:type ResourceTotal: int
|
|
37441
|
+
:param _ResourceUsage: <p>资源包用量</p>
|
|
37442
|
+
:type ResourceUsage: float
|
|
37443
|
+
:param _KnowledgeCapacity: <p>知识库容量</p>
|
|
37444
|
+
:type KnowledgeCapacity: float
|
|
37445
|
+
:param _KnowledgeUsage: <p>知识库用量</p>
|
|
37446
|
+
:type KnowledgeUsage: float
|
|
37447
|
+
:param _ResourceStatus: <p>资源包状态</p><p>枚举值:</p><ul><li>1: 正常</li><li>3: 已到期</li><li>4: 即将到期</li></ul>
|
|
37448
|
+
:type ResourceStatus: int
|
|
37449
|
+
"""
|
|
37450
|
+
self._PackageType = None
|
|
37451
|
+
self._ResourceTotal = None
|
|
37452
|
+
self._ResourceUsage = None
|
|
37453
|
+
self._KnowledgeCapacity = None
|
|
37454
|
+
self._KnowledgeUsage = None
|
|
37455
|
+
self._ResourceStatus = None
|
|
37456
|
+
|
|
37457
|
+
@property
|
|
37458
|
+
def PackageType(self):
|
|
37459
|
+
r"""<p>套餐类型</p><p>枚举值:</p><ul><li>1: 免费版</li><li>2: 专业版</li><li>3: 企业版</li></ul>
|
|
37460
|
+
:rtype: int
|
|
37461
|
+
"""
|
|
37462
|
+
return self._PackageType
|
|
37463
|
+
|
|
37464
|
+
@PackageType.setter
|
|
37465
|
+
def PackageType(self, PackageType):
|
|
37466
|
+
self._PackageType = PackageType
|
|
37467
|
+
|
|
37468
|
+
@property
|
|
37469
|
+
def ResourceTotal(self):
|
|
37470
|
+
r"""<p>资源包总量</p>
|
|
37471
|
+
:rtype: int
|
|
37472
|
+
"""
|
|
37473
|
+
return self._ResourceTotal
|
|
37474
|
+
|
|
37475
|
+
@ResourceTotal.setter
|
|
37476
|
+
def ResourceTotal(self, ResourceTotal):
|
|
37477
|
+
self._ResourceTotal = ResourceTotal
|
|
37478
|
+
|
|
37479
|
+
@property
|
|
37480
|
+
def ResourceUsage(self):
|
|
37481
|
+
r"""<p>资源包用量</p>
|
|
37482
|
+
:rtype: float
|
|
37483
|
+
"""
|
|
37484
|
+
return self._ResourceUsage
|
|
37485
|
+
|
|
37486
|
+
@ResourceUsage.setter
|
|
37487
|
+
def ResourceUsage(self, ResourceUsage):
|
|
37488
|
+
self._ResourceUsage = ResourceUsage
|
|
37489
|
+
|
|
37490
|
+
@property
|
|
37491
|
+
def KnowledgeCapacity(self):
|
|
37492
|
+
r"""<p>知识库容量</p>
|
|
37493
|
+
:rtype: float
|
|
37494
|
+
"""
|
|
37495
|
+
return self._KnowledgeCapacity
|
|
37496
|
+
|
|
37497
|
+
@KnowledgeCapacity.setter
|
|
37498
|
+
def KnowledgeCapacity(self, KnowledgeCapacity):
|
|
37499
|
+
self._KnowledgeCapacity = KnowledgeCapacity
|
|
37500
|
+
|
|
37501
|
+
@property
|
|
37502
|
+
def KnowledgeUsage(self):
|
|
37503
|
+
r"""<p>知识库用量</p>
|
|
37504
|
+
:rtype: float
|
|
37505
|
+
"""
|
|
37506
|
+
return self._KnowledgeUsage
|
|
37507
|
+
|
|
37508
|
+
@KnowledgeUsage.setter
|
|
37509
|
+
def KnowledgeUsage(self, KnowledgeUsage):
|
|
37510
|
+
self._KnowledgeUsage = KnowledgeUsage
|
|
37511
|
+
|
|
37512
|
+
@property
|
|
37513
|
+
def ResourceStatus(self):
|
|
37514
|
+
r"""<p>资源包状态</p><p>枚举值:</p><ul><li>1: 正常</li><li>3: 已到期</li><li>4: 即将到期</li></ul>
|
|
37515
|
+
:rtype: int
|
|
37516
|
+
"""
|
|
37517
|
+
return self._ResourceStatus
|
|
37518
|
+
|
|
37519
|
+
@ResourceStatus.setter
|
|
37520
|
+
def ResourceStatus(self, ResourceStatus):
|
|
37521
|
+
self._ResourceStatus = ResourceStatus
|
|
37522
|
+
|
|
37523
|
+
|
|
37524
|
+
def _deserialize(self, params):
|
|
37525
|
+
self._PackageType = params.get("PackageType")
|
|
37526
|
+
self._ResourceTotal = params.get("ResourceTotal")
|
|
37527
|
+
self._ResourceUsage = params.get("ResourceUsage")
|
|
37528
|
+
self._KnowledgeCapacity = params.get("KnowledgeCapacity")
|
|
37529
|
+
self._KnowledgeUsage = params.get("KnowledgeUsage")
|
|
37530
|
+
self._ResourceStatus = params.get("ResourceStatus")
|
|
37531
|
+
memeber_set = set(params.keys())
|
|
37532
|
+
for name, value in vars(self).items():
|
|
37533
|
+
property_name = name[1:]
|
|
37534
|
+
if property_name in memeber_set:
|
|
37535
|
+
memeber_set.remove(property_name)
|
|
37536
|
+
if len(memeber_set) > 0:
|
|
37537
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
37538
|
+
|
|
37539
|
+
|
|
37540
|
+
|
|
37106
37541
|
class ResponseParam(AbstractModel):
|
|
37107
37542
|
r"""ResponseParam
|
|
37108
37543
|
|
|
@@ -42243,7 +42678,7 @@ class ViewScope(AbstractModel):
|
|
|
42243
42678
|
|
|
42244
42679
|
def __init__(self):
|
|
42245
42680
|
r"""
|
|
42246
|
-
:param _ViewType: <p>视图类型;枚举值:VIEW_TYPE_CORP(1) 企业视图、VIEW_TYPE_SPACE(2) 空间视图、VIEW_TYPE_APP(3) 应用视图</p><table><
|
|
42681
|
+
:param _ViewType: <p>视图类型;枚举值:VIEW_TYPE_CORP(1) 企业视图、VIEW_TYPE_SPACE(2) 空间视图、VIEW_TYPE_APP(3) 应用视图</p><table><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>VIEW_TYPE_UNSPECIFIED</td><td>0</td><td>未指定(无效值,请求勿传)</td></tr><tr><td>VIEW_TYPE_CORP</td><td>1</td><td>企业视图</td></tr><tr><td>VIEW_TYPE_SPACE</td><td>2</td><td>空间视图</td></tr><tr><td>VIEW_TYPE_APP</td><td>3</td><td>应用视图</td></tr></table>
|
|
42247
42682
|
:type ViewType: int
|
|
42248
42683
|
:param _ScopeId: <p>视图范围 ID;VIEW_TYPE_CORP 留空;VIEW_TYPE_SPACE 填 space_id;VIEW_TYPE_APP 填 app_id(uint64 雪花 ID 的十进制字符串)</p>
|
|
42249
42684
|
:type ScopeId: str
|
|
@@ -42253,7 +42688,7 @@ class ViewScope(AbstractModel):
|
|
|
42253
42688
|
|
|
42254
42689
|
@property
|
|
42255
42690
|
def ViewType(self):
|
|
42256
|
-
r"""<p>视图类型;枚举值:VIEW_TYPE_CORP(1) 企业视图、VIEW_TYPE_SPACE(2) 空间视图、VIEW_TYPE_APP(3) 应用视图</p><table><
|
|
42691
|
+
r"""<p>视图类型;枚举值:VIEW_TYPE_CORP(1) 企业视图、VIEW_TYPE_SPACE(2) 空间视图、VIEW_TYPE_APP(3) 应用视图</p><table><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>VIEW_TYPE_UNSPECIFIED</td><td>0</td><td>未指定(无效值,请求勿传)</td></tr><tr><td>VIEW_TYPE_CORP</td><td>1</td><td>企业视图</td></tr><tr><td>VIEW_TYPE_SPACE</td><td>2</td><td>空间视图</td></tr><tr><td>VIEW_TYPE_APP</td><td>3</td><td>应用视图</td></tr></table>
|
|
42257
42692
|
:rtype: int
|
|
42258
42693
|
"""
|
|
42259
42694
|
return self._ViewType
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-adp
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.177
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.177
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.177
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.176
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|