tencentcloud-sdk-python-apis 3.1.98__py2.py3-none-any.whl → 3.1.107__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 +1 -1
- tencentcloud/apis/v20240801/models.py +182 -84
- {tencentcloud_sdk_python_apis-3.1.98.dist-info → tencentcloud_sdk_python_apis-3.1.107.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_apis-3.1.107.dist-info/RECORD +11 -0
- tencentcloud_sdk_python_apis-3.1.98.dist-info/RECORD +0 -11
- {tencentcloud_sdk_python_apis-3.1.98.dist-info → tencentcloud_sdk_python_apis-3.1.107.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_apis-3.1.98.dist-info → tencentcloud_sdk_python_apis-3.1.107.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -1039,26 +1039,29 @@ class CreateAgentAppRequest(AbstractModel):
|
|
|
1039
1039
|
|
|
1040
1040
|
def __init__(self):
|
|
1041
1041
|
r"""
|
|
1042
|
-
:param _InstanceID:
|
|
1042
|
+
:param _InstanceID: <p>实例ID</p>
|
|
1043
1043
|
:type InstanceID: str
|
|
1044
|
-
:param _Name:
|
|
1044
|
+
:param _Name: <p>名称</p>
|
|
1045
1045
|
:type Name: str
|
|
1046
|
-
:param _AuthType:
|
|
1046
|
+
:param _AuthType: <p>认证类型</p>
|
|
1047
1047
|
:type AuthType: str
|
|
1048
|
-
:param _OAuth2ResourceServerID: OAuth2资源服务器ID
|
|
1048
|
+
:param _OAuth2ResourceServerID: <p>OAuth2资源服务器ID</p>
|
|
1049
1049
|
:type OAuth2ResourceServerID: str
|
|
1050
|
-
:param _Description:
|
|
1050
|
+
:param _Description: <p>描述</p>
|
|
1051
1051
|
:type Description: str
|
|
1052
|
+
:param _ConnectorIDs: <p>API认证列表</p>
|
|
1053
|
+
:type ConnectorIDs: list of str
|
|
1052
1054
|
"""
|
|
1053
1055
|
self._InstanceID = None
|
|
1054
1056
|
self._Name = None
|
|
1055
1057
|
self._AuthType = None
|
|
1056
1058
|
self._OAuth2ResourceServerID = None
|
|
1057
1059
|
self._Description = None
|
|
1060
|
+
self._ConnectorIDs = None
|
|
1058
1061
|
|
|
1059
1062
|
@property
|
|
1060
1063
|
def InstanceID(self):
|
|
1061
|
-
r"""
|
|
1064
|
+
r"""<p>实例ID</p>
|
|
1062
1065
|
:rtype: str
|
|
1063
1066
|
"""
|
|
1064
1067
|
return self._InstanceID
|
|
@@ -1069,7 +1072,7 @@ class CreateAgentAppRequest(AbstractModel):
|
|
|
1069
1072
|
|
|
1070
1073
|
@property
|
|
1071
1074
|
def Name(self):
|
|
1072
|
-
r"""
|
|
1075
|
+
r"""<p>名称</p>
|
|
1073
1076
|
:rtype: str
|
|
1074
1077
|
"""
|
|
1075
1078
|
return self._Name
|
|
@@ -1080,7 +1083,7 @@ class CreateAgentAppRequest(AbstractModel):
|
|
|
1080
1083
|
|
|
1081
1084
|
@property
|
|
1082
1085
|
def AuthType(self):
|
|
1083
|
-
r"""
|
|
1086
|
+
r"""<p>认证类型</p>
|
|
1084
1087
|
:rtype: str
|
|
1085
1088
|
"""
|
|
1086
1089
|
return self._AuthType
|
|
@@ -1091,7 +1094,7 @@ class CreateAgentAppRequest(AbstractModel):
|
|
|
1091
1094
|
|
|
1092
1095
|
@property
|
|
1093
1096
|
def OAuth2ResourceServerID(self):
|
|
1094
|
-
r"""OAuth2资源服务器ID
|
|
1097
|
+
r"""<p>OAuth2资源服务器ID</p>
|
|
1095
1098
|
:rtype: str
|
|
1096
1099
|
"""
|
|
1097
1100
|
return self._OAuth2ResourceServerID
|
|
@@ -1102,7 +1105,7 @@ class CreateAgentAppRequest(AbstractModel):
|
|
|
1102
1105
|
|
|
1103
1106
|
@property
|
|
1104
1107
|
def Description(self):
|
|
1105
|
-
r"""
|
|
1108
|
+
r"""<p>描述</p>
|
|
1106
1109
|
:rtype: str
|
|
1107
1110
|
"""
|
|
1108
1111
|
return self._Description
|
|
@@ -1111,6 +1114,17 @@ class CreateAgentAppRequest(AbstractModel):
|
|
|
1111
1114
|
def Description(self, Description):
|
|
1112
1115
|
self._Description = Description
|
|
1113
1116
|
|
|
1117
|
+
@property
|
|
1118
|
+
def ConnectorIDs(self):
|
|
1119
|
+
r"""<p>API认证列表</p>
|
|
1120
|
+
:rtype: list of str
|
|
1121
|
+
"""
|
|
1122
|
+
return self._ConnectorIDs
|
|
1123
|
+
|
|
1124
|
+
@ConnectorIDs.setter
|
|
1125
|
+
def ConnectorIDs(self, ConnectorIDs):
|
|
1126
|
+
self._ConnectorIDs = ConnectorIDs
|
|
1127
|
+
|
|
1114
1128
|
|
|
1115
1129
|
def _deserialize(self, params):
|
|
1116
1130
|
self._InstanceID = params.get("InstanceID")
|
|
@@ -1118,6 +1132,7 @@ class CreateAgentAppRequest(AbstractModel):
|
|
|
1118
1132
|
self._AuthType = params.get("AuthType")
|
|
1119
1133
|
self._OAuth2ResourceServerID = params.get("OAuth2ResourceServerID")
|
|
1120
1134
|
self._Description = params.get("Description")
|
|
1135
|
+
self._ConnectorIDs = params.get("ConnectorIDs")
|
|
1121
1136
|
memeber_set = set(params.keys())
|
|
1122
1137
|
for name, value in vars(self).items():
|
|
1123
1138
|
property_name = name[1:]
|
|
@@ -1216,7 +1231,7 @@ class CreateAgentAppResponse(AbstractModel):
|
|
|
1216
1231
|
|
|
1217
1232
|
def __init__(self):
|
|
1218
1233
|
r"""
|
|
1219
|
-
:param _Data: app id
|
|
1234
|
+
:param _Data: <p>app id</p>
|
|
1220
1235
|
:type Data: :class:`tencentcloud.apis.v20240801.models.CreateAgentAppResp`
|
|
1221
1236
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1222
1237
|
:type RequestId: str
|
|
@@ -1226,7 +1241,7 @@ class CreateAgentAppResponse(AbstractModel):
|
|
|
1226
1241
|
|
|
1227
1242
|
@property
|
|
1228
1243
|
def Data(self):
|
|
1229
|
-
r"""app id
|
|
1244
|
+
r"""<p>app id</p>
|
|
1230
1245
|
:rtype: :class:`tencentcloud.apis.v20240801.models.CreateAgentAppResp`
|
|
1231
1246
|
"""
|
|
1232
1247
|
return self._Data
|
|
@@ -3416,38 +3431,42 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3416
3431
|
|
|
3417
3432
|
def __init__(self):
|
|
3418
3433
|
r"""
|
|
3419
|
-
:param _AppID:
|
|
3434
|
+
:param _AppID: <p>租户appID</p>
|
|
3420
3435
|
:type AppID: int
|
|
3421
|
-
:param _Uin:
|
|
3436
|
+
:param _Uin: <p>租户ID</p>
|
|
3422
3437
|
:type Uin: str
|
|
3423
|
-
:param _InstanceID:
|
|
3438
|
+
:param _InstanceID: <p>实例ID</p>
|
|
3424
3439
|
:type InstanceID: str
|
|
3425
|
-
:param _ID:
|
|
3440
|
+
:param _ID: <p>应用ID</p>
|
|
3426
3441
|
:type ID: str
|
|
3427
|
-
:param _Name:
|
|
3442
|
+
:param _Name: <p>名称</p>
|
|
3428
3443
|
:type Name: str
|
|
3429
|
-
:param _Description:
|
|
3444
|
+
:param _Description: <p>描述</p>
|
|
3430
3445
|
:type Description: str
|
|
3431
|
-
:param _Status:
|
|
3446
|
+
:param _Status: <p>状态</p>
|
|
3432
3447
|
:type Status: str
|
|
3433
|
-
:param _CreateTime:
|
|
3448
|
+
:param _CreateTime: <p>创建时间</p>
|
|
3434
3449
|
:type CreateTime: str
|
|
3435
|
-
:param _UpdateTime:
|
|
3450
|
+
:param _UpdateTime: <p>修改时间</p>
|
|
3436
3451
|
:type UpdateTime: str
|
|
3437
|
-
:param _AuthType:
|
|
3452
|
+
:param _AuthType: <p>认证类型</p>
|
|
3438
3453
|
:type AuthType: str
|
|
3439
|
-
:param _ApiKeys: apiKeys
|
|
3454
|
+
:param _ApiKeys: <p>apiKeys列表,脱敏</p>
|
|
3440
3455
|
:type ApiKeys: list of str
|
|
3441
|
-
:param _SecretKeys: secretKey
|
|
3456
|
+
:param _SecretKeys: <p>secretKey列表,脱敏</p>
|
|
3442
3457
|
:type SecretKeys: list of AgentAppSecretKeyVO
|
|
3443
|
-
:param _OAuth2ResourceServerID: OAuth2 Resource Server ID
|
|
3458
|
+
:param _OAuth2ResourceServerID: <p>OAuth2 Resource Server ID</p>
|
|
3444
3459
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3445
3460
|
:type OAuth2ResourceServerID: str
|
|
3446
|
-
:param _McpServersNum:
|
|
3461
|
+
:param _McpServersNum: <p>绑定mcpServer数量</p>
|
|
3447
3462
|
:type McpServersNum: int
|
|
3448
|
-
:param _ModelServicesNum:
|
|
3463
|
+
:param _ModelServicesNum: <p>绑定的模型服务数量</p>
|
|
3449
3464
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3450
3465
|
:type ModelServicesNum: int
|
|
3466
|
+
:param _ConnectorIDs: <p>API认证列表</p>
|
|
3467
|
+
:type ConnectorIDs: list of str
|
|
3468
|
+
:param _ServicesNum: <p>关联API数量</p>
|
|
3469
|
+
:type ServicesNum: int
|
|
3451
3470
|
"""
|
|
3452
3471
|
self._AppID = None
|
|
3453
3472
|
self._Uin = None
|
|
@@ -3464,10 +3483,12 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3464
3483
|
self._OAuth2ResourceServerID = None
|
|
3465
3484
|
self._McpServersNum = None
|
|
3466
3485
|
self._ModelServicesNum = None
|
|
3486
|
+
self._ConnectorIDs = None
|
|
3487
|
+
self._ServicesNum = None
|
|
3467
3488
|
|
|
3468
3489
|
@property
|
|
3469
3490
|
def AppID(self):
|
|
3470
|
-
r"""
|
|
3491
|
+
r"""<p>租户appID</p>
|
|
3471
3492
|
:rtype: int
|
|
3472
3493
|
"""
|
|
3473
3494
|
return self._AppID
|
|
@@ -3478,7 +3499,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3478
3499
|
|
|
3479
3500
|
@property
|
|
3480
3501
|
def Uin(self):
|
|
3481
|
-
r"""
|
|
3502
|
+
r"""<p>租户ID</p>
|
|
3482
3503
|
:rtype: str
|
|
3483
3504
|
"""
|
|
3484
3505
|
return self._Uin
|
|
@@ -3489,7 +3510,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3489
3510
|
|
|
3490
3511
|
@property
|
|
3491
3512
|
def InstanceID(self):
|
|
3492
|
-
r"""
|
|
3513
|
+
r"""<p>实例ID</p>
|
|
3493
3514
|
:rtype: str
|
|
3494
3515
|
"""
|
|
3495
3516
|
return self._InstanceID
|
|
@@ -3500,7 +3521,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3500
3521
|
|
|
3501
3522
|
@property
|
|
3502
3523
|
def ID(self):
|
|
3503
|
-
r"""
|
|
3524
|
+
r"""<p>应用ID</p>
|
|
3504
3525
|
:rtype: str
|
|
3505
3526
|
"""
|
|
3506
3527
|
return self._ID
|
|
@@ -3511,7 +3532,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3511
3532
|
|
|
3512
3533
|
@property
|
|
3513
3534
|
def Name(self):
|
|
3514
|
-
r"""
|
|
3535
|
+
r"""<p>名称</p>
|
|
3515
3536
|
:rtype: str
|
|
3516
3537
|
"""
|
|
3517
3538
|
return self._Name
|
|
@@ -3522,7 +3543,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3522
3543
|
|
|
3523
3544
|
@property
|
|
3524
3545
|
def Description(self):
|
|
3525
|
-
r"""
|
|
3546
|
+
r"""<p>描述</p>
|
|
3526
3547
|
:rtype: str
|
|
3527
3548
|
"""
|
|
3528
3549
|
return self._Description
|
|
@@ -3533,7 +3554,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3533
3554
|
|
|
3534
3555
|
@property
|
|
3535
3556
|
def Status(self):
|
|
3536
|
-
r"""
|
|
3557
|
+
r"""<p>状态</p>
|
|
3537
3558
|
:rtype: str
|
|
3538
3559
|
"""
|
|
3539
3560
|
return self._Status
|
|
@@ -3544,7 +3565,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3544
3565
|
|
|
3545
3566
|
@property
|
|
3546
3567
|
def CreateTime(self):
|
|
3547
|
-
r"""
|
|
3568
|
+
r"""<p>创建时间</p>
|
|
3548
3569
|
:rtype: str
|
|
3549
3570
|
"""
|
|
3550
3571
|
return self._CreateTime
|
|
@@ -3555,7 +3576,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3555
3576
|
|
|
3556
3577
|
@property
|
|
3557
3578
|
def UpdateTime(self):
|
|
3558
|
-
r"""
|
|
3579
|
+
r"""<p>修改时间</p>
|
|
3559
3580
|
:rtype: str
|
|
3560
3581
|
"""
|
|
3561
3582
|
return self._UpdateTime
|
|
@@ -3566,7 +3587,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3566
3587
|
|
|
3567
3588
|
@property
|
|
3568
3589
|
def AuthType(self):
|
|
3569
|
-
r"""
|
|
3590
|
+
r"""<p>认证类型</p>
|
|
3570
3591
|
:rtype: str
|
|
3571
3592
|
"""
|
|
3572
3593
|
return self._AuthType
|
|
@@ -3577,7 +3598,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3577
3598
|
|
|
3578
3599
|
@property
|
|
3579
3600
|
def ApiKeys(self):
|
|
3580
|
-
r"""apiKeys
|
|
3601
|
+
r"""<p>apiKeys列表,脱敏</p>
|
|
3581
3602
|
:rtype: list of str
|
|
3582
3603
|
"""
|
|
3583
3604
|
return self._ApiKeys
|
|
@@ -3588,7 +3609,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3588
3609
|
|
|
3589
3610
|
@property
|
|
3590
3611
|
def SecretKeys(self):
|
|
3591
|
-
r"""secretKey
|
|
3612
|
+
r"""<p>secretKey列表,脱敏</p>
|
|
3592
3613
|
:rtype: list of AgentAppSecretKeyVO
|
|
3593
3614
|
"""
|
|
3594
3615
|
return self._SecretKeys
|
|
@@ -3599,7 +3620,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3599
3620
|
|
|
3600
3621
|
@property
|
|
3601
3622
|
def OAuth2ResourceServerID(self):
|
|
3602
|
-
r"""OAuth2 Resource Server ID
|
|
3623
|
+
r"""<p>OAuth2 Resource Server ID</p>
|
|
3603
3624
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3604
3625
|
:rtype: str
|
|
3605
3626
|
"""
|
|
@@ -3611,7 +3632,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3611
3632
|
|
|
3612
3633
|
@property
|
|
3613
3634
|
def McpServersNum(self):
|
|
3614
|
-
r"""
|
|
3635
|
+
r"""<p>绑定mcpServer数量</p>
|
|
3615
3636
|
:rtype: int
|
|
3616
3637
|
"""
|
|
3617
3638
|
return self._McpServersNum
|
|
@@ -3622,7 +3643,7 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3622
3643
|
|
|
3623
3644
|
@property
|
|
3624
3645
|
def ModelServicesNum(self):
|
|
3625
|
-
r"""
|
|
3646
|
+
r"""<p>绑定的模型服务数量</p>
|
|
3626
3647
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3627
3648
|
:rtype: int
|
|
3628
3649
|
"""
|
|
@@ -3632,6 +3653,28 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3632
3653
|
def ModelServicesNum(self, ModelServicesNum):
|
|
3633
3654
|
self._ModelServicesNum = ModelServicesNum
|
|
3634
3655
|
|
|
3656
|
+
@property
|
|
3657
|
+
def ConnectorIDs(self):
|
|
3658
|
+
r"""<p>API认证列表</p>
|
|
3659
|
+
:rtype: list of str
|
|
3660
|
+
"""
|
|
3661
|
+
return self._ConnectorIDs
|
|
3662
|
+
|
|
3663
|
+
@ConnectorIDs.setter
|
|
3664
|
+
def ConnectorIDs(self, ConnectorIDs):
|
|
3665
|
+
self._ConnectorIDs = ConnectorIDs
|
|
3666
|
+
|
|
3667
|
+
@property
|
|
3668
|
+
def ServicesNum(self):
|
|
3669
|
+
r"""<p>关联API数量</p>
|
|
3670
|
+
:rtype: int
|
|
3671
|
+
"""
|
|
3672
|
+
return self._ServicesNum
|
|
3673
|
+
|
|
3674
|
+
@ServicesNum.setter
|
|
3675
|
+
def ServicesNum(self, ServicesNum):
|
|
3676
|
+
self._ServicesNum = ServicesNum
|
|
3677
|
+
|
|
3635
3678
|
|
|
3636
3679
|
def _deserialize(self, params):
|
|
3637
3680
|
self._AppID = params.get("AppID")
|
|
@@ -3654,6 +3697,8 @@ class DescribeAgentAppResp(AbstractModel):
|
|
|
3654
3697
|
self._OAuth2ResourceServerID = params.get("OAuth2ResourceServerID")
|
|
3655
3698
|
self._McpServersNum = params.get("McpServersNum")
|
|
3656
3699
|
self._ModelServicesNum = params.get("ModelServicesNum")
|
|
3700
|
+
self._ConnectorIDs = params.get("ConnectorIDs")
|
|
3701
|
+
self._ServicesNum = params.get("ServicesNum")
|
|
3657
3702
|
memeber_set = set(params.keys())
|
|
3658
3703
|
for name, value in vars(self).items():
|
|
3659
3704
|
property_name = name[1:]
|
|
@@ -4077,32 +4122,35 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4077
4122
|
|
|
4078
4123
|
def __init__(self):
|
|
4079
4124
|
r"""
|
|
4080
|
-
:param _AppID:
|
|
4125
|
+
:param _AppID: <p>租户应用ID</p>
|
|
4081
4126
|
:type AppID: int
|
|
4082
|
-
:param _Uin:
|
|
4127
|
+
:param _Uin: <p>租户ID</p>
|
|
4083
4128
|
:type Uin: str
|
|
4084
|
-
:param _InstanceID:
|
|
4129
|
+
:param _InstanceID: <p>实例ID</p>
|
|
4085
4130
|
:type InstanceID: str
|
|
4086
|
-
:param _ID:
|
|
4131
|
+
:param _ID: <p>凭据ID</p>
|
|
4087
4132
|
:type ID: str
|
|
4088
|
-
:param _Name:
|
|
4133
|
+
:param _Name: <p>凭据名称</p>
|
|
4089
4134
|
:type Name: str
|
|
4090
|
-
:param _Status:
|
|
4135
|
+
:param _Status: <p>状态</p>
|
|
4091
4136
|
:type Status: str
|
|
4092
|
-
:param _RelateAgentAppNum:
|
|
4137
|
+
:param _RelateAgentAppNum: <p>关联应用数</p>
|
|
4093
4138
|
:type RelateAgentAppNum: int
|
|
4094
|
-
:param _RelateMcpServerNum:
|
|
4139
|
+
:param _RelateMcpServerNum: <p>关联mcp数</p>
|
|
4095
4140
|
:type RelateMcpServerNum: int
|
|
4096
|
-
:param _RelateModelNum:
|
|
4141
|
+
:param _RelateModelNum: <p>关联模型数</p>
|
|
4097
4142
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4098
4143
|
:type RelateModelNum: int
|
|
4099
|
-
:param
|
|
4144
|
+
:param _RelateServiceNum: <p>关联服务数</p>
|
|
4145
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4146
|
+
:type RelateServiceNum: int
|
|
4147
|
+
:param _Content: <p>凭据内容</p>
|
|
4100
4148
|
:type Content: :class:`tencentcloud.apis.v20240801.models.AgentCredentialContentDTO`
|
|
4101
|
-
:param _CreateTime:
|
|
4149
|
+
:param _CreateTime: <p>创建时间</p>
|
|
4102
4150
|
:type CreateTime: str
|
|
4103
|
-
:param _LastUpdateTime:
|
|
4151
|
+
:param _LastUpdateTime: <p>修改时间</p>
|
|
4104
4152
|
:type LastUpdateTime: str
|
|
4105
|
-
:param _Type:
|
|
4153
|
+
:param _Type: <p>类型</p>
|
|
4106
4154
|
:type Type: str
|
|
4107
4155
|
"""
|
|
4108
4156
|
self._AppID = None
|
|
@@ -4114,6 +4162,7 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4114
4162
|
self._RelateAgentAppNum = None
|
|
4115
4163
|
self._RelateMcpServerNum = None
|
|
4116
4164
|
self._RelateModelNum = None
|
|
4165
|
+
self._RelateServiceNum = None
|
|
4117
4166
|
self._Content = None
|
|
4118
4167
|
self._CreateTime = None
|
|
4119
4168
|
self._LastUpdateTime = None
|
|
@@ -4121,7 +4170,7 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4121
4170
|
|
|
4122
4171
|
@property
|
|
4123
4172
|
def AppID(self):
|
|
4124
|
-
r"""
|
|
4173
|
+
r"""<p>租户应用ID</p>
|
|
4125
4174
|
:rtype: int
|
|
4126
4175
|
"""
|
|
4127
4176
|
return self._AppID
|
|
@@ -4132,7 +4181,7 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4132
4181
|
|
|
4133
4182
|
@property
|
|
4134
4183
|
def Uin(self):
|
|
4135
|
-
r"""
|
|
4184
|
+
r"""<p>租户ID</p>
|
|
4136
4185
|
:rtype: str
|
|
4137
4186
|
"""
|
|
4138
4187
|
return self._Uin
|
|
@@ -4143,7 +4192,7 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4143
4192
|
|
|
4144
4193
|
@property
|
|
4145
4194
|
def InstanceID(self):
|
|
4146
|
-
r"""
|
|
4195
|
+
r"""<p>实例ID</p>
|
|
4147
4196
|
:rtype: str
|
|
4148
4197
|
"""
|
|
4149
4198
|
return self._InstanceID
|
|
@@ -4154,7 +4203,7 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4154
4203
|
|
|
4155
4204
|
@property
|
|
4156
4205
|
def ID(self):
|
|
4157
|
-
r"""
|
|
4206
|
+
r"""<p>凭据ID</p>
|
|
4158
4207
|
:rtype: str
|
|
4159
4208
|
"""
|
|
4160
4209
|
return self._ID
|
|
@@ -4165,7 +4214,7 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4165
4214
|
|
|
4166
4215
|
@property
|
|
4167
4216
|
def Name(self):
|
|
4168
|
-
r"""
|
|
4217
|
+
r"""<p>凭据名称</p>
|
|
4169
4218
|
:rtype: str
|
|
4170
4219
|
"""
|
|
4171
4220
|
return self._Name
|
|
@@ -4176,7 +4225,7 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4176
4225
|
|
|
4177
4226
|
@property
|
|
4178
4227
|
def Status(self):
|
|
4179
|
-
r"""
|
|
4228
|
+
r"""<p>状态</p>
|
|
4180
4229
|
:rtype: str
|
|
4181
4230
|
"""
|
|
4182
4231
|
return self._Status
|
|
@@ -4187,18 +4236,22 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4187
4236
|
|
|
4188
4237
|
@property
|
|
4189
4238
|
def RelateAgentAppNum(self):
|
|
4190
|
-
|
|
4239
|
+
warnings.warn("parameter `RelateAgentAppNum` is deprecated", DeprecationWarning)
|
|
4240
|
+
|
|
4241
|
+
r"""<p>关联应用数</p>
|
|
4191
4242
|
:rtype: int
|
|
4192
4243
|
"""
|
|
4193
4244
|
return self._RelateAgentAppNum
|
|
4194
4245
|
|
|
4195
4246
|
@RelateAgentAppNum.setter
|
|
4196
4247
|
def RelateAgentAppNum(self, RelateAgentAppNum):
|
|
4248
|
+
warnings.warn("parameter `RelateAgentAppNum` is deprecated", DeprecationWarning)
|
|
4249
|
+
|
|
4197
4250
|
self._RelateAgentAppNum = RelateAgentAppNum
|
|
4198
4251
|
|
|
4199
4252
|
@property
|
|
4200
4253
|
def RelateMcpServerNum(self):
|
|
4201
|
-
r"""
|
|
4254
|
+
r"""<p>关联mcp数</p>
|
|
4202
4255
|
:rtype: int
|
|
4203
4256
|
"""
|
|
4204
4257
|
return self._RelateMcpServerNum
|
|
@@ -4209,7 +4262,7 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4209
4262
|
|
|
4210
4263
|
@property
|
|
4211
4264
|
def RelateModelNum(self):
|
|
4212
|
-
r"""
|
|
4265
|
+
r"""<p>关联模型数</p>
|
|
4213
4266
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4214
4267
|
:rtype: int
|
|
4215
4268
|
"""
|
|
@@ -4219,9 +4272,21 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4219
4272
|
def RelateModelNum(self, RelateModelNum):
|
|
4220
4273
|
self._RelateModelNum = RelateModelNum
|
|
4221
4274
|
|
|
4275
|
+
@property
|
|
4276
|
+
def RelateServiceNum(self):
|
|
4277
|
+
r"""<p>关联服务数</p>
|
|
4278
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4279
|
+
:rtype: int
|
|
4280
|
+
"""
|
|
4281
|
+
return self._RelateServiceNum
|
|
4282
|
+
|
|
4283
|
+
@RelateServiceNum.setter
|
|
4284
|
+
def RelateServiceNum(self, RelateServiceNum):
|
|
4285
|
+
self._RelateServiceNum = RelateServiceNum
|
|
4286
|
+
|
|
4222
4287
|
@property
|
|
4223
4288
|
def Content(self):
|
|
4224
|
-
r"""
|
|
4289
|
+
r"""<p>凭据内容</p>
|
|
4225
4290
|
:rtype: :class:`tencentcloud.apis.v20240801.models.AgentCredentialContentDTO`
|
|
4226
4291
|
"""
|
|
4227
4292
|
return self._Content
|
|
@@ -4232,7 +4297,7 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4232
4297
|
|
|
4233
4298
|
@property
|
|
4234
4299
|
def CreateTime(self):
|
|
4235
|
-
r"""
|
|
4300
|
+
r"""<p>创建时间</p>
|
|
4236
4301
|
:rtype: str
|
|
4237
4302
|
"""
|
|
4238
4303
|
return self._CreateTime
|
|
@@ -4243,7 +4308,7 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4243
4308
|
|
|
4244
4309
|
@property
|
|
4245
4310
|
def LastUpdateTime(self):
|
|
4246
|
-
r"""
|
|
4311
|
+
r"""<p>修改时间</p>
|
|
4247
4312
|
:rtype: str
|
|
4248
4313
|
"""
|
|
4249
4314
|
return self._LastUpdateTime
|
|
@@ -4254,7 +4319,7 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4254
4319
|
|
|
4255
4320
|
@property
|
|
4256
4321
|
def Type(self):
|
|
4257
|
-
r"""
|
|
4322
|
+
r"""<p>类型</p>
|
|
4258
4323
|
:rtype: str
|
|
4259
4324
|
"""
|
|
4260
4325
|
return self._Type
|
|
@@ -4274,6 +4339,7 @@ class DescribeAgentCredentialResp(AbstractModel):
|
|
|
4274
4339
|
self._RelateAgentAppNum = params.get("RelateAgentAppNum")
|
|
4275
4340
|
self._RelateMcpServerNum = params.get("RelateMcpServerNum")
|
|
4276
4341
|
self._RelateModelNum = params.get("RelateModelNum")
|
|
4342
|
+
self._RelateServiceNum = params.get("RelateServiceNum")
|
|
4277
4343
|
if params.get("Content") is not None:
|
|
4278
4344
|
self._Content = AgentCredentialContentDTO()
|
|
4279
4345
|
self._Content._deserialize(params.get("Content"))
|
|
@@ -8368,26 +8434,29 @@ class ModifyAgentAppRequest(AbstractModel):
|
|
|
8368
8434
|
|
|
8369
8435
|
def __init__(self):
|
|
8370
8436
|
r"""
|
|
8371
|
-
:param _InstanceID:
|
|
8437
|
+
:param _InstanceID: <p>实例ID</p>
|
|
8372
8438
|
:type InstanceID: str
|
|
8373
|
-
:param _ID:
|
|
8439
|
+
:param _ID: <p>应用ID</p>
|
|
8374
8440
|
:type ID: str
|
|
8375
|
-
:param _Name:
|
|
8441
|
+
:param _Name: <p>名称</p>
|
|
8376
8442
|
:type Name: str
|
|
8377
|
-
:param _OAuth2ResourceServerID: OAuth2资源服务器ID
|
|
8443
|
+
:param _OAuth2ResourceServerID: <p>OAuth2资源服务器ID</p>
|
|
8378
8444
|
:type OAuth2ResourceServerID: str
|
|
8379
|
-
:param _Description:
|
|
8445
|
+
:param _Description: <p>描述</p>
|
|
8380
8446
|
:type Description: str
|
|
8447
|
+
:param _ConnectorIDs: <p>凭据ID</p>
|
|
8448
|
+
:type ConnectorIDs: list of str
|
|
8381
8449
|
"""
|
|
8382
8450
|
self._InstanceID = None
|
|
8383
8451
|
self._ID = None
|
|
8384
8452
|
self._Name = None
|
|
8385
8453
|
self._OAuth2ResourceServerID = None
|
|
8386
8454
|
self._Description = None
|
|
8455
|
+
self._ConnectorIDs = None
|
|
8387
8456
|
|
|
8388
8457
|
@property
|
|
8389
8458
|
def InstanceID(self):
|
|
8390
|
-
r"""
|
|
8459
|
+
r"""<p>实例ID</p>
|
|
8391
8460
|
:rtype: str
|
|
8392
8461
|
"""
|
|
8393
8462
|
return self._InstanceID
|
|
@@ -8398,7 +8467,7 @@ class ModifyAgentAppRequest(AbstractModel):
|
|
|
8398
8467
|
|
|
8399
8468
|
@property
|
|
8400
8469
|
def ID(self):
|
|
8401
|
-
r"""
|
|
8470
|
+
r"""<p>应用ID</p>
|
|
8402
8471
|
:rtype: str
|
|
8403
8472
|
"""
|
|
8404
8473
|
return self._ID
|
|
@@ -8409,7 +8478,7 @@ class ModifyAgentAppRequest(AbstractModel):
|
|
|
8409
8478
|
|
|
8410
8479
|
@property
|
|
8411
8480
|
def Name(self):
|
|
8412
|
-
r"""
|
|
8481
|
+
r"""<p>名称</p>
|
|
8413
8482
|
:rtype: str
|
|
8414
8483
|
"""
|
|
8415
8484
|
return self._Name
|
|
@@ -8420,7 +8489,7 @@ class ModifyAgentAppRequest(AbstractModel):
|
|
|
8420
8489
|
|
|
8421
8490
|
@property
|
|
8422
8491
|
def OAuth2ResourceServerID(self):
|
|
8423
|
-
r"""OAuth2资源服务器ID
|
|
8492
|
+
r"""<p>OAuth2资源服务器ID</p>
|
|
8424
8493
|
:rtype: str
|
|
8425
8494
|
"""
|
|
8426
8495
|
return self._OAuth2ResourceServerID
|
|
@@ -8431,7 +8500,7 @@ class ModifyAgentAppRequest(AbstractModel):
|
|
|
8431
8500
|
|
|
8432
8501
|
@property
|
|
8433
8502
|
def Description(self):
|
|
8434
|
-
r"""
|
|
8503
|
+
r"""<p>描述</p>
|
|
8435
8504
|
:rtype: str
|
|
8436
8505
|
"""
|
|
8437
8506
|
return self._Description
|
|
@@ -8440,6 +8509,17 @@ class ModifyAgentAppRequest(AbstractModel):
|
|
|
8440
8509
|
def Description(self, Description):
|
|
8441
8510
|
self._Description = Description
|
|
8442
8511
|
|
|
8512
|
+
@property
|
|
8513
|
+
def ConnectorIDs(self):
|
|
8514
|
+
r"""<p>凭据ID</p>
|
|
8515
|
+
:rtype: list of str
|
|
8516
|
+
"""
|
|
8517
|
+
return self._ConnectorIDs
|
|
8518
|
+
|
|
8519
|
+
@ConnectorIDs.setter
|
|
8520
|
+
def ConnectorIDs(self, ConnectorIDs):
|
|
8521
|
+
self._ConnectorIDs = ConnectorIDs
|
|
8522
|
+
|
|
8443
8523
|
|
|
8444
8524
|
def _deserialize(self, params):
|
|
8445
8525
|
self._InstanceID = params.get("InstanceID")
|
|
@@ -8447,6 +8527,7 @@ class ModifyAgentAppRequest(AbstractModel):
|
|
|
8447
8527
|
self._Name = params.get("Name")
|
|
8448
8528
|
self._OAuth2ResourceServerID = params.get("OAuth2ResourceServerID")
|
|
8449
8529
|
self._Description = params.get("Description")
|
|
8530
|
+
self._ConnectorIDs = params.get("ConnectorIDs")
|
|
8450
8531
|
memeber_set = set(params.keys())
|
|
8451
8532
|
for name, value in vars(self).items():
|
|
8452
8533
|
property_name = name[1:]
|
|
@@ -8464,7 +8545,7 @@ class ModifyAgentAppResponse(AbstractModel):
|
|
|
8464
8545
|
|
|
8465
8546
|
def __init__(self):
|
|
8466
8547
|
r"""
|
|
8467
|
-
:param _Data: app id
|
|
8548
|
+
:param _Data: <p>app id</p>
|
|
8468
8549
|
:type Data: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
8469
8550
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8470
8551
|
:type RequestId: str
|
|
@@ -8474,7 +8555,7 @@ class ModifyAgentAppResponse(AbstractModel):
|
|
|
8474
8555
|
|
|
8475
8556
|
@property
|
|
8476
8557
|
def Data(self):
|
|
8477
|
-
r"""app id
|
|
8558
|
+
r"""<p>app id</p>
|
|
8478
8559
|
:rtype: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
8479
8560
|
"""
|
|
8480
8561
|
return self._Data
|
|
@@ -10493,19 +10574,35 @@ class TokenLimitConfigDTO(AbstractModel):
|
|
|
10493
10574
|
|
|
10494
10575
|
def __init__(self):
|
|
10495
10576
|
r"""
|
|
10496
|
-
:param
|
|
10577
|
+
:param _Type: <p>限流类型</p><p>枚举值:</p><ul><li>minute: 时间窗口</li><li>day: 自然日</li><li>month: 自然月</li></ul>
|
|
10578
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10579
|
+
:type Type: str
|
|
10580
|
+
:param _LimitRequestBody: <p>单次请求上限,k</p>
|
|
10497
10581
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10498
10582
|
:type LimitRequestBody: int
|
|
10499
|
-
:param _LimitWindows:
|
|
10583
|
+
:param _LimitWindows: <p>累次token总量消耗上限</p>
|
|
10500
10584
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10501
10585
|
:type LimitWindows: list of LimitWindowsDTO
|
|
10502
10586
|
"""
|
|
10587
|
+
self._Type = None
|
|
10503
10588
|
self._LimitRequestBody = None
|
|
10504
10589
|
self._LimitWindows = None
|
|
10505
10590
|
|
|
10591
|
+
@property
|
|
10592
|
+
def Type(self):
|
|
10593
|
+
r"""<p>限流类型</p><p>枚举值:</p><ul><li>minute: 时间窗口</li><li>day: 自然日</li><li>month: 自然月</li></ul>
|
|
10594
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10595
|
+
:rtype: str
|
|
10596
|
+
"""
|
|
10597
|
+
return self._Type
|
|
10598
|
+
|
|
10599
|
+
@Type.setter
|
|
10600
|
+
def Type(self, Type):
|
|
10601
|
+
self._Type = Type
|
|
10602
|
+
|
|
10506
10603
|
@property
|
|
10507
10604
|
def LimitRequestBody(self):
|
|
10508
|
-
r"""
|
|
10605
|
+
r"""<p>单次请求上限,k</p>
|
|
10509
10606
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10510
10607
|
:rtype: int
|
|
10511
10608
|
"""
|
|
@@ -10517,7 +10614,7 @@ class TokenLimitConfigDTO(AbstractModel):
|
|
|
10517
10614
|
|
|
10518
10615
|
@property
|
|
10519
10616
|
def LimitWindows(self):
|
|
10520
|
-
r"""
|
|
10617
|
+
r"""<p>累次token总量消耗上限</p>
|
|
10521
10618
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10522
10619
|
:rtype: list of LimitWindowsDTO
|
|
10523
10620
|
"""
|
|
@@ -10529,6 +10626,7 @@ class TokenLimitConfigDTO(AbstractModel):
|
|
|
10529
10626
|
|
|
10530
10627
|
|
|
10531
10628
|
def _deserialize(self, params):
|
|
10629
|
+
self._Type = params.get("Type")
|
|
10532
10630
|
self._LimitRequestBody = params.get("LimitRequestBody")
|
|
10533
10631
|
if params.get("LimitWindows") is not None:
|
|
10534
10632
|
self._LimitWindows = []
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-apis
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.107
|
|
4
4
|
Summary: Tencent Cloud Apis SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.107
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=Pvxh5eC-1elbcbAYmLtolUa0X3JPDFOO-NdZgORZ-VQ,630
|
|
2
|
+
tencentcloud/apis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/apis/v20240801/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/apis/v20240801/apis_client.py,sha256=XRfTcsWobLyHujDSBM3xPMzdqa46gbuoPhq18C2BpE4,29285
|
|
5
|
+
tencentcloud/apis/v20240801/apis_client_async.py,sha256=Q6bY_WqWe2CvB7ZZ3pb8z0dXJ203xPIVNrzm1gNSo7E,19509
|
|
6
|
+
tencentcloud/apis/v20240801/errorcodes.py,sha256=KvHs6W2GONKBsXXCjJUx8q8sqMTR7e5vr5Gx01t5b24,625
|
|
7
|
+
tencentcloud/apis/v20240801/models.py,sha256=clr3peoH6qEUQsGCWmA4uvDqnHhne3I_Tg5FsV1AXYk,322012
|
|
8
|
+
tencentcloud_sdk_python_apis-3.1.107.dist-info/METADATA,sha256=K1pIWt0lbJsfG94c47XSvKNhHXQsw2_IbbC22R5ODSQ,1502
|
|
9
|
+
tencentcloud_sdk_python_apis-3.1.107.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_apis-3.1.107.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_apis-3.1.107.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=Lo987KcmtffkNy_wIPlAQdQrgik3Z8CE8ge3Davo2tE,629
|
|
2
|
-
tencentcloud/apis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/apis/v20240801/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/apis/v20240801/apis_client.py,sha256=XRfTcsWobLyHujDSBM3xPMzdqa46gbuoPhq18C2BpE4,29285
|
|
5
|
-
tencentcloud/apis/v20240801/apis_client_async.py,sha256=Q6bY_WqWe2CvB7ZZ3pb8z0dXJ203xPIVNrzm1gNSo7E,19509
|
|
6
|
-
tencentcloud/apis/v20240801/errorcodes.py,sha256=KvHs6W2GONKBsXXCjJUx8q8sqMTR7e5vr5Gx01t5b24,625
|
|
7
|
-
tencentcloud/apis/v20240801/models.py,sha256=eYmZ1WLL_ukSc_Lzt67TMUdbZvainwCFIMiS1ExhF6E,318214
|
|
8
|
-
tencentcloud_sdk_python_apis-3.1.98.dist-info/METADATA,sha256=JROiAwnLWGhHYU0T2U4fzcJVQBwuu_aYtJZ0gk37WWc,1500
|
|
9
|
-
tencentcloud_sdk_python_apis-3.1.98.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
-
tencentcloud_sdk_python_apis-3.1.98.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
-
tencentcloud_sdk_python_apis-3.1.98.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|